Forum Discussion

Rookarumba's avatar
Rookarumba
Helper III
9 years ago
Solved

Get & Transform . How to write Cumulative Count with M language or within PowerQuery

Hi Folks,   I'm looking to do cumulative count within PowerQuery so i can use that particular column and Pivot it as a header.   Below in the sample Data before any queries.           ...
  • ImkeF's avatar
    9 years ago

    This is the same like a nested index. Please check if this video helps: https://www.youtube.com/watch?v=-3KFZaYImEY

    You would group on column "Product | Category" and the added Index would be your cumulative count.