cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Report filter support for wildcard or regex

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 it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Report filter support for wildcard or regex

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 it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Community Champion
Community Champion

Re: Report filter support for wildcard or regex

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

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.