Forum Discussion

deepthishi's avatar
deepthishi
New Member
2 years ago
Solved

Embedding report in reactJS - show/hide a report page or a section

Hi,

I am working on embedding a power BI report in React JS web application.  The report has multiple tabs (pages). I have a requirement on the applciation side, to show/hide only the selected tab based on teh user role. How to accomplish this on the application side. Also, is it possible to show/hide certain sections of the page  based on user role, from within the reactJS applciation? Thanks for looking into this.

  • Anonymous's avatar
    Anonymous
    2 years ago

    HI deepthishi,

    I'd like to suggest you hide all report pages and design a report page as navigation page with buttons link bookmarks design with different report pages. Then you can add filter and hide these buttons based on current users.

    Show or Hide a Power BI Visual Based on Selection 

    Regards,
    Xiaoxin Sheng

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI deepthishi,

    I'd like to suggest you hide all report pages and design a report page as navigation page with buttons link bookmarks design with different report pages. Then you can add filter and hide these buttons based on current users.

    Show or Hide a Power BI Visual Based on Selection 

    Regards,
    Xiaoxin Sheng