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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Joana_Arnold99
New Member

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 date but I shouldn't select the single date. like maybe read-only mode or disable the dates.

1 ACCEPTED SOLUTION
v-heq-msft
Community Support
Community Support

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.

 vheqmsft_1-1712889403788.png


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

vheqmsft_6-1712890552191.png
vheqmsft_7-1712890565561.png

Final output

vheqmsft_8-1712890596488.png
vheqmsft_9-1712890608853.png

 



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

View solution in original post

2 REPLIES 2
v-heq-msft
Community Support
Community Support

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.

 vheqmsft_1-1712889403788.png


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

vheqmsft_6-1712890552191.png
vheqmsft_7-1712890565561.png

Final output

vheqmsft_8-1712890596488.png
vheqmsft_9-1712890608853.png

 



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

Joana_Arnold99
New Member

Please help me to find this. 
kindly 
Joana Arnold

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors