We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Move dates from columns to rows along with hours

AntlRo
8 - Asteroid

Hello I think this is an easy one

 

I have a raw data set with the below columns: The date column has the average time it takes them to complete each tasks. PLease post a yxmd thats easy to use for large data sets theres about 300 rows I'm comparing this too and this is just a short sample :

 

 

NameTeam NAmeTasks1/1/20222/2/2022 3/3/2022     
JohnGiantsRun312    
JohnGiantsWalk111    
JohnGiantsPlay232    
ChrisJEtsPLay211    
ChrisJEtswalk222    
ChrisJEtsRun111    
          
          
          

 

 

 

I want the output to look like this:

NameTeam NAmeTasksMonthSum of Hours     
JohnGiantsRun

1/1/2022

6     
JohnGiantsWalk2/1/20223     
JohnGiantsPlay3/1/20227     
ChrisJEtsPLay1/1/20224     
ChrisJEtswalk2/1/20226     
ChrisJEtsRun3/1/20223     
          
          
          

 

11 REPLIES 11
ShankerV
17 - Castor

Hi @AntlRo 

 

Please find the solution attached for you.

 

As you are expecting the Month column in output, I can still generate that for you.

But the logic is missing, in the input we have 1/1/2022, 2/2/2022 and 3/3/2022.

However in the output the expected is 1/1/2022, 2/1/2022 and 3/1/2022. 

 

Can you explain the expectation in the month field, so I can generate the output for you as expected.

 

ShankerV_1-1668579415607.png

 

ShankerV_0-1668579397441.png

 

Many thanks

Shanker V

AntlRo
8 - Asteroid

it will just be 3/1.. you can use same dates . I used the dates as an example 

Labels
Top Solution Authors