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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Measure not working?

I have my measure:

 

DIVIDE

(

   SUM(Fact[Hours])  -   CALCULATE (SUM( Fact[Hours2]) ,  ALL(Fact) ,  Fact[Type]="D" ),

   SUM(Fact[Hours])

)

 

 

It works fine.

 

But now I want to use it in another measure to do:

 

SUM(Fact[Hours])   * MAX(MyMeasure)

 

And it doesn’t work…  Why can't I do MAX(MyMeasure)?

1 ACCEPTED SOLUTION
isjoycewang
Solution Supplier
Solution Supplier

Hi @Anonymous,

 

Please refer to MAX Intro article: https://learn.microsoft.com/en-us/dax/max-function-dax

MAX() only references a column. If you want to use MAX(), a quick workaround might be to transform your measure to a calcualated column.

 

Best Regards,

Joyce

View solution in original post

1 REPLY 1
isjoycewang
Solution Supplier
Solution Supplier

Hi @Anonymous,

 

Please refer to MAX Intro article: https://learn.microsoft.com/en-us/dax/max-function-dax

MAX() only references a column. If you want to use MAX(), a quick workaround might be to transform your measure to a calcualated column.

 

Best Regards,

Joyce

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors