this doesn’t work because the summarize node only outputs the average as 1 item, I also need the 20 items from the split out node to compare them to the average.
Using the merge node to append the items and to output 21 items doesn’t work, gives null for the calculated average.
and using this in the code node gives the following error.
Could you let us know what version of n8n you’re running and how you’re running it? Could you also share some sample data (obviously nothing sensitive!) that you’re getting from Baserow that we could use to test, and also share your workflow? You should be able to copy and paste the nodes from n8n by hitting ctrl/cmd + a and then ctrl/cmd + c, and pasting the json data over here in a code block. That really helps us look into things more!
Hi @Trash We only ask for sample data to make it a little easier to reproduce the issue You could do something like return allItems = $('Filter Tasks').all(), as the syntax has changed after version 1
Something similar to this should work:
No need for the Code node, is all I’m trying to show But if you would prefer to use it, there’s an example that does something similar to what you’re doing (I think) above!