Forum Discussion
Conditional Formatting based on another Field Value
- 5 years ago
Anonymous , You have to create color measures like this one and use them in conditional formatting with "Field value" option
measure =
var _max = calculate(max(Table[status]), filter(Table, table[project] = max(Table[project]) && table[Department] = max(Table[Department]) && Table[Date1] =[latest date 1]))
return
if(_max= "Finished", "green", "red")refer for steps
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Anonymous , You have to create color measures like this one and use them in conditional formatting with "Field value" option
measure =
var _max = calculate(max(Table[status]), filter(Table, table[project] = max(Table[project]) && table[Department] = max(Table[Department]) && Table[Date1] =[latest date 1]))
return
if(_max= "Finished", "green", "red")
refer for steps
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
- Anonymous5 years agoNot applicable
Hi amitchandak,
your solution works flawlessly. After retracing the formula step by step, I think that I now understand the capabilities of DAX measures much more, so thanks a lot for that!