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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I'm having a really hard time delivering something my company needs for daily reporting (and feeling the pressure! I'm entirely new to BI). I would really appreciate the help.
I am building a dashboard in which sales data is pulled in and populates the below fields:
What I need to build - a slicer in which I can select:
...and the corresponding data would populate the visual for that time frame.
This is complicated by the fact that we use a 445 calendar, and always compare Mondays to Mondays and Tuesdays to Tuesdays (etc) when looking at the data YOY.
So, If I select "yesterday", it will show 6/8/2021 data under This Year Sales and 6/9/2020 data under LY Sales. For month, it would show 5/30-6/8 for 2021 and 5/31-6/9 for 2020. I already built the 445 date table (formula is below the post), but need help building the slicer.
Any ideas? Thanks!
Date table formula:
Solved! Go to Solution.
Hi @APM ,
The easiest way is to use relative date slicer: https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range.
Also you can write DAX to solve: https://www.linkedin.com/pulse/custom-range-date-slicer-power-bi-dynamic-defaults-more-a%C5%9F%C4%B1...
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @APM ,
The easiest way is to use relative date slicer: https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range.
Also you can write DAX to solve: https://www.linkedin.com/pulse/custom-range-date-slicer-power-bi-dynamic-defaults-more-a%C5%9F%C4%B1...
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 46 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 76 | |
| 41 | |
| 26 | |
| 26 |