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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.