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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Tas1
Advocate I
Advocate I

Line chart plotting in-existing data

Hi guys, I'm trying to plot in-existing data in a line chart, crazy?!! I'm trying to create an August-September trend, you can think of it as Products types being sold, obviously in some cases some data exists in Aug and not in Sept (some products sold in Aug and not in Sept) and vice versa, what I want to do in these cases is to evaluate it into a zero so that for all products I have a complete line ( meaning if the data does not exist then 0).

Help?

 

 PBI Chart.PNG

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Tas1,

 

You can try a measure like this. If you want further help, please provide a dummy sample. The pbix file would be great.

Values =
VAR Total = SUM ( 'table'[quantity] ) RETURN IF ( ISBLANK ( Total ), 0, Total )

 

Best Regards!

Dale

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

Great! thank you for your help @v-jiascu-msft, however it works for some of the values only as in the pic. any suggestions?

heat.PNG

Hi @Tas1,

 

Could you please share a dummy pbix file? I can't think of anything from the pic.

 

Best Regards!

Dale

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

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.