Forum Discussion
WTAS80486
3 years agoHelper IV
To group a table based on previous date and its value previous date (one before max date)
Hi, I need to group a table based on previous date and its value Or i already grouped it based on max date, can i get previous date and value corresponding to max date for each numbe...
- 3 years ago
NewStep=Table.FromRecords(Table.Group(PreviousStepName,"Number",{"n",each Table.Skip(Table.Sort(_,{"date",1})){0}? ??_{0}})[n])
wdx223_Daniel
3 years agoCommunity Champion
NewStep=Table.FromRecords(Table.Group(PreviousStepName,"Number",{"n",each Table.Skip(Table.Sort(_,{"date",1})){0}? ??_{0}})[n])