Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Everyone,
I have created a measure to find the MoM based on sum( value) on end date minus sum(value) on start date as MOM. Start n end date are based on date slicer. My measure is like this
Var maxd=max(table1(date))
Var mind=min(table1(date))
Var maxsum=calculate (sum(table1.col),table1.date=maxd)
Var minsum=calculate (sum(table1.col),table1.date=mind)
Return maxsum - minsum
When am dropping that measure in my matrix visual it's taking 30000ms to finish that dax. Can anyone help me to optimize my dax. Thanks! @amitchandak
Hi @Divvi29
Thanks for reaching out to us.
please check if this video helps, How To Optimize Slow Measures In Power BI - YouTube
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 118 | |
| 98 | |
| 70 | |
| 69 | |
| 65 |