Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Transform excel data into certain format

Nuruddin
7 - Meteor

Hi All,

 

Below is my table

 

  a1a2a3
 DESCRIPTIONaaa
  llsb
     
1010Merchandise Sales56864596.79061924583.15
1011Merchandise Sales - Adjustment064534.670
1020Royalty Income000
1030Service Income000
1040Variable Interest Entity Sales000

 

I want it to be like

4493BSUBURBIAl4101010Merchandise Sales56864596.79
4493BSUBURBIAl4101011Merchandise Sales - Adjustment0
4493BSUBURBIAl4101020Royalty Income0
4493BSUBURBIAl4101030Service Income0
4493BSUBURBIAl4101040Variable Interest Entity Sales0
4493BSAWSAl4101010Merchandise Sales0
4493BSAWSAl4101011Merchandise Sales - Adjustment64534.67
4493BSAWSAl4101020Royalty Income0
      
      
      
      
      
      
      

 

Please help me... thank you 🙂

 

2 REPLIES 2
FFFool
9 - Comet

See attached. You will likely need some tweaks to make it work for a larger data set, though. 

RobertOdera
13 - Pulsar

HI, @Nuruddin 

 

Looks like you're changing your source sample files?

 

Kindly consider a new post or reply with that captures iteration in requirements, versus editing an already solved prior post 🙂

Now your desired output has data that is not present in your source.

 

@FFFool  solution or approach should still work.

If, however, you're running into an issue where your source file has no Headers, and you can't edit the filed to add a Header row, then try the below.

 

The first part is the treatment to auto-add Headers versus typing them in (when you can't type them in).

The second part is the @FFFool  solution flow.

 

Kindly credit @FFFool

RNO2_0-1590798436089.png

 

Cheers!

 

Labels