Count of records not working

Hi all,

I would like to count the records of table โ€œAntrag Mobiles Arbeitenโ€ by using this formula:

count(Antrag Mobiles Arbeiten[Nr])

but the result is always โ€œ0โ€.

What is my mistake?

Thank you for your kind help.

Solved Solved
2 14 210
1 ACCEPTED SOLUTION

Hi all,
it is working now!

Unfortunately โ€œFilter out all existing rows?โ€ was checked because the solution should only collect new data. This prevents from reading existing data and the count(โ€ฆ) was not working.

Thank you for all this great help and your time to support me!

View solution in original post

14 REPLIES 14

Maybe column [Nr] is empty?

it is not empty, although there are some empty cells see screenshot

What does โ€˜testโ€™ from expression assistant shows?

Maybe this can be tried
COUNT(SELECT (Antrag Mobiles Arbeiten[Nr], ISNOTBLANK ([_RowNumber])))

no data rows

you are right, this was different try, see here the empty table with count:

Seems like the table were you have the COUNT() expression doesnโ€™t have any data
Are you using any security filters?

Thank you for your kind help, there are no security filters and the google sheet has a lot of test data

thank you and unfortunately no data

Change type data
Number
No text

Iโ€™d suspect the app isnโ€™t using the worksheet you think it is.

In the app editor, go to Data >> Tables, to the Antrag Mobiles Arbeiten table, and click View Data:

Does it display what you expect?

Thank you @Steve you are right, the view data is empty.

But the view source opens the expected google sheet and adding records is working

Hi all,
it is working now!

Unfortunately โ€œFilter out all existing rows?โ€ was checked because the solution should only collect new data. This prevents from reading existing data and the count(โ€ฆ) was not working.

Thank you for all this great help and your time to support me!

Top Labels in this Space