Free Trial

Alteryx Designer Desktop Discussions

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

Empty rows filling using other reference coloum

Anbumani
7 - Meteor

Hi,

 

i have two scenario, my main object to fill the  External city blank from Internal city by using reference.

 

1st Scenario

i have only one internal row, with using ref column i want to bring the city to external row

 
legValueCityref
External2 253
External3 253
External1 253
Internal6Chennai253
 

2nd scenario

i have two internal line by using ref column and value, i need to bring the city to external, like for Chennai we have value 4 for external any number which sum to 4 i need to give Chennai and remaining I need to give Delhi

legValueCityref
External2 253
External3 253
External1 253
External1 253
Internal4Chennai253
Internal3Delhi253
 

kindly help how to achieve this using Alteryx 

 

 

5 REPLIES 5
binuacs
21 - Polaris

@Anbumani with the help of multi-row formula you can achieve the result of scnario1, Sample attached

image.png

what is the expected result for the second scnario?

 

Anbumani
7 - Meteor

@binuacs for second scenario if you see the table for external leg the total value we have 7 and for internal we have two separate value one is 3 for Delhi and 4 for Chennai, by using ref column and I want to bring the city to external leg but it should sum the external value for any sum of value 4 it should give Chennai and for others its should give Delhi.

 

for 1st scenario I want to use the ref column and fill the city and along with this it should satisfiy the second scenario 

binuacs
21 - Polaris

@Anbumani Can you provide the expected result for scnario2 for better understanding?

Anbumani
7 - Meteor

@binuacs Like the red highlighted i need the output 

legValueCityref
External2Chennai253
External3Delhi253
External1Chennai253
External1Chennai253
Internal4Chennai253
Internal3Delhi253

 

binuacs
21 - Polaris

@Anbumani but if you take 3+1 it would give you 4 as well , that means External 3 also fall in Chennai I guess?

Labels
Top Solution Authors