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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
FrankvanDorp
Helper I
Helper I

How to make PowerBI look for a partial string in a Text Filter with user input

I have an app containing data about specific web pages. I want to allow users of this app to paste the URL of a page into a text filter to get data specific to that URL.

However, there are often extra parameters in URLs that make them longer, meaning they are no longer exactly the same as the URLs in the list I'm checking against. So I want the text filter to use regular expressions to look at only part of the URL, and cut off any extra parameters at the end.

So suppose this is the app:

searchbar3.PNG

This is how the filter works when searching on "example.com/page1", a literal match with one of the cells:

searchbar2.PNG

But it doesn't work on URLs with parameters added, like "example.com/page1&referrer=mail":

searchbar1.PNG

Is there a way to make PowerBI look at only part of the string in a Text Filter with user input?

 

Thanks in advance.

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @FrankvanDorp 
Unfortunately, all text slicers (including external from the market place) can search for text based on partial input, but they cannot ignore irrelevant characters and perform a search based on something that is only "similar" to the beginning.

There is an idea about a similar issue you can vote for it or post your idea :

https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=6242eec2-fa3e-ec11-a3ee-281878e61691

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @FrankvanDorp 
Unfortunately, all text slicers (including external from the market place) can search for text based on partial input, but they cannot ignore irrelevant characters and perform a search based on something that is only "similar" to the beginning.

There is an idea about a similar issue you can vote for it or post your idea :

https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=6242eec2-fa3e-ec11-a3ee-281878e61691

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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