I have a column A. I'm able to display the change in its value in gallery before saving it into the DB using the following code.
If(IsBlank(LookUp(MyCollection, ID = ThisItem.ID).A),
ThisItem.A,LookUp(MyCollection, ID = ThisItem.ID).A)
Just for reference, MyCollection the collection where change in value is stored. A is the col where value is changed.
Now I have a col B in my gallery only where I want to display the sum of all the values of col A. I also want to capture the live value(like if value of col A is changed in a row then sum in should also be changed in gallery before saving anything in DB).