Forum Discussion

AshleyJ17's avatar
AshleyJ17
Helper II
2 years ago
Solved

How to add a cumulative count (running count) in Power Query

Hi Everyone,   Looking for some help of which im sure will be a simple solution that i just can quite grasp, i have a table example below but essentially i want to add a Cumulative Count or Running...
  • ronrsnfld's avatar
    ronrsnfld
    2 years ago

    You should be able to adapt the code I provided to preserve them.

     

    One method

    • duplicate the three columns you want to Group on
    • Group on those columns
    • Merge back with the original table
    • Remove the duplicated columns