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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors