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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
amir_mm
Helper III
Helper III

Table visual loading slow / High DAX duration

Hi,

I’m working on optimizing the performance of visuals across all dashboards. One of the tables in one report is taking a long time to load, primarily due to a DAX query that’s causing delays. Most queries are native SQL (no measures or calculated columns). I’ve used DAX Studio to analyze the query but haven’t identified the specific column causing the issue. But, I found that removing the "Id" column (not a primary key) significantly reduces query time when tested individually.

Any suggestions on optimizing the loading of this table?

Also, for optimizing measures, do you recommend using "Dax Optimizer"?

 

Thanks a lot!

 

amir_mm_0-1720713421971.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you @Greg_Deckler  and @elitesmitpatel , your ideas is great!

Hi, @amir_mm 

Optimizing DAX queries can be challenging. We can work together with Power BI's built-in profiling tools and external tools to achieve this goal.
First, we can use the Performance analyzer that comes with Power BI Desktop:

 

vjianpengmsft_0-1721614600191.png

vjianpengmsft_1-1721614607184.png

We can find the tutorial on how to use this tool from the following link:

Use Performance Analyzer to examine report element performance in Power BI Desktop - Power BI | Micr...

Any actions you take in the report are displayed and recorded in real time in the Performance Analyzer pane in the order in which Power BI loads the visuals.
Performance Analyzer is looking at how long it takes for each visual to query the data model and render the results. This is the time (in milliseconds) from when the user performs something on the page to when the visual is rendered.

The official documentation also has an optimization guide where you can get some tips for optimizing the user experience:

Optimization guide for Power BI - Power BI | Microsoft Learn

vjianpengmsft_2-1721614839264.png

 

Secondly, we can use external tools such as DAX studio, daxoptimizer, etc. When you use these tools, you need to follow the official documentation of the corresponding tools to understand the metrics. 

The following article describes the practices for optimizing DAX:

Optimizing DAX expressions involving multiple measures - SQLBI

vjianpengmsft_3-1721614883024.png

 

 

Best Regards

Jianpeng Li

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

5 REPLIES 5
Anonymous
Not applicable

Thank you @Greg_Deckler  and @elitesmitpatel , your ideas is great!

Hi, @amir_mm 

Optimizing DAX queries can be challenging. We can work together with Power BI's built-in profiling tools and external tools to achieve this goal.
First, we can use the Performance analyzer that comes with Power BI Desktop:

 

vjianpengmsft_0-1721614600191.png

vjianpengmsft_1-1721614607184.png

We can find the tutorial on how to use this tool from the following link:

Use Performance Analyzer to examine report element performance in Power BI Desktop - Power BI | Micr...

Any actions you take in the report are displayed and recorded in real time in the Performance Analyzer pane in the order in which Power BI loads the visuals.
Performance Analyzer is looking at how long it takes for each visual to query the data model and render the results. This is the time (in milliseconds) from when the user performs something on the page to when the visual is rendered.

The official documentation also has an optimization guide where you can get some tips for optimizing the user experience:

Optimization guide for Power BI - Power BI | Microsoft Learn

vjianpengmsft_2-1721614839264.png

 

Secondly, we can use external tools such as DAX studio, daxoptimizer, etc. When you use these tools, you need to follow the official documentation of the corresponding tools to understand the metrics. 

The following article describes the practices for optimizing DAX:

Optimizing DAX expressions involving multiple measures - SQLBI

vjianpengmsft_3-1721614883024.png

 

 

Best Regards

Jianpeng Li

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

 

 

 

Hi @Anonymous ,

May I know if DAX optimization tool is free to access?

I used "Dax Optimizer" tool to identify the faulty measures. The tool is not free and you need to get a one time or monthly subscription for it but I think it worth it.

Basically, it will list all the measures with performance issue (in terms of CPU and RAM) and also indicates what parts of the measures have to be optimized (but it will NOT do the optimization for you). You would need to optimize the query yourslef based on the proposed suggestions.

elitesmitpatel
Super User
Super User

Hey @amir_mm 
Here are few thing you can do
1) Remove Unnecessary Columns: if you can then remove unnecessary column.

2) Use DirectQuery instead of Import mode

3) If it is very import then Create a SQL View for this and keep only necessary column.

Greg_Deckler
Community Champion
Community Champion

@amir_mm What is the DAX query?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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