I have a gallery connected to an Excel table. I want to add some of the gallery columns to a collection. I am doing-
ClearCollect(Attgallery,ShowColumns(Gallery3.AllItems,"Name","Language","Mentor","Type",Dropdownatt.Selected.Value));
The last column that I am adding here is a dropdown value which is giving me the error. The dropdown is a new column which was not present in the Excel table. How do I add it to the collection?
Edit: I tried changing my code.
ClearCollect(Attgallery,ShowColumns(Gallery3.AllItems,"Name","Language","Mentor","Type"));
ClearCollect(Finalcollection,AddColumns(Attgallery,"Attendance",Dropdownatt.Selected));
Now the collection is getting created, but from the dropdown values only the last value that was selected is being assigned to every row of the collection.