cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jibran
Helper II
Helper II

Dynamic parameter insertion to filter data in iframed dashboard from with in webapp

Hi,

We have a web applicaiton used by over 1000 customers.

 

We would like the abilitu to assist over customers to analyse their account level information i.e. Spend analysis, account overview, product overview. 

 

 

What we are looking to find a way of passing a customer ID to a query datasaet that pulls customer specific information from the database and binds it to the published iframed power bi dashboard on the go.

 

 

Thanks in advance

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@jibran If you're talking about publish to web iframe then i dont think it will be possible as there is no option currently to interact (pass parameters to your dataset) with your report  using that. Only option I can think of is to use RLS (row-level security) feature and use Username() function which will return logged in user's credentials and match that with your custommer id in dataset and filter dataset. Check out this blog on detailed information on how to implement RLS with Username() function.

View solution in original post

1 REPLY 1
ankitpatira
Community Champion
Community Champion

@jibran If you're talking about publish to web iframe then i dont think it will be possible as there is no option currently to interact (pass parameters to your dataset) with your report  using that. Only option I can think of is to use RLS (row-level security) feature and use Username() function which will return logged in user's credentials and match that with your custommer id in dataset and filter dataset. Check out this blog on detailed information on how to implement RLS with Username() function.

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors