Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi
I am looking to understand how i can count the number of rows in a column where the string value does not fully match but contains the string specified in the function.
For example, this is one of the cells in my dataset. ["TEN010 - Postcode","TEN008 - Address 5","TEN002 - Name"]. If i wanted to count the row if it contained the word "Postcode" in it, how would i go about doing this as the cell does have the word postcode in it, but it's only a small part of the entrie cell?
Any advice will be greatly appreciated.
Many thanks
Nathan
Solved! Go to Solution.
HI @Anonymous ,
Try creating a measure
HI @Anonymous ,
Try creating a measure
@Anonymous , Not very clear , you can use search or contains string
Example of column
if(search("Postcode",Table[column1],1,0)>0,1,0)
if(CONTAINSSTRING(Table[column1],"Postcode"),1,0)
Refer : https://www.poweredsolutions.co/2019/03/26/fuzzy-matching-in-power-bi-power-query/
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 124 | |
| 109 | |
| 47 | |
| 28 | |
| 27 |