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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
fallenangel6
Creator
Creator

can i convert the following data into a crosstable?

Hi,

i have data similar to the attached data. is there anyway by which i could reduce columns 3 to 8 into one single column

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You should try Crosstable() function.

So the load script will look like below.

 

Crosstable(Type,Value,5)

Load Id,

Region,

RH,

Entity,

Dept,

[Pan Valid],

[Pan Invalid],

[Pan N/A],

[Mobile Valid],

[Mobile Invalid],

[Mobile N/A]

From xyz;

 

Regards,

Kaushik Solanki

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You should try Crosstable() function.

So the load script will look like below.

 

Crosstable(Type,Value,5)

Load Id,

Region,

RH,

Entity,

Dept,

[Pan Valid],

[Pan Invalid],

[Pan N/A],

[Mobile Valid],

[Mobile Invalid],

[Mobile N/A]

From xyz;

 

Regards,

Kaushik Solanki

 

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!