Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Data mapping

shivu04
5 - Atom

Hi Team,

 

Please help me out with mapping between data vs mapping (attached both the files).

 

Points to be noted:

  • Key between mapping and data file is "account"
  • Product + Account code creates unique key but product code is not available in mapping file.
  • In data files as well as in mapping file we have duplicate "account" codes due to different KPI level aggregation and product code.

Expected result: 

Only KPI's name should be added in data file without data duplicating.

 

kindly help me on this.

 

Thanks & Regards

Shiva

2 REPLIES 2
RolandSchubert
16 - Nebula
16 - Nebula

Hi @shivu04 ,

 

in general, a Join tool can be used, but  joining on "account" and "FSITEM" leads to duplicate records. So the first step is to select the "right" record in file "mapping" (there are 5 records for FSL2001 with different KPIs). A very simple solution would be to select trhe first KPI for each FSITEM. I've attached a sample workflow. What do you think?

 

Best, 

 

Roland

shivu04
5 - Atom

Hi Roland,

 

Thanks for the update. solution is so simple.

 

Regards

Shiva

Labels
Top Solution Authors