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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

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.

Users online (646)