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

Update logic

jay_viz
7 - Meteor

I have a customer table with Customer ID, state customer belongs, Sales Rep and Sales Region of the customer. I am trying to get an update/insert logic working. What I am trying is to get to is -

 

If an existing customer comes in with a change in the state then –> Change State and void Sales Rep and Region

If an existing customer comes with same state information then –> No action

If a new customer comes in then –> Insert the customer to the table

 

Here is the data format

jay_viz_0-1680195815710.png

 

jay_viz_1-1680195839884.png

 


Looking for help in achieving this

2 REPLIES 2
gautiergodard
13 - Pulsar

hey @jay_viz 

would something like this work?

gautiergodard_0-1680196543053.png

 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

Here's one way @jay_viz :

BS_THE_ANALYST_0-1680197010538.png

 

 

 

All the best,
BS

LinkedIN

Bulien
Labels
Top Solution Authors