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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Why is the total duration for DAX query vastly different from what is shown under DAX Studio ?

@v-shex-msft


So I am new to optimizing Power BI , and what I learnt from online is to turn on the performance analyzer and look for DAX queries taking more than 120 ms to run.


Here, I have 67 visuals in one page , I ran the performance analyzer
sort it in DESC order of DAX query duration , and found 1st visual whose DAX query took 847 ms to run.

Akshay_Kinge_0-1616398855639.png


I copied it to DAX studio and there it ran for 64 ms.

Akshay_Kinge_1-1616398893777.png

What does this mean ? Is the DAX query already fast as it is and due to may small RAM of 4GB that 64ms takes 847ms ? Or do I need to do further optimization?

I also know that SE queries above 20 is an indicator that DAX query needs to be optimized, but this 12.

Any help would be greatful as I am completely new to Power BI Optimization.

3 REPLIES 3
selimovd
Super User
Super User

Hello @Anonymous ,

 

probably the query is cashed.

When you do the Query in DAX studio, always chose the "Clear Cache then Run" option:

10.png

 

This should give you a more realistic time of the query.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

 

Anonymous
Not applicable

Yes I have done this and still got this issue.

Same issue. Any explanations for this?

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.