In Excel, you can select a table of data and "Paste Transpose". This feature then pastes the data, but pivots the paste on the X and Y axis. Neither "Transpose" nor "Crosstab" tools are capable of this function presently (trust me, I've tried every combination possible with either tool or both in conjuction), and it is sometimes necessary to perform a simple pivot of the data on the axis.
I have had to work around this to manipulate my data into a pivoted form on several occassions, and it is quite a painstaking process. Other times, I have simply output my data into excel, performed the function, and re-uploaded the pivoted dataset downstream. It would be fantastic to have a simple tool that would perform this basic function, and nothing else.
If Excel can do it, Alteryx should be able to do it!!
Thank you!
Solved! Go to Solution.
Gregg,
Yes, that macro was designed around a single input. If you are bringing in multiple data files, then you would just build it in its own workflow.
I've attached an example that has a couple of Text Input tools with a Union tool to emulate having multiple files.
As I noted in the example, you would want to use the option to "Output the file name as a field". This will provide you with a Grouping field in the Cross Tab tool.
Hope this makes sense.
Rod
this was perfect! thank you. 70 files input as tall data, exported wide. I know it's odd to need the data wide, but we do so thanks