Pivot On N8N

I see, you might find this example helpful then: Get values with no duplicates - #7 by MutedJam