How do you not output table field if there are no values? I'm doing, what I think should work fine, however, I'm still getting a blank table output on the page if the table field is left unfilled when creating the entry. It's like the "if" check is being ignored for some reason. The table with data outputs as expected fine. What am I missing here? Gotta be something simple. Here's a link to the page in question: http://nightowlmusic.org/family/rotiron

{% if entry.discography | length %}
        &lt;table class="discography"&gt;
            &lt;tr&gt;
                &lt;th colspan="3"&gt;Discography&lt;/th&gt;
            &lt;/tr&gt;
            {% for row in entry.discography %}
            &lt;tr&gt;
                &lt;td class="release"&gt;{{ row.releaseName }}&lt;/td&gt;
                &lt;td class="year"&gt;{{ row.releaseYear }}&lt;/td&gt;
                &lt;td class="purchaseLink"&gt;
                    {% if row.purchaseLink %}&lt;a href="{{ row.purchaseLink }}" title="Purchase the Release"&gt;Click here to purchase&lt;/a&gt;{% endif %}
                &lt;/td&gt;
            &lt;/tr&gt;
            {% endfor %}
        &lt;/table&gt;
{% endif %}
When you define a table field, it comes with one row by default. I'm not sure why this is. You can remove this row by clicking on the - icon: 

To filter out those rows in twig, try:

{% for row in entry.discography if row.releaseName %}