Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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.

5 Replies
rubenmarin

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

It's attached in my previous post: