Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PowerRanger1
New Member

Cummulative Sum Calculated Column

Hi, 

 

I'm looking to sum cummulative sales month on month per fiscal year(FY) my data is as per the below & the result i'm looking for is a calculated column called "FY Cummulative" as shown.

 

Month Name (text)FYRevenueFY Cummulative
Apr23120000120000
May23100000220000
Jun23200000420000
Jul23300000720000
Aug23100000820000
Sep232000001020000
Oct231000001120000
Nov231000001220000
Dec232000001420000
Jan231000001320000
Feb232000001520000
Mar231000001620000
Apr24100000100000
May24200000300000
Jun24400000700000
Jul24100000800000

 

Can you please advise how i can achieve this with DAX so that its adds up the revenue cummulative each month and then resets the sum once the number in the FY column changes to a new financial year. 

 

Thanks in advance.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PowerRanger1 ,

Thanks @tamerj1  for your replies, allow me to provide another insight:
1. create new index column in power query editor.

vkaiyuemsft_0-1713765097642.png


2. create calculated column and write expression.

Column =
CALCULATE(
SUM('Table'[Revenue]),
FILTER(
ALL('Table'),
'Table'[FY] = EARLIER('Table'[FY]) &&
'Table'[Index] <= EARLIER('Table'[Index])
)
)

vkaiyuemsft_1-1713765123497.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @PowerRanger1 ,

Thanks @tamerj1  for your replies, allow me to provide another insight:
1. create new index column in power query editor.

vkaiyuemsft_0-1713765097642.png


2. create calculated column and write expression.

Column =
CALCULATE(
SUM('Table'[Revenue]),
FILTER(
ALL('Table'),
'Table'[FY] = EARLIER('Table'[FY]) &&
'Table'[Index] <= EARLIER('Table'[Index])
)
)

vkaiyuemsft_1-1713765123497.png

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thats great, working as expected. Thanks Clara

tamerj1
Super User
Super User

Hi @PowerRanger1 

Please try

FY Cummulative =
IF (
HASONEVALUE ( 'Date'[FY] ),
SUMX (
FILTER (
CALCULATETABLE (
SUMMARIZE ( 'Date', 'Date'[FY], 'Date'[Month Name] ),
ALLSELECTED ()
),
'Date'[FY] = MAX ( 'Date'[FY] )
),
[Revenue]
)
)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.