Tool Mastery

Explore a diverse compilation of articles that take an in-depth look at Designer tools.
Become a Tool Master

Learn how you can share your expertise with the Community

LEARN MORE

Tool Mastery | Input Data

MattD
Alteryx Alumni (Retired)
Créé

Input Data.pngThis article is part of the Tool Mastery Series, a compilation of Knowledge Base contributions to introduce diverse working examples for Designer Tools. Here we’ll delve into uses of the Input Data Tool on our way to mastering the Alteryx Designer:

 

The Input Data Tool is where it all starts in the Designer. Sure, you can bring in webscraped or API data with the Download Tool (master it here) and our prebuilt Connector Tools, but the tool that makes it a breeze to grab data from your most used file formats and databases is the Input Data Tool. Behold:

 

  • Input any supported file format with a simple file browse:

 

2018-11-14_15-16-14.png

 

 

 

2018-11-14_15-17-54.png

 

 

2018-11-14_15-20-07.png

 

2018-11-14_15-23-49.png

 

Done and done. Once the input file is selected you can preview the incoming dataset in the tool’s configuration menu.

 

Be sure to look into saving your database connections as aliasesfor quicker input later on!

 

 

You can also use the Input Data Tool with a wildcard (*) to input multiple files of the same schema from a single directory. Learn how to use the wildcard and input tables of different schemas here.

 

Looking for more dynamic inputs? We’ve got you covered with theDynamic Input Tool! Master it here.

 

Note: If you’re sharing workflows with inputs, be sure to exportif the recipient doesn’t have the same input file on their computer already.

By now, you should have expert-level proficiency with the Input Data Tool! If you can think of a use case we left out, feel free to use the comments section below! Consider yourself a Tool Master already? Let us know at community@alteryx.com if you’d like your creative tool uses to be featured in the Tool Mastery Series.

 

Stay tuned with our latest posts everyTool Tuesdayby followingAlteryxon Twitter! If you want to master all the Designer tools, considersubscribingfor email notifications.

Click on the corresponding language link below to access this article in another language -

Commentaires
Eric227
Météoroïde

I'm trying to use the Pre SQL Statement to limit the importation of data to improve load time.

1) Do you have an example of a Pre SQL Statement?

2) What is the best methodology to limit the importation of data when it's a simple filter? 

andrewdatakim
12 - Quasar
12 - Quasar

Hi @Eric227,

 

You don’t need to use the preSQL statement to accomplish limiting.  If you look at the first line under the connection drop down box there is a parameter option called “Record Limit” you just need to type in a numerical value and it will limit the record pull for you.  

WillTravelForData
Astéroïde

This article is part Lesson 2 of the "Getting Started with the Alteryx Designer" curriculum.  You can find a link to the curriculum at the bottom of the Academy Overview page here: https://community.alteryx.com/t5/Overview/bd-p/academy-overview.   If you do the "Connecting to Data" tutorial, you can find the links to the 3 "Read about" items listed for lesson 2.  I'm finding the curriculum very helpful.

Abell
Météore
Is there any good info about using * and ? in inputs?
Nithyanand
Atome

Hi,

 

While executing an SQL Query through ODBC Connection, i need to filter the date field available in the table dynamically in the critera.

I have tried Date(), CURDATE(), GETDATE(), DATETIMETODAY(), DATETIMENOW() and few other formats to get dynamic date criteria. But not of them seems to work. Since the table has millions of records, it takes time to download and then filter.

Kindly suggest a better way to give the date criterila in the query itself

Deliverance
Météore

@Nithyanand, I have to do this as well but am not to the point I can test yet. Sounds like you'd use the Dynamic Input Tool linked near the bottom of the article.

 

https://help.alteryx.com/current/DynamicInput.htm

 

zammar
Météore

are there limits to the file types? I noticed txt files don't seem to work.

devynjeska
Atome

I really wish there was an option to use a SQL file as the source of the SQL for the Database Connection functionality. I've tried using the dynamic input tool for this, but run into issues when my file is too long. The summarize/concat tool ends up truncating the string so it fails.

