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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Tsanka
Kudo Collector
Kudo Collector

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

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

View solution in original post

17 REPLIES 17
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. 

Anonymous
Not applicable

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.

@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.

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.

You can select your object. Then from the Properties Panel, enable the "Maintain layer order" option.

@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

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? 

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

Bjoern
Continued Contributor
Continued Contributor

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.