I have a DataView Webpart that displays a set of list items (articles). In each item(article) being displayed, I want to show a counter of items from another list that are linked to the unique ID of the first list. My second list consists of comments. Essentially I want to have a comment counter per article.

Thank you in advance for your answers

1 Answer 1


Fortunately, this is provided for you OOTB with SharePoint. There is a lookup column that will produce the Count Related of related items. Take a look here at this article for more in depth details, however, it'll be fairly straightforward to set up.


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.