We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic Select Formula - Select all fields from left join and any matching right join

taschmies
7 - Meteor

Hi all,

 

I'm working on a workflow that will take in a budgeted number of reports per week and will compare it with the actual number of reports per week, then adjust the budget accordingly. Since I need this workflow to be dynamic and work for any given weeks and any given number of weeks, I'm trying to use the dynamic select tool.

 

In the attached image you can see the layout of how the fields in the join will look. I will be joining on category, then I need to select all the fields from the left side which are the actuals. These column values will be changing week over week. Then I need to select all the fields from the right side (the budget) that match, so any field containing "right" in the rename. 

 

I need help writing a formula for the dynamic select tool which will do as I described above. Here are the specific steps:

1. Select all left fields

2. Select all matching right fields

3. rename left fields to "actual" + week range

4. rename right fields to "budget" + week range

 

I would upload the workflow for ease of use, but it's very large and contains sensitive information. Thank you in advance for any help or guidance! Please let me know if you have any questions.

 

 

9 REPLIES 9
atcodedog05
22 - Nova
22 - Nova

Hi @taschmies,

 

Can you atleast provide a 5 row randomized data.

binuacs
21 - Polaris

@taschmies created a workflow based on my understanding. if you are looking for a different output, then provide sample data and expected result as @atcodedog05 mentioned

image.png

taschmies
7 - Meteor

Here is an example to go off of

binuacs
21 - Polaris

@taschmies updated workfllow attached

image.png

taschmies
7 - Meteor

I opened your file, and I think it's the same one I uploaded. Can you try reuploading your changed version? Thanks!

atcodedog05
22 - Nova
22 - Nova

Hi @taschmies ,

 

Here is my take on it.

 

budget_dynamic rename.png

 

Hope this helps : )

binuacs
21 - Polaris
taschmies
7 - Meteor

@atcodedog05 thank you, this worked as intended in my actual workflow! @binuacs thank you for your assistance as well!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @taschmies 

Cheers and have a nice day!

Labels
Top Solution Authors