Alteryx: Directory and Dynamic Input

I’m currently working on gym dashboard, which combines data from multiple sources so I can directly compare elements like my diet and sleep to my gym performance.

However one of the first issues I noticed was that a large amount of my Google Health data is stored in multiple different CSVs.

For example, see below my daily distance walked data from my FitBit, which has been stored in a separate sheet for each month.

The image displays a list of date-stamped entries, likely representing distances recorded on consecutive days in the year 2026.

AI-generated content may be incorrect.

 

A great way we can make use of all these files is with the directories tool in Alteryx!

The Directory tool can be found in the In/Out tab of the Tool Palette

 

Output

AI-generated content may be incorrect.

After dragging it into the workflow canvas, you can select the file location of your folder. After selecting your folder, you need to set the File Specification to the same file type as the those your want to import. In this case *.csv*.

Physical Activity Google Data

AI-generated content may be incorrect.

Now we have our directory imported we need to use the Dynamic Input tool found in the Developer tab, in order to read the contents of each CSV file listed by the Directory tool and combine them into a single dataset.

 

The image displays a user interface with various analytics and dynamic fields, including demographic analysis and options to rename or replace inputs.

AI-generated content may be incorrect.

 

Hit edit on Input Data Source Template and select one the files from the directory folder. This will act as a template, telling Alteryx which columns and data types to expect, so it can then read every other file in the folder the same way.

 

The image shows a software interface with a list of data files, each displaying properties like date modified, size, and a preview icon.

AI-generated content may be incorrect.

 

 

Following this select Field: FullPath and Action: Change Entire File Path.

The image depicts a data source management interface with a field labeled 'FullPath' and a selection option to 'Change Entire File Path'.

AI-generated content may be incorrect.

Now we have all the data we need Unioned into one table.

The image displays a data table listing timestamps and corresponding distances, all recorded by the same device, Inspire 2.

AI-generated content may be incorrect.
Author:
Alexander Mackay-Smith
Powered by The Information Lab
1st Floor, 25 Watling Street, London, EC4M 9BR
Subscribe
to our Newsletter
Get the lastest news about The Data School and application tips
Subscribe now
© 2026 The Information Lab