Forum Discussion
Cannot hide slicer on powerbi web
Hi All,
I am not able to hide a slicer on the web, it works well on the Powerbi desktop but not on the powerbi web
the below screenshot is from the PBI desktop
the below screenshot is after publishing to web
i have used the below code to get the MTD/YTD selection
also created the below measure to hide the slicer, so when its 1 ( when custom is selected ) the slicer should be visible else hidden like its in the PBI desktop.
Thank you for your time. Hopefully, someone can help me.
7 Replies
- Anand24
Super User
- Anand24
Super User
Hi dax_bi ,
I'm not able to download the pbix you attached.
However, PFA pbix with what I wanted to convey.I have 2 date slicers and the left side slicer in this pbix is hidden by using an overlapping white rectangle.
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!
Proud To Be a Super User !!!
LinkedIn
- GilbertQ
Super User
- dax_bi
Helper I
- AnonymousNot applicable
- dax_bi
Helper I
Hi Anonymous
The slicer becomes visible ( Dates are visible or selection ) when CUSTOM is selected.
when you click buttons TODAY, MTD, FULL MONTH, YTD you will see like the below
Now when you go to the next Page ( another sheet on the PBI ) and come back to the slicer page it will show like the below, the slicer becomes in visible on the PBI desktop.
Now after you publish on the web it shows like the below, you see "0" now which was not like this before. The web after publishing doesnt show the same like on the PBI desktop now.
Im not ableto upload the .pbix file here so please download the file from the we transfer link below for reference.