@claudia
You would not want to be doing the formula you have in your OnStart. In general, there is NO need to use a variable for any of this.
Your final On success screen label text can simply be: CountRows(Gallery1.AllItems)
Also, your Approve OnSelect action should be:
Patch('LABELS - SUPPLIERS RAW MATERIALS',
selectedItem1,
{CheckedByIPRA: {Value: "Approved"},
IPRAComments: DataCardValue7.Text,
ApprovalDate:Today()
}
);
Notify("The label is approved");
Navigate(Success,ScreenTransition)
I hope this is helpful for you.