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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.