Re: Calculated Field should show merged data from 2 fields
Hi @Anonymous ,
Which one in entity A is LookUp filed? What do you want to achieve?
Do you want to generate the entity B data based on entity A?
If so, please try this to generate the data in Collection.
ClearCollect(MyCol, DropColumns(AddColumns(GroupBy('EntityA', "Year","Month","Grouped"),"MonthlyTotal",Sum(Grouped,Payments)),"Grouped"))
Then, save the collection data to entity B in bulk by ForAll/Patch function.
ForAll(MyCol,Patch('EntityB', Defaults('EntityB'), {Year:Year, Month: Month, MonthlyTotal: MonthlyTotal}))
Hope this helps,
Sik