Refresh data in PowerBI to bring in new columns - powerbi

I'm using PowerBI Desktop Version: 2.87.762.0 64-bit (November 2020).
Reading data from ADLS Gen 2.
I have been trying to refresh the data in PowerBI to bring in new columns but can’t seem to do it.
I have data on ADLS which I imported into PowerBI.
Now in the source ADLS table I have additional columns.
I would like to refresh the data in PowerBI for it to read the latest tables and hence bring in the new columns.
I have tried refreshing but it doesn’t seem to work.
Tried clicking on “Refresh” in the “Report” view – (which reading online will not work)
Tried refreshing in the “Power Query Mode”. (Steps shown in the figure below, which I think should have worked)
But the new columns don’t show up in PowerBI.
I can download the data from ADLS and confirm that new columns are present.
What am I missing?

There is a few things you can check:
can you see the new columns in the power query editor? try a go a few steps back in transform history.
fx. Sometimes if you "expand" a column it will not add new columns and you will need to add those afterwards ie. do the expand-transform again.
btw. the "Refresh All" in the power query editor is only refreshing the example data.
if you see the data in the power query editor, try and hit refresh in the pbi editor.
if there is no data in the power query editor. use another tool to look at the source to confirm that the data i actually present in the stream that pbi has access to.

Related

Stop Excel Datasheet from loading into PowerBI

I have a PowerBi Report in which i used an excel sheet to load historical data.
This historical data will not be updated and is solely used to merge with other data from SQL.
Everytime I update the new merged query my excel sheet will be updated aswell.
Is there a way to disable that? So that i can delete the excel sheet without losing the data in the PowerBI report?
So far i disabled both the load into refresh option of the historical dataset in PowerQuery but this didnt help.
Thanks in advance
There is a capability of Enable or Disable loading of a dataset into your model in Power Query on the right click menu. Is it what you are looking for ?

After deleting columns in view/table of snowflake how to update the reference in powerbi

This is a duplicate question of Snowflake SQL Compilation Error: View Definition Declared but view Query Produced
It doesn't get satisfactory answer. Also here I am deleting column instead of adding. For adding column there is workaround (mentioned below) but it doesn't work when deleting column.
I am using snowflake for data storage and cleaning and powerbi desktop for creating charts. On powerbi I have sourced a view from snowflake as direct query. I have created a few charts. 2 of the columns originally presented in the snowflake view are not being used. So I deleted this from the view. Now it is showing error. .
What is a proper way to adapt the powerbi to change made in this type of change in source?
I have tried following:
deleted the table in powerbi and sourced it again.
In power query editor tried to refresh the preview. This step worked when I added column in view instead of deleting
In power query editor deleted the navigation and again created it and choose required 15 columns using home -> 'choose columns'
The table in power query editor shows the data but it shows error when doing refresh preview and in charts.

Switching the Data source in a Power BI Report

I have an Existing report in Power BI with Oracle Data Source from which I had directly access the Table.
But now I need to Change the Data Source of the Report using SSAS.
By Using SSAS, we can access the oracle Tables and deploy the SSAS in Azure Service.
Now through this Azure Service we can access the Data.
My Question is Without any Changes in the Report, Can we Simply Change the DataSource? Because I'm Showing Lot of Graphs in that Report.
Since I'm New to Power BI , Is this possible?
There will likely be an unpredictably large amount of other issues (character encoding, date formatting, etc.) that you'll have to work through.
The way I might approach this problem is, if the tables are exactly identical, or you didn't make any changes within power query (like removing columns, merging tables, etc.) you may be able to modify the M code within the advanced editor, and try to swap the data sources to see if it works.
Go into "Transform Data"
Select the table you want to modify
Click the "Advanced Editor" icon in the ribbon.
Here, I imported an excel file, but for you, it should show some kind of "AnalysisServices" line. I don't have an SSAS database to connect to so I can't validate. Try replacing this line with the connection string to your SSAS datasource and see if it works.
Save, apply update, and see if it works?
Again, this is not really advisable, but if you want to give it a try, and the data sources are identical, this is how I might approach the problem before just re-making the report whole-cloth.

Power BI Dataflow Updates But Dataset and Reports Do Not

I am in the process of creating a dashboard in power BI with multiple people. Currently I have 4 entities in a Dataflow that move to a dataset which are then visualized in reports. I recently added a column to one of my entities that I would like to show up in a report that is already created. However, despite the column being added to the entity (it shows up when I try to create a new report), it isn't displayed in the older report. How can I get my new column to display in an already created report?
You need to get the old report, go to the Query Editor and refresh the preview for it to pick up the new column.
You may have to go through the steps to make sure it is not removed, by for example reducing the columns down via a selection. When you create a new report you can see the column as it is getting the dataflow table structure with out any history in the query. Note this is not just for Dataflows, but for most types of connection where the structure changes, for example CSV, Excel etc.
Check if the source data set is set to private by the person who published the report. Changing this might grant you access to the source dataset.

Publishing from Power BI Desktop always replaces the datasets

If I update the modelling in Power BI Desktop and then publish, I get the following message:
"You already have a dataset named 'xxxxx' in Power BI. Do you want to replace the existing dataset with this one?"
How do I get it to update rather than replace the dataset?
There is no update option. You can only replace, or, if you want to keep the existing dataset, rename the one you are trying to publish so it is unique in the workspace you are publishing to.
A dataset is a query against a source system and, if you are not in direct/live query mode, the associated data. The report you are publishing requires the dataset it is sourced from. The dataset is not separable from the report.
Even if there were no changes between the old dataset and the new dataset (i.e. you just made a cosmetic change to the report), PowerBI.com would have no way of knowing that unless it uploaded the new dataset and compared it to the old dataset. That would take so much longer than a replacement that I'm not sure what the value would be.
Sidenote: if you're looking to do an incremental update (e.g. only load new rows, and not re-upload existing rows), Power BI doesn't support this yet, but there is an idea you can vote on to get this feature added: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7288623-incremental-data-loads. However, you specifically asked about publishing the report, so I doubt this is what you are looking for.