Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #118: Think Like a CSE - A not-so-wild-wildcard input!

JamesCharnley
パルサー
スポイラ
JamesCharnley_0-1658496220118.pngJamesCharnley_1-1658496273795.png

 

 

Seen a lot of issues like this come up on the community but I've never tried to do it before. Nice to learn something new, but will need to continue this learning I think. Still feels very foreign

FilipR
ボリード

Solved.

 

スポイラ
FilipR_0-1659718416507.pngFilipR_1-1659718424389.png

 

acarter881
クエーサー

This one was very frustrating, but my solution works and scales to accommodate any number of workbooks. All one has to do is determine which file should be the template file (i.e., the schema to base the other workbooks on).

スポイラ
my_weekly_challenge_118_solution.pngdemonstration.png

 

FrederikE
パルサー
スポイラ
FrederikE_0-1660595774813.pngFrederikE_1-1660595776343.png

 

grazitti_sapna
キャスター

Macro always do the miracles. :)

Sapna Gupta
Reesetrain2
9 - Comet
9 - Comet

All,

 

My submission,

スポイラ
Capture.PNG

JoshuaB
Alteryx
Alteryx

Updating from my old account

Joshua Burkhow | Chief Evangelist @ Alteryx | Follow me on LinkedIn and Twitter
martinding
パルサー

118-1.png

スポイラ
118.png

  

acarter881
クエーサー

Here's another one of my solutions. I believe this solution is correct, whereas my previous solution was a bit hacky.

 

スポイラ
I quickly identified two problems with the Excel workbooks:
1. Fields may differ across workbooks.
2. Sheet names may differ across workbooks.

I decided to create two batch macros.
1. Batch Macro #1 iterates over the FileName field from the directory tool (input to the directory tool is requesting that Alteryx reads in all files that follow the format File*.xlsx and returns the full path (i.e., both the file name and the properly formatted sheet name).
2. Batch Macro #2 iterates over the full paths, auto configures the fields by name, and allows the output fields to change based upon the input. The result is a union of all of the files.

Batch Macro #1
acarter881_0-1667683131964.png

Batch Macro #2

acarter881_1-1667683157951.png

Workflow

acarter881_2-1667683169878.png

 

 

 

Kinga
アステロイド

hi,

 

Please find my solution.

 

スポイラ
Kinga_0-1668529608369.png