cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
anileshknpowerb
Helper III
Helper III

Need running sum on Dax measure

Hello experts,

I need help on below issue.

 

I have created a dax measure that shows value 1 for each row in table visual.

 

Name      Count

AAA           1

BBB            1

CCC           1

 

I want to create a new dax measure "Rsum" which is a running sum.

 

Name      Count   Rsum

AAA           1           1

BBB            1           2

CCC            1           3

 

How to creata a Dax Measure to get the Running Sum

1 ACCEPTED SOLUTION

@anileshknpowerb 

 

You need to use Quick measur Running totalRunning total.PNG

 

Or the DAX 

Count running total in Name =
CALCULATE(
    SUM('Sheet2'[Count]),
    FILTER(
        ALLSELECTED('Sheet2'[Name     ]),
        ISONORAFTER('Sheet2'[Name     ], MAX('Sheet2'[Name     ]), DESC)
    )
)

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

4 REPLIES 4
anileshknpowerb
Helper III
Helper III

Name      Value   Rsum

AAA           1          1

BBB            1          2

CCC           1           3

 

I want to create a dax measure "RSum", by suing the dax measure "Value". Please help

@anileshknpowerb 

 

You need to use Quick measur Running totalRunning total.PNG

 

Or the DAX 

Count running total in Name =
CALCULATE(
    SUM('Sheet2'[Count]),
    FILTER(
        ALLSELECTED('Sheet2'[Name     ]),
        ISONORAFTER('Sheet2'[Name     ], MAX('Sheet2'[Name     ]), DESC)
    )
)

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

Thank you so much..

Welcome

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors