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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DarshG
Frequent Visitor

Error fetching data for this visual - Works locally but NOT on published version

Hi All,

 

I recently upgraded to on-prem version of PBI RS May 2025 from Jan 2025 and I am getting the following error in my few visuals:
Error fetching data for this visual

An unexpected error occurred (file '', line , function '').
Please try again later or contact support. If you contact support, please provide these details.

 

However, when I try to open same report locally using "Edit in Power BI Desktop" option, all visuals seem okay.

6 REPLIES 6
v-aatheeque
Community Support
Community Support

Hi @DarshG 


I wanted to follow up to see if the suggestions shared earlier by @collinq  helped address the error you’re seeing after upgrading to the May 2025 on-prem version of Power BI Report Server.

 

As mentioned, this issue can sometimes occur if there are version mismatches between the Power BI Desktop (optimized for Report Server) and the Report Server itself. Make sure you’re using the matching May 2025 version of Power BI Desktop (RS) when editing or republishing your reports. Additionally, verify that all data sources and custom visuals are compatible with the new Report Server release.

 

If these steps resolved the issue, it would be great if you could mark the response as accepted it could help others facing the same challenge.

 

looking for your response !!

Thank you for being an active part of the Microsoft Fabric Community!

Hi @DarshG 

Just checking in to see if @collinq  suggestions helped resolve the error you were experiencing after upgrading to the May 2025 version of Power BI Report Server.

One common cause of this issue is a mismatch between the version of Power BI Desktop (optimized for Report Server) and the Report Server itself. Please make sure you're using the May 2025 version of Power BI Desktop (RS) to edit or publish your reports. Also, double-check that your data sources and any custom visuals are compatible with the new release.

 

If those steps fixed the issue, it would be awesome if you could mark the response as accepted—it might help others who run into the same problem.

Looking forward to hearing back from you!

Thanks again for being such a valuable part of the Microsoft Fabric Community! 

Hi @DarshG 

Just checking in to see if the suggestions shared earlier by @collinq  helped resolve the error you encountered after upgrading to the May 2025 on-prem version of Power BI Report Server.

As highlighted, this issue can sometimes happen when there’s a mismatch between the Report Server version and the Power BI Desktop (optimized for Report Server) you’re using. Please ensure you have the May 2025 version of Power BI Desktop (RS) for editing or republishing. It’s also worth double-checking that all your data sources and any custom visuals remain compatible with the new release.

If this helped fix the issue,

 

It can be really helpful to others if you could accpet the answer in the community facing something similar.

 

Let us know how it goes or if you’re still running into trouble  we’re here to help!

If we don’t hear back, we may close this thread in line with our community guidelines, but you’re always welcome to post a new query anytime.
Thank you for being part of the Microsoft Fabric Community!

 

collinq
Super User
Super User

Hi @DarshG ,

 

You updated one piece of the puzzle.  You should first try to update your Power BI Desktop and your Gateway server as well to the latest versions.  Then try again and let us know.




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

Proud to be a Datanaut!
Private message me for consulting or training needs.




MasonMA
Impactful Individual
Impactful Individual

@DarshG 

Could you specify what types of visuals?

I can see all "Table" and "Card" visuals not working and throwing the error.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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