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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bleow
Frequent Visitor

Showing categories missing in the data as 0 in charts

I have the following line chart:

Screenshot 2021-06-16 115814.png

The x-axis is from the fact table. There are some (theoretical) categories in the dimension table that don't exist in this fact table.

 

The Show items with no value/calculate+0 tricks don't work because those categories are missing entirely from the data.

 

So I tried using the dimension table as the x-axis:

Screenshot 2021-06-16 115914.png

And while all the categories now show, this has created a new problem where the x-axis is not being recognised as a context filter.

 

There is already an active many-to-one relationship between the fact table and the dim table:

Screenshot 2021-06-16 120135.png

 

How do I resolve this issue?

 

Edit: feeling real silly now...I used the wrong table in the active many-to-one relationship (I have one fact table and another table that has been pivoted and transformed for event-in-progress data). I have changed it to the correct table and now it works as intended:

 

Screenshot 2021-06-16 115814 - Copy.png

 

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@bleow why the cross filter is set to both? 

 

If you share sample data and expected output, it will help to understand what you are trying to achieve?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

1 REPLY 1
parry2k
Super User
Super User

@bleow why the cross filter is set to both? 

 

If you share sample data and expected output, it will help to understand what you are trying to achieve?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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