Hello Community,
I have DAX here which is needed some optimisation. In the sense at the moment whhen I'm using this DAX in visualisation it's taking a lot of time/memory to load. Any suggestions on how I can optimise?
@sandeep_me you are making extensive use of the SUMMARIZE function, which has performance issues. I'd suggest rewriting to use some combination of GROUPBY and ADDCOLUMNS. Hope this helps!
There is a lot going on in that measure (many nested measures, IFs, etc.). Any sub-optimal pieces are then multiplied by the granularity of your first table variable. I would encourage you to watch one of the optimizing DAX videos by SQLBI and use DAX Studio to break it down (to see which parts are causing the issues and where you can reduce the granularity).
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi @sandeep_me , I am sorry, but this is bit too complex for this forum. If performance is an issue, you may want to consider moving the logic back in Power Query.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!
User | Count |
---|---|
184 | |
69 | |
66 | |
59 | |
55 |
User | Count |
---|---|
196 | |
103 | |
88 | |
81 | |
75 |