Hi @Ashok2 ,
Do you want to add a column called “Grantor” into the collection POAGrantorSocietyChange?
If yes, we cannot use formula like this "ClearCollect(POAGrantorSocietyChange,
AddColumns(POAGrantorSocietyChange, XXX)". It is not allowed to ClearCollect a collection based on itself.
Instead, you can add a new record into this collection which has a value only for this new column “Grantor”. Then remove the new added record, this time, your collection will have this new column.
For example:
If you want this new column contains a record, you can try this:
Collect(POAGrantorSocietyChange,{Grantor:LookUp(POAGrantorSocietyCollection,GrantorSociety=Dropdown4_1.Selected.Result) });
Remove(POAGrantorSocietyChange,Last(POAGrantorSocietyChange));
UpdateIf(POAGrantorSocietyChange,true,{Grantor: LookUp(POAGrantorSocietyCollection,GrantorSociety=Dropdown4_1.Selected.Result)})
If you want this new column only contains text, you can try this(Using lookup function to return a column value, then update this value to Grantor column):
Collect(POAGrantorSocietyChange,{Grantor:”1”});
Remove(POAGrantorSocietyChange,Last(POAGrantorSocietyChange));
UpdateIf(POAGrantorSocietyChange,true,{Grantor: LookUp(POAGrantorSocietyCollection,GrantorSociety=Dropdown4_1.Selected.Result).Title})
Best regards,
Allen