Omanesma
Atome

Great first tool mastery article.

scottonsports
Météore

What if I had an Excel file with 5 sheets. The schema is exactly the same with all sheets, they simply represent a different month per sheet. How could I import all of the data at the same time? Would I need 5 separate input tools?

jessicasupp
Atome

The "Unzip and input .zip files" link says access denied.

KylieF
Alteryx Community Team
Alteryx Community Team

@jessicasupp

 

Good catch! The article previously linked there was very out of date, so we archived it. I've updated the link to our help documentation about .zip files. Thank you!

DawnDuong
13 - Pulsar
13 - Pulsar

@scottonsports  I often use Dynamic input or Batch macro to get inputs from multiple spreadsheets of the same schema. This also works if the sheets are located in different excel files.

There is a more comprehensive discussion in this thread which you can check out:

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-To-Import-Multiple-Excel-Sheets...

framadan
Atome

   

jrsupp
Atome

This is really helpful! I appreciate the links, especially the file format list and zip file support. The wildcard for importing multiple similar files (and the input flowchart) is great to know about.

AnthonyFGCR
Atome

Pretty helpful, thank you guys, great job! Love Alteryx!!!

Thank you! Great insight.

Pretty helpful

SandyWindsor
Atome

How can I re-order my input run when I add a new one?

Xdejesus
Atome

Great lesson.

Libarra2895
Atome

Great Lesson

Kelly2
Atome

Helpful. Thanks.

dokmanc
Météoroïde

First you show opening up an AddressData.yxdb file. Then, in the next image, you are selecting a sheet. because of the sequence of the pictures with no explanation, I assumed that this was going to be the next thing that I saw after opening up the AddressData.yxdb file. But no. If you look closely, that the user must have opened up a different file, an Excel spreadsheet. This "article", which I was referred to by my trainer as reading material, was a waste of time. 

jalizmaldonado
Astéroïde

Hi Alteryx team, I hope all is well. 

 

I think it would be helpful if your team created gifs to teach your users how to master this tool. A series of gifs might be more helpful than screenshots. 

 

Best,

jalizmaldonado
Astéroïde

Hi Alteryx team, I hope all is well. 

 

I think the team should consider SEO optimizing this page so it's easier to search for whether through the "Search the Community" search box or google (your marketing team would know what I mean). One way to optimize it is by naming your photos by the keyword phrases used on this page. 

 

Best,

 

Jaliz Maldonado

FláviaB
Alteryx Community Team
Alteryx Community Team

Hey @jalizmaldonado! We appreciate your ideas. In fact. I encourage you to share them with our team directly through our Community Ideas board

Thanks for being part of the Alteryx Community! 

 

 

mjsnyder
Météore

Very helpful, thanks for the great insight.

rohit782192
Bolide

Thank you.

RobPearce
Astéroïde

Hey look, my first comment!  Yay!

Great Self interactive learning

Yaster99
Atome

Thank you for the article

emerymelvin3
Météoroïde

This was a very informative article.

npulluri
Atome

Thanks you for the helpful article

tanthony17
Atome

Thank you for the helpful article

nclein2704
Météoroïde

Interesting

Tyrane782001
Météore

ok

bfangman
Atome

Thank you

sunchega
Atome

Hi Team,

 

New BI things to learn.. happy to learning 

Jaja_gopal
Atome

Interesting

mvtejano
Météore

Interesting and very helpful. Thank you.

not bad

mr107
Atome

good one functionality.

Gunalan_Arul
Atome

Very Interesting👍

Nice

Aniket_18
Météoroïde

nice article

Gayitri420
Météore

I'm trying to use the Pre SQL Statement to limit the importation of data to improve load time.

1) Do you have an example of a Pre SQL Statement?

2) What is the best methodology to limit the importation of data when it's a simple filter? 

 
 
 
 
 
Anitha1289
Météore

Great first tool mastery article.

Shyam_amarapu_2002
Météore

5-atom

 

Kjhansi
Atome

Its good to use learning 

GuthurthiRaju
Météoroïde

it good learning platform