cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tsanka
Continued Contributor
Continued Contributor

Disable selection of a visual

I am trying to "beautify" some reports by adding rectangles, lines and images. Can I set up these elements not to be selectable by the users? For instance if I place a rectangle as a page frame and if the user selects it, the rectangle gets the focus and one cannot select any of the other visuals on the page.

1 ACCEPTED SOLUTION
Tsanka
Continued Contributor
Continued Contributor

Thanks, @Seth_C_Bauer. I have posted the idea here.

View solution in original post

16 REPLIES 16
emilolbinado
Frequent Visitor

You can also add a transparent shape object to cover the shape you don't want to be selected. Such that when clicked, the transparent object is activated, not the other shape. 

d_a_n_c_
Helper II
Helper II

Hi,

really nice idea, though this won't solve the problem with mobile version as you can't move objects on top of other objects.

 

Any ideas how to go around this?

 

thanks

 

dan

jinma78
Advocate II
Advocate II

I am still not sure how this can be acheived.  Can someone provide more detail solution? I disabled the headers, but the widgets are still selectable and can pop up to the front hiding other widgets behind it.

Ok I figured out the workaround.  Since it is disabling selection of visual is not possible, use the shape widget to build the background of a filter pop up but add a bookmark action to the background shape widget where it will show the book mark page you want to show.  So even when the background is clicked the action will take you right back to the screen with all widget showing the correct Z axis and the background shape will never be able to come forward. I will post up a sample pbix file if my description is not clear here. Let me know, and hope this helps.

Anonymous
Not applicable

I wanted to completely lock out the visual interaction so i didn't bother with a bookmark and this worked great.

kedarp
Frequent Visitor

@jinma78,Thank you for saving our time. your solution is brilliant. Thanks.

well done. so simple. once i read your post i felt like a goon. just too good.

Anonymous
Not applicable

Good workaround. Fixes the problem.

You cannot disable selection, but you can use Arrange in the ribbon to send those objects all the way to the back.

Tsanka
Continued Contributor
Continued Contributor

Thanks for the reply, however this is not a solution - you can send the element to back but the user can (incidentally or not) select it and this brings the element to front.

@Tsanka Yeah, I like your idea, and I agree you should have more control over the shapes as permanent background pieces.

You can do a couple things now to get "close" to what you want.

You could make the shape, and have the "top" visual cover it completely. That way the user can't click on it.

Use the new BackGround color formatting to change the entire page color. (Click on any part of the page (not visual) and click the paintbrush. you may already know about this.

 

Other than that, submit an idea - I'd vote for it.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

@Seth_C_Bauer@Tsanka

 

has this issue been sorted out?

i have similar problem, i don't want my users to click on any of the elements in the matrcs i have created, selection should be disabled.

 

let me know any help on this

Tsanka
Continued Contributor
Continued Contributor

Yes, now you can achieve this by setting the visual header options

 

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-july-2018-feature-summary/#visualHeader

I don't see this anywhere in the article you cited. There does not appear to be a visual header setting that would make the shape unclickable. Can you be more specific? 

Tsanka
Continued Contributor
Continued Contributor

Thanks, @Seth_C_Bauer. I have posted the idea here.

Bjoern
Responsive Resident
Responsive Resident

Hey guys,

 

I also like the idea. Especially in reading mode it should not be possible to select the text boxes / rectangels etc. at all. You got my Vote! 😉

 

BR

Helpful resources

Announcements
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through June10th!

Power BI Dev Camp Session 22 without aka link and time 768x460.jpg

Check it Out!

Watch Session 22 Ted's Dev Camp along with past sessions!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!

Top Kudoed Authors