Skip to main content

Power BI

Needs Votes

Visibilty (Hide an Item)

Vote (793) Share
Luca Gualtieri's profile image

Luca Gualtieri on 01 Feb 2019 02:44:01

Develop an item formatting property which allows to set the visibility of a report item when you want to conditionally hide the item based on a report parameter or some other expression that you specify (also DAX expressions).

You can develop this incrementally starting from visuals, then text boxes, then shapes and buttons....

If you want to go the extra mile, you can also develop a functionality that allows the final user to toggle the visibility of report items.

For more information and since it was an available and really useful capability see "Add an Expand or Collapse Action to an Item (Report Builder and SSRS)".

https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/hide-an-item-report-builder-and-ssrs?view=sql-server-2017

I double checked in the ideas database and there are many ideas describing the same functionality; this is the reason why I do believe this is really required and will try to collect all the previous votes under this item.

Comments (20)
Luca Gualtieri's profile image Profile Picture

a8d7d91c 928f-4d1f-a5b8-9e37808ae1b5 on 06 Jul 2020 00:01:10

RE: Visibilty (Hide an Item)

would be very useful. if variable = ... then show or hide a visual

Luca Gualtieri's profile image Profile Picture

66be4cd5 39b1-4d1e-a776-e466af128f0b on 06 Jul 2020 00:01:06

RE: Visibilty (Hide an Item)

Please take care of this idea.
It's so obvious that the users want to hide some filters depending on the conditions.

I found some workaround (with background of a Card), but it cannot work properly with clickable items (like dropdowns).
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

Luca Gualtieri's profile image Profile Picture

6bd80526 6914-4ec6-ab38-bbcc4194fe19 on 05 Jul 2020 23:59:58

RE: Visibilty (Hide an Item)

waow.. this will be much helpful

Luca Gualtieri's profile image Profile Picture

a3309361 99be-ea11-a812-000d3a8ddfb2 on 05 Jul 2020 23:57:46

RE: Visibilty (Hide an Item)

No conditional/dynamic show/hide is such a no brainer to empower robust development. Without features like these, I'm sticking with Qlik....

Luca Gualtieri's profile image Profile Picture

17c300d7 4a1e-48bd-9364-9322a1be7f6f on 05 Jul 2020 23:56:05

RE: Visibilty (Hide an Item)

Would love to be able to hide a visual! I would use it to display data in a different visual between mobile and desktop versions of a report. Right now the mobile version can only use visuals which have been used in the desktop version, but sometimes that just doesn't work very well and I'd love to setup special mobile-only views.

Luca Gualtieri's profile image Profile Picture

a555ca0a 708c-4e45-a937-5f38d7720fd7 on 05 Jul 2020 23:53:20

RE: Visibilty (Hide an Item)

I agree and I hope this is added and expanded to include buttons as well.

Luca Gualtieri's profile image Profile Picture

1287375e 7542-4d6c-8d04-74577b8228eb on 05 Jul 2020 23:52:29

RE: Visibilty (Hide an Item)

If possible I'd like to go one step further and overlay two items in one location, dynamically hiding one or the other under certain circumstances. So I may, for example, have a data graphic some time, and a message box (e.g. "No data available") at other times.

Luca Gualtieri's profile image Profile Picture

8d04a5e7 9946-4867-8074-31e00111fe37 on 05 Jul 2020 23:51:21

RE: Visibilty (Hide an Item)

Good Idea. I made a measure that builds me a link to a certain page once you select an item in the report, but the link is broken (actually blank) when nothing is selected. That link is is under a button, that should not be visible as long as nothing is selected. It is confusing for the end user to have a button that he cannot use. I was forced to create a warning message (and make the report look messier) to inform the user that the button is inactive. It would be very helpful to have an option to hide the button based on measure value, or other rules and scenarios

Luca Gualtieri's profile image Profile Picture

eab0f5ac cc39-49ee-90e9-5c2711d733bd on 05 Jul 2020 23:40:47

RE: Visibilty (Hide an Item)

Yes to both dynamically hiding visualizations as well as report pages

Luca Gualtieri's profile image Profile Picture

074a640a c0a0-4a21-9dca-16ab68154ca3 on 05 Jul 2020 23:40:12

RE: Visibilty (Hide an Item)

And also to dynamically make pages of a report visible or hidden, please.