The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Report with columns names in excel

Lumjing
8 - Asteroid

Hi I have around 200 columns to compare below is a sample data. Here I am subtracting 10-10_Day and getting the result in 10_Check. When I do the final report please see sample output. it should provide me the row and columns names. Can you please help to achieve this. Have attached the sample data for the same. Thank you. 

 

Input         
Rows1010_day10_Check2020_day20_Check3030_day30_Check
1011011012-1
2023-1330330
30981880880
40743440431
50660660660
50440440440

 

Output    
RowCoulmn NameActual valuesActual Values 2Difference
1030_Check12-1
2010_Check23-1
3010_Check981
4030_Check431
2 REPLIES 2
mceleavey
17 - Castor
17 - Castor

Hi @Lumjing ,

 

I'm not entirely sure what you're wanting for the output, and I hope I have the logic right, but I've built out the workflow as I understand it:

 

mceleavey_0-1767619393356.png

You may need to change the first two tools to reflect the actual data (I've had to skip the first row, and drop the extra columns).

What this does is Transpose the data into name and value columns, then create a group for each row/day check (groups of three). I've then changed the non-check fields to be Actual and Actual 2. I then filtered and joined to allow for the check fields to be associated with the grouping so I could then cross-tab back while keeping the Check fields as rows.

I then dropped the extra columns and created the difference formula:

 

mceleavey_1-1767619570726.png

 

I hope this helps.

 

M.

 



Bulien

Lumjing
8 - Asteroid

@mceleavey it worked thank you

Labels
Top Solution Authors