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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.