Alteryx Designer Desktop Discussions

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

Similar function of countif and averageif in alteryx

123love55448
6 - Meteoroid

For example, if I have 2 input files. First file containing customer name. Another file containing customer name, quantity, total price, & status. I want to know to use something like countif and average if in this case, desired output as below.

 

Input File 1:

Customer name

AA

BB

 

Input File 2:

Customer name         Quantity            Price             Status

AA                                 2                       5                Order completed

AA                                 5                      50               Order completed

BB                                 1                       5                Order completed

BB                                 5                       80              Add to cart

Desired output:

Customer nameAvg. Quantity in CartAvg. Price in CartAvg. Quantity of Order completedAvg. Price of order completed
AA003.527.5
BB58015

 

 

Very appreciated to all helps

3 REPLIES 3
OllieClarke
15 - Aurora
15 - Aurora

@123love55448 
How's this:

OllieClarke_0-1662394073535.png

If you want other methods of aggregation (e.g. count) then these can be ticked as well in the cross-tab tool

 

Hope that helps,

 

Ollie

Qiu
20 - Arcturus
20 - Arcturus

@123love55448 
Just a bit different approach.

0906-123love55448.PNG

Emmanuel_G
13 - Pulsar

Hi @123love55448 ,

 

Find attached a very easy way to do this.

 

Emmanuel_G_0-1662499794836.png

 

 

Labels