I have a named Gallery2 and a collection named Step1_Collection.
Each Gallery2 item has a checkbox (checkbox1) where OnCheck adds the gallery item to Step1_Collection. When the lines are added to Step1_Collection, the ThisItem fields are added, plus additional columns:
checkbox1 OnCheck :
Collect(Step1_Collection,AddColumns(Table(
{
column1 : ThisItem.column1,
column2: First(ThisItem.test).column2}),
"column3", Left(Dropdown_column3.SelectedText.Value,4),
"column4", Value(column4.Text),
"column5", Value(column5.Text),
"column6", Dropdown_column6.SelectedText.Value,
"column7", Dropdown_column7.SelectedText.Value,
"column8", Dropdown_column8.SelectedText.Value,
"column9", Dropdown_column9.SelectedText.Value,
"column10", Dropdown_column10.SelectedText.Value,
"column11", Dropdown_column11.SelectedText.Value,
"column12", TextInput_column12.Text,
"column13", Value(TextInput_column13.Text),
"column14", Value(TextInput_column14.Text),
"column15", TextInput_column15.Text,
"column16", Value(TextInput_column16.Text),
"column17", Value(TextInput_column17.Text),
"column18", Value(TextInput_column18.Text),
"column19", Value(TextInput_column19.Text)
))
I also have a checkbox (Checkbox2) that sits outside of Gallery2 that serves as a CheckAll option for all checkboxes in Gallery2. I used the solution found in this post.
Checkbox2 OnCheck:
UpdateContext({CheckCheckbox:true});ForAll(Collect(Step1_Collection,Gallery2.AllItems),ThisRecord)
Checkbox2 OnCheck is working correctly in the sense that the information is being added to the collection when checking all the boxes at once, however, instead of adding individual lines as items, it is adding a table of records per line (I am probably describing this using the wrong terminology, so below is a picture):

How do I get the CheckAll option to collect all data as singular lines without tables that need to be expanded?
P.S. I did see some replies on the referenced post where people were saying to not use collections since a gallery is like a collection, but I am collecting this information to send as a JSON file to Power Automate, so a collection is actually needed.