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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
UncleLewis
Responsive Resident
Responsive Resident

Direct Query Is Slow

Hi

 

Using PBID June 2025.

I created Direct Query to Snowflake View.

It's very slow 470M rows.

 

I'll try moving the View to Dynamic Table. Other ideas to improve speed?

 

Thanks

W

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @UncleLewis 

DirectQuery can be inherently slow, especially when working with large datasets like 470M rows – every interaction triggers a live query to the source. To improve performance, consider:

  1. Minimizing complex DAX logic – keep calculations in Snowflake when possible.

  2. Avoiding expensive functions like DISTINCTCOUNT, FILTER, and nested CALCULATEs in visuals.

  3. Disabling Auto Date/Time hierarchy – it creates hidden tables and overhead.

  4. Using aggregate tables – pre-aggregate data in Snowflake and expose summarized tables to Power BI.

  5. Reducing visuals per page – each one sends its own query.

  6. Testing with Import mode to check how much the model complexity affects performance (for comparison).

Trying to replace a view with a dynamic table might help only marginally unless the underlying logic is simplified.

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

Hi @UncleLewis 

DirectQuery can be inherently slow, especially when working with large datasets like 470M rows – every interaction triggers a live query to the source. To improve performance, consider:

  1. Minimizing complex DAX logic – keep calculations in Snowflake when possible.

  2. Avoiding expensive functions like DISTINCTCOUNT, FILTER, and nested CALCULATEs in visuals.

  3. Disabling Auto Date/Time hierarchy – it creates hidden tables and overhead.

  4. Using aggregate tables – pre-aggregate data in Snowflake and expose summarized tables to Power BI.

  5. Reducing visuals per page – each one sends its own query.

  6. Testing with Import mode to check how much the model complexity affects performance (for comparison).

Trying to replace a view with a dynamic table might help only marginally unless the underlying logic is simplified.

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hi @UncleLewis   ,
Thanks for reaching out to the Microsoft fabric community forum. 


I would also take a moment to thank @Ritaf1983 , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference. 

Please go through the below solved issue which may help in solving the issue:
Solved: Direct Query is extremely slow - Microsoft Fabric Community
 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.   

Best Regards,  
Community Support Team 

Hi @sergprim ,

I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you

Thank you.

Hi @UncleLewis ,

I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.

Thank you.

Hi @UncleLewis ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

Thank you.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors