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
I'm counting the number of calls received in a call center this year upto present day (YTD, October 8, 2021) and trying to compare them with call volume for the samer time period (i.e. January 1, 2020-October 8,2020) for previous year, and 2 years ago (Jan 1 2019-October 8, 2019). However on cross checking with excel the numbers are different. The idea is to figure out the correct formula for 2 years ago and then just modifying it for last year. I have a date table that is linked to the call_recv_date attribute in the main data table. Please help with below formulae -
YTD Current Year =
Solved! Go to Solution.
Answering my own question here. Everyone suggesting SAMEPERIODLASTYEAR, PARALLELPERIOD (and possibly DATEADD) do not realize that the granularity of these functions do not gown all the way down to a single day. The lowest granularity is down to one month. This is why my last year and 2 years prior YTD figures were inflated by 23 extra days for prior years(october has 31 days, today is October 8th). To arrive at the true YTD numbers you will have to set the start and end date for prior year YTD formulas with other logic. One example is -
Answering my own question here. Everyone suggesting SAMEPERIODLASTYEAR, PARALLELPERIOD (and possibly DATEADD) do not realize that the granularity of these functions do not gown all the way down to a single day. The lowest granularity is down to one month. This is why my last year and 2 years prior YTD figures were inflated by 23 extra days for prior years(october has 31 days, today is October 8th). To arrive at the true YTD numbers you will have to set the start and end date for prior year YTD formulas with other logic. One example is -
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 45 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |