Forum Discussion
KPME
3 years agoNew Member
Filter Column based on two string options
Hello everyone, for one string filter the following works: NewColumn = CALCULATE(DISTINCTCOUNT(table[ID]),FILTER(table,CONTAINSSTRING(table[OPTIONS],"String01"))) However for two strings ...
- 3 years ago
Hii,
Does this work?
NewColumn = CALCULATE(DISTINCTCOUNT(table[ID]),FILTER(table,CONTAINSSTRING(table[OPTIONS],"String01")||CONTAINSSTRING(table[OPTIONS],"String02")))
Hope this helps.
Ashish_Mathur
3 years agoSuper User
Hii,
Does this work?
NewColumn = CALCULATE(DISTINCTCOUNT(table[ID]),FILTER(table,CONTAINSSTRING(table[OPTIONS],"String01")||CONTAINSSTRING(table[OPTIONS],"String02")))
Hope this helps.