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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
TylerVono
Helper III
Helper III

Display Zero Data Points on Line Chart after Merging Date Table and Data Table to Forecast

Hello Power BI Community,

 

Kinda stumped on this one. Do you know a good way to displaying data points with value 'zero' (job order)s to the dataset to make sure they appear on a line chart?

 

Here I have a Many to One Relationship with the Date Table, after I merged the two Tables as NEW (Completed Jobs Table & Date Table) = Completed Jobs Forecast New (Merge)

 

Currently My Line Chart is only graphing a Value of 1 as bottom, I would like it to graph 0. Otherwise, it doesnt really show the fluctuation of graphing data.

 

Do you know any tricks to add zero job orders for missing periods? 

TylerVono_1-1691374378710.png

 

TylerVono_0-1691374242953.png

As you can see there is no option to fill in any 'null value', as I have days gap /missing dates where I would like to just have 0 recorded jobs.

TylerVono_2-1691374544726.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @TylerVono 
The steps to create the line with 0 are :
1. Change the relationship to single from both :

Ritaf1983_0-1691376931996.png

2. Add 0 to your measure .
For example :

totalValue = sum('Table'[Value])+0
3. Put date from date table on X axis
measure on Y axis :
Ritaf1983_1-1691377084441.png

Result:

Ritaf1983_2-1691377217569.png

Link to a 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 @TylerVono 
The steps to create the line with 0 are :
1. Change the relationship to single from both :

Ritaf1983_0-1691376931996.png

2. Add 0 to your measure .
For example :

totalValue = sum('Table'[Value])+0
3. Put date from date table on X axis
measure on Y axis :
Ritaf1983_1-1691377084441.png

Result:

Ritaf1983_2-1691377217569.png

Link to a 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

Hi @Ritaf1983 ,

 

Thank you for your help!

 

 

I believe it works, however my only other ask is that if possible can the Line Y axis still record "0" rather than stop? I'd like to just show the line continous decline resting at zero.

 

An example of what it shows:

TylerVono_1-1691580870690.png

An example of what I would like it to show:

TylerVono_2-1691581173910.png

 

 

Hi @TylerVono 

Yep. In the same way.

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

Thats odd, it does not work, keep in mind I did a left outer join date table merge, so I am using the the actual Job completion date as my X-Axis. Any other ideas perhaps?

 

X-Axis: Scheduled Completion Date (Bins) - Month

 

Y Axis: Count of Job Order as new Column: Job Order plus 0 = 'Completed Jobs Forecast New (Merge)'[job_order] + 0
 
Line Y-Axis:  Job Order plus 0 = 'Completed Jobs Forecast New (Merge)'[job_order] + 0 - Count.
 
Here is another example:
 
TylerVono_0-1691589161905.png

 

 

Pretty much just want it to look like the red dashes:

TylerVono_1-1691589215393.png

 

 

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors