I had the same issue. This should work for you (it did for me). {if {mymatrix:total_rows} > 0 } {mymatrix} data here {/mymatrix} {/if} Does the template work without the {if} statements? You may also try wrapping the zero in a single quote ( '0' ).