Alteryx Designer Desktop Discussions

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

Multiplying rows

Juplo
5 - Atom

Hi all,

 

I tried so search but couldn't find the answer. My data are as follow:

 

Table 1

 

IDcol1col2col3col4col5
1151524525665
254782545511564
3555545424545254

 

table 2

 

CoefCoef1Coef2Coef3Coef4Coef5

 

 

I want to multiply every row of the table 1 by the coefficient in table 2, for example for ID 1:

115*Coef1152*Coef245*Coef3256*Coef465*Coef5

And so on for all rows in table 3 (I have about 10k rows)

 

How can i do this?

 

Thanks!

3 REPLIES 3
MarqueeCrew
20 - Arcturus
20 - Arcturus

@Juplo,

 

Here's a solution for you:  Transpose, Append, Formula, Cross Tab, voila c'est magnifique!

 

capture.png

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Juplo
5 - Atom

Thanks @MarqueeCrew,

 

That works perfectly! I was able to open the workflow (my alteryx version is older) but the picture itself was more than enough!

 

Quick side question: my record ID is in fact made of multiples columns (40-50). Is it faster if i use a recordId early and put the multiple columns aside, then join again right at the end? Or that wouldn't affect significantly the workflow speed and I don't need to?

 

Thanks again!

MarqueeCrew
20 - Arcturus
20 - Arcturus
I would lean towards the record ID solution. That would be my preference.

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels