Alteryx Designer Desktop Discussions

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

Add a functionality to select particular no of fields

abhinavrpk
Météoroïde

Hi , 
I am new to Alteryx and this is my second post. From my first post, I was able to build a workflow which gave me the desired result (see image attached). Thanks to @danilang  
Here I am looking for help to add a functionality/parameter.

As you see the workflow in the image attached, the output of the crosstab (pivot table is as below)  as sample data .  I have 19 duration for Canada and US each. As I move forward from this point, I select the latest 14 scenarios and do my calculation as shown in the workflow.  (The blank fields are null value, that is the particular scenario is not relevant to that jurisdiction)

JurisdictionDurationScenario 1Scenario 2Scenario 3Scenario 4
CANADA20200920-20201020202  
CANADA20201020-20201116400  
CANADA20201116-20201214550  
CANADA20201214-20210111240  
CANADA20210111-2021020720  
CANADA20210207-20210307210  
CANADA20210307-20210404520  
CANADA20210404-20210503120  
CANADA20210503-20210530120  
CANADA20210530-2021062720  
CANADA20210627-2021072500  
CANADA20210725-2021082200  
CANADA20210822-2021091920  
CANADA20210919-2021101780  
CANADA20211017-2021111400  
CANADA20211114-20211213650  
CANADA20211213-2022011020  
CANADA20220110-20220206428  
CANADA20220206-2022030655  
USA20200925-20201023  832859
USA20201023-20201120  722728
USA20201120-20201218  721400
USA20201218-20210116  771427
USA20210116-20210205  551082
USA20210205-20210312  1011887
USA20210312-20210409  851701
USA20210409-20210507  811642
USA20210507-20210604  831690
USA20210604-20210702  723449
USA20210702-20210730  723483
USA20210730-20210827  773604
USA20210827-20210924  551400
USA20210924-20211022  1011427
USA20211022-20211119  851082
USA20211119-20211217  811887
USA20211217-20220114  52221701
USA20220114-20220212  43911642
USA20220212-20220311  43971690

However, I want to add a functionality at this point which prompts me to select a particular duration field, and the  calculations goes forward from that  point. As we have different durations for Canada and US, we will need to have different prompts for each. 

Can you please guide me as to what can be the best approach, what tools can be used to give the desired functionality.

Thanks in advance.

Abhinav 

1 RÉPONSE 1
JarekSkudrzyk
Bolide
Étiquettes