Skip to main content
Microsoft Idea

Power BI

Needs Votes

Dax measure to show/hide visual or page

Vote (81) Share
Nandu Krishna's profile image

Nandu Krishna on 09 May 2020 12:07:49

This will be very useful, we can show/hide the visual/pages based on user login. Also custom navigation based on user login or slicer selection. There are several other possibilities as well.

Comments (9)
Nandu Krishna's profile image Profile Picture

Thomas Garvin on 11 Oct 2023 14:12:15

RE: Dax measure to show/hide visual or page

Show/Hide would be very useful in cases where security applied. We all understand the need for RLS and sometimes column-level as well.Right now, it is possible to disable a button by manipulating page navigation with DAX. But buttons for page nav do not have the built-in features already available for drillthrough targets.The buttons don't recognize the "disabled" status, so you need to use DAX to change backgrounds/fills to indicate to the user the button is inoperative. Visually messy.Typical scenario is that a manager has access to a hidden page that most users do not. Disabling the button if functional. Hiding the fact that others are better than you (LOL) is less optimal.

Nandu Krishna's profile image Profile Picture

K Power BI User on 03 Aug 2023 14:41:20

RE: Dax measure to show/hide visual or page

This would be very useful and would save a lot of bookmarking and code to simply change the view of the same page. Seems simple enough, tie the Selection "Hide" option to a measure. Unless hidden visuals are not processed on page load for efficiency? But then let the developer choose whether they wish for this efficiency impact. So Load All > allow for hiding via measureLoad Visible > disable hiding via measure

Nandu Krishna's profile image Profile Picture

Svein Arne Hylland on 22 Feb 2023 07:45:31

RE: Dax measure to show/hide visual or page

No need of programming skills - but not user-friendly either. A simple programming If [condition] then Object.Visible = False or True seams to be meet with specials visuals and multiple steps to make it work.

Nandu Krishna's profile image Profile Picture

Jarvil Paul Menor on 04 Nov 2022 06:08:41

RE: Dax measure to show/hide visual or page

need this too.

Nandu Krishna's profile image Profile Picture

Bernd Herold on 19 Jul 2022 18:39:01

RE: Dax measure to show/hide visual or page

Need a way to show/hide any visual, based on measure (Fx function to show/hide). When will this feature be available?

Nandu Krishna's profile image Profile Picture

Rhonda Allen on 23 May 2022 22:13:36

RE: Dax measure to show/hide visual or page

I agree with all of these comments. I am SUPER surprised to see that this feature does not already exist.I'm kind of shocked, really. It just seams rudimentary that one would want to show or hide a visual based on a data value or selection. Very Strange.

Nandu Krishna's profile image Profile Picture

Milan K Raj Power BI User on 14 Feb 2022 14:22:42

RE: Dax measure to show/hide visual or page

Also It will be very useful if we have the option to dynamically hide/show columns in table visuals based on the a particular value/measure

Nandu Krishna's profile image Profile Picture

Sam Nseir on 22 Mar 2021 09:38:31

RE: Dax measure to show/hide visual or page

Just to add, having Visible in properties Well (for all visuals and groups) with a measure button would be so sweet!

Nandu Krishna's profile image Profile Picture

Sam Nseir on 22 Mar 2021 09:36:46

RE: Dax measure to show/hide visual or page

I would like to add another use case:
Show/hide visual (eg text box) based on measure/value. With this, we can create mechanism to inform users of issues/errors via data alone without having to re-publish reports.