Open course · Power BI

Messy files in,one clean table out.

Headers, types and errors fixed, months unpivoted into rows, and a whole folder of monthly files combined into one table that grows on its own. Read a lesson, then build it in your own workspace. This browser keeps the lessons you mark as done.

Before you start

What you need, what you build.

You need0 of 2 ready
You build

One query that turns a messy export into a clean table (headers, types, trimmed text, errors handled), unpivots month columns into rows, and then reads every file in a folder the same way.

3 lessons · about 10 min to read, longer to build
Lesson 1 of 3 · 3 min

Headers, types and errors

Profile the whole column, promote the headers, set types with the right locale, trim text, and decide what happens to every error.

Video coming soonHeaders, types and errorsUntil then, the lesson below walks through every step.
Next lessonUnpivot and split
Lesson 2 of 3 · 4 min

Unpivot and split

Turn twelve month columns into rows, split a combined code into its parts, and end with one row per fact.

Video coming soonUnpivot and splitUntil then, the lesson below walks through every step.
Next lessonA folder of files
Lesson 3 of 3 · 3 min

A folder of files

Combine every file in a folder with one sample query, so next month's file is picked up by a refresh.

Video coming soonA folder of filesUntil then, the lesson below walks through every step.
Take it further

The next course is on the way.

Semantic models people trust goes further than this one: 5 lessons, free and open like this one. Tell Behnia if you want it first.