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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
gtamir
Post Patron
Post Patron

CumulativeTotal by Index

Hi

I am trying to create a cumulative column from the Total and Index column in the table SalesByCustomer.

What is wrong in my formula?

Thanks Giora

ScreenHunter_073.jpg

1 ACCEPTED SOLUTION

Thanks but it has a problem.

 

ScreenHunter_074.jpg

View solution in original post

4 REPLIES 4
popov
Resolver III
Resolver III

Hello, @gtamir
Correct formula below

Cumulative Total =
SUMX (
    FILTER (
        SalesByCustomer,
        SalesByCustomer[Index] <= EARLIER ( SalesByCustomer[Index] )
    ),
    SalesByCustomer[Total]
)

Thanks but it has a problem.

 

ScreenHunter_074.jpg

Do you create calculated column?

Ah ha. Now I fixed it. Thanks

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.