Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Data formatting

satya04
8 - Asteroid

There needs to be a blank line that separates after each 11 lines. 

 

satya04_0-1678510767110.png

The header needs to be inserted 11 times and should look like this as a separate header for each of the metrics. Please guide me in this regard.

 

satya04_1-1678510891422.png

 

 

12 REPLIES 12
ShankerV
17 - Castor

Hi @satya04 

 

Can you please share the input and output in an excel workbook in 2 different sheets.

 

Will be easy to understand and provide you a solution.

 

satya04
8 - Asteroid

The input and output data are shared in two different sheets. Thank you for your support and guidance.

ShankerV
17 - Castor

Hi @satya04 

 

Please find the expected output.

.

Metric name at the top

The header is displayed below all metric name

Also separated by a empty row after each metric. i.e 11 rows

 

ShankerV_0-1678518033168.png

 

Many thanks

Shanker V

 

satya04
8 - Asteroid

Hi Shanker,

 

Thank you for sharing the solution. I am getting parse error at this stage. Can you please guide me on this?

 

satya04_0-1678519271097.png

 

ShankerV
17 - Castor

Hi @satya04 

 

In the input tool, I have used the setting as First Row Contains Data when importing.

 

Please check the below setting in the input tool to get your issue resolved.

 

ShankerV_0-1678519586009.png

 

Many thanks

Shanker V

 

satya04
8 - Asteroid

Okay. Thank you for clarifying.

In the actual workflow, the starting point is from cross tab and not the input data. I won't get to select first row has data here. Please suggest on how this can be linked to your workflow.

satya04_0-1678519957705.png

 

ShankerV
17 - Castor

Hi @satya04 

 

I have modified the workflow to make it work after the crosstab tool.

 

ShankerV_0-1678520800460.png

 

Many thanks

Shanker V

satya04
8 - Asteroid

 

Okay. I have tried using the latest solution and this is where I am stuck. Can you please help me on this?

satya04_0-1678521428052.png

 

ShankerV
17 - Castor

Hi @satya04 

 

In the union tool, I do not see the 1, I see only 2.

Please check whether you have missed this highlighted in red.

 

ShankerV_0-1678521653827.png

 

Many thanks

Shanker V

Labels