To Creat a simple app in AppSheet

Prembahadursnd_0-1667133293278.png

I want to put a formula in Balance column. It is Balance - Amount. How can I do it?

Solved Solved
0 3 80
2 ACCEPTED SOLUTIONS

SUM(SELECT(TableName[Amount], [_ROWNUMBER] <= [_THISROW].[_ROWNUMBER]))

View solution in original post

From the Balance table, select the Amount value from the rows where the row number is less than or equal to the number of the row within which the expression is being calculated.

View solution in original post

3 REPLIES 3

SUM(SELECT(TableName[Amount], [_ROWNUMBER] <= [_THISROW].[_ROWNUMBER]))

Now, My formula is - SUM(SELECT(Balance[Amount], [_ROWNUMBER<=[_THISROW]-[ROWNUMBER]))

But, what is the meaning of - [_ROWNUMBER<=[THISROW]-[ROWNUMBER]. Please, explain sir.

From the Balance table, select the Amount value from the rows where the row number is less than or equal to the number of the row within which the expression is being calculated.

Top Labels in this Space