Forum Discussion

RsimonAlign's avatar
RsimonAlign
Helper I
2 years ago
Solved

Total in every row in Table

Hi ,

I Have Table Like :

AccountQuantity
120
140
212
218
370

I want to add column like This: 

AccountQuantityNew Column
12060
15060
21230
21830
37070

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi  RsimonAlign ,

     

    Here are the steps you can follow:

    1. Create calculated column.

    New Column =
    SUMX(
        FILTER(ALL('Table'),
        'Table'[Account]=EARLIER('Table'[Account])),[Quantity])

    2. Result:

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  RsimonAlign ,

     

    Here are the steps you can follow:

    1. Create calculated column.

    New Column =
    SUMX(
        FILTER(ALL('Table'),
        'Table'[Account]=EARLIER('Table'[Account])),[Quantity])

    2. Result:

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly