The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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)?
Solved! Go to Solution.
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
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