Alteryx Designer Desktop Discussions

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

Data Cleansing & Format

dhakim1996
8 - Asteroid

Hi, I have the following dataset. Could someone kindly assist how i can go about doing it please:

 

Raw Data 

COMPANYF2F3F4F5F6F7
ABC      
ABCCO CODEYEARMONTH   
ABCI864G202112   
ABCLONG-TERM     
ABC      
ABCDescriptionRow No.Revenue Expense  
ABC  IndividualGroupIndividualGroup
ABCAPPLE     
ABCNo. of Apple10000
ABCSize of Apple20000
ABCPrice of Apple30000
ABC      
ABCPEAR     
ABCNo. of Pear40000
ABCSize of Pear50000
ABCPrice of Pear60000
ABCSHORT TERM     
ABC      
ABCDescriptionRow No.Revenue Expense  
ABC  IndividualGroupIndividualGroup
ABCAPPLE     
ABCNo. of Apple182922516106393700
ABCSize of Apple210036173906100
ABCPrice of Apple381918906032487600
ABC      
ABCPEAR     
ABCNo. of Pear451073235163968200
ABCSize of Pear5149990151653900
ABCPrice of Pear649573335012314300

 

Cleansed Data 

COMPANYSHORT/LONG TERMYEARDESCRIPTIONREVENUE_INDIVIDUALREVENUE_GROUPEXPENSE_INDIVIDUALEXPENSE_GROUP
ABCLONG-TERM2021No. of Apple0000
ABCLONG-TERM2021Size of Apple0000
ABCLONG-TERM2021Price of Apple0000
ABCLONG-TERM2021No. of Pear0000
ABCLONG-TERM2021Size of Pear0000
ABCLONG-TERM2021Price of Pear0000
ABCSHORT-TERM2021No. of Apple123161700
ABCSHORT-TERM2021Size of Apple456181900
ABCSHORT-TERM2021Price of Apple789202100
ABCSHORT-TERM2021No. of Pear1011222300
ABCSHORT-TERM2021Size of Pear1213242500
ABCSHORT-TERM2021Price of Pear1415262700
4 REPLIES 4
binuacs
20 - Arcturus

@dhakim1996 One way of doing this

binuacs_0-1674484663342.png

 

 

BS_THE_ANALYST
14 - Magnetar

One way, probably a long way though 😂 .. 

BS_THE_ANALYST_0-1674483701800.png

 

dhakim1996
8 - Asteroid

How do i get rid of the_ in the expense and revenue columns?

 

binuacs
20 - Arcturus

@dhakim1996 Sorry, I updated the workflow

Labels