Showing results for 
Search instead for 
Did you mean: 
skizofre3e Member

Optimized way to load layout in power bi embedded

I'm currently developing an application using power bi embedded.

I want, according to some filter selections, to either show or hide some visuals from the page.

Therefore I have 2 alternatives:

- Put all the visuals in one page and then load the appropriate layout, and play with the visibility attribute in the configuration variable. ( and afterwards call report.updateSettings() )

- Duplicate pages with the appropriate visuals that will simulate a specific state of filters, and each time load the appropriate page.


My question is: In terms of performance and cost management, which alternative is better to use ? which one will cosume less RAM and CPU ?


Thank you,