Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am having a coulmn name 'ContractKey/EngagementKey'. How to Pass this column in URL. Below Filter is not working because of the column name as it contains '/'.
?filter=Project/ContractKey/EngagementKey in ('791751','791824','1025638')
How to solve this issue?
Solved! Go to Solution.
HI @Sreya,
I'd like to suggest you take a look at the official document specific characters to handle part if they helped:
Filter a report using query string parameters in the URL#special-characters-in-url-filters
If these not help, you can add a calculated column to your table with a common name. (copy the value from 'specific characters' column and use this to replace the raw field in URL filter)
Regards,
Xiaoxin Sheng
I solved a similar problem by replacing the '/' with '_x002F_'
?filter=Sites/Region_x002F_LOB eq 'ESG'
ref: How to Encode SharePoint Column Display Names to Internal names (tachytelic.net)
HI @Sreya,
I'd like to suggest you take a look at the official document specific characters to handle part if they helped:
Filter a report using query string parameters in the URL#special-characters-in-url-filters
If these not help, you can add a calculated column to your table with a common name. (copy the value from 'specific characters' column and use this to replace the raw field in URL filter)
Regards,
Xiaoxin Sheng
@Sreya , not very clear to me. Base on what I got is that you need dynamic url
refer, if this can help
@amitchandak I am having a column name 'ContractKey/EngagementKey'. While I try to pass filter on this column the target report is not getting filtered. It is happenning because the column name contains '/ ' in it.
Anyway we can solve this by using escape character or something like that?
@Sreya , Try
/ | %2F |
refer :https://www.december.com/html/spec/esccodes.html
@amitchandak No luck
Previous generated URL
filter=Project%2FContractKey%2FEngagementKey%20in%20(%27791751%27,%27791824%27,%271025638%27)
After appending %2F ---Newly Generated URL
filter=Project%2FContractKey%2F%2FEngagementKey%20in%20(%27791751%27,%27791824%27,%271025638%27)
It is not passing the column name as 'ContractKey/EngagementKey'
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |