Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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?
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 31 | |
| 26 | |
| 25 |