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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
HarryB
Resolver I
Resolver I

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.