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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.