Error in SUM

Hello!
I create 2 virtual columns so I can SUM the total amount of Rows in a table.
Virtual column 1: COUNT(LIST(Data[UID]))
Virtual column 1:SUM(Data[Virtual column 1])
And I donยดt know why is not summing the correct amount of rows, the table in the spredsheet has 1018 rows and the SUM bring me 999.

Solved Solved
0 8 181
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

Should be:

COUNT(Data[_ROWNUMBER])

View solution in original post

8 REPLIES 8

Why do you need to count the sheet rows? If you need to get the last row in the table then

MAX(TableName[_RowNumber])

will suffice actually. Provided your aim is to count the number of rows which contains data (not blank), then your expression is not correct at all.

I need to have an average of a SUM of all durations from a column, so as each row have there own duration, my client needs to know the SUM of all durations and average.
So for that I need to devide total duration over total Rows

Steve
Platinum 4
Platinum 4

Should be:

COUNT(Data[_ROWNUMBER])

I try this all ready and is giving me 999 insted of the total rows in the table.
Just try and save and is working , where is not working is when you click on the TEST link from the expression box, that is given the 999 insted of the total Rows

The Test feature only works with the first 1000 rows by default.

3X_0_4_040aa29dbc0adb75b532e7b36544344e61ff54ba.png

I change it to 5000 and still show 999

Please contact support@appsheet.com for help with this.

Top Labels in this Space