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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
jsingh71
Partner - Specialist
Partner - Specialist

How to group 2 columns into 1???

I have a table like this

PlannedHolidayVacation
615
1037
20614
725
1138
22715
835
18612

Now I want to Group 'Holiday' and 'Vacation' Under 'Planned'

Labels (1)
4 Replies
Not applicable

Didn't get your question.

Can ypu please elaborate what is it that you are trying to accomplish

Regards

Mhatim

its_anandrjs
Champion III
Champion III

In a load script create a field like

Holiday+Vacation as NewPlanned

But what is requirement for this and meaning of Group 'Holiday' and 'Vacation' Under 'Planned'

Regards,

Anand

jagannalla
Partner - Specialist III
Partner - Specialist III

Hello,

Try this:

Main:

Load RowNo() as Key,

Planned as P,

Holiday as H,

Vacation as V

From Main.qvd;

Res_Main:

Load Key, P as Planned Resident Main;

Load Key, H as Planned Resident Main;

Load Key, V as Planned Resident Main;

Hope it helps you..

Cheers!!

Jagan

jagan
Partner - Champion III
Partner - Champion III

Hi,


Try this script

TableName:

Load

     Planned AS Dimension,    

     'Planned' AS Type

FROM DataSource;

Concatenate(TableName)

Load    

     Holiday AS Dimension,

     'Holiday' AS Type

FROM DataSource;

Concatenate(TableName)

Load    

     Vacation AS Dimension,

     'Vacation' AS Type

FROM DataSource;

Hope this helps you.

Regards,

Jagan.