<- All articles
Power BI

Power BI the Practical Way: From Raw Data to a Dashboard People Actually Use

How to build a Power BI report that stays correct when the data changes — clean the data in Power Query, write the DAX once, and let refresh do the rest.

A Power BI dashboard is only useful if it is still correct next month, when the data has changed and nobody is watching. The trick is not a fancier chart — it is building the report so the new data flows through the same cleaning and the same calculations, automatically.

The problem

A sales report is built by hand in Excel every month: copy the new data, fix the formats, re-type the totals, rebuild the charts. It takes a day, and one wrong paste makes the whole month wrong. The goal is a report that is built once and refreshed in one click.

Step 1 — Clean once in Power Query, never again

Raw data is rarely clean: dates stored as text, extra spaces in product names, blank rows at the bottom. Fixing these by hand every month is the slow part. In Power Query, each cleaning step is recorded, so next month the same steps run on the new file automatically.

Typical Power Query steps:
1. Remove blank rows and extra header rows
2. Change the date column type to Date
3. Trim spaces and fix the case of product names
4. Split one column into two where needed (for example, "Branch - Product")

Do the cleaning here, not in the visuals. A visual built on dirty data will lie politely.

Step 2 — When the data changes, Change Source and Refresh

Sample data is only a template. When the real file arrives, use Home → Transform data → Data source settings → Change Source, point Power BI at the real file, and press Refresh. If the column names match, the same cleaning steps and the same visuals now show the real data. This is the step most people miss: they rebuild the report instead of changing the source.

Step 3 — Write the DAX once, let it calculate forever

A measure written once calculates itself on new data. The two ideas that cover most reports are simple: SUM for totals, and CALCULATE for totals with a condition.

Total Sales = SUM(Sales[Amount])

Dhaka Sales = CALCULATE(SUM(Sales[Amount]), Sales[Branch] = "Dhaka")

Sales Share % =
DIVIDE([Total Sales], CALCULATE([Total Sales], ALL(Sales)))

CALCULATE changes the filter context — it answers "the same total, but only for this branch". DIVIDE is safer than / because it returns blank instead of an error when the denominator is zero. Write the measure once, use it in every visual, and it stays correct when the data refreshes.

Step 4 — Present it in four steps

A dashboard is read by a manager in under a minute. Order it the way they think: what happened, where it happened, why it happened, and what to do next. Total sales first, then the breakdown by branch and product, then the reason (one branch fell, one product rose), then the action. A price cut or an offer comes only after the cause is checked — never before.

Result

One file, built once: Power Query cleans the new data, DAX recalculates every measure, and Refresh brings in the month in one click. The report that took a day now takes a minute, and the numbers are the same every time because no one re-types them.