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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bvdm1980
Helper II
Helper II

How to get a solid line chart when data is missing

Hi

 

We have multiple projects for which we have to fill in a monthly forecast result. Some projects miss some months with data. 

When i use a line chart for each project individually, it shows a nice line, as it only reflects the months with data in it. But ofcourse when i use a line chart for my 5 projects combined, i get gaps in the lines. Shown in printscreen

bvdm1980_0-1681285451226.png

 

So what is the solution to fill those gaps and get a solid line if i have a combined chart? We dont have that data, its not gonna be filled backwards. 

Can that be solved with some dax work? 

thanks for the help again!

1 REPLY 1
Anonymous
Not applicable

HI @bvdm1980,

You can write a measure formula to replace original value field that you used on chart and add an if statement to check if current date does not have correspond values. Then you can write calculate formulas to look up the previous nonblank results to replace current blank result.

If you are confused about coding formula, can you please share some more detailed information and dummy data to help us clarify your scenario and test?

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
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!

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