Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how do i seperate M and F on field Gender to different fields

Hello Peeps,

I want to seperate M and F to different fields, so i can load to different listbox.

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

In script try like this

Data:

LOAD

*,

If(DimensionName = 'M', DimensionName ) AS DimM,

If(DimensionName = 'F', DimensionName ) AS DimF

FROM DataSource;

Note : Replace DimensionName with your actual field name.

Hope this helps you.

Regards,

jagan.

View solution in original post

1 Reply
jagan
Luminary Alumni
Luminary Alumni

Hi,

In script try like this

Data:

LOAD

*,

If(DimensionName = 'M', DimensionName ) AS DimM,

If(DimensionName = 'F', DimensionName ) AS DimF

FROM DataSource;

Note : Replace DimensionName with your actual field name.

Hope this helps you.

Regards,

jagan.