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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
airwolf39
Helper V
Helper V

Summarize killing performance

Hi Folks,

 

My measure is causing my visual to take 90 seconds to load. The issue is with summarizing the data. If i change the false statement of "hasonefilter' to 'test', it is very fast.

 

Capture.PNG

But when i include the summarize code, the performance takes a huge hit:

Data.PNG

 

Any help would be appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @airwolf39 ,

 

Maybe you can use SELECTCOLUMNS instead of SUMMARIZE and use ISINSCOPE instead of HASONEFILTER.

 

 

The efficiency of your measure is not only dependent on the dax formula you use, it's also be decided by the model structure(e.g.: columns/rows number, relationship) 

 

In addtion, I would suggest you use the tools "performance analyze" in power bi. This tool will show you the underlying dax function, you can know how complex your measure is. 

 

You can also refer to the doc and blog below to improve your model.

https://docs.microsoft.com/en-us/power-bi/power-bi-reports-performance

https://www.sqlbi.com/articles/introducing-the-power-bi-performance-analyzer/

 

Best Regards,

Stephen Tao

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @airwolf39 ,

 

Maybe you can use SELECTCOLUMNS instead of SUMMARIZE and use ISINSCOPE instead of HASONEFILTER.

 

 

The efficiency of your measure is not only dependent on the dax formula you use, it's also be decided by the model structure(e.g.: columns/rows number, relationship) 

 

In addtion, I would suggest you use the tools "performance analyze" in power bi. This tool will show you the underlying dax function, you can know how complex your measure is. 

 

You can also refer to the doc and blog below to improve your model.

https://docs.microsoft.com/en-us/power-bi/power-bi-reports-performance

https://www.sqlbi.com/articles/introducing-the-power-bi-performance-analyzer/

 

Best Regards,

Stephen Tao

 

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

lbendlin
Super User
Super User

This would be a good time to open up DAX Studio and have a look at the query plan for that measure. Specifically watch out for excessive looping.  You have lots of nested measures too - the recommendation is to avoid that if possible.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.