Forum Discussion
How to optimize Running total query
- Anonymous5 years ago
HI Sandeep_4b5,
What type of data source are you worked on?
If you are working with a type of datasource that supports advanced queries(e.g. t SQL), you can try to add a custom query to directly use the query to get the result table with expected calculation fields. This result query table should have better performance than do complex summarize/aggeration by m query functions.
Tutorial: Connect to on-premises data in SQL Server - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
HI Sandeep_4b5,
What type of data source are you worked on?
If you are working with a type of datasource that supports advanced queries(e.g. t SQL), you can try to add a custom query to directly use the query to get the result table with expected calculation fields. This result query table should have better performance than do complex summarize/aggeration by m query functions.
Tutorial: Connect to on-premises data in SQL Server - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
- Sandeep_4b55 years agoFrequent Visitor
It is one of the solution.But I want to try it by using DAX or PQ.