Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to sum mutiple columns in the same table using a Custom Column. This should be so simple, but some columns are summing correctly and others are returning a null value. What am I doing wrong?
The custom column Short-Term Savings should be the sum of columns Checking Account(s), Savings Accounts(s) and Cash. Here is what I have.
And here is what I get. Row 17 sums correctly, but rows 1, 10, 12, and 14 do not. I have already applied Trim and transformed the data type to fixed decimal. What is going on?
Solved! Go to Solution.
The first thing to note is that a null value in a formula is not a zero. And a null value is not equal to a blank value.
One solution is to replace null by 0 in each column using Replace Values.
Another solution is to create the costum column with the function List.Sum this way:
Short-Term Savings = List.Sum{(Checking Account(s), Savings Accounts(s), Cash)}
UPDATE! I figured it out. I just needed to replace the null values with 0.00 and now it works. Leaving this here in case someone else has the same question.
UPDATE! I figured it out. I just needed to replace the null values with 0.00 and now it works. Leaving this here in case someone else has the same question.
The first thing to note is that a null value in a formula is not a zero. And a null value is not equal to a blank value.
One solution is to replace null by 0 in each column using Replace Values.
Another solution is to create the costum column with the function List.Sum this way:
Short-Term Savings = List.Sum{(Checking Account(s), Savings Accounts(s), Cash)}
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
28 | |
26 |
User | Count |
---|---|
97 | |
88 | |
59 | |
43 | |
40 |