Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
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

24 Replies
sunny_talwar

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?.