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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

“An unexpected error occurred” -- Direct Query SQL connection with Enhanced Dataset Metadata

Hi,

We get this error from PowerBI Server when we try to run a report with a direct query SQL connection to a SQL Server when the preview feature “Enhanced Dataset Metadata” is enabled.

mdarji_pbi_0-1617129511995.jpeg

We are running the latest builds (Jan 2021) for PowerBI Desktop and Server.

Our workaround currently is to disable the “Enhanced Dataset Metadata” preview feature on the desktop. However, Microsoft has indicated that they “ … aim to make the enhanced format generally available as the only option in the next release of Report Server.” from here.

We really need help on this now in order to continue running these reports in the next version of the PowerBI Report Server.

Would appreciate hearing from Microsoft Support on this – thanks in advance.

2 REPLIES 2
d_gosbell
Super User
Super User

If you want to engage with Microsoft Support you would need to raise a support ticket which you should be able to do through your IT dept or MS Account manager or maybe also through https://powerbi.microsoft.com/en-us/support/pro/ 

Anonymous
Not applicable

Thank you for the guidance. I will check with my IT department to see how to move forward with this. Meanwhile, I would appreciate other suggestions from the users who might have faced similar issues.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.