Stop 02 · Connecting to DataTopics · 8/8

Refreshing Data in Power BI Desktop

Part of the Power BI Roadmap

In short

A report is only useful if the numbers are current. Refresh is the button that pulls new rows from every source and replays all your cleaning steps in seconds.

Refresh reloads data from the sources and reruns every Power Query step, so changes in source files show up in your report.

The jaadu cranks an old printing press as fresh newspapers with the same layout slide out onto a growing stack.

Think of it like this

Reprinting the morning paper

A newspaper's layout stays the same each day: same columns, same fonts, same sections. Only the news inside changes. Refresh reprints your report with today's news while every layout and recipe stays put.

Watch it happen

What one click on Refresh does

Refresh
Read sources
Replay steps
Recalculate
Visuals update

1/5Click Refresh on the Home ribbon, or refresh one table from the Data pane.

The big ideas

What you need to know

Refresh all or one

Home, Refresh reloads every table. Right-click a table and choose Refresh data for just that one.

Steps replay

Your Power Query steps are a recipe, not a one-time edit. They run in full on every refresh.

Changed columns break steps

If a source renames a column, any step that names it will fail with an error on refresh.

Desktop is manual

Desktop only refreshes when you click. Scheduled refresh is set up in the Service after publishing.

See it in code

Walk through the code

m
1// New blank query named LastRefresh2let3    Source = #table(4        type table [#"Refreshed At" = datetime],5        {{DateTime.LocalNow()}}6    )7in8    Source

1/2#table builds a table with one datetime column and one row.

A one-row table holding the time of the last refresh. Put it on a card so viewers know how fresh the data is.

Save yourself the pain

Common mistakes

Oops

Renaming a column in the source Excel file and wondering why refresh fails.

Do this instead

Keep source column names stable, or update the Power Query step that refers to the old name.

Oops

Thinking you must refresh to see a new measure's result.

Do this instead

Measures calculate instantly. Refresh is only for reloading data from sources.

Your mission

Watch a refresh work

~15 min

Quick check

You renamed the column Amt to Amount in the source file. What happens on the next refresh?

Go deeper

  1. 1Edit your source CSV, refresh, and check the report updates.
  2. 2Turn off 'Include in report refresh' for static lookup tables.
  3. 3Note how long refresh takes as your model grows.

More topics at this stop

Stuck on this topic? Ask an Insider

Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.

Download
InsideEdge