January 2027 will break your budget report: unpivot the month columns now

Updated 2026-11-27 · 2 min read

Symptom

Every new month means editing the query and the visuals.

Cause

One column per month is a layout, not data.

Fix

Unpivot other columns: months become rows.

The problem

The budget arrives as one column per month. You cannot relate it to a date table, and every new month means editing the report.

The fix

Select the columns that describe the row (Entity, Account), then Transform › Unpivot other columns. New months are picked up automatically.

let
    Source   = Excel.Workbook ( File.Contents ( "C:\Data\Budget.xlsx" ), true ),
    Budget   = Source{[Item = "Budget", Kind = "Sheet"]}[Data],
    Unpivot  = Table.UnpivotOtherColumns ( Budget, { "Entity", "Account" }, "Month", "Amount" ),
    Typed    = Table.TransformColumnTypes ( Unpivot, { { "Amount", type number } } )
in
    Typed

Keep learning

Generate a Power BI report for free