Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I am wanting to use this date filter in my reports:
I am also wanting to do a Year over Year comparison with the data after the date is selected:
As you can see, I filtered the October 17, 2016 - October 17, 2017; it's given me just that [ NOT year over year ].
If I filter just October 17, 2017; 2016 column goes away 😞
Could someone please help in this?
HI @Anonymous,
>> If I filter just October 17, 2017; 2016 column goes away 
Current slicer only support show the filtered part. If you removed the 2016 part in your slicer, matrix visual will shows the filtered 2017 part.
In my opinion, I'd like to suggest you write a measure to get the previous records based on calendar date.
Regards,
Xiaoxin Sheng
Hi,
Your question is not clear. What do you want to show in the Table visual?
Hi,
Try to use the SAMEPERIODLASTYEAR() function.
Hi,
Share the link from where i can download your file.
I attempted the "sameperiodlast year" function.. and got this error when using it in the matrix:
:: Function 'SAMEPERIODLASTYEAR' expects a contiguous selection when the date column comes from a table on the 1-side of bi-derectional relationship
Hi,
Share the link from where i can download your file. Please also show there the result you are expecting.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 41 | |
| 40 | |
| 39 | |
| 38 |