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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
LangGergely
Frequent Visitor

Refresh in service fails after deleting a not used column from datamart

Hello, community,

 

I have a problem. I have a datamart, where a field has been deleted. My reports are dependent of this datamart. In the report the field is not used anywhere. In desktop the refresh is successful, however in the service the refresh fails. When I open the report in desktop, and I refresh the report, then I publish again to the service, it works.

 

Why is that? In this case I have to refresh all my reports in Desktop and publish it again, which is very time consumig. I have about 30 reports.

 

Is there a solution to fix this?

 

Thank you.

 

 

 

2 ACCEPTED SOLUTIONS
rajendraongole1
Super User
Super User

Hi @LangGergely - i guess,the underlying dataset in the Power BI Service may still be holding on to the deleted field. Even though the field isn’t used in the report itself, the dataset still expects it during the refresh process.

can you try to republish the dataset (by refreshing it in Power BI Desktop and uploading it to the service), the Power BI Service clears any metadata mismatch. A faster way to do this for multiple datasets would be to trigger a refresh for each dataset directly in Power BI Service. Again, this can be automated using PowerShell or the Power BI REST API.

or  you could script the publishing process using PowerShell or the Power BI REST API to reduce manual effort, especially if you have a large number of reports (around 30, as mentioned).





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

Hello, rajendraongole1

 

That's a good idea, to only republish the report, without refreshing it in the desktop version it saves the 90 % or more of the time. Then I don't have to wait for the refresh in the desktop version, It's a so simple solution. I don't know why I didn't try this. I tried and it works.

 

Thank you for the (obvious) solution.

 

 

View solution in original post

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @LangGergely - i guess,the underlying dataset in the Power BI Service may still be holding on to the deleted field. Even though the field isn’t used in the report itself, the dataset still expects it during the refresh process.

can you try to republish the dataset (by refreshing it in Power BI Desktop and uploading it to the service), the Power BI Service clears any metadata mismatch. A faster way to do this for multiple datasets would be to trigger a refresh for each dataset directly in Power BI Service. Again, this can be automated using PowerShell or the Power BI REST API.

or  you could script the publishing process using PowerShell or the Power BI REST API to reduce manual effort, especially if you have a large number of reports (around 30, as mentioned).





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hello, rajendraongole1

 

That's a good idea, to only republish the report, without refreshing it in the desktop version it saves the 90 % or more of the time. Then I don't have to wait for the refresh in the desktop version, It's a so simple solution. I don't know why I didn't try this. I tried and it works.

 

Thank you for the (obvious) solution.

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.