Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jixiaoquan
Contributor III
Contributor III

The expressions count by the first dimesions in pivot table

Hi everyone,

    There are two expressions and two dimensions in a pivot table.

     The first dimension is Department and the second dimension is Class.

     The first expressions is "count(distinct StudentID)" the result is count students of every class.

     Now I want the second expression is count students of the Department,how to do ?

     Thank you!

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Try count(distinct total <Department> StudentID)


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

Try count(distinct total <Department> StudentID)


talk is cheap, supply exceeds demand
MK_QSL
MVP
MVP

COUNT(Distinct TOTAL <Department> StudentID)

🙂 Gysbert has already answered !!!

jixiaoquan
Contributor III
Contributor III
Author

Thank you Manish  Kachhia!