In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

NPV Formula Dynamic String or Columns for Formula

Trich
7 - Meteor

I am working on a Net Present Value calculation, but the number of columns change between sheets as well as the interest rates. That is why I didn't use a summary  Net Present Value because the rate changes between products and I need it to be dynamic. However my column names or time periods are not constant.

 

 column_names_npv.png

I used a summary tool to concatenate all the columns in to one field, but I do not know how to insert into formula. 

 

 column_names_npv2.png

 Any help would be greatly appreciated.

3 REPLIES 3
Inactive User
Not applicable

I would highly recommend taking those unknown column headings and transposing them all using a RecordID grouping. Then you can do your calculations from a row-level structure rather than a column level structure. Creates more flexibility in processing and will overcome your issue.

Trich
7 - Meteor
It is a NPV calculation, but can't make rate variable in transposed calculation.

Get Outlook for Android
Trich
7 - Meteor

I found a solution from this gentleman. I wrote the NPV formula out in XML!

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-do-dynamic-calculations-across-...

Labels
Top Solution Authors