Esteemed Colleagues,
Not sure if I'm over thinking, or simply lost.
Working with (2) Collections
- colQueryTest
- colQueryTest2
ClearCollect(colQueryTest,
Table(
{ Flavor: "Strawberry", UnitPrice: 1, QuantitySold: 20 },
{ Flavor: "Chocolate", UnitPrice: 3, QuantitySold: 45 },
{ Flavor: "Vanilla", UnitPrice: 5, QuantitySold: 35 }
)
);
ClearCollect( colQueryTest2,
Table(
{ Flavor: "Strawberry", size: 3, Style: "original" },
{ Flavor: "Chocolate", size: 6, Style: "original" },
{ Flavor: "Vanilla", size: 9, Style: "mixed" }
)
)
- End goal is to create a New Collection "colQueryTest3
- merging all data based on the 'Flavor' field.
So for example result in colQueryTest3;
{ Flavor: "Chocolate", UnitPrice: 3, QuantitySold: 45, size: 6, Style: "original" }
Been bumping my head on the wall using AddColumns, Groupby, Collect and just not gaining any traction so far.
Also for what its worth,
I'm using simple collections to test out formulas but the end goal would be to use SharePoint Lists as the sources.