Forum Discussion
Custom Date Range Slicer
- 9 months ago
Hi Ugendar,
Thanks for your solution. it working as expected.
Hi, issue not resolved. Based on selection, date slicers are not showing
Hi Koritala ,
Thank you for your time. Since Power BI doesn’t offer conditional slicer visibility directly, I used bookmarks and the Selection pane to toggle between two slicers.
Here’s what I did.
1.Created a helper table with MTD and Custom values and used it as a slicer.
2. Slicer_Date_MTD- Set advanced filtering to show dates from the start of this month to today.
3. Slicer_Date_Custom- left unfiltered for the full date range.
4. Set up bookmarks
- Bookmark_MTD shows the MTD slicer and hides the Custom slicer.
- Bookmark_Custom shows the Custom slicer and hides the MTD slicer.
5. Added two buttons MTD View and Custom View linked to each bookmark, so users can switch modes easily.
FYI:
This method uses only built in Power BI features and keeps the interface simple. I’ve attached a sample PBIX file for you to review let me know if you want any changes.
Regards,
Yugandhar.
- Koritala9 months agoPost Patron
Hi Ugendar,
Thanks for your solution. it working as expected.- Rufyda9 months agoSuper User
I'm glad you found a solution! We're here in the community to support each other.
- V-yubandi-msft9 months agoCommunity Support
Thank you for your response, Koritala . If possible, please mark the helpful response as the solution so it can benefit other community users more easily.