We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Need some help with filtering data

Claudiu159
6 - Meteoroid

Hello, I have to find out the average quantity of items ordered in each city on a monthly basis. 

Output should look like this 

Claudiu159_0-1663770146807.png

While my input is something like this 

Claudiu159_1-1663770171902.png

Best way to approach this?

6 REPLIES 6
dhoover
5 - Atom

Hi Claudiu159! I would recommend using the Summarize tool located in the Transform section of the Tool Palette.

With this, you are able to average the data from your Quantity Ordered column and group by order date > month.

Luke_C
17 - Castor
17 - Castor

Hi @Claudiu159 

 

You got some good suggestions in your other thread, have you tried those?  I'd suggest sharing the data itself (assuming its not confidential) instead of screenshots. 

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Need-some-help-with-filtering/td-p/100...

 

JamesCharnley
13 - Pulsar

You should just be able to crosstab, grouping by month, having city as Name and Quantity as value, since you can aggregate within the crosstab itself.

Emmanuel_G
13 - Pulsar

@Claudiu159 

 

The answer to this question is the same as that given earlier. 😉

 

Link to answer : https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Need-some-help-with-filtering/m-p/1004...

Emmanuel_G
13 - Pulsar

@Claudiu159 

 

Find the version about the length of name of customers

 

Let me know if it works as you want or not. 🙂

 

I used dummy data but it's the same way with yours.

 

Emmanuel_G_0-1663778398019.png

 

Emmanuel_G
13 - Pulsar

@Claudiu159 

 

Find attached the way to group by string contains in sentences.

 

Let me know if there is any issue with this answer.

 

Emmanuel_G_0-1663780881136.png

 

Labels
Top Solution Authors