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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Individual Status

Hi Experts,

I have student score card like this

 

Student IDMaths
1Pass
2Fail
3Pass
4Pass
5Pass
6Pass
7Fail
8Pass
9Fail
10Pass

My required output is

 

StatusCount
Pass7
Fail3

 

Thank you in Advance!!

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

Hi,

Try like this

Dimension: Maths

Expression: Count({<Maths-={'Absent'}>}StudentID)

Regards,

Jagan.

View solution in original post

21 Replies
arasantorule
Creator III
Creator III

Hi,

Please refer the attached.

Output.PNG

Dimension : Maths

Expression: Count([Student ID])

Thanks.

engishfaque
Specialist III
Specialist III

Dear Anil,

Kindly find attached file, I hope you are looking for that one.

Kind regards,

Ishfaque Ahmed

tamilarasu
Champion
Champion

Check the attachment.

Data:

Load Distinct Maths,

Count([Student ID]) as Count

Group by Maths;

LOAD * INLINE [

Student ID, Maths

    1, Pass

    2, Fail

    3, Pass

    4, Pass

    5, Pass

    6, Pass

    7, Fail

    8, Pass

    9, Fail

    10, Pass

];

senpradip007
Specialist III
Specialist III

Have a look at this.

Anonymous
Not applicable
Author

Hi,

I am using personal edition, could you please paste the expression

Thank you,

Anonymous
Not applicable
Author

Hi,

I am using personal edition, could you please paste the expression

Thank You,

tamilarasu
Champion
Champion

Or simply load the data and create a straight / pivot table. Maths field as dimension and Count([Student ID]) as expression.

Capture.PNG

rajuamet
Partner - Creator III
Partner - Creator III

Status:

Load Maths as Status,

Count([Student ID]) as Count

Group by Maths;

LOAD * INLINE [

Student ID, Maths

    1, Pass

    2, Fail

    3, Pass

    4, Pass

    5, Pass

    6, Pass

    7, Fail

    8, Pass

    9, Fail

    10, Pass

];

engishfaque
Specialist III
Specialist III

Dear Anil,

Here is data model and expression,

Data Model:

--

StudentGrades:

LOAD * Inline [

Student ID, Maths

1, Pass

2, Fail

3, Pass

4, Pass

5, Pass

6, Pass

7, Fail

8, Pass

9, Fail

10, Pass

];

Expression:

--

=Count ({<Maths = {'Pass'}>} [Student ID])

=Count ({<Maths = {'Fail'}>} [Student ID])

For more, please check attached screenshots.

Kind regards,

Ishfaque Ahmed