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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I have a date table in my dataset. It is marked as date table.
I need to calculate last year count. I uses SAMEPERIODLASTYEAR() function. ALso tried with other time intelligence functions also. But it is not given the last year count.
The following are the two measures that I have used in two different ways:
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |