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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Murlimes
Contributor III
Contributor III

Merge multiple columns to one

Hi,

I have a matrix in excel which looks like this

Userskill1skill2skill3skill4skill5
Tomyesyesnonoyes
Jerrynoyesyesyesno
Daisyyesyesyesnono

 

Is there a way to load this in to qlikview so i can have a listbox, which let me select the skills?

So the listbox would include skill1,skill2,skill3,skill4,skill5. And by selecting any skill it would just show the users who actually have the skill?

If i select skill2,skill3  , it would show jerry, Daisy.

If i select skill4 it will showm jerry

If i sellect skill4,skill5 there is no match.

Thank you

Murlimes

Labels (1)
2 Replies
PradeepK
Creator II
Creator II

Hi,

Your Data is in CrossTable Format. Try to convert into generic form using Crosstable  prefix.

Look into docs - Crosstable Doc 

Result should be something like :

User | skill | value

Tom | skill1 | yes

Tom | skill2 | yes

Tom | skill3 | no

.... and so on

In your case you can use

Crosstable (skill, value, 1)

Load 

..... Source

Murlimes
Contributor III
Contributor III
Author

thx, i already thought about this. I will try it on a small sample and see if its provide the format i need.

Do you maybe have an idea how this can be solved beforehand? I can change the Format in the Excel Sheet, but i dont really know if this would actually help.

Because if i would just do one column called Skills and then fill it with skil1-5 (column would have multiple entries)  , i dont see how this would let me create a listbox, it would just list all possible permuttation of all skills in the colums but not each seperate. Is there maybe a qlikview function or custom listbox which can solve this?

Thank you

Murlimes