Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Preparing data for the report

Luk88kk
8 - Asteroid

Hello everyone,

I am in the process of creating a report, and I have a problem. I have 4 same products in my table, however, two of the products has additional information. I would like to make these 4 rows into two rows with complete information. Example:

How is:

ProductNameRankGroup
123456789Solenoid3005
123456789Solenoid300 
123456789Solenoid500 
123456789Solenoid5002

 

How it should be:

ProductNameRankGroup
123456789Solenoid3005
123456789Solenoid5002

 

I would very much appreciate your help.

8 REPLIES 8
JamesCharnley
13 - Pulsar

Hi @Luk88kk 

 

We can minimise data by removing rows using the Filter tool. In this instance you can use a filter tool to get rid of rows that have incomplete data by filtering out rows that are null.

 

JamesCharnley_0-1673524981912.png

 

 

ShankerV
17 - Castor

Hi @Luk88kk 

 

Please find the expected output.

 

ShankerV_0-1673524779887.png

ShankerV_1-1673524791287.png

 

Luk88kk
8 - Asteroid

Hello,

Thank you for your quick response.
However, an additional question arose. Because in some cases this column will be empty with a unique product, for example:

ProductNameRankGroup
123456789Solenoid3005
123456789Solenoid5002
144444444Ring200 

 

So I can't use the filter tool because product 144444444 would not be included in the report.

ShankerV
17 - Castor

Hi @Luk88kk 

 

Please find the expected output.

ShankerV_1-1673525957985.png

 

Input was:

ShankerV_2-1673525974182.png

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @Luk88kk 

 

Step 1: Input

ShankerV_0-1673526085718.png

Step 2: Summarize

ShankerV_1-1673526107484.png

ShankerV_2-1673526116381.png

 

Step 3:

ShankerV_3-1673526137705.png

ShankerV_4-1673526145897.png

 

Many thanks

Shanker V

 

 

ShankerV
17 - Castor

Hi @Luk88kk 

 

Step 4: Join tool

ShankerV_0-1673526193508.png

 

ShankerV_1-1673526206018.png

 

Step 5:

ShankerV_2-1673526223258.png

 

ShankerV_3-1673526232196.png

 

Step 6:

ShankerV_4-1673526250797.png

ShankerV_7-1673526320476.png

 

 

Output after Run

 

ShankerV_6-1673526305435.png

 

Many thanks

Shanker V

 

Luk88kk
8 - Asteroid

Hello,

Thank you very much for your help, it works perfectly.

Have a great day and weekend.

ShankerV
17 - Castor

Hi @Luk88kk 

 

Glad to help!!! Happy weekend to you too!!!

 

Many thanks

Shanker V

Labels