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
Jonathan_25
New Member

Show null line in line diagram for not existent data

*** feel free to answer in English or German ***

Hi Community,

 

I need help with my current Power Bi diagram.

I have a data table giving information about pickup dates and volume/weight information for multiple shipments.

I want to visualize volume and weight by pickup date in a line graph - easily done.

 

Here a picture of what I mean (only volume in this graph):

Jonathan_25_4-1699004997585.png

 

As seen, there is no data between mid/late Dez 23 and early Jan 24.

The line graph fully "ignores" that as the line just connects the values.

I'd need the line to go to 0/null when there is no data instead of just jumping to the next data point.

Null data is not represented as rows in the table so there is no option to calculate an actual 0 when there is no data

 

Anyone has an idea whether there is an option to do this or a setting I missed?

 

Thank you in advance and best regards,

Jonathan

 

1 REPLY 1
rubayatyasmin
Super User
Super User

Hi, @Jonathan_25 

 

Assuming you have a date table created and connected to your fact table. To handle missing data, you need to create a measure like

 

Adjusted Volume =
IF(ISBLANK(SUM('Table'[Volume])), 0, SUM('Table'[Volume]))

 

add this measure to your viz. this should draw a line to 0 at least instead of blank point. 


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors
Top Kudoed Authors