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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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