Forum Discussion
power bi embed with interactive options
1. if i select any value in slicer in embedded power bi report will it automatically pass onto the report or i have to write a code for this? same question is applicable for other interactive elements like bookmarks, button etc
2. will RLS automatically work in power bi embedded report or i have to write a code for this ?
Hi powerbiexpert22 ,
Thank you for reaching out to us on the Microsoft Fabric Community Forum.
Slicers, bookmarks, and buttons work as expected in embedded Power BI reports users can interact with them just like they would in the Power BI service, no extra code needed. If you want to control them from your app (like setting slicer values), then you’d need to use the Power BI JavaScript API.
RLS (Row-Level Security) also works automatically as long as it’s properly set up in your dataset.-
If you're using User owns data, Power BI handles RLS based on who’s logged in.
-
For App owns data, you’ll need to include user info in the embed token to make RLS work that part does require some coding.
If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.
-
6 Replies
- Akash_Varuna
Super User
powerbiexpert22 Answering your question
- Slicers and interactive elements like bookmarks work automatically in embedded Power BI reports by retaining their functionality. Users can make selections, and the report updates dynamically based on those choices without needing extra code.
- RLS works automatically if set up, but dynamic RLS requires code to pass user identity via an embed token.
- BhavinVyas3003
Super User
- Do slicers, bookmarks, and buttons work automatically in embedded Power BI?
Yes, all interactive elements like slicers, bookmarks, and buttons work automatically after embedding. No extra code is needed for basic interactions. But if you want to control them from outside (like setting slicer values via app), then Power BI JavaScript API is required. - Does RLS work automatically in embedded Power BI?
RLS works automatically only if properly configured in the dataset.
- For User owns data: it applies based on logged-in user.
- For App owns data: you must pass user identity in the embed token to apply RLS dynamically.
- Do slicers, bookmarks, and buttons work automatically in embedded Power BI?
- v-menakakota
Community Support
Hi powerbiexpert22 ,
Thank you for reaching out to us on the Microsoft Fabric Community Forum.
Slicers, bookmarks, and buttons work as expected in embedded Power BI reports users can interact with them just like they would in the Power BI service, no extra code needed. If you want to control them from your app (like setting slicer values), then you’d need to use the Power BI JavaScript API.
RLS (Row-Level Security) also works automatically as long as it’s properly set up in your dataset.-
If you're using User owns data, Power BI handles RLS based on who’s logged in.
-
For App owns data, you’ll need to include user info in the embed token to make RLS work that part does require some coding.
If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.
-
- v-menakakota
Community Support
Hi powerbiexpert22 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
- v-menakakota
Community Support
Hi powerbiexpert22 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.- v-menakakota
Community Support
Hi powerbiexpert22 ,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.