Minimal working example for Power BI embedded Q&A

I am looking for a minimal working example of using the “Q&A feature in Power BI” in a Dash app (or would like to know if this is even possible). The end goal right now is an app that shows the “Embedded view” from the provided link:

Currently, I obtain a similar result by doing the following. I created a Power BI report and only inserted the “Q&A” feature:


After publishing the report to the Power BI service, I grab the HTML for the report using the information in this link (under the heading “How to embed Power BI reports into portals”) and use it in a Dash app:

from dash import Dash, html

app = Dash()
app.layout = html.Iframe(src='',
                         style={'height': '100vh', 'width': '100%'})

if __name__ == '__main__':

And this produces the intended result:


However, as I mentioned in the beginning, I’m trying to find out if there is a way in Dash of implementing the instructions from the “Q&A in Power BI embedded analytics” link. Any help would be appreciated. Thanks!

Hmm i do not have a MWE for this but this is a really cool idea.