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.

Creating muliple calculated field

Kuha
7 - Meteor

Hi,

 

I have to calculate for 12months x 5 years x 2, ie120 calculated fields.Is there any easy way to create multiple calculated field? Thanks.

 

 E1-Jan-2023E1-Feb-2023E1-Mar-2023 E1-Jan-2024E2-Feb-2024E3-Mar-2024 Var1Var2Var3
Asset1100.00112.00125.44 175.00196.00219.52 75.0084.0094.08
Asset2120.00134.40150.53 210.00235.20263.42 90.00100.80112.90
Asset3144.00161.28180.63 252.00282.24316.11 108.00120.96135.48
Asset4172.80193.54216.76 302.40338.69379.33 129.60145.15162.57
Asset5207.36232.24260.11 362.88406.43455.20 155.52174.18195.08
2 REPLIES 2
FrederikE
13 - Pulsar

Hey @Kuha,

 

I would always recomend to instead generate multiple Rows and use a long data format instead (since Alteryx performance much much better with it). 

This is possible with the Generate Rows Tool for example. 

 

If you want to, you could then transpose it after your workflow to columns again,. 

Kuha
7 - Meteor

Thanks for your advice. I got better idea after reading your suggestion about transpose. I haven't used the Generate Rows.

Labels
Top Solution Authors