Forum Discussion
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
7 Replies
- AmiraBedhSuper User
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.
- AnonymousNot applicable
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!
- AmiraBedhSuper User
What type of visual you are using ?
- dtjdtjAdvocate I
Does someone know how to show items with no data in a table? Thanks!
- AnonymousNot applicable
AmiraBedh - would you kindly add the screenshot ? My case is for the Matrix.