Forum Discussion
Conditional formatting
- Anonymous3 years ago
Refer the file shared by Anonymous and make required changes as shown in the below images to obtain the results.
Thank you.
If my answers helps you please mark it as solution.
Mussaka , Assume you have measure X
Then a new measure
Switch(true(),
[X] < 0 , "over threshold" ,
[X] < 100 , "close threshold" ,
"within the threshold")
Same way you can create color measure and use that in conditional formatting using field value option
Switch(true(),
[X] < 0 , "Red" ,
[X] < 100 , "yellow" ,
"green")
Power BI Field Parameters — A Quick way for Dynamic Visuals: https://amitchandak.medium.com/power-bi-field-parameters-a-quick-way-for-dynamic-visuals-fc4095ae9afd
Power BI Field Parameters- Measure Slicer and Axis/Dimension slicer: https://youtu.be/lqF3Wa1FllE
Switch TOPN with Field Parameters: https://amitchandak.medium.com/switch-topn-with-field-parameters-299a0ae3725f
Field Parameters- Conditional Formatting
: https://amitchandak.medium.com/field-parameters-conditional-formatting-517aacc23fdf
The problem is that "x" is not a measure, but a column; this is because I need to use it in a filter:(
The criteria must be the following:
- if (name of the table[measure]<0, "over threshold"
- if (name of the table[measure]<100, "close threshold"
- if (name of the table[measure]<50, (only for a determined number of persons, for example "english")"close threshold"