Forum Discussion

Joana_Arnold99's avatar
Joana_Arnold99
New Member
2 years ago
Solved

Default Date slicer

Hi Friends I want to show two types of date slicers called "custom" and "Default".When I click custom It has to show the dates and choose the date. But when I select Default it has to show the dat...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Joana_Arnold99  ,
    Based on your description, you want to implement a read-only or disabled state for the Power BI slicer. However, Power BI does not directly support read-only or disabled states for slicers. However, you can achieve this indirectly by combining buttons, bookmarks, and textboxes in the pattern.
    First create two buttons named "Custom" and "Default" and copy this page.

     


    Create a slicer on page1, create a text box on the copied page1 and enter the same content as the slicer. Also, create bookmarks for both pages. Associate the actions of two buttons to the corresponding bookmarks

    Final output

     



    Best regards,

    Albert He

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly