Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Divvi29
New Member

Measure is slow in matrixx

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 

@Greg_Deckler 

 

 

1 REPLY 1
v-xiaotang
Community Support
Community Support

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.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.