Hello,
I have this dataset. I want to group by name and calculate the average of CLOSE over a 5-day period.
CAMBACERES.xlsx (34.9 KB)
For example :
Thanks
Br
Hello,
I have this dataset. I want to group by name and calculate the average of CLOSE over a 5-day period.
CAMBACERES.xlsx (34.9 KB)
For example :
I’m not quite sure if understood the challenge correctly.
My idea would be to filter first for the time range (I assume that the latest day -4 until the latest day). The the ROW Filter Node KNIME Base nodes – KNIME Community Hub would be the right node
What you have now is the range you want to group and calculate with. For this you can use the Group By Node Basic Examples for using the GroupBy Node – KNIME Community Hub
HTH
Have built a prototype that I think does what you need:
Prototype:
5drollingclose.knwf (151.8 KB)
Overview:
Note: the last “group” may not be based of 5 values - e.g. if you have 17 values for one company, groups 1-3 will be based on 5 data points and the 4th group will be based on only the remaining two.
Perfect
Many Thanks
Br
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.