Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!

Multiple row change to single row from imported file?

Avatar

Level 2

Data Loading file like below:

 

First_Name

Last_name

Id

Industry

Jack

Row

11

Apple

Neil

Sanyal

22

Reliance

Viveck

Gupta

33

Adidas

Sukant

Ashk

44

Puma

Gagan

Sharma

55

Reebok

 

 

Out put look like:

 

First_Name

Last_name

Id

Industry

Jack;Neil;Viveck;Sukant;Gagan

Row; Sanyal;Gupta;Ashk;Sharma

11;22;33;44;55

Apple; Reliance; Adidas; Puma; Reebok

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 1

Hi @PawanGu,

 

You can utilise the Enrichment activity to transpose your column data.

 

abount_8-1718099550672.png

 

After you load your data via a 'Load file' activity, add an Enrichment activity.

Add an element at the ADDITIONAL DATA with a value 1.

abount_2-1718097047346.png

Then add a second Enrichment activity to create a self-join to your table with N cardinality, using the Unit_One attribute you created at the first Enrichment.

At the ADVANCED RELATIONS tab, Add an element. From the Cardinality drop-down menu choose N cardinality collection link. Create element for your Reconciliation criteria by choosing unitOne for the Source and the Destination.

abount_3-1718097855464.png

Then at the ADDITIONAL DATA tab Create element and as an Expression  Select the Enrichment 2 you created at ADVANCED RELATIONS. 

abount_4-1718098193554.png

When you add the new Expression make sure at the Parameters to choose Aggregates at the Select how the data is collected.

At the Data tab you will create the expressions you require. Let's create our first expression by choosing at Aggregate - String Aggregate (with separator character)  and from Expression select First_Name. Give it a useful Label like StringAgg(First_Name) or whatever you prefer.

Repeat the step by adding three more elements with a String Aggregate for Surname, ID and Industry

abount_5-1718098986725.png

You have now created the transposed fields you require.

If you have completed the steps above, you should see the data in the transition below

abount_6-1718099437524.png

Hope this was helpful.

If you require the same solution but for the Adobe Classic check this one

https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-pivot-up-th...

Thanks