Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bonjour la communauté,
Je cherche la fonction de recherche de la valeur de l'enregistrement suivant dans une table, l'équivalent de 'previous' qui cherche la valeur de l'enregistrement précèdent.
Merci à vous.
There is no opposite equivalent of previous
You basically just sort the data the opposite way so that the next row becomes the previous row
For example
temp
Load *, previous (Dim1) as PreviousDim inline [
Dim1,Date
1,1/1/2022
2,1/2/2022
3,1/3/2022
4,1/4/2022
5,1/5/2022
];
Temp2:
Load *, Previous (Dim1) as NextDim
resident Temp
Order by Dim1 Desc;
Drop table Temp;
There is no opposite equivalent of previous
You basically just sort the data the opposite way so that the next row becomes the previous row
For example
temp
Load *, previous (Dim1) as PreviousDim inline [
Dim1,Date
1,1/1/2022
2,1/2/2022
3,1/3/2022
4,1/4/2022
5,1/5/2022
];
Temp2:
Load *, Previous (Dim1) as NextDim
resident Temp
Order by Dim1 Desc;
Drop table Temp;
thanks for your help