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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
shubhamc_002
Helper I
Helper I

Query string Paramater in URL not working if column name contains " / " in it

HI Team, 

 

I am facing one issue while passing filter via URL using query string parameter. Table column contains / in it and have checked Microsoft Docs which suggested to use escape character for / which is %2F even after using this also its not accepting as filteration of data. 

 

Please advise if anyone having solution for this. 

Consider Table name  = Country

Column Name = State/SubDiv

Value = Test

eg: [appurl]+?filter=Country/State%2FSubDiv in ('Test')

 

Thanks

1 ACCEPTED SOLUTION

If you refer the document it says:

"When your query contains spaces, dashes, or other non-ASCII characters, prefix those special characters with an escape code starting with an underscore and an X (_x), then the four-digit Unicode, then another underscore"

SwayamSinha_0-1667820797062.png

So you need to have State_x002F_SubDiv instead

View solution in original post

3 REPLIES 3
shubhamc_002
Helper I
Helper I

Hi @SwayamSinha , 

 

I have already referred this and based on information provided here , replaced / with %2F while building query in PBI report but its not working. 

 

Let me know if you have solution for this.

 

Thanks

If you refer the document it says:

"When your query contains spaces, dashes, or other non-ASCII characters, prefix those special characters with an escape code starting with an underscore and an X (_x), then the four-digit Unicode, then another underscore"

SwayamSinha_0-1667820797062.png

So you need to have State_x002F_SubDiv instead

SwayamSinha
Microsoft Employee
Microsoft Employee

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.