Alteryx Designer Desktop Discussions

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

Write data to Excel as both a summary tab (all data) and a tab for each subject

Uni_User
5 - Atom

I've got some output data (about 30k lines if it matters). It looks a bit like this:

SubjectStudent numberFee status
Maths123A
Engineering234B
Engineering456A
Computer Science678C
Maths910A

 

I have an output data tool set up that writes the data to an Excel file that splits the students by subject, with one tab for each subject (a tab for Maths, a tab for Engineering, etc.), like this:

 

Screenshot 2021-10-08 111250.png

 

What I also need is a tab in the same file that contains all the records, and I can't work out how to do this.

 

I tried adding a new output data tool to write the data to the same file in a separate tab, but unfortunately then I get the error that Alteryx can't write to the target file as it's already open, as both output data tools are trying to access the same file.

 

Is there a way to do this?

2 REPLIES 2
Christina_H
14 - Magnetar

You'll need to use a Block Until Done tool to force Alteryx to complete one output before attempting the next.

messi007
15 - Aurora
15 - Aurora

@Uni_User,

 

Please see below

 

messi007_0-1633693736272.png

 

Attached the workflow,

Regards

Prime.PNG

Labels