Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Community,
I am having issues with the performance of my dax measures. I am trying to calculate a opening balance/ running total upto the selected date minus 1 month.
Hoping somone can provide guidance on how to improve the performance of it.
Below are the two DAX Measures
DAX
OpenBalance =
Solved! Go to Solution.
hi @databot_kd
VAR App = CALCULATE(SUM('GL'[amount]), 'GL'[Date] <= EoMDate , 'GL'[data_source] = "glaph") + 0
Remove +0 from measure it will unnecessary add 0 value to add the levels.
i hope it may reduce query time.
Hi @databot_kd
You can also take filter function which return the query much faster rather than row by row check the condition.
CALCULATE(SUM('GL'[amount]), 'GL'[Date] <= EoMDate , 'GL'[data_source] = "glaph")
Try to take filter finction for this condition.
https://www.youtube.com/watch?v=jcOa4sEMDDs
Filter function works faster than without apply filter condition.
I hope I answered your question!
Hi @databot_kd
You can also take filter function which return the query much faster rather than row by row check the condition.
CALCULATE(SUM('GL'[amount]), 'GL'[Date] <= EoMDate , 'GL'[data_source] = "glaph")
Try to take filter finction for this condition.
https://www.youtube.com/watch?v=jcOa4sEMDDs
Filter function works faster than without apply filter condition.
I hope I answered your question!
hi @databot_kd
VAR App = CALCULATE(SUM('GL'[amount]), 'GL'[Date] <= EoMDate , 'GL'[data_source] = "glaph") + 0
Remove +0 from measure it will unnecessary add 0 value to add the levels.
i hope it may reduce query time.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
107 | |
56 | |
52 | |
48 | |
40 |