Forum Discussion
smillward
9 years agoFrequent Visitor
Searching/Counting mutiple values from one cell
So currently i have a column storing multiple values in one cell (it captures answers from a multiple select survey), So the column contains values such as 1. Alpha 1 2. Alpha 5 3. Alpha...
- 9 years ago
Hi smillward,
Based on my test, the formula below should work in your scenario. :smileyhappy:
Measure = CALCULATE ( COUNTROWS ( Table1 ), SEARCH ( "Alpha 1", Table1[Column],, 0 ) > 0 ) - CALCULATE ( COUNTROWS ( Table1 ), SEARCH ( "Alpha 1?", Table1[Column],, 0 ) > 0 && SEARCH ( "Alpha 1,", Table1[Column],, 0 ) = 0 )Regards
jthomson
Solution Sage
9 years agoThat the string "Alpha 10" contains "Alpha 1" as part of it is probably going to throw it off in some way?