Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Product function on Alteryx

Mario36
8 - Asteroid

All, I am trying to replicate the Excel Product function to be incorporated on Alteryx. On the attached Excel file, column B which is the Value column has to be used to perform the calculation on Column C which is the Product column

17 REPLIES 17
Jean-Balteryx
16 - Nebula
16 - Nebula

So just by adding the + 1 before the multiplication, it works ! i don't get why ! 🙄

atcodedog05
22 - Nova
22 - Nova

Hi @Jean-Balteryx 

 

You are taking -1 in rounding multiplication. I am doing -1 separately in formula tool after rounding multiplication. Thats making the difference. I guess that's the cause 😅

Jean-Balteryx
16 - Nebula
16 - Nebula

Oh okay ! So better do anything else than multiplication in another tool when using doubles ! 🙂

atcodedog05
22 - Nova
22 - Nova

My calculation is considering 

([Row-1:Result]+1) * ([Value]+1)

 

Yours:

([Row-1:Result]+1) * ([Value]+1) -1

 

You are taking the -1 rolling multiplication which is impacting. It should be applied after. The calculation becomes different.

 

Hope this clarifies 😅

Jean-Balteryx
16 - Nebula
16 - Nebula

Oh okay, I get it ! Thank you for this explanation ! I should go back to doing some mathematics ! 🙂

atcodedog05
22 - Nova
22 - Nova

This was slightly a complicated one and a black box 😅 so no worries.

Mario36
8 - Asteroid

@atcodedog05  & @Jean-Balteryx 
Thank you both for your expertise and thanks @atcodedog05  for your solution. Cheers.

Jean-Balteryx
16 - Nebula
16 - Nebula

You are welcome @Mario36 ! Sorry I didn't achieve the solution as @atcodedog05 !

Labels
Top Solution Authors