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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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