Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi all
I need help with reproducing what would be a Countif statement with a wildcard in excel
I have a data column with comma delimited values like this:
Region
Northern Adelaide
Northern Adelaide, Western Adelaide, Eyre and Western
Adelaide Hills, Eyre and Western, Northern Adelaide
I want to count the number of times each region appears and create a summary table to look something like this:
Region Number of applications $ sum
Northern Adelaide 3 $xx
Western Adelaide 1 $xx
Eyre and Western 2 $xx
etc etc
I've tried various combinations of search and filter but I'm currently getting the wrong result when I check using the Countif function in excel
Thanks for any help!
Solved! Go to Solution.
Try this calculated column
Please see attached file as well
Number of Applications =
VAR myregion = [Region]
RETURN
COUNTROWS ( FILTER ( Data, CONTAINSSTRING ( Data[Region], myregion ) ) )
Try this calculated column
Please see attached file as well
Number of Applications =
VAR myregion = [Region]
RETURN
COUNTROWS ( FILTER ( Data, CONTAINSSTRING ( Data[Region], myregion ) ) )
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 80 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |