Someone copies the monthly CSV by hand: load the whole folder instead

Updated 2026-11-27 · 3 min read

Symptom

A master file maintained by hand, and errors when someone is on holiday.

Cause

The report reads one file, not the folder.

Fix

Folder connector, filter on extension, combine.

The problem

Each month a new CSV arrives and someone copies it into a master file by hand.

The fix

Get data › Folder (or SharePoint folder), then Combine. Power Query applies the transformations of a sample file to every file.

let
    Files    = Folder.Files ( "C:\Exports\Sales" ),
    CsvOnly  = Table.SelectRows ( Files, each Text.Lower ( [Extension] ) = ".csv" ),
    Parsed   = Table.AddColumn ( CsvOnly, "Data", each
                   Table.PromoteHeaders ( Csv.Document ( [Content], [Delimiter = ";", Encoding = 65001] ) ) ),
    Keep     = Table.SelectColumns ( Parsed, { "Name", "Data" } ),
    Expanded = Table.ExpandTableColumn ( Keep, "Data", { "Date", "Customer", "Amount" } )
in
    Expanded

Keep learning

Generate a Power BI report for free