I have one view which shows total number of time a particular node has been visited and few more details. now i want to use a filter which shows most viewed node.

Please help me.


  • 1
    What is the problem you facing to achieve it? Edit your question and put more info about What you did and where are you stuck ?
    – Rupesh
    Commented Mar 28, 2014 at 16:28
  • did you try adding "SORT CRITERIA" in the view as descending for node view count.
    – shrish
    Commented Mar 28, 2014 at 17:40

3 Answers 3


Sort your view by node views descending.

Then limit your view to only show 1 row.

The remaining result will be your node with the most views.

Is this what you were asking?


You need to add a field in the Sort Criteria which is under filter criteria

  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. Commented Mar 30, 2014 at 2:30
  • -_- It does answer his question
    – No Sssweat
    Commented Mar 30, 2014 at 21:01

You can use a contextual filter to do this all at once - without having to configure both the "sort criteria" and the "pager options"

Assuming something like "content:number-of-views" is accessible as a filter option. Go to:


You can now configure your contextual filter...

I would try :

When the filter value is NOT available

  • "display a summary"
  • Configure sort order - "descending"
  • Configure sort by - "number of views"
  • Override number of items to display - "1."

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.