Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to split 2 data from 1 column

Hello there,

Here is my data (image attached), data represent sex and ages, i need to be able to split them in 2 columns in order to be able to create a graph like this (Facebook_split).

What would be the best in Qlikview to recreate the grah called "Facebook_split" ? and how do you split the values ?

Thanks for your help

JP

2 Replies
m_woolf
Master II
Master II

You can split the sub_name field with:

subfield(sub_name,".",1) as Sex,

subfield(sub_name,".",2) as Age,

martinpohl
Partner - Master
Partner - Master

Hello,

load

subfield(sub_name,'.',1) as sex,

subfield(sub_name,'.',2) as ageclass,

value

from yourdata;

Regards