Alteryx Designer Desktop Discussions

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

Output to tab in google sheet based on column

cearles
5 - Atom

Hello,

 

If I have the following data:

EMPLOYEE NAMEEMPLOYEE IDBUSINESS UNITTRAINING TITLETRAINING SCORE
Employee One0001BU_INTRequired Training FY23

90

Employee Two0002BU_EXTRequired Training FY2389
Employee Three0003BU_INTRequired Training FY2364
Employee Four0004BU_UNIRequired Training FY2399
Employee Five0005BU_PROVRequired Training FY23100
Employee Six0006BU_PDRequired Training FY2387
Employee Seven0007BU_PROVRequired Training FY2378

 

What I would like to do is write all of this to a single google sheet, but break it up so that each business unit has it's own tab in the sheet.

 

Currently, I separate all the BU's with filters, and then write each BU to the sheet individually.

This works, but it can be fairly tedious to setup for workflows like this, especially since we have well over 30 business units.

 

Sorry if this is a repeat, I searched the discussions for quite a while and found a ton of ways to do this as .xlsx, but I need to to be google sheets unfortunately.

 

Thank you!

5 REPLIES 5
apathetichell
19 - Altair

yes. you'd need to use a batch macro and edit the DataRangSheetName - value in the gdrive output tool via action.

cearles
5 - Atom

Thank you!

I will focus on those tools and see what I can learn.

Qiu
21 - Polaris
21 - Polaris

@cearles 
I did not try to export to GSheet before, so I gave a try and it works.
Some notes below hope can help.

0601-cearles-A.PNG0601-cearles-B.PNG0601-cearles-C.PNG

cearles
5 - Atom

Thank you!

 

I was unable to get my google drive output tool to work, but I found a way to do it with the google sheets output tool.

The error was unrelated to your example, my Alteryx tool would not connect to google is all.

 

Your example gave me what I needed to figure it out!

Qiu
21 - Polaris
21 - Polaris

@cearles 
Good to know it works out for your either way.

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels