Forum Discussion
Anonymous
4 years agoNot applicable
Keep one in every x values in a column
Hi Community, I duplicated my data because I had to split dates. At the moment my data is as follow: I need to get my data as follow: I was wondering if this is possible, and if so,...
Anonymous
4 years agoNot applicable
You should show all the script leading to that error, otherwise a targeted analysis cannot be done.
Somehow camouflage sensitive data and copy paste the scripts you use.
Anonymous
4 years agoNot applicable
I made a new dataset in order to test your approach:
- Anonymous4 years agoNot applicable
= Table.FromRecords(Table.TransformRows(Table.AddIndexColumn(prevtab,"idx",0,1), (r)=>Record.FromList(shiftdays(Number.Mod(r[idx],7)),daysname)))il mio approccio è diverso da quello che hai usato tu e che riporti nella terza immagine (sarebbe preferibile copiare il testo in modo da consentire di editarlo).
Sembra che tu abbia scambiato PREVTAB e daysname.
Devi cambiare il nome PREVTAB mettendo il nome della tua tabella ed usare gli altri tre pezzi che trovi nel mio file.