Index Column By Category - Power BI
community.powerbi.com › t5 › Power-QueryJun 20, 2019 · Groupby CustID using All Rows in the Operation. Add a custom column with: Table.AddIndexColumn ( [Whatever You Named the Column in the Prev Step], "Index", 1, 1) Remove all the other columns except the one just created. Expand out. Remove any misc columns you dont need and set data types.