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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.