Nov 10 2022 03:41 PM
I have the following formula to count the occurrences of the word "forum" in a column (L with Comment header).
=COUNTIF($L$2:$L$4000,”*forum*”)
It should count the word occuring in any part of the text (e.g. "thank you for inviting me to the forum", "goodforum" [sic])
I would like to replicate it with DAX to use in a Power Pivot table. I have tried the following measure that I found on an earlier post, however the numbers counted seem much lower.
Nov 11 2022 01:31 AM
SolutionSuch a measure could like something like this:
=SUMX(AllResults,IF(CONTAINSSTRING ([Comment], "forum"),1,0))
Nov 11 2022 04:01 AM
Nov 11 2022 01:31 AM
SolutionSuch a measure could like something like this:
=SUMX(AllResults,IF(CONTAINSSTRING ([Comment], "forum"),1,0))