total docs unter category

hi experts,

i'm building a web application. i have a view categorized according to departments. i would like to get the total number of documents in each department. how do go about doing this?

i have tried using @DocNumber("") in a column in the view but it will come out the number in every doc. i would like to have only the total number for each category.

tq very much. good day.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

ZvonkoConnect With a Mentor Systems architectCommented:
Place in front of the Category a new column.
Make this new category formula a value of one.
Like this:

In the second tab of Column properties do not sort but select the bottom option to create Totals. Mark the checkbox: HideDetailRows

Save this View and you will see a number of documents in front of every Category.

Good luck,

All Courses

From novice to tech pro — start learning today.