Removing empty values from mapper in select

Maybe that would work. Not sure why this one is not working.
Anyways I have created a transformer and using this instead.

var products = {{getTrades.data}}
products = products.map(x => x.Product)
products = [...new Set(products)]
products = products.filter(x => x)
return products

duplicates and blanks removed.

Many thanks

1 Like