Forum Discussion
LauraCawdronDav
Helper I
4 years agoCounting true and false across columns
Hiya, I want to make a new column which calculates the number of 'trues' for each opportunity across a number of other columns. The example data is below, but for some context 'service' field...
- 4 years ago
LauraCawdronDav You could do this:
Measure = COUNTROWS( FILTER( UNION( SELECTCOLUMNS('Table',"Service",[Service_A]), SELECTCOLUMNS('Table',"Service",[Service_B]), SELECTCOLUMNS('Table',"Service",[Service_C]) ), [Service] = TRUE() ) )
mangaus1111
Solution Sage
4 years agoHi LauraCawdronDav ,
try to substitute [Service] = TRUE() with [Service] = "TRUE"
Please hit the thumbs up & mark it as a solution if it helps you. Thanks.