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
GMonk55
Regular Visitor

New column

Hi,

I'm creating a new column by adding values of five other columns together, but where there are null values, the new column also returns a numm value - can you suggest how I can fix this please?

GMonk55_0-1665502620997.png

Thanks

2 ACCEPTED SOLUTIONS
GMonk55
Regular Visitor

Thank you for your reply. I've managed to make it work by replacing all the numms with zeros.

View solution in original post

v-yalanwu-msft
Community Support
Community Support

Hi, @GMonk55 ;

Null values indicate an empty cell or the absence of any data.

And in that sense, you can’t really call null a value. While zero is an actual value, null is the absence of a value.

You could replace null values by 0, use error checking or make use of the List.Sum formula.here i tested the List.Sum formula.

vyalanwumsft_0-1665559665404.png

The final show:

vyalanwumsft_1-1665559680414.png

3 Ways to SUM null values in Power Query M - BI Gorilla
Best Regards,
Community Support Team _ Yalan Wu
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

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @GMonk55 ;

Null values indicate an empty cell or the absence of any data.

And in that sense, you can’t really call null a value. While zero is an actual value, null is the absence of a value.

You could replace null values by 0, use error checking or make use of the List.Sum formula.here i tested the List.Sum formula.

vyalanwumsft_0-1665559665404.png

The final show:

vyalanwumsft_1-1665559680414.png

3 Ways to SUM null values in Power Query M - BI Gorilla
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

GMonk55
Regular Visitor

Thank you for your reply. I've managed to make it work by replacing all the numms with zeros.

DataVitalizer
Super User
Super User

Hi @GMonk55 

Could you share a screenshot of the used fomula in your column?

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.