I have a gallery with 6 columns. One is calculated based on the values in two other columns.
The gallery is tied to a Collection.
Total Cost = Unit Count * Unit Cost.
When the Unit Count or the Unit Cost are changed (OnChange() event) I do an UpdateIf() for the current item.
UpdateIf( collection, ItemID = ThisItem.ItemID, {TotalCost: ThisItem.UnitCount * ThisItem.UnitCost} )
This update works but the change is not reflected in the gallery. I tried a Reset on the gallery, but that doesn't do anything.
The Default for the Total Cost item is ThisItem.'Unit Count' * ThisItem.'Unit Cost'.
What am I missing?
Thanks.