Forum Discussion
DAX Conditional Formatting the maximum value for each column in a Matrix
- 4 years ago
Read about the difference between aggregators (SUM, MAX) and iterators (SUMX, MAXX). That will help you to decide when to apply which (very roughly aggregators work on columns while iterators work on rows).
Let me know when you have sorted your actual requirement out. The measure I provided is only one of many possible implementations (and a very simplistic one, too). It did work for your original request, but it's perfectly fine for requirements to change during prototyping.
Please provide sanitized sample data that fully covers your issue.. Please show the expected outcome.
I am thinking it is because of our Invoice column, every Invoice is a row, and they can be + GP or - GP, let's say a credit for negative GP.
Issue is we do not put EAM name for negative GP entries / rows. So I think this is throwing off the calculation of GP and the measure.
Might be too hard to figure out, I can try to scrub some data and send to you, maybe some example rows of + and - GP.
Can do tomorrow if you think that helps?
Thanks again