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
raasrini1
Frequent Visitor

Dynamic filtering in Power BI Embedded URL

Hi,

 

Is there a way to add the dynamic filtering capability to a power bi iframe URL ? My need is I have a embedded power bi report containing a table and when I  click open the URLs from the table, it opens another Published to Web or embedded report with the filtered value from the table . eg: Country eq 'Selected Value'.  I seen the example of oDataFilter option in URL but that dont seem to work for me, as well checked the cases where we can add the Filter in the javascripts to do the preselection. But , what I need is the ability to filter dynamically and basically the filters are to passed through the URLs.

 

Any help is appreciated.

 

Regards,

Raaju S R

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@raasrini1 wrote:

Hi,

 

Is there a way to add the dynamic filtering capability to a power bi iframe URL ? My need is I have a embedded power bi report containing a table and when I  click open the URLs from the table, it opens another Published to Web or embedded report with the filtered value from the table . eg: Country eq 'Selected Value'.  I seen the example of oDataFilter option in URL but that dont seem to work for me, as well checked the cases where we can add the Filter in the javascripts to do the preselection. But , what I need is the ability to filter dynamically and basically the filters are to passed through the URLs.

 

Any help is appreciated.

 

Regards,

Raaju S R


@raasrini1

AKAIK, there's no completed solution for your requirement.

However you can implement something similar in a embedded report via Power BI Javascript API(see Handling Events--dataSelected).

            report.on("dataSelected", function (event) {
                var data = event.detail;
                console.log(data);
            });

Another promising approach(coming in future) you'd expect is drilling though pages, see introduction in this video(starts at 59:59).

 

 

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.