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

Calculating Row Average

Alteryxexpert
8 - Asteroid

I have data like below,

Itemmonthsales
chair202401100
chair202402200
chair202403300
table202401200
table202402300
table202403400
mouse202401300
mouse202402400
mouse202403500

 

I need the below output,

 

ItemmonthsalesAvg salesCalculation Logic
chair202401100100Avg of sales (202401)
chair202402200150avg of sales (202401 & 202402)
chair202403300200avg of sales (202401 & 202402 & 202403)
table202401200200Avg of sales (202401)
table202402300250avg of sales (202401 & 202402)
table202403400300avg of sales (202401 & 202402 & 202403)
mouse202401300300Avg of sales (202401)
mouse202402400350avg of sales (202401 & 202402)
mouse202403500400avg of sales (202401 & 202402 & 202403)

 

Help me achieving this in alteryx.

4 REPLIES 4
flying008
15 - Aurora

Hi, @Alteryxexpert 

 

FYI.

 

录制_2024_11_13_15_29_03_809.gif



ItemmonthsalesTile_NumTile_SequenceNumRunTot_salesAvg Sales
chair20240110011100100
chair20240220012300150
chair20240330013600200
table20240120021200200
table20240230022500250
table20240340023900300
mouse20240130031300300
mouse20240240032700350
mouse202403500331200400
Alteryxexpert
8 - Asteroid

can you attach the workflow please, thanks

 

flying008
15 - Aurora

Hi, @Alteryxexpert 

 

Please see the option of tool with gif.

 

录制_2024_11_13_16_08_55_984.gif

nagakavyasri
12 - Quasar

@Alteryxexpert Try below:Screenshot 2024-11-13 134935.png

Labels
Top Solution Authors