Hi All
We have a power bi report embedded in a Power Pages portal page. This report has a number of pages which contain visuals.
Our requirement is to clone a visual on one report page and place in on another report page. This will be done dynamically based on some logic depending on who is logged into the portal.
We have cloned a visual
let clonedSlicer = await pricelistSlicer.clone();
And we have set the page on which to place the visual as the current page
report.setPage(spendSummaryPageName);
where spendSummaryPageName contains the name of the page.
How do we add the visual to the page please?