I have a view of nodes, which are associated with a vocabulary, and it contains both child and their respective parent terms. What I want is in this view, only the parent categories will be coming. I have already tried the parent relationship but it gives me repetitive rows with each parents. I have described the problem and what i want to achieve here :


Help appreciated...

2 Answers 2


Create contextual filter with parent taxonomy term id as fixed value 0


In views add filter:

Taxonomy term: Parent term and it is equal to NULL, leave blank.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.