Hi @JamesM,
Could you please share more details about the selectedServerAvgBasketSizeData collection within your app?
Where do you put the UpdateIf function?
Based on the formula you provided, I have made a test on my side, and the function works well. The screenshto as below:
Please take a try to type the following formula within the OnVisible property or OnStart property of the first screen of your app:
ClearCollect(selectedServerAvgBasketSizeData, InSiteConnector.GetStoreCurrentBasketSize({server:selectedServer, ordercol:"RowInsertDateTime",order:"DESC",rowlimit:336}));
UpdateIf(
selectedServerAvgBasketSizeData,
true,
{
RowInsertDateTime: TimeValue(Text(RowInsertDateTime,"[$-en-US]hh:mm"))
}
)
If the issue still exists, please take a try with the following formual within the OnVisible property or OnStart property of the first screen of your app:
ClearCollect(selectedServerAvgBasketSizeData, InSiteConnector.GetStoreCurrentBasketSize({server:selectedServer, ordercol:"RowInsertDateTime",order:"DESC",rowlimit:336}));
ForAll(
RenameColumns(selectedServerAvgBasketSizeData,"RowInsertDateTime","RowInsertDateTime1"),
Patch(
selectedServerAvgBasketSizeData,
LookUp(selectedServerAvgBasketSizeData,RowInsertDateTime=RowInsertDateTime1),
{
RowInsertDateTime:TimeValue(Text(RowInsertDateTime1,"[$-en-US]hh:mm"))
}
)
)
then check if the issue is solved.
Best regards,
Kris