A food co-op receives one purchasing CSV a month. The January and February files share the same headers, and each includes a final Total row. Set up a folder query so that entering March's file becomes a refresh. The file list is also where you can keep archived copies and unrelated exports out of the import.

Open the folder connector, choose to transform the listing, and filter by the expected extension and naming pattern. Pick a representative file when you combine. In the sample-file transformation, filter out the footer using its distinctive value, such as a purchase ID of Total. Do this before changing column types so the filter can still see the original text. Keep purchase IDs as text to preserve leading zeros, then set numeric types for quantities or prices. Move any automatic Changed Type step after the footer filter if it tries to convert the footer. Keep the source-name field in the combined result or carry it forward from the file listing.

Test what happens on the next delivery

If the January file has eight purchases and February has eleven, group the combined result by source and check for those counts. Place a sample March file in the folder with two purchases and a footer. Refresh and check for exactly two new rows under March. Try another copy with a changed column header to see whether a format drift raises a visible error or creates missing values. Keep the file that demonstrates the failure beside your import instructions.

Decide what the refresh should do with a changed header

Use a disposable March file that changes Purchase ID to Order ID. Refresh the query and check both the preview and loaded table. Depending on the sample transformation, a renamed field can interrupt the refresh or produce missing values. If the supplier confirms the two names have the same meaning, normalize the header before the transformation refers to it. If the field meaning changed, flag the file for review.

After fixing the query, refresh with January, February and March present. The source counts should still be eight, eleven and two. Inspect the March IDs and make sure the footer stayed out. Include a purchase ID such as 0042 in the March test file and check that it still has both leading zeros after refresh.

Sources