Start Free Trial

Alteryx Designer Desktop Discussions

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

How to fill values in the template using find and replace

ilovecoding
8 - Asteroid

Template format :

Lets assume below is my template. I have all the students details together but is there a way i can drop them all together and it will fill in the existing template? 

 

TemplateFeesExpenseBooksUniform
Student 1    
Student 2    
Student 3    
Student 4    
Student 5    
Student 6    
Student 7    
     
1st input file    
Student 1100153545
     
2nd input file    
Student 2100204035
     
3rd input file    
Student 6100253050
     
     
Output:    
 FeesExpenseBooksUniform
Student 1100153545
Student 2100204035
Student 3    
Student 4    
Student 5    
Student 6100253050
Student 7    
7 REPLIES 7
OTrieger
13 - Pulsar

@ilovecoding 

You can add RecordID at the after the template, join the data from the different, union the left side for those students that do not have data and then sort the data based on RecordID, add select tool and then remove the RecordID

MelGibson
10 - Fireball

Bring your blank template in - join them with the student field - union the join output and the template output then sort student field 

 

template update.jpg

ilovecoding
8 - Asteroid

What if there are 50 students? Can it be done without creating 50 input files at the initial stage?

OTrieger
13 - Pulsar

@ilovecoding 

No you do not need 50 inputs. Just use RecordID it will solve the problem. 

ilovecoding
8 - Asteroid

How can i do that? 

Please note that below is my original output. Example is only for 2 students however there are as many as 50 and format of the all 50 files are same. I have managed that put them in the row as below, however that is only for 1 student. How can i keep feeding in the student data and template kept on updating one after another like a loop?

 

Student ASem1Sem2
History2533
Geography3029
English3236
Maths4138
   
   
   
Student BSem1Sem2
History2533
Geography3029
English3236
Maths4138

 

 sem1 Historysem2 HistorySam1 GeoSam2 GeoSam1 EnglishSam2 EnglishSam1 MathSam2 Math
Student        
Student A        
Student B        
Student C        
Student D        
Student E        
Student F        
Student G        
Student H        
Student I        
Student J        
OTrieger
13 - Pulsar

@ilovecoding 
With a Batch Macro. Your control parament will be Student. Connect the control parameter tool to filter tool and then you loop your WF for each of the students. Add Macro Output tool and the result will be your full report with the data.

ilovecoding
8 - Asteroid

Hi, can you help attaching the workflow as i never used this function before, simultaneously im exploring this option now 

Labels
Top Solution Authors