Re: Combining two collection into one with both record data type
@RandyHayes The Product is record column type on both collection.
If not possible, I tried a new solution where I grouped the Product, the code below does the job however, I want to add and show more fields that are not grouped by Like the Product Name which is the same column name on both collection but has different values so I will just show it
With(
{
outputTable: Ungroup(
Table(/* Create the table with child tables. If you want to join more tables, add more items to this table and the formula will work the same way*/
{tableObject: colDIDRecommend},
{tableObject: colDIDList}
),
"tableObject"
)/* Merges all the tables into a single one, but no duplicates removed */
},
ShowColumns(
GroupBy(AddColumns(outputTable, "Products",Product.Value),"Products","Grp"),
"Products")
)
The addcolumns is inside the groupby to solve the record issue