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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.