Forum Discussion
Query string on embed code
Hi All,
I am trying to use the query string on my secure embed code but it doesn't give me expected result.
Is there any special format I need to follow for this?
Embed code format:
https://app.powerbi.com/reportEmbed?reportId=<Value>&autoAuth=true&ctid=<Value>&config=<Value>%3D%3D?filter=Population/Cities%20eq%20%27Delhi%27
Thanks,
Sud
Hi Anonymous ,
Try something like this:
https://app.powerbi.com/reportEmbed?reportId=<Value>&autoAuth=true&ctid=<Value>&config=<Value>%3D%3D&$filter=Population/Cities eq 'Delhi'
Reference: Filter report content using URL filters
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
6 Replies
- amitchandakSuper User
Anonymous , as per this doc, the value should in a single quote. I think %20 is space
https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters
- AnonymousNot applicable
- IceyCommunity Support
Hi Anonymous ,
Try this:
https://app.powerbi.com/reportEmbed?reportId=<Value>&autoAuth=true&ctid=<Value>&config=<Value>%3D%3D?$filter=Population/Cities eq 'Delhi'
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Icey This one is not working. I tried it.
- IceyCommunity Support
Hi Anonymous ,
Try something like this:
https://app.powerbi.com/reportEmbed?reportId=<Value>&autoAuth=true&ctid=<Value>&config=<Value>%3D%3D&$filter=Population/Cities eq 'Delhi'
Reference: Filter report content using URL filters
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- frankvbHelper III
Can I add a specific reportsection to the embedded url? This does not seem to work for me? I tried to add the following:
"&ReportSection=id&"