Alteryx Designer Desktop Discussions

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

Conditional run total

Pirasant
5 - Atom

Hi!

I have a bit complicated problem I can't seem to figure out. 

 

This is the data I have 

Company NameRoundInvestmentShare price 1Share price 2
x1100 33
x220034
x330035

 

This is the output I want, where I want to adjust the new shareprice compared to the "last round" except for the first round: 

Company NameRoundInvestmentShare price 1Share price 2
x1100 * 3/333
z2200*4/4 + 100*4/334
y3300 *5/5 + 200 *5/4 + 100*5/335
3 REPLIES 3
jzkyburz
8 - Asteroid

@Pirasant have you tried using a Multi-Row Formula? This will allow you to reference rows ahead or behind the active row in each calculation. This could become challenging as you scale with additional rounds..

BRRLL99
11 - Bolide

Could you please post some additional data

 

this can be done using multi-row formula

Emmanuel_G
13 - Pulsar

Hi @Pirasant,

 

Find attached the solution to this issue.

 

Let me know if there is any issue and please do not hesitate to mark this answer as solution if it helped.

 

Emmanuel_G_0-1663618222930.png

 

Labels