Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Sum column if another column value is zero

Hey, Trying to create a measure of counting QTY of unit types in a building that do not have a patio by correlating my 'QTY of unit types' column with my 'patio SF' column.      4  -    1 ...
  • jdbuchanan71's avatar
    6 years ago

    Anonymous 

    Give this a try.  I am assuming you want to sum the amounts in the first column.  You will need to change the table and field names to match your model.

    Non-patio units =
    CALCULATE ( SUM ( YourTable[Qty of unit types] ), YourTable[Patio SF] = 0 )