Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
So the point is that whenever you add numbers together and there is a blank value, the result must always be blank. If the blank value does not appear in the sum of the column, then it is a number value.
How can you manipulate this outcome?
Table
Category | value |
a | 1 |
b | |
c | 3 |
The sum(table[value])
total = BLANK
Solved! Go to Solution.
Hi @Anonymous
Interesting and unusual requirement 🙂
You could use COUNTBLANK to determine if at least one BLANK value is present, and if so return BLANK, otherwise return the sum.
A concise way of putting it could be:
SUM modified =
IF (
NOT COUNTBLANK ( 'table'[value] ),
SUM ( 'table'[value] )
)
If the value returned by COUNTBLANK(...) is nonzero, it will be cast to the value TRUE, and then NOT COUNTBLANK(...) will be FALSE.
Does this work for you?
Hi @Anonymous
Interesting and unusual requirement 🙂
You could use COUNTBLANK to determine if at least one BLANK value is present, and if so return BLANK, otherwise return the sum.
A concise way of putting it could be:
SUM modified =
IF (
NOT COUNTBLANK ( 'table'[value] ),
SUM ( 'table'[value] )
)
If the value returned by COUNTBLANK(...) is nonzero, it will be cast to the value TRUE, and then NOT COUNTBLANK(...) will be FALSE.
Does this work for you?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.