Forum Discussion
Conditional Formatting for the customized %
- 6 years ago
Hi RanjanThammaiah ,
If you use multi measure as the value, there is no need to create measure as color field (sorry for mislead you)
We can set color for each measure in the value field, Notice the "Based on field", select your measure.
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi RanjanThammaiah ,
we can create a measure to define color, use the field value feature of matrix.
color =
SWITCH (
SELECTEDVALUE ( 'Table (2)'[Category] ),
"A", SWITCH (
TRUE (),
SUM ( 'Table (2)'[Value] ) > 1, "#00FF00",
SUM ( 'Table (2)'[Value] ) > 0.85, "#FFFF00",
"#FF0000"),
"B", SWITCH (
TRUE (),
SUM ( 'Table (2)'[Value] ) < 0.08, "#00FF00",
SUM ( 'Table (2)'[Value] ) <= 0.12, "#FFFF00",
"#FF0000"
)
)
If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- RanjanThammaiah6 years agoHelper V
Thanks for the response.
I have created hte same way you have explained. but seems to be its not working.
The column which i has the % value is the Calculated measure that i have created.
"Global Sales % of Plan Achieved FYTD_MS"
- v-lid-msft6 years agoCommunity Support
Hi RanjanThammaiah ,
If you use multi measure as the value, there is no need to create measure as color field (sorry for mislead you)
We can set color for each measure in the value field, Notice the "Based on field", select your measure.
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- RanjanThammaiah6 years agoHelper V
thank you so much for your help. Much appreciated:)