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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
CashFlowManager
New Member

Report filter support for wildcard or regex

Hi everyone,

is there any method to use special characters in searches filter? For example, I would like to look for an item in a grid that presents the letter "a" in position 4 (character) followed by a number, or even filter all those elements that have two digits in the second and third places followed by something else, such as something like regex, i think. In other tools you can use like '?' or '.'for certain research needs.

 

I saw that there are Basic, Advanced or Top N filters. In the advanced filters I have seen that something can be done with contains or start with functionalities but it does not fully reflect my need. Is there such a thing or is it expected to come out in future releases?

Thank you

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @CashFlowManager,

Power bi does not support regex expression so it is impossible to use it in filters.

For wildcard filter, you can refer to the following link to know more about how to use Dax string comparison functions to achieve fuzzy filter:

From SQL to DAX: String Comparison 

Some of the filter effects you can write measure formulas and use it on 'visual level filter' to achieve your requirement.

Applying a measure filter in Power BI 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Sounds like a great idea, you could submit that on the ideas subsite.

v-shex-msft
Community Support
Community Support

Hi @CashFlowManager,

Power bi does not support regex expression so it is impossible to use it in filters.

For wildcard filter, you can refer to the following link to know more about how to use Dax string comparison functions to achieve fuzzy filter:

From SQL to DAX: String Comparison 

Some of the filter effects you can write measure formulas and use it on 'visual level filter' to achieve your requirement.

Applying a measure filter in Power BI 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors