Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Merge 3 Dimensions (columns out of excel) into 1

Hello QVspecialists,

i really tried to find a solution by searching the forums but haven't found the right one for my problem..

I'm loading 3 Columns (amongst others) out of Excel which basically contain the same kind of information:

Columns in Excel:

Materialbezeichnung

Materialbezeichnung1

Materialbezeichnung2

Required Dim in QlikView:

Materialbezeichnung

I now have 3 Dimensions in QlikView and need to find a way to merge them into one.

Can anybody help me here?

Best regards

1 Solution

Accepted Solutions
Not applicable
Author

try this

Tab1:

load

Materialbezeichnung,

Materialbezeichnung1,

Materialbezeichnung2    from Tab1;

Tab2:

load

Materialbezeichnung

resident Tab1;

concatenate  load

Materialbezeichnung1 as Materialbezeichnung

resident Tab1;

concatenate load

Materialbezeichnung2  as Materialbezeichnung

resident Tab1;

***********************************************************************************************************

or try this

load *,

subfield(Materialbezeichnung  & ',' & Materialbezeichnung1 & ',' Materialbezeichnung2,',') as  Materialbezeichnung

resident yourtable;

see attached file

View solution in original post

2 Replies
Not applicable
Author

try this

Tab1:

load

Materialbezeichnung,

Materialbezeichnung1,

Materialbezeichnung2    from Tab1;

Tab2:

load

Materialbezeichnung

resident Tab1;

concatenate  load

Materialbezeichnung1 as Materialbezeichnung

resident Tab1;

concatenate load

Materialbezeichnung2  as Materialbezeichnung

resident Tab1;

***********************************************************************************************************

or try this

load *,

subfield(Materialbezeichnung  & ',' & Materialbezeichnung1 & ',' Materialbezeichnung2,',') as  Materialbezeichnung

resident yourtable;

see attached file

Not applicable
Author

Thank you;

The resident Method worked for me:)