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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.