Forum Discussion
Embed visuals with interaction
Hi there,
I have tried to embed different visuals from the same page of a report in different divs containing the iframe, but the visuals wont interact.
Is there any way to make these visuals interact ?
If not, is there another way to embed content in different divs, in a way the visuals will interact ?
Last question - could i achieve that with custom layout ? I know i could get 2 visuals and place them anywhere but placing the visuals in different divs will allow infinite responsiveness and features.
Thank you.
- Anonymous5 years ago
HI danielmillion,
I don't think you can use normal embed contents or rest API to achieve cross iframe interaction.
For this scenario, you may need to write some custom functions with power bi javascript. (trace the iframe operations, filters and use custom functions with Javascript to pass variable between iframes)
Microsoft / PowerBI-JavaScript
PowerBI-JavaScript - Filters
Regards,Xiaoxin Sheng
1 Reply
- AnonymousNot applicable
HI danielmillion,
I don't think you can use normal embed contents or rest API to achieve cross iframe interaction.
For this scenario, you may need to write some custom functions with power bi javascript. (trace the iframe operations, filters and use custom functions with Javascript to pass variable between iframes)
Microsoft / PowerBI-JavaScript
PowerBI-JavaScript - Filters
Regards,Xiaoxin Sheng