Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper II
Helper II

Table not showing dates with no data



I have a line chart with Number of sales by month, but the table does not show the monhs in which there is no data.




Super User
Super User

Hi @SimonePalmas45 
To show the months without data, you can click on axis X and check the option: " Show items with no data".
Please refer to the attached picture:



Link to sample File 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

@Ritaf1983 thank you! and there is a way to see the data label icon? (a zero)

Hi @SimonePalmas45 
In this context, it's not 0....but you don't have any data.
If zero is mandatory, then you need to build a measure with dax manipulations so that there will be zero in months with no activity.
Please post a separate question with an example of your data tables and a measure you calculate

With a simple measure, e.g., calculate sum(sales['Sales']), should not it give me zero for month in which there are not sales?
when I use a measure of this kind:
var result = calculate(sum(Sales['Sales'])
if(result = 0, "1000", result)
it gives 1000 for months with zero sales, so it sees them as 0, and not blank, is that right?


Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors