Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Error when refreshing dataset based on a dataflow entity with a removed column

I am frequently running into the same issue. Here are the steps I am taking:

  1. Create an entity A in a dataflow
  2. Connect to the entity A from Power BI Desktop without performing any transformations in Power Query Editor inside Power BI Desktop
  3. Publish the dataset to Power BI service. Refresh from Power BI service works at this stage
  4. Remove an unused column from the entity A in the dataflow
  5. Attempt refresh again in Power BI service. The dataset refresh fails with the following error:
    image.png

To resolve the issue, I do a refresh in Power BI Desktop and re-publish the dataset. Power BI service refresh then works again. Note that I'm not changing any of my queries or anything else -- I simply click the Refresh button.

 

Surely this is a bug -- I can't see how this is by design.

 

Important note: I am not applying any transformations to the removed column in Power Query Editor inside Power BI Desktop.

 

P. S. There should be a separate label for dataflows.

Status: Accepted
Comments
v-qiuyu-msft
Community Support

Hi @Daniil

 

I will pass your concern to PT team internally, will keep you update once I get any information. 

 

Best Regards,
Qiuyun Yu 

v-qiuyu-msft
Community Support

Hi @Daniil

 

I got below information regarding your concern: 

 

"When a column is removed, measures and queries which relied on it will start to fail - that's why the error. if a column is added, no existing queries or measures were using it, so there would be no error. Reports need to be modified and republished to the service if the column is removed."

 

 

Best Regards,
Qiuyun Yu 

Daniil
Kudo Kingpin

Thanks for the response -- this is fair enough, and I'm all right with this issue being closed.

akhazaal
Regular Visitor

This is still happening exactly as Daniil described. Hope a fix for this is coming soon. 

We have a scenario where many datasets are connected to a single dataflow and they all fail to refresh just because we removed an unused field from the dataflow. The workaround (to refresh from Desktop and republish) works, but that's not a clean solution when you have so many datasets owned by different people. Thanks for your support and continuing to improve Power BI.

pb1051
Advocate II

I agree with @akhazaal that this should not be an issue if the column is not used or referenced in the model. I'm cleaning up 20 reports this morning because a single column that had null data was removed from the source.

kvidales
Frequent Visitor

Hello Community!

I’m using a Power BI dataflow that was configured from a Common Data Model (CDM) folder in Azure Data Lake. Recently, I was informed that a new a new column will be added to an existing table in the CDM witch is called in my Dataflow, but I’m unsure if this new column will automatically be reflected in the dataflow or if additional steps are needed (e.g., recreating the dataflow).

Since dataflows created from CDM folders cannot be edited directly in the Power BI service, has anyone faced a similar case and could share how they handled it? Do I need to recreate the dataflow, or is there a process to update entities automatically?

Any shared experience or official references would be greatly appreciated

pb1051
Advocate II

@kvidales, You should create a new topic for your question. I personally have not had issues when columns were added to a source, but only when removed.