Forum Discussion
Rsanjuan
Advocate III
9 years agoCalculate and ignoring null value
What is the correct syntax for calculating the sum of a column only if another column is not null? For example, I would only want to calculate the numbers in the second column, where Column...
- 9 years ago
Please try this measure
Measure = CALCULATE( SUM(Table1[Column B]), 'Table1'[Column A]<> BLANK() )
Phil_Seamark
Microsoft Employee
9 years agoPlease try this measure
Measure = CALCULATE( SUM(Table1[Column B]), 'Table1'[Column A]<> BLANK() )
- Dean19728 years agoFrequent Visitor
How would you write the measure if you have various date columns that return "null"
Table = PRJ
Columns = Billing, Due, etc