This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have successfully used this link to create filtered URLs for embedded reports:
https://docs.microsoft.com/en-us/power-bi/service-url-filters
But how do I edit the iFrame code to filter reports? The URL filtering logic doesn't seem to work.
Solved! Go to Solution.
For Embedding an iFrame, I found it matters where in the query string you insert the filter. If I inserted the filter at the end of the querystring (as the documentation suggests) I wasn't able to authenticate. If however, I added the filter directly after the ? and before the ReportId, it worked.
This DOES NOT work (cannot authenticate)
<iframe title="Your Report Title" width="1140" height="541.25" src="https://app.powerbi.com/reportEmbed?reportId=55aa2cd4-aaa-bbb-ccc&autoAuth=true&ctid=cabcdefg&filter... eq 'MY_VALUE_TO_FILTER'" frameborder="0" allowFullScreen="true"></iframe>
Example. This works:
<iframe title="Your Report Title" width="1140" height="541.25" src="https://app.powerbi.com/reportEmbed?filter=SomeTable/SomeColumn eq 'MY_VALUE_TO_FILTER'&reportId=55aa2cd4-aaa-bbb-ccc&autoAuth=true&ctid=cabcdefg" frameborder="0" allowFullScreen="true"></iframe>
Hi Gilbert,
Thanks for your reply!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 9 | |
| 5 | |
| 5 |