Forum Discussion

Brendan_1's avatar
Brendan_1
Advocate I
9 years ago
Solved

Creating a SUM by filter within a table

Hi,   My data is a list of buildings (each building in a row). Each building has total number of units, market, and building status (existing or under construction). In my table I have each Market ...
  • Greg_Deckler's avatar
    9 years ago

    I think you really should create a measure for this, not a column. If you go the column route, then what you will want to do is NOT sum it in the column formula, so, in other words:

     

    Under Construction = IF('Property Data'[Building Status]="Under Construction",'Property Data'[Number Of Units],0)

    Then, you can use the standard SUM aggregation feature to summarize this column in your visuals.