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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
hareesh3621
Frequent Visitor

Replacing with 0 if value not exist

Name

Date

Value

A

Jan 1st

60%

B

Jan 1st

70%

I have two tables like this. Im trying to show trending of % in different dates.

 

Name

Date

Value

A

Jan 30

65%

B

Jan 30

60%

C

Jan 30

70%

 

 

Name “C” doesn’t exist in previous table. In trending its not showing it as 0. Instead its showing C only on Jan 30th. I wanted something like if value doesn’t exist take it as 0. How can I show that on Line chart.

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @hareesh3621,

 

In your scenario, you can merge table 1 with table 2 to ensure table 1 has row for C as well. Then append the new table 1 with table 2. For Detail information, you can download attached pbix file, then go to Query Editor. 

 

q6.PNGq7.PNG

 

Best Regards,
Qiuyun Yu 

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

View solution in original post

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @hareesh3621,

 

In your scenario, you can merge table 1 with table 2 to ensure table 1 has row for C as well. Then append the new table 1 with table 2. For Detail information, you can download attached pbix file, then go to Query Editor. 

 

q6.PNGq7.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
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 Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.