Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

'Tis the season to be spooky! Read our new blog, How Spooky is Your City? Mapping and Predicting Scary Stuff. In it, @SusanCS provides a fun glimpse into using data to figure out the creepy quotient of where you live!

Tool Mastery | Input Data

Alteryx Community Team
Alteryx Community Team
Created

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 usedfile 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 -

Comments
6 - Meteoroid

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? 

Alteryx Certified Partner
Alteryx Certified Partner

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.  

8 - Asteroid

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.

7 - Meteor
Is there any good info about using * and ? in inputs?
5 - Atom

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

6 - Meteoroid

@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

 

7 - Meteor

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

5 - Atom

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.

5 - Atom

Great first tool mastery article.

7 - Meteor

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?

5 - Atom

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

Moderator
Moderator

@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!

8 - Asteroid
8 - Asteroid

@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...

5 - Atom

   

5 - Atom

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.

5 - Atom

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

5 - Atom

Thank you! Great insight.

5 - Atom

Pretty helpful

5 - Atom

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

5 - Atom

Great lesson.

5 - Atom

Great Lesson

5 - Atom

Helpful. Thanks.