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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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