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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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

1 ACCEPTED SOLUTION
Icey
Community Support
Community 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'

 

secure-embed-filter.png

 

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.

View solution in original post

6 REPLIES 6
frankvb
Helper III
Helper 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&"

Icey
Community Support
Community 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.

Anonymous
Not applicable

@Icey This one is not working. I tried it.

Icey
Community Support
Community 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'

 

secure-embed-filter.png

 

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.

amitchandak
Super User
Super 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

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak, I passed the value in single quotes which internally parsing into %27.

 

Regards,

Sud

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.