Forum Discussion
web tile dynamically update html content(html stored in table)
What am i trying to accomplish:
I have a table with varchar max stored html pages. these pages render perfectly in any browser and displays a (with python / bokeh ) generated interactive image. This html page used bokeh javascript.
I want to generate a dashboard where the operator can filter a desired ID and the desired image will display.
Fail:
First thoughts where to use the visual "html viewer", this works fine for "plain html", but i can't get it to display my html code (on dashboard level) . Also when i iframe the html like:
iframe= "<iframe srcdoc=" &IDPaintHTML[html] & "style = 'position: fixed; 100%, height: 100%'></iframe>"
or
iframe= "<iframe src=" &IDPaintHTML[html] & "style = 'position: fixed; 100%, height: 100%'></iframe>"
I keep running into non display, with errors like : "connection refused" in IE/Chrome and "this canont be shown in an iframe" in Edge.
What works:
Create a web tile on the dashboard.
Hard copy a html (not i framed) in the embed code section. And the desired html code wil display perfectly my desired image, including the interaction features. Problem solved...only need to dynamically change this embedded code.....seems contradictionary
The question:
How can i change the web tile content dynamically, based on a filter?
Or am i missing a solution with html viewer? I can't seems to figure out.
3 Replies
- v-lionel-msftCommunity Support
Hi Anonymous ,
Maybe you can refer to this case:
Embedding a html site in the Power BI Dashbord"How can i change the web tile content dynamically, based on a filter?"
Maybe you can try to use "Edit Interactions" feature.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Thanks for the reply.
This case subcribes what i already do:
Embedding a html site in the Power BI Dashbord
The suggestion to use "Edit Interactions" feature doesn't apply on dashboard, only on reports, as far as i can see.
gr
Dannis
- v-lionel-msftCommunity Support
Hi Anonymous ,
In dashboad, there are only these two filtering methods:
1. Interaction within visuals.
2. Use the slicers
You can try them.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.