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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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