I’m looking to calculate all the different averages for a Column’s subsets, based on 3 rules for other columns. In Excel I could easily achieve this via “AVERAGEIFS” function, but I can’t seem to find an alternative in KNIME. In the dummy data, it could be easily achieved using “GroupBy” and manually setting up rules - but this would get exponentially harder with each added option within the columns.
Below is a set of dummy data. I would like to get the average Income for each different subset. In Excel it would look something like: AVERAGEIFS(Salary;Type column;this row’s Type;Country column;this row’s Country;F/M column;this row’s F/M)
Hi @Badi_Complain and welcome here,
You can try with Pivot node perhaps (Group on nothing, pivot on type country and manual aggregate with mean). I don’t really know if it is the exact Excel equivalent but pivoting is a powerful method.