Forum Discussion
Optimizing Measure performance (open incidents running total)
- Anonymous2 years ago
Hi Thogen ,
Thanks for the reply from lbendlin .
Your current requirement is that your measure can achieve the function, but the performance is too poor when there are 15,000 data. You are considering how to optimize the performance. Is my understanding correct?
I suggest you consider the following aspects:
- When the data set is large, the complex Measure syntax will significantly affect the calculation performance. If possible, consider breaking down the measure into simpler intermediate measures.
- Check the data model to see if it can be optimized. For example, delete unused columns, ensure that the column data type is correct, and possibly summarize the data at a higher level before importing the data into Power BI.
For more detailed guidance, please see:
Optimization guide for Power BI - Power BI | Microsoft Learn
- If the database you are using supports the view function, please process the data in the database first, so that Power BI only needs to query the summary table without performing complex calculations on millions of rows.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Look at the Query plan too, especially the Records column there. That may indicate where you have cartesian products.
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.