Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

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

  • themistoklis's avatar
    themistoklis
    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's avatar
      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

  • PC2790's avatar
    PC2790
    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's avatar
      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's avatar
        PC2790
        Community Champion

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

  • v-yalanwu-msft's avatar
    v-yalanwu-msft
    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.