Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I need formatting the percentages column as below
Sales column
25.89
9.75
Please help me on this
Requires color code for BU performance:
Meeting target - Green
within 10% - Amber
outside10% - Red
Solved! Go to Solution.
Hi @sunil222 ,
The easiest way to achieve your needs is to use conditional formatting.
I have created a sample dataset, please follow my steps.
First, here is the original data set.
Second, I assume the target is 30%. Click Conditional Formatting in the drop-down box and select a font color.
Select Rule for Format Rule, and select Percent instead of Number for data type.
If 30% of the target is reached, set the color to green, if within 10% set the color to amber, if outside 10% and the target is not reached, set the color to red.
Once set up, this is what the visual will look like.
PBIX attached.
If you still do not understand anything please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi @sunil222 ,
The easiest way to achieve your needs is to use conditional formatting.
I have created a sample dataset, please follow my steps.
First, here is the original data set.
Second, I assume the target is 30%. Click Conditional Formatting in the drop-down box and select a font color.
Select Rule for Format Rule, and select Percent instead of Number for data type.
If 30% of the target is reached, set the color to green, if within 10% set the color to amber, if outside 10% and the target is not reached, set the color to red.
Once set up, this is what the visual will look like.
PBIX attached.
If you still do not understand anything please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hello @sunil222 ,
If my understanding is right, then you are looking to have Red, Amber, Green on the basis of Column.
If I am right then create new column or measure depends on your requirement. Logic for Column is
Color Code = If(Column<=10,"Green",If(Column>10 && Column<20,"Amber","Red"))
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |