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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Show every day on the chart (same values equal to 0 or blank)

Show every day on the chart (same values equal to 0 or blank).

 

I have a chart that shows the capacity used each day. I need to show the days that I had no use.

I would like the days without data to be equal to "0%"

 

Could you help me ?

 

 

obs: I tried to add 0 to the metric, but it didn't work. =/

 

luizpassamani_0-1629758294592.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Since there is no data model, I can only give you the following two methods for reference.

1. Make sure your date data type is date type.7.png

8.png

 

2.If you want to display 0%, create a calendar table and create a relationship between two tables. Then create a measure and add 0 to your result.

 

Table 2 = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))

10.png

Measure = SUM('Table'[Percentage])+0

 

9.png

 

 

 

 

Best Regards,

Stephen Tao

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Since there is no data model, I can only give you the following two methods for reference.

1. Make sure your date data type is date type.7.png

8.png

 

2.If you want to display 0%, create a calendar table and create a relationship between two tables. Then create a measure and add 0 to your result.

 

Table 2 = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))

10.png

Measure = SUM('Table'[Percentage])+0

 

9.png

 

 

 

 

Best Regards,

Stephen Tao

 

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

VahidDM
Super User
Super User

Hi @Anonymous 

 

IF your model does not have all dates with value, You need to create a Calendar Table, connect that to the value table, and use that in the chart.

 

Creating Calendar Table in Power BI using DAX Functions

 

Share sample of your data table, or the Power BI file here to be able to work on it.

Did I answer your question? Mark my post as a solution!

Appreciate your Kudos VahidDM_0-1629762652374.png !!

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.