View: Only display parent term? I'm trying to create a view that will display a number of nodes sorted by their parent terms. 

For instance, if my terms have the following hierarchy:

- Fruit
--Apple
--Banana
--Orange
-Vegetable
--Broccoli
--Carrot
--Beet


I would ideally like to get two 'headings', one for Fruit, one for Vegetables and then list nodes with any sub-term in those sections. 

I have tried using view relationships and contextual filters but I just feel lost. What should I do? 

Thank you!
Go to your view settings. Add term relationship - your term field. Add Filter critera - Parent term. Operator 'equal' value - leave empty