Alteryx Designer Desktop Discussions

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

Azure data lake file input - how to use

Hamder83
11 - Bolide

Hi 

I'm trying to access a container under my data storage on azure.

And I can login fine.

I have this bounch of .csv files.

My setup is like this: (what do I fill into file path (if I want to donwload all files?))

I have filled this:


Hamder83_2-1653897907648.png

 

Hamder83_1-1653897839597.png





Hamder83_0-1653897770215.png

 

8 REPLIES 8
Hamder83
11 - Bolide

Is there any way to use a wildcard in the file path?

IraWatt
17 - Castor
17 - Castor

Hey @Hamder83,

Do your files have a standardised naming scheme? In which case a batch macro would work to loop through each file. Check out the community video on batch macros if your not familure: https://community.alteryx.com/t5/Interactive-Lessons/Creating-a-Batch-Macro/ta-p/657923.

Essentially a batch macro will let you give the input a list of files to loop through:

IraWatt_0-1654160617166.png

Any questions or issues please ask :)
HTH!
Ira

 

Hamder83
11 - Bolide

Hi @IraWatt  

I found a small python scripts, that made me able to read all subfolders and files:

Hamder83_0-1674049731607.png


And I set my Macro action to update value:

Hamder83_2-1674049798912.png

 

Hamder83_1-1674049777349.png
And if I select 1 file within the macro it works:

Hamder83_3-1674049829942.png



But I get an error when i pass my path into the macro:

 

Hamder83_4-1674049882290.png



Does this make any sense to you?

Hamder83
11 - Bolide

ahhm missed a dash. Now it works.

Hamder83_0-1674050932716.png

 

mahendra0393
6 - Meteoroid

Hi @hamder83

Can you please share workflow. I'm struggling with same problem want to pick multiple files from azure data lake.

 

Thanks

KatieInker
5 - Atom

Me too! please can someone share the workflow. I'm just trying to pick up multiple files with a similar name from azure

BlaseG
7 - Meteor

It would be great if someone could share a workflow on this.  I'm currently trying to set up service to service connection to develop workflows and run them from gallery to import the most recent csv file with a certain naming convention into a SQL database.  I currently do this from a directory, but we're shifting to azure data lake and csv files will be hosted there soon, not a on prem directory.  Any help is really appreciated.  

 

 

BlaseG
7 - Meteor

Hamder can you please share the workflow?  I'm in the same situation.  

Trying to pick up the latest file creation date time stamp, based on wildcard file name such as Item_Master*.  

 

 

Labels