Forum Discussion

Matthias93's avatar
Matthias93
Helper III
9 years ago

Report is too slow

Hi,

I currently have a dashboard based on 5 excels and 10 SharePoint lists. To increase the speed of this report I have done mulitple things: 

 

  • Deleted columns I don't need (will it make a difference if it is het last of the applied steps on a query or if you do it when loading the query?)
  • Fiddled with the data load settings (no preview loading and no data/time loading)
  • Minimized string columns to a certain extend

After doing this the report is still quite slow. Note that the lists and excels are very small at the moment. No more than 10 lines each. With no query having more than 10 columns. I do have a fair amount of slicers on each page (around 6) and read that this could slow down performance. I also have some measures using the 'filter' function, but find no other way of writing them. 

 

Does anyone have any experience with this? And how have you resolved it?

 

Kind regards,
Matt

17 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    What exactly is slow? Is it slow to load in the service, is it slow to refresh the queries, is it slow to add new measures? How many measures are in the data model? Do you have any table or matrix visuals that contain a lot of different measures? Do any of your measures use iterator functions like SUMX, AVERAGEX, etc?

    • Matthias93's avatar
      Matthias93
      Helper III

      Hi,

       

      Sorry for the unclarity. The report is currently slow in the desktop app. The refreshing is quite slow, but acceptable. The slowest part is the loading and filtering of the report  through slicers. I have 4 tables that consist of the following type of measure.:

       

      Weighted question 2 = SUMMARIZE('Performance Snapshot';'Performance Snapshot'[Team Member];"Weight question two value";SUMX(FILTER(ALL('Performance Snapshot');'Performance Snapshot'[Team Member]=EARLIER([Team Member]));
      [Number of hours]/SUMX(FILTER(ALL('Performance Snapshot');'Performance Snapshot'[Team Member]=EARLIER([Team Member]));[Number of hours])*[Always on my team]))

       

      These tables are used in half the visualizations, but are mostly not matrixes or tables.

       

      I also have a measure taking date columns from different lists and combining them into one single date query as follows:

       

      Formula: Date Slicer = DISTINCT( UNION(VALUES('Check-In'[End Date]);VALUES('Pulse Survey'[Modified]);VALUES('Performance Snapshot'[Modified]);VALUES('Career Aspirations'[Year]);VALUES('My Strengths'[Year]);VALUES('Firm Contributions'[Year]);VALUES('Goal Setting'[Year])))

       

      Thanks for your help

      • Anonymous's avatar
        Anonymous
        Not applicable

        Oh yeah, nesting multiple SUMXs inside a SUMMARIZE will definitely slow things way down, especially if there are a lot of rows in whatever you're SUMXing. As a first step, I would recommend installing DAX Studio and learning how to use that. You can run test queries to find out how quickly or slowly a particular measure will run, which will help you find the major sources of slowdown. Then you can focus on those measures and see if there is a more efficient way to write them. I'll play around with your example measures to see if I can come up with any better methods.