Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I'm having some trouble of how to add the carryover, of the number of received applications in the previous year with study start in 2022, to the accumulation of received application YTD with study start in 2022.
At the moment I have succeeded in producing a graph for the accumulation across the whole timespan, but I can't seem to figure out how to add the number of application received in the previous year as a carry over from the previous year, such that my graph maps the [carryover]+[accumulation 2020] i.e. the carryover is the cutting of the y axis.
This is my current graph
Measure accumulation:
| DateOfApplication | Studystartdate | Received Week Number2 | Year of Application2 | Year of StudyStart2 |
| 05-02-2022 | 04-08-2022 | 5 | 2022 | 2022 |
| 05-02-2022 | 04-08-2022 | 5 | 2022 | 2022 |
| 05-02-2022 | 04-08-2022 | 5 | 2022 | 2022 |
| 02-02-2022 | 04-08-2022 | 5 | 2022 | 2022 |
| 31-01-2022 | 04-08-2022 | 5 | 2022 | 2022 |
| 16-12-2021 | 31-07-2022 | 50 | 2021 | 2022 |
| 26-11-2021 | 10-01-2022 | 47 | 2021 | 2022 |
| 25-11-2021 | 10-01-2022 | 47 | 2021 | 2022 |
| 25-11-2021 | 10-01-2022 | 47 | 2021 | 2022 |
| 25-11-2021 | 10-01-2022 | 47 | 2021 | 2022 |
| 22-11-2021 | 31-07-2022 | 47 | 2021 | 2022 |
| 22-11-2021 | 10-01-2022 | 47 | 2021 | 2022 |
| 22-11-2021 | 10-01-2022 | 47 | 2021 | 2022 |
| 17-11-2021 | 10-01-2022 | 46 | 2021 | 2022 |
| 15-11-2021 | 10-01-2022 | 46 | 2021 | 2022 |
| 14-11-2021 | 10-01-2022 | 45 | 2021 | 2022 |
| 09-11-2021 | 10-01-2022 | 45 | 2021 | 2022 |
| 02-11-2021 | 10-01-2022 | 44 | 2021 | 2022 |
| 31-10-2021 | 10-01-2022 | 43 | 2021 | 2022 |
| 29-10-2021 | 10-01-2022 | 43 | 2021 | 2022 |
| 29-10-2021 | 10-01-2022 | 43 | 2021 | 2022 |
| 25-10-2021 | 10-01-2022 | 43 | 2021 | 2022 |
| 25-10-2021 | 10-01-2022 | 43 | 2021 | 2022 |
| 25-10-2021 | 10-01-2022 | 43 | 2021 | 2022 |
| 09-10-2021 | 10-01-2022 | 40 | 2021 | 2022 |
| 08-10-2021 | 10-01-2022 | 40 | 2021 | 2022 |
| 04-10-2021 | 10-01-2022 | 40 | 2021 | 2022 |
| 02-10-2021 | 10-01-2022 | 39 | 2021 | 2022 |
| 02-10-2021 | 10-01-2022 | 39 | 2021 | 2022 |
| 15-09-2021 | 31-07-2022 | 37 | 2021 | 2022 |
| 09-09-2021 | 10-01-2022 | 36 | 2021 | 2022 |
| 23-08-2021 | 10-01-2022 | 34 | 2021 | 2022 |
| 18-08-2021 | 10-01-2022 | 33 | 2021 | 2022 |
| 17-08-2021 | 10-01-2022 | 33 | 2021 | 2022 |
| 17-08-2021 | 10-01-2022 | 33 | 2021 | 2022 |
| 06-08-2021 | 31-07-2022 | 31 | 2021 | 2022 |
| 04-07-2021 | 10-01-2022 | 26 | 2021 | 2022 |
| 28-05-2021 | 10-01-2022 | 21 | 2021 | 2022 |
| 26-05-2021 | 10-01-2022 | 21 | 2021 | 2022 |
| 20-05-2021 | 10-01-2022 | 20 | 2021 | 2022 |
| 25-03-2021 | 10-01-2022 | 12 | 2021 | 2022 |
| 18-02-2021 | 31-07-2022 | 7 | 2021 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 04-08-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 04-08-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 30-03-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 08-08-2022 | 6 | 2022 | 2022 |
| 04-02-2022 | 08-08-2022 | 5 | 2022 | 2022 |
| 07-02-2022 | 08-08-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 08-08-2022 | 6 | 2022 | 2022 |
| 07-02-2022 | 08-08-2022 | 6 | 2022 | 2022 |
| 06-02-2022 | 30-03-2022 | 5 | 2022 | 2022 |
| 06-02-2022 | 04-08-2022 | 5 | 2022 | 2022 |
| 06-02-2022 | 30-03-2022 | 5 | 2022 | 2022 |
| 06-02-2022 | 04-08-2022 | 5 | 2022 | 2022 |
Thanks in advance
Solved! Go to Solution.
Hi @Anonymous, does this work?:
PreviousYearApplications =
VAR StudyYear = MAX(Final_data[Year of StudyStart2])
VAR PrevAppYear = MAX(Final_data[Year of Application2]) - 1
RETURN
CALCULATE(
Final_data[NumberOfApplications]
, ALL(Final_data)
, Final_data[Year of StudyStart2] = StudyYear
, Final_data[Year of Application2] = PrevAppYear
)
Accumulated + Previous Year = Final_data[AccumOfAplications2022] + [PreviousYearApplications]
EDIT: This may be better for when you have multiple years:
PreviousYearApplications =
VAR StudyYear = MAX(Final_data[Year of StudyStart2])
VAR AppYear = MAX(Final_data[Year of Application2])
RETURN
CALCULATE(
Final_data[NumberOfApplications]
, ALL(Final_data)
, Final_data[Year of StudyStart2] = StudyYear
, Final_data[Year of Application2] < AppYear
)
Hi @Anonymous, does this work?:
PreviousYearApplications =
VAR StudyYear = MAX(Final_data[Year of StudyStart2])
VAR PrevAppYear = MAX(Final_data[Year of Application2]) - 1
RETURN
CALCULATE(
Final_data[NumberOfApplications]
, ALL(Final_data)
, Final_data[Year of StudyStart2] = StudyYear
, Final_data[Year of Application2] = PrevAppYear
)
Accumulated + Previous Year = Final_data[AccumOfAplications2022] + [PreviousYearApplications]
EDIT: This may be better for when you have multiple years:
PreviousYearApplications =
VAR StudyYear = MAX(Final_data[Year of StudyStart2])
VAR AppYear = MAX(Final_data[Year of Application2])
RETURN
CALCULATE(
Final_data[NumberOfApplications]
, ALL(Final_data)
, Final_data[Year of StudyStart2] = StudyYear
, Final_data[Year of Application2] < AppYear
)
Hi, no it returns the following graph
Well, that's wacky looking. Maybe put the various columns in a table and see what's happening with the individual sums against DateOfApplication. It worked when I tested it with your sample data, so maybe there's something else going on. The sudden ups and downs on the graph suggest it's adding the previous application count for some days but not others.
Thanks alot for the tip, of using a table, to detect what's happening with the sums!
I have finally succeeded in producing the graph, with carry over from the previous year.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 11 | |
| 9 | |
| 8 |