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: 
manoranjan_d
Specialist
Specialist

help on data

Hi below is my data.

   

Gender studentsPresent studentsAbsent students
Male90
Female010

Now i want my table one more field as  total students count  so i want the total  present and absent put in  one field as Total students. kindly help me on the coding.please

    

GenderPresentAbsentTotal students
Male909
Female01010
11 Replies
Not applicable

Hi,

You can check another one.

praveenak
Partner - Contributor II
Partner - Contributor II

Hi,

Please find below script

students:

LOAD * INLINE [

    Gender students, Present students, Absent students

    Male, 9, 2

    Female, 1, 10

];

TotStudents:

LOAD

    ([Present students] + [Absent students]) as [Total students]

Resident students; 

Hope this helps you.