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
I have a timeline slicer, it goes all the way back to 2011 but im only intersted in last year and current year. Is there someway of limiting it? it uses a date field from a calendar table, i can see dates that go all the way back to 2011 but how can i exclude them?
Thanks
Hi,
For example, you have a table (called “myTable”) like below:
You can create a new table with data of this year and last year only :
newTable = FILTER(mytable, YEAR(mytable[date]) = Year(Today()) || YEAR(mytable[date]) = Year(Today()) - 1)
Now you can create a new slicer with “newTable[date]” and there is only year 2015 and year 2016.
Best Regards
Alex
Have you tried applying a page or report level filter?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 118 | |
| 98 | |
| 70 | |
| 69 | |
| 65 |