Greetings, all. We are considering Power Pages for a project, but I can't figure out how in the world to use the Power BI Client API to do things like change the Power BI config settings. Has anyone successfully done this on the modern Power Pages sites? If so, any pointers you can offer would be greatly appreciated.
Specifically looking at these kinds of changes (MS Doc link)
Here's an example from the PBI Embedded Analytics Playground (playground link)
Appreciate the reply, @fm_skeller. I got a response on a different post that helped me get to a solution (community post ). What helped me was this Microsoft doc (link).
@arpost you can get a reference to the Power BI container with something like this:
var embedContainer = $(".powerbi")[0];
then you can call the the client API - eg updateSettings method:
embedContainer.powerBiEmbed.updateSettings(
{
panes:{
pageNavigation: {
visible: false
}
}
});
Keep in mind that this runs clientside - so some things are better handled in the report itself.
@OliverRodrigues, apologies. I updated my post above and added some examples, links, and some pics. With PBI Embedded, you can use the PBI APIs Microsoft provides to do things like alter the behavior of the report, get pages out of the report, etc.
Since Power Pages has PBI Embedded baked in instead of it being set up by a developer on our end, I'm trying to find out how to use those same APIs to customize the behavior of reports in Power Pages.
Hi, I am a bit confused with your requirement
would these videos help?: youtube.com/watch?v=nZrOpL4WAOk
Power BI Integration with Power Pages Site | Embed Power BI Reports on Portal Pages - YouTube
Fubar
69
Super User 2025 Season 1
oliver.rodrigues
49
Most Valuable Professional
Jon Unzueta
43