In my gallery for repeating tables, I have a label for a calculated field (I tried a text input but got the same result). This field calculates the Rate and checks a Yes/No field. If the Yes/No field is Yes, then the rate is the Rate * .75, othewise it is just the Rate. When running the app, it works, but when patching to the temporary gallery, the field show 0 when looking at the collections.
The formula in the OnSelect is:
Patch(
RequestCollection,
ThisItem,
{
PerDiemDate: dtePerDiemDate.SelectedDate,
Location: txtLocation.Text,
PerDiemRate: Value(txtPerDiemRate.Text),
JobName: drpJobName.Selected.Value,
Notes: txtNotes.Text,
TravelDay: drpTravelDay.Selected.Value,
Reimbursement: Value(lblReimbursementCalculated.Text),
CompanyHousing: drpCompanyHousing.Selected.Value,
CompanyCar: drpCompanyCar.Selected.Value
}
);