Forum Discussion
Conditional Formatting for the customized %
HI All,
Can some one help me with the conditional formatting for the customized numbers.
There are 2 columns should be updated with different conditional Formatting.
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.
5 Replies
- parry2kSuper User
RanjanThammaiah can you provide more details Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490 - v-lid-msftCommunity Support
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.- RanjanThammaiahHelper 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-msftCommunity 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.