Forum Discussion
Conditional formatting based on rules and colors
- 3 years ago
learner03 , Create a measure like
color =
var _m1 = calculate(distinctcount(Table[Work Area]) )
var _m2 = calculate(distinctcount(Table[Work Area]), filter( Table,Table[Work Area] = "A") )
return
if(_m1 -_m2, "Red", "Blue")
Use in conditional formatting using field value option
- 3 years ago
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://dropmefiles.com/GAoVfyou can write measure like this
learner03 , Create a measure like
color =
var _m1 = calculate(distinctcount(Table[Work Area]) )
var _m2 = calculate(distinctcount(Table[Work Area]), filter( Table,Table[Work Area] = "A") )
return
if(_m1 -_m2, "Red", "Blue")
Use in conditional formatting using field value option
amitchandak I have sorted this taking your lead. Thnanks for this