ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Round Multiple columns in the same Data Set

Karl_Spratt
8 - Asteroid

Hi Community,

Looking for some help please,  I have the booking for 2021, I will be adding to this so I want my workflow to use last 12 Mths Data  I want to use these to create a future FC for next 12 mths, with a growth factor 1.2 rounded (Which I think I've managed so far 😀

Now I'd like to see the average value in the 12 month future forecast,   the Formula should exclude any months in the 12 Months future Data for the item with zero "Forecast" so as not to deflate the average), then using this average I'd like to replace any value in the future forecast which exceeds the average with the average. 

 

So in the example below is the rounded average = 7, I'd like to replace the 3 values above 7 with 7. 

Item NumberNew_1New_2New_3New_4New_5New_6New_7New_8New_9New_10New_11New_12Average
47703046001232166855113627

Can some please explain to me how to do this. 

 

TIA,

Karl

 

10 REPLIES 10
JoeHughes137
7 - Meteor
Spoiler
Spoiler
JoeHughes137_0-1764763107540.png

 

Labels
Top Solution Authors