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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
husseinseraj
New Member

cumulative sum by specific date

hi 

i need some help, how can i calclaute cumulative sum by specific date in table date range

 

example(i want to calculate cumulative profit up to cut of date(20-Jan-23) but my date table range up to may-25.

 

Thank you in advance.

1 REPLY 1
Anonymous
Not applicable

Hi @husseinseraj 

 

For your question, here is the method I provided:

 

Here's some dummy data

 

"Table"

vnuocmsft_0-1704786013960.png

 

Create a measure to calculate cumulative profit up to cut of date (1/20/2023).

vnuocmsft_1-1704786113430.png

Total_Profit = 
    CALCULATE(
        SUM('Table'[Profit]),
        FILTER(
            ALL('Table'[Date]),
            'Table'[Date] <= DATE(2023, 1, 20)
        )
    )

 

Here is the result.

vnuocmsft_2-1704786170542.png

Regards,

Nono Chen

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors