I would like to count all rows in a Data Extension in Marketing Cloud.

The only way I have seen is using LookupRows which has a max of 2000 rows.

I just want to know how many rows, there is no need for any of the data.

1 Answer 1


If you want to count all DE rows with AMPscript use DataExtensionRowCount() function

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .