Forum Discussion
YC
4 years agoFrequent Visitor
Help on MAX formula
Hello! I am trying to create a measure or a column to calculate the max value by material and by region, as per below example. Basically, if I will not filter anything on region, I want to see Max ...
- 4 years ago
I have updated the formula in the same comment. Please double check and let me know what results you get?
tamerj1
Community Champion
4 years agoHi YC
Please try
Max price (per material) =
CALCULATE (
MAX ( 'Dataset'[Price] ),
ALLEXCEPT ( 'Dataset', 'Dataset'[Material], 'Dataset'[Rgion] )
)
YC
4 years agoFrequent Visitor
Hello! Thank you very much for the formula. This is working to show max per material indeed, but if I would filter a certain region, will not give the correct result.