You can add a Taxonomy: Term ID filter and manually select which conditions to show (it can be tedious if you have a large vocabulary).
OR
You can add a template file for a field in your view to determine what conditions should be displayed. For example, in your opinion, you can simply add the Taxonomy: Term ID field. Copy views-view-field.tpl.php to the theme folder from the catalog of view modules (by topic). Go to "Topic Information" in the "Basic Settings" section and find the appropriate name for the template and create a new file using this name. For example, mine was views-view-field--tax--tid.tpl.php .
To only show the term term names that are the top level of the dictionary, use the following (or similar) in the new template file:
<?php if (count(taxonomy_get_parents($output, $key = 'tid')) == 0) { $term = taxonomy_get_term($output, $reset = FALSE); print $term->name; } ?>
source share