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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Rectangle shape prevent clicking

Hello Community.

It is possible to tell a shape (rectangle) that cannot be clicked ? since I use them to put buttons and the user if you click the buttons go backwards, for example that it acts as the text box where the user clicks but there is no action of said box.

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@CristianCL21

Good afternoon

The secret is in the order of the layers of the objects. You must place the rectangle layer below the button (as in the attached image).

Then select the rectangle and under "General", activate the "Maintain layer order" option. This will cause the object to remain below the button even if you click on it. Note that this option is enabled when you publish the file to the service; in Desktop you won't see any changes.

layer order.JPG

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

@CristianCL21

Good afternoon

The secret is in the order of the layers of the objects. You must place the rectangle layer below the button (as in the attached image).

Then select the rectangle and under "General", activate the "Maintain layer order" option. This will cause the object to remain below the button even if you click on it. Note that this option is enabled when you publish the file to the service; in Desktop you won't see any changes.

layer order.JPG

amitchandak
Super User
Super User

@Syndicate_Admin , I checked a few options including maintain layer order.  But I am able to access the visual below if the part of the other visual is visible.  As long as the visual is completely below, we are not able to click the below visual. Rectangle with no background and no fill, cover the below visual completely

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello, I did not fully understand the answer, you can click YES/NO ? (the idea is to avoid it)

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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