Hi Guys,
I would need to get one list of dictionaries and not two lists of dictionaries? how can I proceed?
I expect: this result
Now my code is like this: how can I fix?
a!localVariables( local!data:{date(2023,10,10),date(2024,10,10)}, local!country:{"ITALY","USA"}, a!forEach( items: local!data, expression: a!forEach( local!country, { DATA:local!data, COUNTRY:fv!item } )) )
Discussion posts and replies are publicly visible
a!localVariables( local!data: { date(2023, 10, 10), date(2024, 10, 10) }, local!country: { "ITALY", "USA" }, a!flatten( a!forEach( items: local!data, expression: a!forEach( local!country, { DATA: local!data[fv!index], COUNTRY: fv!item } ) ) ) )
fyi:
thanks