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
FannyZ
Frequent Visitor

Stacked chart - Show all Y axis value

Hello everyone,

 

I have a stacked chart ofr which I'd like to show all possible values for the Y axis even when null. 

I did do a right click on the Axis data and selected "Show items with no value" but that doesn't change anything. 

 

More concretly, this is what I want the Y axis to show: 

>15days

<= 15 days

<= 10 days

<= 5 days

 

and this is what I get: 

<= 15 days

<= 5 days

 

Because there is no data for the categories <= 10 days and >15days. 

 

Any tips ? 

 

Thank you! 

1 ACCEPTED SOLUTION

Thank you for your follow up. I have just solved the problem by adding an extra table with all categories for each type of order in my report and then I created a measure with a filter on the type of order to avoid using the filter on the visual. That worked just fine 🙂 

View solution in original post

6 REPLIES 6
manikumar34
Solution Sage
Solution Sage

Hi @FannyZ , 

 

I have created sample data with the same that you have explained. And I did use Show Items with No data, it is working. 

 

manikumar34_0-1601366375652.png

 

 

Could you check again and let me know.

 

Regards, 

Manikumar

 





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




@FannyZ 

If that doesn't works , please create a calculated column or measure and use that. 

 

Use the below DAX to convert the blank cells to 0.

Column = IF(ISBLANK('Table'[Value]),0,'Table'[Value])
 
 
manikumar34_0-1601366733081.png

 

Please accept this as solution if works and leave a like. 

 

Regards, 

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




Hello Manikumar,

 

I don't have any blank cells in the categories data.

Could I get those results because of the filters I'm using ? It does show category "=0" when there is 0 lines, but not the other ones..

 

FannyZ_0-1601459251980.pngFannyZ_1-1601459276200.png

 

Thank you,

 

@FannyZ ,

Are you using the slicer which is on Y-Axis of the chart?? 

 

If so it will  happen, to do not filter the data with the slicer on this chart stop interactions from View>Edit Interactions

 

If possible can you share the slicer screenshot with the slicer and chart?

 

If you think this is helpful please Accept as Solution and leave a like.

 

Regards, 

Manikunar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




Thank you for your follow up. I have just solved the problem by adding an extra table with all categories for each type of order in my report and then I created a measure with a filter on the type of order to avoid using the filter on the visual. That worked just fine 🙂 

Thank you manikumar34 for your quick reply. I did check again, but it doesn't work. I'm also using slicers with this visual, could it be the cause ? If so, how can I counter it ? 

 

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.