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: 
Not applicable

How to show no of times student presence in pie chart?

Hi,

I have chart in qvw with StudentID, StaffID, Department, [Exam Date], [Record Date],[No of times Student presence].

the values in column [No of times Student presence] are as shown below

4,9,8,2,1,1,1,1,1,3,3,3,3,5,5,5,5,7,7,7,10,0,34,90,100,21,24

the expression used under [No of times Student presence] is Count(StudentID)

The sample data in chart is as below

                                                                                                                                                          

StudentIDStaffIDDepartmentExam DateRecord DateNo of times   student Presence
00Physics27/02/201104/03/201124
012Physics27/02/201104/03/201152
012Accounts02/03/201503/03/20155
89009712Chemistry27/02/201527/02/20151
55353635212Physics02/03/201502/03/20151
93253437612Chemistry03/03/201503/03/20151
15246498612Chemistry03/03/201503/03/20151
1706647720Chemistry02/03/201504/03/20154
1827543320Maths03/03/201504/03/20152
18275433212Chemistry02/03/201504/03/20152
9048564840Maths02/03/201503/03/20153
4895477040Chemistry02/03/201003/03/20103

I need to show a pie chart to show the number of times student presence be represented in a graph for example 300 Students, of which 25 are presence to once, 25 are presence to twice and 100 are presence to three times

Please can anyone help me in this.

Thanks.

10 Replies
Roop
Specialist
Specialist

I think that you will have to perform some kind of grouping before you show the chart. I would do a load from the resident table in order to create your relevant count(StudentID). Then you will be able to do what you require.