Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
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.
Hi @Anand24
Thankyou for your reply, but Im not sure i understood correctly can you show me how on the PBI attached on the link
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 !!! |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!