I want to put a formula in Balance column. It is Balance - Amount. How can I do it?
Solved! Go to Solution.
SUM(SELECT(TableName[Amount], [_ROWNUMBER] <= [_THISROW].[_ROWNUMBER]))
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.
User | Count |
---|---|
16 | |
10 | |
9 | |
8 | |
3 |