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

Alteryx Designer Desktop Discussions

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

Multiple File Data Analysis

rdlouviere
6 - Meteoroid

So I have successfully pulled in a directory of multiple files with data from a single page from each of the multiple files. However, there are multiple instances of a specific material name in each file page and I want to filter my data to only the row of data from the first instance of the material name for each file. 

 

For example, if my table looks like the below, I want to filter out the second time that the material name appears for each file name. I thought that I could do this using a sample tool and grouping by file name but that did not work. Any insights are much appreciated. 

 

Material NameConsumption QtyFile NameOther data
FC2375 12000October 2024XXXX...
FC2375112000October 2024XXXX...
CX 31951100October 2024

XXXX...

FC237513000November 2025

XXXX...

FC23751000November 2025

XXXX...

CX3195110000November 2025

XXXX...

2 REPLIES 2
DanM
Alteryx Community Team
Alteryx Community Team

@rdlouviere  If you can, add a Record ID, then sort the data by your Material Name. Check out the multi-row formula tool. You can group by each Material name and do an IF statement. Something like, if Material Name = Material Name Row-1 then Material Name Row-1 + 1 else 1 endif. That will then essentially create a new record ID for each Material Name row. You can then filter out the number 2 record and get the second row of data from each file. 

 

https://community.alteryx.com/t5/Tool-Mastery/Tool-Mastery-Multi-Row-Formula/ta-p/86603

 

apathetichell
20 - Arcturus

tile tool. unique value. select the combo of your two fields. filter tool ---> you want tile sequence number to equal 1.

Labels
Top Solution Authors