Hi,
I’m new to Airtable scripting and figuring this out as I go along. What I’m trying to do is to get a script to count the number of non-empty records for a specific field in one of my tables. This is because this field does have some blank values for some records and I don’t want to simply count all the records in the table.
let query = await myTable.selectRecordsAsync({
fields: emyField],
});
let recordCount = query.records.length;
When I use the script above, I get the total number of records in myTable.
How can I add a condition to this so that I’m only getting a count of those records where myField is not empty?
Thanks