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
CMajka8
Helper I
Helper I

Running Total based on sorted column

Hello - 

 

I am looking for a running total DAX formula, however, most of the examples I see use a date column in the fromula. I do not have a date column. The dataset is sorted DESC by Premium. then I want to show a running total of the premium column. So let's say I have the following columns:

 

Acct, Acct Name, Premium

 

How do I create a Running Total Premium calc?

 

Thanks!

1 ACCEPTED SOLUTION
Whitewater100
Solution Sage
Solution Sage

HI:

 I'll take a guess as not too much has been shared about data model or this is a single table. I hope this helps!

 

You can start off with a measure that will be referenced by this calc col.

Total Premium = SUM(Table[Premium])

then add this as calculated column in your table.

Premium Amt = [Total Premium]

Cumulated Premium =
CALCULATE(
    [Total Premium],
    ALL( TableName ),
    TableName[Premium Amt] >= EARLIER( TableName[Premium Amt]))

View solution in original post

2 REPLIES 2
Whitewater100
Solution Sage
Solution Sage

HI:

 I'll take a guess as not too much has been shared about data model or this is a single table. I hope this helps!

 

You can start off with a measure that will be referenced by this calc col.

Total Premium = SUM(Table[Premium])

then add this as calculated column in your table.

Premium Amt = [Total Premium]

Cumulated Premium =
CALCULATE(
    [Total Premium],
    ALL( TableName ),
    TableName[Premium Amt] >= EARLIER( TableName[Premium Amt]))

Yes, this works - thank you!

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.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.