Forum Discussion
kusanagi
2 years agoFrequent Visitor
Add index column at table view
There is a function in Power Query of adding Index Column. Index Column numbered the rows starting from 1 or 0 without repeating numbers. I need the same function but in table view. I ad...
ryan_mayu
2 years agoSuper User
maybe you can try to use rankx to create the index column
Table 2 =
VAR tbl=SUMMARIZE('Table','Table'[id],"amount",sum('Table'[value]))
return ADDCOLUMNS(tbl,"Index",rankx(all('Table'[id]),'Table'[id],,ASC))