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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors