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.

Reply
Anonymous
Not applicable

Hide specific report page or metric conditionally from user using a data value

Hi,

I have a Power BI embedded report using multiple report pages hidden initially and navigating to each on different button action.

So, is it possible to hide a button or a metric or an entire page itself from the user conditionally using a data value?

 

 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

HI @Anonymous,

Maybe you can take a look at power bi javascript API, it is possible to use javascript to interact with embedded contents:

Introducing the new Power BI JavaScript API 

PowerBI-JavaScript home 

How to Hide Power BI iFrame Embedded Report Tabs 

Regards,
Xiaoxin Sheng

View solution in original post

Anonymous
Not applicable

I was able to meet our Use case partially from the suggested help.

Basically, I tried PowerBI Javascript API  and was able to interact with the report dynamically controlling the navigations .

Please consider the hide option in page operations too in the upcoming updates in the Javascript API.

 

Thanks for the help..:)

View solution in original post

3 REPLIES 3
deepthishi
New Member

hi, I have a similar requirement. I am using powerBi report with multiple pages,  embeded within the reactJS application. I need to hide certain page based on the user logged in. can someone pls elaborate on the solution pls. thank you

Anonymous
Not applicable

I was able to meet our Use case partially from the suggested help.

Basically, I tried PowerBI Javascript API  and was able to interact with the report dynamically controlling the navigations .

Please consider the hide option in page operations too in the upcoming updates in the Javascript API.

 

Thanks for the help..:)

Anonymous
Not applicable

HI @Anonymous,

Maybe you can take a look at power bi javascript API, it is possible to use javascript to interact with embedded contents:

Introducing the new Power BI JavaScript API 

PowerBI-JavaScript home 

How to Hide Power BI iFrame Embedded Report Tabs 

Regards,
Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors