Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Regular Visitor

Problem with loading time of 1 column


I want to use in my dashboard table with only 23 results, but that table takes sometimes more than 5 sec loading. What should i change in this dax code if I can enything. I thing that table like this should load immediately or faster than 5 sec 🙂


// DAX Query
  VAR __DS0FilterTable = 
    TREATAS({BLANK()}, 'rp OneTimeUseFlagDispositions'[OneTimeUseFlagDispoistionName])

  VAR __DS0FilterTable2 = 
      "FORD"}, 'rp Books'[OemName])

  VAR __DS0Core = 
      DISTINCT('rp OemIqSections'[OemIqSectionName]),

  VAR __DS0PrimaryWindowed = 
    TOPN(501, __DS0Core, 'rp OemIqSections'[OemIqSectionName], 1)


  'rp OemIqSections'[OemIqSectionName]

Community Support
Community Support

Hi @adrian33 ,


Do you have a large amount of data? If there is more data involved in the query process, it will also lead to longer time, streamline the data as much as possible and delete the invalid ones.


Best regards,

Community Support Team Selina zhu

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

Regular Visitor

Some learnings metrials worth recommending?

Solution Sage
Solution Sage

This code does not look too complex. If it executes for a long time... it's time for you to work on the model, not the code. If your model is bad, no amount of DAX tweaking will make it better and the DAX faster.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors