Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Group by function in script

Good morning,

I tried a simple script to get used to group by function, however, the script didn't run. Here is a screen shot of the script and the error message.
Can anyone tell me what is wrong.

Thank you all !1.PNG2.PNG

13 Replies
jsanchezh
Partner - Creator
Partner - Creator

I did this, but it works if you know a maximum number of products on each purchase

Not applicable
Author

Thank you a lot

jsanchezh
Partner - Creator
Partner - Creator

you can mark some of my answers as "useful" if you wish

pratap6699
Creator
Creator

Temp:

Load

Achat,

Produit,

prix,

debut,

fin

from C:\....;

Load

Achat,

Produit,

prix,

debut,

fin

avg(prix) as Avgprix

Resident Temp

Group By Achat,prodit,prix,debut,fin;