Forum Discussion
topazz11
4 years agoHelper III
DAX Max value
Hi. I thought it was easy, but somehow I can't get it to work. I have a table with 3 value columns. I want to add another Column which shows the maximum number among the 3 values columns. Tried a...
- 4 years ago
Hi topazz11
try this measure:
Measure_Max Value = Var _A = sum('Table'[Value1]) Var _B = sum('Table'[Value2]) var _C = sum('Table'[Value3]) return max(max(_A,_B),_C)output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
VahidDM
4 years agoSuper User
Hi topazz11
try this measure:
Measure_Max Value =
Var _A = sum('Table'[Value1])
Var _B = sum('Table'[Value2])
var _C = sum('Table'[Value3])
return
max(max(_A,_B),_C)
output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!