In SSAS, I wanted to create a measure that counts the number of rows which the column values contains a specific string. eg. table
|Id|item
|1|greenapple
|2|blueapple2
|3|yellowapple
|4|purplegrape
search for "apple". i want the measure return 3. how should i write the DAX expression?
thanks.