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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Filtering a report using query string parameters for special characters in the URL

Hi everyone,

 

I have been trying to generate a URL to filter a report I use by a specific project, with no luck. Hoping someone can help.


The table and field I want to reference is _test_table/project

I'm using the unicode character 005F, preceded by _x  and followed by _ to account for the underscore before and after "test." 

 

So at the end of the report URL I type ?filter=_x005F_test_x005F_table/project eq 'P-1234'

I've also tried ?filter=_x005F__test_x005F__table/project eq 'P-1234' to include the underscore along with the unicode character for it.

Neither options work. Kudos to anyone who can figure this one out!

 

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it.

 

Hope to hear from you. Thanks in advanced.😀

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @Anonymous . Unfortunately not. The only solution I have found is if I rename my table from _project_table to projecttable without the underscores. 

Anonymous
Not applicable

Hi @Anonymous ,

 

Please upgrade your Power BI Desktop to the latest version and have a try again.

 

The suffix of-->  ?filter=_test_table/project eq 'P-1234' works fine on my side.

URL FILTER.gif

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

 

Anonymous
Not applicable

Hi @Anonymous ,

 

According to the error message, it seems that you have trouble logging in Power BI not the URL Filter.

Please close all brower windows and have a try again.

 

If it does not make sense , please use another browse or clear cookies & cache.

 

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

Anonymous
Not applicable

Hi @Anonymous ,

 

Based on my test, you could use underscore directly instead of converting in URL:

 

?filter=_test_table/project eq 'P-1234'
 
3.15.5.url filter.gif
Please notice the end of the URL is ReportSection(Sometimes there will be a suffix of a page code)
 
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank you. I appreciate your help here but it's not working for me for some reason. I've tried with a report and an App and receive the below message.

 

bchager6_0-1616444293516.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

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.