Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

How do I combine and average two rows?

leewa007
7 - Meteor

 

leewa007_0-1670362347759.png

I have the above information and need to combine (for example) Record 1229 and 1230 into one row and the _value needs to be the average of the two values. How do I combine and average the two?

14 REPLIES 14
Luke_C
17 - Castor
17 - Castor

@leewa007 

 

Can you post the following:

  1. Sample Data (not a screenshot, the actual data that someone can put into alteryx)
  2. Your expected result

 

That will help everyone advise on the best approach, and potentially mock up a sample for you in alteryx. 

leewa007
7 - Meteor

leewa007_1-1670531644274.png

In the circled above in red I need to be able to combine the following

 

leewa007_2-1670531747203.png

 

As you can see in the Postal code is 80125 but on the _station column you can see there are two stations ending 58022 and 57249, I need to combine those two locations and for the _value I need to make sure it adds both and gives me the average for the two locations. 

 

Thank you in advance

 

 

 

Luke_C
17 - Castor
17 - Castor

Hi @leewa007 

 

Here's an example of the summarize tool like I described earlier.

 

Luke_C_0-1670532575104.png

 

 

leewa007
7 - Meteor

I understand what you are doing but that is still not what I need. :/

 

I truly appreciate your help though. 

Luke_C
17 - Castor
17 - Castor

Hi @leewa007 

 

Help us help you - the below blog post might be helpful. As I mentioned above, giving example data (not a screenshot - nobody is retyping all of your data). Give an example output dataset of what you're expecting. That will give us the information on what you need.

 

https://community.alteryx.com/t5/Alteryx-Community-Resources/Posting-for-Fastest-Possible-Solution/t...

 

Labels