"Total: "&Text(Sum(Gallery.AllItems,TextInput),"#,##0")
Inside a Form's Card I have a Combo Box, where you can select multiple items, from another Sharepoint List (from the one the form is based on)
In the same Card Gallery, the Gallery is created in the following way:
AddColumns(
ComboBox.SelectedItems,
"Code Match",
LookUp(
'ComboBox Sharepoint List',
'Name'.Value = Value,
'Matching Code'.Value
)
)
In the gallery I made a Text Input field, I created an Text Input Box, and next to the gallery I have a function to sum the text box in the gallery:
"Total: "&Text(Sum(Gallery4.AllItems,TextInput),"#,##0")
Which returns blank, while in the formula it gives me the correct value:


So the value I see in the app is blank from the sum function, but the function works properly it seems. Please help 🙂
On another note, I did a similar thing, but without the form and the gallery was based on Sharepoint. It was working as intended.