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
ckolahi
Frequent Visitor

cumulative total with unique values

Hi guys

Here's the data set

 

ckolahi_0-1661976075961.png

 As you can see the last column is unique value.

I would like basically to have a cumulative sum by month (1st column) of this Payout_Monthly column

 Cumulative sum (Jan/Feb) = 1412,14+1412,14 = 2824 (YTD FEB)

 

any ideas

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,@ ckolahi

According to your description, you want to deduplicate according to the [Month] field and find the sum of [Payout_Monthly]. Right?

Here are the steps you can follow:

(1)This is my test data:

yingyinr_0-1662363722446.png

 

(2) We can create a measure:  Cumulative sum

Cumulative sum =
SUMX (
    SUMMARIZE ( 'Test', 'Test'[Month], 'Test'[Payout_Monthly] ),
    [Payout_Monthly]
)

(3)Then we can test in the card and it can meet your need:

yingyinr_2-1662363822115.png

If this method does not meet your needs, you can provide us your sample data without sensitive data, or detailed input and output sample data, so that we can better help for you.

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi,@ ckolahi

According to your description, you want to deduplicate according to the [Month] field and find the sum of [Payout_Monthly]. Right?

Here are the steps you can follow:

(1)This is my test data:

yingyinr_0-1662363722446.png

 

(2) We can create a measure:  Cumulative sum

Cumulative sum =
SUMX (
    SUMMARIZE ( 'Test', 'Test'[Month], 'Test'[Payout_Monthly] ),
    [Payout_Monthly]
)

(3)Then we can test in the card and it can meet your need:

yingyinr_2-1662363822115.png

If this method does not meet your needs, you can provide us your sample data without sensitive data, or detailed input and output sample data, so that we can better help for you.

Best Regards

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.