Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

count pass/ fail in pivot table

I need to count the number of students under a specific major (ex: engineering degree, business degree) with a count of one fail grade for a specific semester, and then the number of students with a count of exactly 2 failed grades, 3 failed grades and so on.

Labels (1)
5 Replies
rubenmarin
MVP
MVP

Hi Mohammed, please look expressions at attached file.

hic
Former Employee
Former Employee

You can also create a pivot table with the following dimension/measure:

Dimension: =Aggr(Count({$<PASS_FAIL={F}>} PASS_FAIL),People_ID)

Expression: Count(distinct People_ID)

Then you will get a table that classifies your students according to number of failed grades:

Image1.png

In other words: given the current selection, 63 people have failed one test, 40 have failed 2 tests, etc.

HIC

Anonymous
Not applicable
Author

sorry but where is the attachment file ?

Anonymous
Not applicable
Author

I will try this idea.

Regard.

rubenmarin
MVP
MVP

It's attached in my previous post: