Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I need help on how to calculate the accumulative sales for FYTD (Fiscal year to date). Fiscal year start on July each year.
So after July, the FYTD sale will be accumulative sum. My data looks something like below and I need to calculate Column C. Any suggestion?
A | B | C |
Date | Sales | FYTD Sales |
Jan-17 | 10 | =10 |
Feb-17 | 20 | =10+20 |
Mar-17 | 30 | =10+20+30 |
Apr-17 | 40 | =10+20+30+40 |
May-17 | 50 | =10+20+30+40+50 |
Jun-17 | 60 | =10+20+30+40+50+60 |
Jul-17 | 70 | =70 |
Aug-17 | 80 | =70+80 |
Sep-17 | 90 | =70+80+90 |
Oct-17 | 100 | =70+80+90+100 |
Nov-17 | 110 | =70+80+90+100+110 |
Dec-17 | 120 | =70+80+90+100+110+120 |
Jan-18 | 130 | =70+80+90+100+110+120+130 |
Feb-18 | 140 | =70+80+90+100+110+120+130+140 |
Mar-18 | 150 | =70+80+90+100+110+120+130+140+150 |
Apr-18 | 160 | =70+80+90+100+110+120+130+140+150+160 |
May-18 | 170 | =70+80+90+100+110+120+130+140+150+160+170 |
Jun-18 | 180 | =70+80+90+100+110+120+130+140+150+160+170+180 |
Jul-18 | 190 | =190 |
Aug-18 | 200 | =190+200 |
Solved! Go to Solution.
Hi @jinny_le ,
Please create a fiscal year and then create a measure to calculate the running total for YTD based on fiscal year.
Calculated Columns:
Hi @jinny_le ,
Please create a fiscal year and then create a measure to calculate the running total for YTD based on fiscal year.
Calculated Columns:
Fantastic! Thank you 🙂
@jinny_le ,
Try this: x is my table.
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
FYTD = TOTALYTD(sum(x[Sales ]),x[Date],ALL(x),"6/31")
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
91 | |
87 | |
84 | |
67 | |
49 |
User | Count |
---|---|
131 | |
110 | |
96 | |
70 | |
67 |