Preparing Power BI and Tableau Reports: Data Checks Before Visualization
What should you check before building a Power BI or Tableau dashboard?
Before building visuals, define every KPI precisely (formula, aggregation, units, filters, null handling, comparison period), confirm the grain of each table and how tables relate, check for duplicates that would double count, and reconcile totals with a trusted source. Then build measures in the platform's own language — DAX in Power BI, calculated fields in Tableau — and test filters and date boundaries.
Define KPIs before charts
“Revenue” can mean gross or net, with or without tax, by order date or invoice date. Write one definition per KPI and use it in every visual, tab, and export. Also define how nulls and zeros are handled and which period each KPI is compared to.
Check grain and relationships
- Know what one row means in each table.
- In Power BI, check relationship cardinality. An unexpected many-to-many usually means a key isn't unique.
- In Tableau, joining an order-line table to an order header repeats header values like shipping cost, so summing them overcounts. Relationships or LOD expressions avoid this.
Example measures
Revenue = SUM ( Sales[Amount] )
Revenue vs Target % =
DIVIDE ( [Revenue] - SUM ( Targets[Target] ), SUM ( Targets[Target] ) )
Revenue LY =
CALCULATE ( [Revenue], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )DIVIDE returns blank instead of an error when the target is zero. Time-intelligence functions like SAMEPERIODLASTYEAR need a proper date table marked as a date table.
// Tableau: shipping cost counted once per order, even on a line-level view
{ FIXED [Order ID] : MAX([Shipping Cost]) }Validate before sharing
- Reconcile dashboard totals to a trusted query.
- Test each filter and the first and last day of each date range.
- Check that labels, units, and number formats are correct.
- Avoid truncated axes on bar charts and other misleading scales.
Related skills
Data Analyst Toolkit includes AI-agent skills that follow this method: