TOTALYTD for prior Year in Power Pivot Excel

Arafat, Yeasin 1 Reputation point
2022-11-20T11:56:39.047+00:00

Hi,

Need help calculating Prior Year TOTALYTD.

I am able to calculate the current year TOTALYTD but for the prior year it's not coming as like the current year TOTALYTD it's giving prior year single month total.

262050-image.png

using this for current year --- YTD_SHIP_CY:=TOTALYTD([SHIPMENT_GROSS],DATESYTD('Calendar'[Date]))

Tried this for Prior year --- YTD_SHIP_PY:=CALCULATE([SHIPMENT_GROSS],SAMEPERIODLASTYEAR('Calendar'[Date])) Or PREVIOUSYEAR

Both formulas give the same result not giving YTD Total.

Someone, please help me.

Thanks
Yeasin Arafat

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,063 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,736 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Herbert Seidenberg 1,191 Reputation points
    2022-11-20T16:33:01.817+00:00

  2. Arafat, Yeasin 1 Reputation point
    2022-12-01T10:24:10.473+00:00

    Any one please help me with this? Thanks in advance

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.