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: 
souadouert
Specialist
Specialist

Merge two columns

Good Morning

How to merge two columns with pivot table

TAB.PNG

Labels (1)
24 Replies
sunny_talwar
MVP
MVP

This is what I did

Script

Table:

LOAD * INLINE [

    Rubriques, Effort brut, relisCumule2017, Objectif2017, Zone, Region

    Conquete client, 10, 20, 52, 12, 10

];

Dim2:

LOAD * Inline [

Dim2

1

2

3

4

5

];

So, basically add Dim2 as an inline table in your script

and then this

Dimensions

Rubriques

=Pick(Dim2, ' ', ' ', ' ', 'TRRP', 'TRRP')

=Pick(Dim2, 'Effort brut', 'relisCumule2017', 'Objectif2017', 'Zone', 'Region')

Expression

Pick(Dim2, Sum([Effort brut]), Sum(relisCumule2017), Sum(Objectif2017), Sum(Objectif2017), Sum(Region))

souadouert
Specialist
Specialist
Author

thank y sunny

murugesh
Contributor II
Contributor II

I could not able to view your Merge two columns expression could you send me it
murugesh
Contributor II
Contributor II

I could not able to view your Merge two columns expression could you send me it
nahlaalami
Contributor
Contributor

hey , 

Please  i didn't understand !!

you have create a new dimension in your script , but what's is 1,2,3,4,5 refers to?.