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

Inverse a column

Good Morning,

I'm trying to solve a situation, but I think I need some help.

I have one excel Table:

productspecifics

A

1
A2
B1
B3
B4

And when I load it on Qlikview, I would like to transcript the table in order to have this results at the end :

ProductSpecifics
A1,2
B1,3,4

Actually I think I can do it on Excel, but I have much more products, so I cannot do it by hand.

Is anybody can help me on this problem ?

Thank you very much

Louis

1 Solution

Accepted Solutions
Not applicable

Hi Loius,

you can use concat for this

Load

Product,

Concat(Specifics, ',') As Specifics

hope that helps

Joe

View solution in original post

6 Replies
Not applicable

Hi Loius,

you can use concat for this

Load

Product,

Concat(Specifics, ',') As Specifics

hope that helps

Joe

PrashantSangle

Hi,

Use Concat()

try

Load Product,

Concat(Specifies,',') as Specifies1

From TableName

Group By Prouduct;

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable

See example

sorrakis01
Specialist
Specialist

Hi

Try this

Regards

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Try this. You need to use NoConcatenate if you still want to re-used Fields name in your final table and then
Group By will help as well

QV_Data:

LOAD
*
Inline [
Product, Specific
A,1

A,2
B,1
B,3
C,1
C,4
]
;

NoConcatenate
Final_Table:
LOAD
 
Product,
 
Concat(Specific,';') AS Specific
 
Resident QV_Data
 
group by Product;
DROP Table QV_Data;

louisernould
Contributor III
Contributor III
Author

Thank you for your answers !

well I wasn't so complicated ^^

The concat formula Works great !