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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Kolyckaa
Frequent Visitor

Visuals take long time to load with Direct Query dataset

Hello everyone,

I have a PBI report running in direct query mode because I have a lot of tvf used. 
Some visuals taking long time(10-15 mins) to load.
The actual query in sql server takes just a few secs to get the rows. I have deleted all the unwanted measures, recreated measures, deleted & reloaded the table in PowerBI. I still have the same issue in both PowerBI desktop & service.
Is there anything else I have to do? Please guide.

Caching is not supported with Direct Query dataset. 

Thanks!

1 REPLY 1
lbendlin
Super User
Super User

Use the Power BI Desktop Performance Analyzer to grab the query for the offending visual and then analyze the query plan for that query in DAX Studio. Specifically look for excessive number of records. Then optimize the query/measures as needed.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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