- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

show items with no data
Hello everyone,
I have the following issue:
I want to keep the month on the x-axis constant. So even when I have no data for my month I want to display such month and show the value of 0 (or just an empty value) for that month. So I have two variables in my dataset:
1. items sales,
2. date in months.
Example:
So as below, I want to display also 2023-05 which is missing in the chart below. Ideally, there should be 0.
Can you see any solution here? Thanks in advance!
Regards,
Piotr

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Does someone know how to show items with no data in a table? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

By default, Power BI will not show items with no data in a chart. However, you can change this behavior and display items with no data in the "Format" tab in the Visualizations pane. You need to expand the "X-Axis" section.Look for the "Include empty categories" option and turn it on by toggling the switch to the right.
Proud to be a Power BI Super User !
Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I went there as you proposed and I see no such option as "include empty categories".
I also tried to convert it into type of continuous but also didn't help.
Thanks for your suggestion!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Based on the screedshot you provided, under X-axis > "Type"> "Categorical" > select the field that you want to show items with no data for.
Under"Category labels", turn on the "Show items with no data" toggle.
Proud to be a Power BI Super User !
Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi AmiraBedh,
I am encountering exactly the same problem.
I am using the standard line chart and I cannot find the option "Show items with no data".
Before the update of the format pane it was available.
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

What type of visual you are using ?
Proud to be a Power BI Super User !
Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
02-26-2023 04:21 AM | |||
06-29-2023 12:40 PM | |||
03-19-2024 10:07 PM | |||
06-27-2024 02:07 AM | |||
11-21-2023 07:11 PM |
User | Count |
---|---|
137 | |
107 | |
84 | |
59 | |
46 |