Alteryx Designer Desktop Discussions

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

Multi-field/row formula help

yovindapricila
6 - Meteoroid

Hi everyone, 

 

I'm trying to transform this original table: 

 

Weight Rate 1Rate 2
11012
1.51519.5
22027

 

and transform it into smaller fraction:

WeightRate 1Rate 2
11012
1.11113.5
1.21215
1.31316.5
1.41418
1.51519.5
1.61621

 

Is it something that I can achieve by using Multi Field/Row formula? 

 

Thanks!!

5 REPLIES 5
echuong1
Alteryx Alumni (Retired)

Can you explain your logic for how you went from the first table to the second? Is it just adding 0.1 to the weight, adding 1 to the rate1, and 1.5 to rate2 with each subsequent row?

 

If so, you can use a generate rows to create the additional rows. From there, you can use multi-row formulas to calculate the rates.

 

echuong1_0-1612539731302.png

 

afv2688
16 - Nebula
16 - Nebula

Hello @yovindapricila ,

 

I created something, don't know if its what you are looking for. Based on the number of rows you want to have it creates a regluar increment on the columns.

 

Untitled.png

 

Regards

yovindapricila
6 - Meteoroid

Hi Echuong. Thank you for your reply.

I have 45 rates column that I need to fill out. Is there any simpler solution rather than using 45 multi row formula tools?

echuong1
Alteryx Alumni (Retired)

Is the logic for all 45 different for each one? Are you able to elaborate more on what these are? Can you post a sample?

yovindapricila
6 - Meteoroid

The increment per 0.5kg is not proportional to the rates. Here's an example: 

 

WeightRate 1Rate 2Rate 3
1.07.3910.747.65
1.57.9511.078.26
2.08.2711.838.69

 

so rate1 at 1.1kg would be 7.39 + [(7.95 - 7.38) / 5] = 7.39 + 0.114 = 7.50

rate1 at 1.2kg= 7.50 + 0.114 = 7.614 

rate1 at 1.3kg= 7.61 + 0.114 = 7.724 and so on. 

Labels