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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
MicrosoftUser42
Frequent Visitor

PowerBI Semantic Models not supported as Direct Query Source in Export to File API

As of now, the Export to File REST API does not support Direct Query Sources (especially PowerBI Semantic Models combined with other data sources). It always shows "Error fetching data for this visual See details" in the final export, even though the report works fine in both PowerBI Desktop and Online.

Took me a full day to figure this out, super annoying as we have already setup all the code for the API exports. Worked well with the reports we tested (that did not use PowerBI Semantic Models and other data sources at once), but not with others. Hope this keeps someone else from going through the same.

4 REPLIES 4
AmosHersch
Microsoft Employee
Microsoft Employee

I don't think it's true that a report with semantic models with DQ connection to other semantic models cannot be exported using the API.

It might depend on the external data sources (SQL, etc.) of the semantic models. If they are configured with SSO enabled then it might fail to fetch the data from such data sources.

I believe it's more accurate to say that the combination of have DQ to semantic models + having external data sources with SSO enabled is not supported.

 

Yes, I think you are right. But why is SSO not supported, pretty much everything regarding authentication is managed through SSO at our company. Is there any way to bypass this issue?

Anonymous
Not applicable

Hi @MicrosoftUser42 ,

Thanks for your sharing. There are some limitations and considerations when export the report to file, you can find the details in this official documentation.

vyiruanmsft_0-1738825013180.png

Best Regards

Thank you for your response! I don't think dynamic binding is the problem, because there aren't multiple semantic models being used as data source. (Would dynamic binding mean, I have to specify the desired semantic model in the API query?)
But I think your hint towards SSO was correct. For the affected report we do use a composite model with data sources that use SSO. I don't think turning SSO off completely would be a good solution, because that is how access to the data is supposed to be managed. But is there any other way to bypass this issue?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.