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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Table not showing dates with no data

Hi,

 

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.

 

SimonePalmas45_1-1683875665889.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Anonymous 
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:

Ritaf1983_0-1684035641369.png

 

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

4 REPLIES 4
Ritaf1983
Super User
Super User

Hi @Anonymous 
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:

Ritaf1983_0-1684035641369.png

 

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

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

Hi @Anonymous 
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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

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'])
return
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

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.