Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi All,
I am writing a measure to count all records containing "director" within a job title collumn. However they all vary. Instead of using "IN", what can I use to pick up anything containing "director"?
Example of my measure below.
Thanks in advance!
Solved! Go to Solution.
I have been able to do it with the below! 🙂
Hey man,
Maybe you could use a regular expression. This could help: https://community.powerbi.com/t5/Desktop/Filtering-a-text-column-for-a-specific-pattern/m-p/540794
Best,
Milan
Unfortunately my knowledge is quite basic and i am not familiar with custom functions or R Script :(, but thanks!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 23 | |
| 23 | |
| 14 |
| User | Count |
|---|---|
| 46 | |
| 33 | |
| 20 | |
| 18 | |
| 16 |