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

Convenient way to implement dynamic columns requirement

187
8 - Asteroid

Hi Alteryx engineer,

 

I have requirement like below, I have two dataset A and B, I need to check the flag in dataset A and decide to reset the value of responding column in dataset B by using [GROSS] - SUM([B] TO [X]) here the rows of data A is dynamic and the flag could be at any rows. if "Y" is set to F, then I need to reset the [F] in dataset B by [GROSS] - SUM([A] TO [X] except [F])

DATASET A

NAME FLAG
AY
BN
CN
DN
EN
FN
XN

 

 

DATASET B

GROSSABCDEFX
7-2023456 7

 

 

IF

NAME FLAG
AN
BN
CN
DN
EN
FY
XN

 

THEN 

GROSSABCDEFX
712345-15 7

 

The challenge is dataset A  has dynamic rows and the flag could be set to any of them

2 REPLIES 2
Christina_H
14 - Magnetar

I think this does what you need

Christina_H_0-1677059787045.png

 

187
8 - Asteroid

@Christina_H  

 

this is great, thanks for your help

Labels
Top Solution Authors