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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Creating a Visual with a fixed Categorical Variable as an Axis

I am creating a Dot Plot that has a Categorical Variable of Project as the X-Axis with possible values of Project 1, Project 2, Project 3, Project 4. I would like all 4 of these categories to appear on the Axis regardless of whether or not there are data points that fit into them.

 

Right now the X-Axis is dynamic and will only show categories with values in them (e.g. Project 1, Project 2, Project 4 when there are no data points in Project 3). Is there a way for me to make all 4 of these categories appear at all times?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,
Charts will aggregate values based on-axis and legend, blank and zero values will be hidden in the visual and no impossible to force display them.
I'd like to suggest you use them on table visual, it allows you to force display the no data categories. You can also try to replace these zero value records with a default value. (e.g. -1)

Regards,

Xiaoxin Sheng

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous,
Charts will aggregate values based on-axis and legend, blank and zero values will be hidden in the visual and no impossible to force display them.
I'd like to suggest you use them on table visual, it allows you to force display the no data categories. You can also try to replace these zero value records with a default value. (e.g. -1)

Regards,

Xiaoxin Sheng

Greg_Deckler
Community Champion
Community Champion

https://docs.microsoft.com/en-us/power-bi/desktop-show-items-no-data



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Anonymous 

OK.  I have one more idea.  If you select the down arrow next to the fields that are in your visual, you can select "Show items with no data".  Does that work?

 

- Michele

 

blank.png

Anonymous
Not applicable

I tried that but unfortunatly it doesn't work. Any other thoughts?

 

Anonymous
Not applicable

Hi @Anonymous 

I'm stumped.  I replicated your dot plot in my Power BI and it works for me. Sorry I couldn't help.  

- Michele

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors