Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi there,
Can anyone help me with this.
I have daily transaction amount in table1 for client food and total budget for client food in table2. I want to apply a dynamic conditional formating in my guage chart with different colors based on sum of the transaction amount against their budget. For example if the sum of the transaction is less than 50% of the total budget then the color is green but if it is greater than 50% the color changes to red.
Solved! Go to Solution.
@Kinley1 , You can create a measure
A% = divide (sum(Table[Actual]), Sum(Budget[Budget]))
Now you can use field or rule based conditional formatting
for field value base conditional formatting use the following measure in conditional formatting
Switch ( True(),
[A%] <.5 , "Red",
[A%] <.75, "Yellow"
, "Green")
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...
@amitchandak Thank you for the prompt response/help, will try definitly try this:-)
@Kinley1 , You can create a measure
A% = divide (sum(Table[Actual]), Sum(Budget[Budget]))
Now you can use field or rule based conditional formatting
for field value base conditional formatting use the following measure in conditional formatting
Switch ( True(),
[A%] <.5 , "Red",
[A%] <.75, "Yellow"
, "Green")
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...
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 |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
79 | |
67 | |
60 | |
45 | |
45 |