This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I have a stacked bar chart that I want both stacked bars to start at zero. The columns are alarms, so the total bar is the total alarm count, and the sub bar is the acknowledged alarm count. The total count will always be either larger or at most the same as the acknowledged count. I want the bars to both start at zero, not stack on top of each other. In the example below, the first alarm has 89 total alarms and 26 acknowledged alarms. I want the overall bar to stop at 89, not 115 (89 + 26).
Do I have to create a separate column subtracting the values, or is there an easier way to do this?
Solved! Go to Solution.
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
YEAR(MAX('Table'[Date]))=2021,MAX('Table'[amount]),0)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
YEAR(MAX('Table'[Date]))=2021,MAX('Table'[amount]),0)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
"Do I have to create a separate column subtracting the values?" - yes
", or is there an easier way to do this?" - Don't use stacked column charts, use clustered column charts.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |