Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
Hi All,
I created the Stacked Bar Chart below based on one categorical Field with 4 distinct values and dropped a measure into the Value box and attempted to apply conditional formatting based on the count. As you can see there seems to be something wrong here as the top bar (A) is a lighter shade of purple than the bar below it (B). Why is this not shading correctly?
The calculation of the measure being used:
Field =
CALCULATE (
COUNTROWS (
FILTER (
'Table 1',
'Table 1'[Completion Date] <> BLANK ()
&& 'Table 1'[Completion Date] < 'Table 1'[Planned Completion Date])))
Chart
Conditional Formatting:
Measure:
Solved! Go to Solution.
@CaveOfWonders , I doubt it used correctly. It should ask aggregation for the measure. Have taken correct measure
@CaveOfWonders , I doubt it used correctly. It should ask aggregation for the measure. Have taken correct measure
Should I be using the Measure as the Count? I am currently using the Categorical field?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 70 | |
| 60 | |
| 47 | |
| 20 | |
| 16 |