Forum Discussion

sarah2_williams's avatar
sarah2_williams
Icon for Helper III rankHelper III
6 years ago
Solved

YoY Comparison totals - DAX Help

Hi all,

 

I am trying to do a year on year comparison on the number of deposits paid for courses starting in September. I have tried using the SAMEPERIODLASTYEAR function but that only gived me the total for 1st Jan 2019 - 9th August 2019, I want deposits paid for the starting in the september 19/20 academic year for all dates up until the last date a deposit was paid this year (e.g. someone could pay for a september 2019 course as far back as 2016)

 

The data table has the following columns - Creation Date (when deposit was paid) - Deposit Paid (1 = Y, 0 = N) - Academic Year (19/20, 20/21

 

Thanks

S

  • Thanks, now I can see what you mean by showing this cumulative year. how can I rectify this in the attached image.

    In its test file, the Standalone Card has the Accumulated Measure of the previous year, which shows the correct amount 982, this is correct to note that the maximum on date is 07/08/2020, and this is the total for the academic year 2019 through 07/08/2019. I copied the DAX exaclty but my stll card shows the wrong number.

    Capture.JPG

    I can't see why it doesn't work. Maybe I'll have to try something else.

    Thank you

18 Replies