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

Help with URL Filters (Special Characters?)

Hello,

 

I'm having trouble implementing a url filter and I'm wondering if anyone can help me figure out what I've done wrong.

 

Here's the url/query parameters:

 

[url]?filter=SLA_x0020_Query/Bldg._x0020_Region in ('NorAm West', 'NorAm East')

 

Table: "SLA Query"

Column: "Bldg. Region"

Values: "NorAm West" and "NorAm East"

 

 

I replaced the spaces per https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters but that doesn't seem to work as expected. I've tried replacing all the spaces in the url, none of them, some of them. I can't seem to get this to filter appropriately.

 

What have I done wrong?

6 REPLIES 6
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may try:

 

[url]?filter=SLA_0020_Query/Bldg._0020_Region eq 'NorAm West' and SLA_0020_Query/Bldg._0020_Region eq 'NorAm East'

For reference:

 

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters

 

https://stackoverflow.com/questions/54667067/power-bi-embedded-parameter-space-in-column-name

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

Anonymous
Not applicable

Thanks for your reply Amy,

 

I tried your attempt but it did not work. I think the period after Bldg is a problem, so I also tried changing that, no dice. Additionally, I don't think your logical statement returns the desired result (if it worked). I want to include data points from East and West. There are no data points that are both East and West. Perhaps or would work.

 

Attempt below:

url.PNG

Did you ever find a resolution? I have a column with a period in the name that I want to use in a URL filter and I'm having trouble with it as well. I don't own the report so I can't change the column name.

Greg_Deckler
Super User
Super User

@Anonymous - Sorry, you are using this where and getting what as an error?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks Greg,

 

My error is a webpage not found: Page not found.PNG

 

My goal is to just to provide a link to a user such that they're sent to a page that has filters pre-applied through the url. One thing that a coworker wondered was whether additional action needed to be taken surrounding bookmarks. The url without any url filters applied is one that directs to a bookmark view of the report. 

Anonymous
Not applicable

Problem Unsolved

 

Here's an additional (unsuccessful) attempt: 

 

[url]?filter=SLA_x0020_Query/Bldg_x002e__x0020_Region in ('NorAm West', 'NorAm East')

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.