Embed PowerBi report and control values through weweb interface

I was wondering if anyone had any experience embeding a powerBi report in a weweb site and then using a button or drop down from the xano interface to change the display of data in the powerBi embed. I saw the article below:

It looks like you cas pass parameters through the url so it wouldn’t need any api calls or auth, just a custom javascript to change the iframe’s url based on parameter from weweb.

I never did it with Power BI but with a competitor (Qlik) and it worked well. You should be able to embed your PowerBI chart/table in WeWeb and make the url dynamic with multiple select/dropdown/switch yes!

Would I need to update the URL through a custom Javascript or is there a function in WeWeb to do this?

You can bind the URL, meaning it can be compute based on some variables in your app.
You can even write your own custom formula doing the job once and use it everywhere.

That makes sense. Easy enough to concatenate some parameters to a base URL. Since this is an iframe, it would be unique to that frame.

I didn’t see anything in the WeWeb tuturials I’ve worked through so far (Weweb University 1&2) regarding URL parameters. I worked with a couple of other no-code low code tools and URL parameters helped to manage states on pages. Does WeWeb not work that way because its Vue based?

You just have to create a global variable and choose the query type. It will be save on the url as query parameter. And if you enter yourself a new value in the url it will populate the variable.

You also have access to query variable inside the explorer, under the page variable then queries, in the context.