Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
GrandeMariela
Frequent Visitor

Add "phantom bar"

Hello Champions, Does anyone have any suggestions to this requirement?

 

I have a Top 4 bar chart, aligned with each bar I have a card showing CAGR Value, however when a value its 0 no shows 4 bars so cards are not aligned which each bar. This scenario its confusing to clients so I want to add a “phantom bar” in case shows less than 4 bars to stay aligned column with card. Does anyone have any idea how solve this issue?

I share an image to show it.

-----------------------ALIGNED

GrandeMariela_0-1738011277285.jpeg

-----------------NOT ALIGNED

GrandeMariela_1-1738011308725.png

 

 

1 ACCEPTED SOLUTION
samratpbi
Super User
Super User

Hi, so you want to have some additional detail ( as CAGR) for each bar in the chart? For this scenario, instead of creating card visual and aligning it to each bar, it is better to use Data Levels formatting condition for bar chart. Now Data Levels also support additional measures. Hence you can create  a measure and add in the Detail section of Data Levels.

samratpbi_0-1738012915099.png

 

Hope this helps to resolve your problem. If it does, please please mark it as solution.

Thanks,

Samrat

View solution in original post

2 REPLIES 2
GrandeMariela
Frequent Visitor

This is really clever solution but clients didn't acept it 

samratpbi
Super User
Super User

Hi, so you want to have some additional detail ( as CAGR) for each bar in the chart? For this scenario, instead of creating card visual and aligning it to each bar, it is better to use Data Levels formatting condition for bar chart. Now Data Levels also support additional measures. Hence you can create  a measure and add in the Detail section of Data Levels.

samratpbi_0-1738012915099.png

 

Hope this helps to resolve your problem. If it does, please please mark it as solution.

Thanks,

Samrat

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.