Alteryx Designer Desktop Discussions

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

Combining same rows and adding those together / summarize

rively90
8 - Asteroid

Hi!

 

So, I have some information on my sheet such as the name of the company. I want to combine them (the same company) into one and add them together.

I want to add the columns of value and SHRS or PRNT AMT seperately. I'm wondering if anyone can guide me on what to do with this.

Also, when I select the data, I changed the Value(x1000) and SHRS or PRN AMT to Double. HOWEVER, the numbers become smaller. For example, before I changed them, they were like 1,000,000 now like 100? I'm not sure if it's a bug or something.

Thank you very much

 

combine.png

9 REPLIES 9
Luke_C
17 - Castor

Hi @rively90 

 

You'll want to use the summarize tool. Group by the issue and SUM the amount columns (assuming the data type is numeric). For your second thing about the number changing - please provide sample input/workflow so we can review your configurations.

 

https://help.alteryx.com/20214/designer/summarize-tool

 

rively90
8 - Asteroid

Okay. I attached my workflow

Luke_C
17 - Castor

Hi @rively90 

 

You'll need to export the workflow so the input files are maintained (assuming no confidential data). Go to Options>Export Workflow. 

rively90
8 - Asteroid

oh thank you. that's good to know.

JarekSkudrzyk
11 - Bolide

@rively90 

Hi,

regarding the number changing - please remove the commas (thousands separators) and it should work fine:

JarekSkudrzyk_0-1647639370455.png

 

rively90
8 - Asteroid

thank you so much. it works

JarekSkudrzyk
11 - Bolide

@rively90 

Glad to hear that!

Luke_C
17 - Castor

Hi @rively90 

 

A few pointers/suggestions here:

 

  1. You're overcomplicating things by having so many separate input tools, then repeating the same parsing steps. When you see this, there's always a better way.
  2. In this case, since it's all from the same file you can read in the list of sheet names, update the file path for each tab, and pass it into a dynamic input tool.
  3. The steps around renaming/skipping the first 2 rows are unnecessary. In an xlsx input you can specify the start row (see the template in the dynamic input)
  4. Like @JarekSkudrzyk  mentioned, you need to remove the commas. I opted to use a multifield formula to update all 3 numeric fields together in one formula.
  5. I included an example of the summarize tool. It summarized the 1900 records from all the tabs into 70 records for each company.

Please reach out if you have any questions. Have a great weekend!

 

Luke_C_0-1647640985174.png

Luke_C_1-1647641099415.png

 

rively90
8 - Asteroid

thank you for replying!

 

I'm new in Alteryx. My tutor told me to make a separate tool container instead of the dynamic input. Our end goal is to https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Converting-Basic-Table-to-Desired-Tabl... and probably make interactive graphs. I'm not sure how to make interactive graphs like Tableau in Alteryx.

 

I'm also new to Alteryx. This is my first week using it. Thanks for your feedback! It will save time in the future!

Labels