cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Moatez
Regular Visitor

Overlay a custom visual over a report or make it transparent

Hello everyone ,

 

I want to know if its possible to make a custom visual that can be overlayed over a report or make the custom visual transparent .

 

My current situation is using a date picker , when the date picker opens up i want it to overlay over the report itself.

 

Here is a screenshot of the situation 🙂 

Moatez_0-1651606935193.png

 

Thanks!

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @Moatez,

The background setting (which affects the entire developer visual container rather than the part of the DOM you have control over) does allow you to specify transparency, which will affect the entire developer visual above the iframe. However, this may still not achieve what you're after, as Power BI usually enforces z-order for visuals and you may well cause issues with people being able to use interactivity features of the visuals 'underneath'.

The officially supported way (again due to the iframe sandbox in-place) is to use the dialog box API for any content that you wish to overflow the boundares of a visual.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

2 REPLIES 2
dm-p
Super User
Super User

Hi @Moatez,

The background setting (which affects the entire developer visual container rather than the part of the DOM you have control over) does allow you to specify transparency, which will affect the entire developer visual above the iframe. However, this may still not achieve what you're after, as Power BI usually enforces z-order for visuals and you may well cause issues with people being able to use interactivity features of the visuals 'underneath'.

The officially supported way (again due to the iframe sandbox in-place) is to use the dialog box API for any content that you wish to overflow the boundares of a visual.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Moatez
Regular Visitor

Hi @dm-p thank you very much for your answer ^^

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors