Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

sum the price

Sshasnk
8 - Asteroid

Hi I have a dataset that I have to check with the average price to the column F2

 

Input: 

FruitF2Price
Appleaverage price: 10 
  15
  13
Mangoaverage price:12 
  12
Bananaaverage price: 8 
  10
  5
  15

 

Output:

Fruit Price
Appleaverage price: 1014
Mangoaverage price: 1212
Bananaaverage price: 810
4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@Sshasnk 
We need first assign the "Group" using a Multi-Row Formula tool then calculate the average with a summarize tool.

0421-Sshasnk.PNG

Sebastiaandb
12 - Quasar

hI @Sshasnk 

 

Here you go!

 

Sebastiaandb_0-1650525026647.png

 

Sebastiaandb
12 - Quasar

Of course, @Qiu  was faster ;-). 

Qiu
21 - Polaris
21 - Polaris

@Sebastiaandb 
Faster does not mean better. :)

Labels
Top Solution Authors