Forum Discussion
Add Index Function causes refresh to fail
- 6 years ago
Try without the column type
#"Added Index" = Table.AddIndexColumn(#"Sorted Rows", "Index", 1, 1)
- 6 years ago
Hi darentengmfs ,
As lbendlin said: Removing this newly added optional 5th parameter should solve the issue.
Alternatively you have to update the gateway in the service to the newest version. That should fix the problem as well.
darentengmfs don't see any issue though. can you remove sort step and then add index. Can you test it, please?
Hi parry2k
The sort has to be there before the index column. It is sorted descending on value because I had to get the rolling sum of value from highest to lowest.
- parry2k6 years agoSuper User
darentengmfs hmmm, only for testing...just want to debug this.
- darentengmfs6 years agoPost Prodigy
- Greg_Deckler6 years agoCommunity Champion
darentengmfs - I don't see anything obviously wrong with the AddIndexColumn statement. However, try adding a Table.Buffer statement between your Sort and your adding of the index column. Maybe ImkeF has some thoughts.