Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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