Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Filter within a Measure

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.

PlentyL_0-1683800129760.png

 

Thanks in advance!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I have been able to do it with the below! 🙂

PlentyL_0-1683804430668.png



View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I have been able to do it with the below! 🙂

PlentyL_0-1683804430668.png



milanpasschier3
Resolver I
Resolver I

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

 

Anonymous
Not applicable

Unfortunately my knowledge is quite basic and i am not familiar with custom functions or R Script :(, but thanks!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.