Forum Discussion
Custom Measure - Add Line "Does Not Contain" filter
Hi,
I have a measure I've created that I need to slightly modify:
Hi Anonymous
SEARCH("O", 'ClaimData'[ICD10 Mapping] ,,0) = 0will exclude all values that contains "O"
Hi , Anonymous
The "search "function is case insensitive. If you don’t require case sensitivity, you can try this function . When searching for "O" ,it will find the first occurrence of 'O' or 'o'.
If you want to indicate whether one string contains another string. The "containsstringexact" function will be a better choice.Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- Daviejoe
Memorable Member
Try
Left ( 'ClaimData'[ICD10 Mapping], 1 ) <> "O"
- az38
Community Champion
Hi Anonymous
SEARCH("O", 'ClaimData'[ICD10 Mapping] ,,0) = 0will exclude all values that contains "O"
- v-easonf-msft
Community Support
Hi , Anonymous
The "search "function is case insensitive. If you don’t require case sensitivity, you can try this function . When searching for "O" ,it will find the first occurrence of 'O' or 'o'.
If you want to indicate whether one string contains another string. The "containsstringexact" function will be a better choice.Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.