Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic calculation of last amount listed

tiverson
8 - Asteroid

I have a file that calculates an amount from the last amount listed in the data.  The last amount will change each month when a new period begins.

How can I dynamically calculate the percentage amount?

 

 

Date          Amount            % calc

Jan 93       7.461               737.6904956    formula (Last amount listed \ Amount listed on current line - 1)

Feb 93       7.501               734.3520597

Mar 93       7.5229             732.211368

 

 

Last line of data (changes each period)

Mar 24       5515.8758

 

Thanks for the help!

3 REPLIES 3
rzdodson
12 - Quasar

@tiverson here is one approach for you. Let me know if that's what you are looking for.

 

Solution.png

binuacs
21 - Polaris

@tiverson your total amount always comes in the last row then you can use the below logic

image.png

albert_alaluf
10 - Fireball
10 - Fireball

Hi @tiverson 

 

Please let me know this works for you.

 

 

 

Albert Alaluf
Alteryx ACE
https://www.linkedin.com/in/alaluf/
Labels
Top Solution Authors