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

Marco to find desired missing data

k3pineapple
8 - Asteroid

HI team,

 

Looking for a flow/Macro that can generate output

To Generate missing product for all users. Many Thx

 

Input

CompanyBranchProductCodeStatusLoginCount
ABCAA123AEnabledA1232
ABCAB123AEnabledA1232
ABCAA123AEnabledB1231
ABCBA123AEnabledC1232
ABCBC123AEnabledC1232
DEFAA456BEnabledD1232
DEFAC456BEnabledD1232
DEFBC456BEnabledE1231

 

Output

CompanyBranchProductCodeStatusLogin
ABCAC123AEnabledA123
ABCAB123AEnabledB123
ABCAC123AEnabledB123
ABCBB123AEnabledC123
DEFAB456BEnabledD123
DEFBA456BEnabledE123
DEFBB456BEnabledE123
6 REPLIES 6
Raj
16 - Nebula

@k3pineapple 
can you please explain the logic

Verakso
11 - Bolide

Perhaps something like this?

2024-06-07 12_49_13-Alteryx Designer x64 - Missing data.yxmd.png

 

Br ()

Thomas

jdminton
13 - Pulsar

@k3pineapple  I don't think you've provided enough information. Also, your data generalization is probably going to cause problems. For example, I doubt that the same branches exist in different companies. Also, there is no way for us to know if status, code, or count are relevant for this. Can you clean up the sample data and provide more information on what you're needing?

Raj
16 - Nebula

@k3pineapple 
is this solved?

if not please share the logic for this.

k3pineapple
8 - Asteroid

@Raj above flow works

k3pineapple
8 - Asteroid

Appreicated

Labels
Top Solution Authors