Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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 @Anonymous
It is because you are using Average in Summarization. I see the axis field in chart is Month. If a month has multiple rows data in the table and has both 0 and 1 in Colour column, the average of color for this month will be a value between 0 and 1, which doesn't meet either rule. Only when its color values are all 1, its average will be 1. The same for 0.
I guess you drag [Monthly RF IQP Target%] and [Actual IQP%] columns into the chart as values, right? What are their aggregation type in the chart? If they are using Sum, you can create a measure like below. In conditional formatting setting, select Format by Field value and Based on this measure.
color measure =
IF (
SUM ( 'table'[Monthly RF IQP Target%] ) >= SUM ( 'table'[Actual IQP%] ),
"Green",
"Red"
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @Anonymous
It is because you are using Average in Summarization. I see the axis field in chart is Month. If a month has multiple rows data in the table and has both 0 and 1 in Colour column, the average of color for this month will be a value between 0 and 1, which doesn't meet either rule. Only when its color values are all 1, its average will be 1. The same for 0.
I guess you drag [Monthly RF IQP Target%] and [Actual IQP%] columns into the chart as values, right? What are their aggregation type in the chart? If they are using Sum, you can create a measure like below. In conditional formatting setting, select Format by Field value and Based on this measure.
color measure =
IF (
SUM ( 'table'[Monthly RF IQP Target%] ) >= SUM ( 'table'[Actual IQP%] ),
"Green",
"Red"
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Excellent.. working now..
It looks like your rules are set to values of exactly 1 or 0, and none of your bars are exactly that value. Change to <= or >=.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi Thanks for your response.
I have tried conditional formatting as below. Kindly go through and support please.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
60 | |
58 | |
56 | |
38 | |
28 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |