Forum Discussion
ShaneL79
Helper I
6 years agoContains Partial Text
This is probably a dumb question, but I want to countrows where "blue" is contained within the column. The column typically has several results that look like this "Red >> Blue >> Orange" I ...
- 6 years ago
Hi ShaneL79 ,
You can also use "find" or "seach",such as:
Assessments= var a =search("blue",SELECTEDVALUE('Alarms'[Assessments Employee]),,0) Return IF(a<>0,COUNTROWS('Alarms'),BLANK())Best Regards,
KellyDid I answer your question? Mark my post as a solution!
ImkeF
Community Champion
6 years agoHi ShaneL79
the CONTAINSSTRING-function should do this job: https://docs.microsoft.com/en-us/dax/containsstring-function-dax