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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create hierarchy based on column labels

Hi All,

I have a list of people and their associated skills. These skills need to be categorised as either technical skills, soft skills or process specific skills.

The data has been provided to me in the format below:

NameSkill 1Skill 2Skill 3Skill 4Skill 5Skill 6Skill 7Skill 8Skill 9
Joe Bloggs
Jane Bloggs

For example how can I group Skills 1-3 as 'Technical', Skill 4 & 9 as 'Soft-Skills' and Skills 5 - 8 as 'Process skills'?

Many thanks,

A

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

My recommendation would be to use the Crosstable function to transform the data to a table with the fields Name and Skill:

Skills:

Crosstable(Skill, Skillname)

load * from ...somewhere...;

That will give you a table like:

Name, Skill, Skillname

Joe Bloggs, Skill 1, abc

Joe Bloggs, Skill 2, cde

...etc

You can then create a skill groups table to link groups to skills:

Groups:

load * inline [

Skillgroup, Skill

Technical, Skill 1

Technical, Skill 2

Technical, Skill 3

Soft, Skill 4

Soft, Skill 9

Proces, Skill 5

...etc

];


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

My recommendation would be to use the Crosstable function to transform the data to a table with the fields Name and Skill:

Skills:

Crosstable(Skill, Skillname)

load * from ...somewhere...;

That will give you a table like:

Name, Skill, Skillname

Joe Bloggs, Skill 1, abc

Joe Bloggs, Skill 2, cde

...etc

You can then create a skill groups table to link groups to skills:

Groups:

load * inline [

Skillgroup, Skill

Technical, Skill 1

Technical, Skill 2

Technical, Skill 3

Soft, Skill 4

Soft, Skill 9

Proces, Skill 5

...etc

];


talk is cheap, supply exceeds demand