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
Anonymous
Not applicable

Page filter on words in a URL

I have 1,000 pages in a column.

Is there a calculated measure which will for example will allow me to filter my table Y and Column Z and return only the total numbers of pages which contain the word apple in the URL.

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

If the word that you're looking for is fixed (as in - you can hardcode it), then you can create a DAX measure using the SEARCH, FIND or CONTAINSSTRING functions.

If you need to be able to search for a word, then the default slicer selection isn't that great. I would recommend you create a scorecard, and then put column Z and aggregate using COUNT. Then, in the visual filter select the advanced filtering option and let the user enter the search term.

vicky__0-1712787573767.png

 

View solution in original post

1 REPLY 1
vicky_
Super User
Super User

If the word that you're looking for is fixed (as in - you can hardcode it), then you can create a DAX measure using the SEARCH, FIND or CONTAINSSTRING functions.

If you need to be able to search for a word, then the default slicer selection isn't that great. I would recommend you create a scorecard, and then put column Z and aggregate using COUNT. Then, in the visual filter select the advanced filtering option and let the user enter the search term.

vicky__0-1712787573767.png

 

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.

Top Solution Authors