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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
akpofureenughwu
Creator III
Creator III

How to create a category from two fields

Hello,

Thank you for reading my post,

I have a set of data in this format..

SchoolTableMap:

Mapping LOAD                 //Apply Map to Beneficiary info Table   

     iSchoolId,

    vDescription as [School Name]  ;

SQL SELECT iSchoolId,

    vDescription,

    iScholarshipCategoryid

FROM xxxx.crd.SchoolTable;

UniversityTableMap:

Mapping LOAD                  //Apply Map to Beneficiary info Table   

    iUniversityId,

    vDescription as [University ];

SQL SELECT iScholarshipCategoryid,

    vDescription,

    iUniversityId

FROM xxxx.crd.UniversityTable;

[BeneficiaryInfo]:                   

LOAD iBeneficiaryId,

    vSurname,

    vMiddleName,

    vFirstName,

   vSurname&' '&vMiddleName& ' '&vFirstName as Full_Name ,

    iUniversityId,

    iBankId,

    iCourseofStudyId,

    dDOB,

    iTitleId,

    vAccountNumber,

    iSchoolId,

    dtCourseStartDate,

    dtCourseEndDate,

    ApplyMap('CourseMap',iCourseofStudyId,Null()) as [Course Name],

    ApplyMap('SchoolTableMap',iSchoolId,Null()) as [School Name],

    ApplyMap('UniversityTableMap',iUniversityId,Null()) as [Univeristy Name],

    ApplyMap('BankMap',iBankId,Null()) as [Bank Name],

    ApplyMap('TitleMap',iTitleId,Null()) as [Title Name];

SQL SELECT iBeneficiaryId,

    vSurname,

    vMiddleName,

    vFirstName,

    iUniversityId,

    iBankId,

    iCourseofStudyId,

    dDOB,

    iTitleId,

    vAccountNumber,

    iSchoolId,

    dtCourseStartDate,

    dtCourseEndDate

FROM xxxxBI.crd.BeneficiaryInfo;

I would love to create a field called Institution category ( a combination of University Name and School Name ) .

With this field , I can develop a chart of institution category vs  amount paid... and the user can drill down from institution category to university...

I tried concatenate those fields but I didn't get the right result.

Thank you

Regards

23 Replies
akpofureenughwu
Creator III
Creator III
Author

stalwar1roharoha

Thank you sir for the support..

I had to change the database structure to accommodate the necessary changes required.

Regards

sunny_talwar

So all done now?

akpofureenughwu
Creator III
Creator III
Author

Yes.. Thank you

sunny_talwar

Super, please mark one of the response as correct to close this thread.Qlik Community Tip: Marking Replies as Correct or Helpful

Best,

Sunny