Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Creating a Yearly Log File

clarrock
8 - Asteroid

Hi

 

Here are two sample alteryx outputs for Monday and Friday

 

Alteryx Output for 4th September 2020 - 

DATEITEM IDCOLOUR
2020-09-0468Red
2020-09-0456Red
2020-09-0498Red
2020-09-0432Red
2020-09-0445Blue

 

Alteryx Output for 7th September 2020

DATEITEM IDCOLOUR
2020-09-07687Red
2020-09-07562Red
2020-09-07984Blue
2020-09-07321Blue
2020-09-07456Red

 

The Alteryx Workflow/Output runs from Monday to Friday.

How do I create a log file with different Sheets (Red and Blue) which only takes in counts of Reds and Blues on a Friday run Alteryx Output and not Monday to Thursday Alteryx Outputs as shown in below sample :

 

Log File.xlsx  - Sheet Name  - 'Red'

DATERED COUNT
2020-08-143
2020-08-211
2020-08-282
2020-09-044

 

Log File.xlsx - Sheet NAme - 'Blue'

DATEBLUE COUNT
2020-08-142
2020-08-214
2020-08-282
2020-09-04

1

 

Also once the year in the Alteryx Output changes to 2021/2022/etc - the log file should delete all the previous rows/records and start with a fresh row as such

 

Log File.xlsx  - Sheet Name  - 'Red'

DATERED COUNT
2021-01-013

Log File.xlsx  - Sheet Name  - 'Blue'

DATEBLUE COUNT
2021-01-012

 

10 REPLIES 10
clarrock
8 - Asteroid

@grazitti_sapna thanks for the workflow, but I can't output

I get an error : Sheet must exist

 

IMG_20200919_111058.jpg

 

Here are my configurations for flag=1 filter

IMG_20200919_111017__02.jpg

 

Here are my configurations for isnull(Date) filter - I can't see any option like yours to Overwrite sheet or range - only theres Overwrite Sheet (Drop) and Overwrite Sheet (Remove).. Which one should I select? 

IMG_20200919_111029__01.jpg

Labels