Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 @ovonel,
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 @ovonel,
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
94 | |
82 | |
70 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |