Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Initialize multiple pages/visuals

Hi,

In our current setup, we have a report with about 12 pages. The first page is used to apply filters and the others are used for visualization. Applying filters on the filtering page works as intended. 

Now, we are trying to apply filters from a source outside of the powerbi-embedding itself. When we apply filtering from the source onto the filter page(using setSlicerState with filterpage as activepage), the filter propagates to the rest of the pages nicely.

When we apply filtering from the source on one of the visualization pages( now the activePage), the setSlicerState obviously do not work because it has different slicers.

We tried to apply setSlicerState on the filtering page while viewing the other pages, but this only leads to an error "VisualConfigIsNotInitialized". 

 

One workaround was to navigate back and forth and apply the filters while navigating but this only looks confusing.

 

Is it possible to have multiple pages initialized? Bing says no, but does anyone have any workarounds for this?

Status: Investigating
Comments
Anonymous
Not applicable

Hi @tovtyvold0 ,

 

One option is to use the sync slicers feature that allows you to sync the slicers on different pages of your report.

Another option is to use page and bookmark navigators that allow you to create buttons that can navigate to different pages based on a user's selection.

 

Please refer to the following documents for more information.

Slicers in Power BI - Power BI | Microsoft Learn

Create page and bookmark navigators - Power BI | Microsoft Learn

 

Best Regards,
Community Support Team _ Neeko

tovtyvold0
New Member

Hi @Anonymous ,

 

Sorry for the confusion. We are using the "Power BI Embedded Analytics Client API's" for the PowerBI reports, meaning that we do not create the PowerBI reports, we use the reports and their slicers. As far as im aware, the report that we are embedding is already using the sync slicers feature, which is nice. However, that does not fix our issue. 

 

To clarify, we have one page in our report that we can apply filters on. When the filters are applied on that page, all other pages are synced and the filter is applied onto them. However, if we are on one of the pages that does not have the filter feature(but are still synced with the page with the filter feature), we wish to apply filter on that page through the page that supports filtering.  As I previously mentioned we tried a workaround  that was to navigate back and forth, but it looks and feels icky. 

 

Do you have any ideas? We are writing in Typescript.