Skip to content

Instantly share code, notes, and snippets.

@ijy
Created June 22, 2013 22:46
Show Gist options
  • Select an option

  • Save ijy/5842942 to your computer and use it in GitHub Desktop.

Select an option

Save ijy/5842942 to your computer and use it in GitHub Desktop.
Return the total number of rows in a Matrix where a specified column is not empty. the_matrix refers to the name of the Matrix field. my_col refers to the column to search on.
{the_matrix:total_rows search:my_col="not IS_EMPTY"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment