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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Hide buttons

Hi experts,

 

i was wondering if it's possible to hide a button based on a date slicer:

  • If i select 2021 or earlier the button should be visible
  • If i select 2022 or later the button should be hidden

 

Hoping anyone knows if this is possible or not

 

Tnx!

6 REPLIES 6
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

Or use conditional formatting to make the background black or some other color if you select 2021 or earlier, and white otherwise, so that the button is visually invisible.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

PC2790
Community Champion
Community Champion

Extending @themistoklis  suggesstion, there is a very good video by guy in a cube which can help you implement it.

It turned out to be really helpful for me.

Anonymous
Not applicable

I suggested that to the customer, but they said:

"well, now there is an empty space between the buttons (around 11 buttons vertically). That's not acceptible."

 

By now it looks like they are expect an application instead of a dashboard 😂

PC2790
Community Champion
Community Champion

You can overlap the buttons and show as per the page selected.

themistoklis
Community Champion
Community Champion

Hello @Anonymous 

 

You should use bookmarks.

A bookmark is actually a snaphot of what you see on th dashboard.

 

If one value is selected then show the button otherwise hide it

Anonymous
Not applicable

The problem here is that all the buttons have bookmarks on them and the dateslicer is synced across all the pages(6)/bookmarks(42). 

So i'm already using bookmarks, but now the customer wants to hide a button based on the change in date

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors