Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

DAX Calculate SUM of Conditional multiple columns

I am looking for DAX for the below condition where get the SUM of Count for each individual TestName and Success column for that individual date.   PassCount = If [TestName] = "XMods And More", ...
  • AlexisOlson's avatar
    AlexisOlson
    4 years ago

    I was thinking in terms of a calculated column.

     

    Since you're doing this as a measure, I think it can be simpler:

    CALCULATE ( SUM ( Table1[Count] ), Table1[Success] = "TRUE" )