Forum Discussion
truttafisker
Helper II
2 years agoColoring matrix dependant on sub row values
I have a matrix with values and everything works .. But I would like to have a columns that on the toplvl of the row (do not know the correct term), shows if there is one of the sub-rows that has a...
ahadkarimi
Solution Specialist
2 years agoHi truttafisker, give this a try, and if you encounter any issues, let me know.
Add a new measure. Assuming the sub-row values are in a column called AmountThisYear, use this DAX formula:
HasLowValue =
IF(MINX(FILTER(TableName, TableName[Customer] = SELECTEDVALUE(TableName[Customer])), TableName[AmountThisYear]) < 10, 1, 0)
Did I answer your question? If so, please mark my post as the solution! ✔️
Your Kudos are much appreciated! Proud to be a Solution Specialist!
- truttafisker2 years ago
Helper II
it might work .. the only problem now is that I get all the vendors, instead of the vendors where there are revenue ..
- truttafisker2 years ago
Helper II
tried it .. but didn't work