Level 1: Model the data

Migrate the logic

Tableau to Power BI isn't a chart problem.

The charts are the easy part. A migration lives or dies on the filters, LOD calculations and date rules a workbook quietly depends on.

Updated November 2026Example data, not from a client.
On this page
  1. A workbook with a quiet filter
  2. Pull this out first
  3. Rebuild the logic
  4. Prove the numbers match
  5. What I check

Most Tableau to Power BI plans start with a list of dashboards and a count of charts. That's the visible half, and usually the easy half. What breaks a migration is everything the workbook does before it draws anything: the filters on the data source, the level of detail calculations, the date it really uses, and the rows it quietly leaves out.

Rebuild the charts and skip the logic, and the new report looks right and returns different numbers. Then someone opens the two side by side.

A workbook with a quiet filter

Here's a made-up workbook on the same Revenue table from guide 1. Years ago someone added a data source filter, amount > 0, to hide adjustments. There's a customer total built with a FIXED calculation, {FIXED [Customer] : SUM([Amount])}. And the view is filtered to April.

Tableau shows April revenue of 120.00, because R-002 (-20.00) never makes it past the data source filter. The customer total shows 420.00, R-001 plus R-003. FIXED is computed before the April filter, so May's 300.00 stays in.

Rebuild the same visual in Power BI on the same table and you get 100.00 and 400.00. Neither tool is wrong. They're answering under different rules, and only one set of rules is written anywhere you'd think to look.

Figure 1 · Where the workbook hides its logic

Where a Tableau workbook hides its logic One made-up Tableau view of April revenue for customer C-001 runs through five steps in order. 1: a data source filter, amount greater than 0, drops R-002 (-20.00), leaving 420.00 for the customer. 2: no context filters. 3: a FIXED Customer LOD computes a customer total of 420.00 before the month filter applies. 4: a dimension filter, Month equals April, leaves 120.00. 5: no table calculations. Steps 1, 3 and 4 change the number. ONE TABLEAU VIEW April revenue for C-001, plus a customer total 1 Data source filter amount > 0 drops R-002 (-20.00) 2 Context filters none in this workbook 3 FIXED [Customer] LOD customer total = 420.00 420.00 4 Dimension filter Month = April 120.00 5 Table calculations none in this workbook Steps run top to bottom. Gold ones change the number.
Simplified from Tableau's order of operations. The chart is the last step, not the first. Open full size

Tableau documents the order these steps run in. Tableau's order of operations and its LOD expressions page are worth reading before you plan anything.

Pull this out before you rebuild anything

For every workbook, I write this list down before I open Power BI:

  • Data source and extract filters. Who added them, and why.
  • Context filters. FIXED calculations respect them and ignore ordinary dimension filters.
  • Every LOD calculation. FIXED, INCLUDE or EXCLUDE, and what it's fixed on.
  • Table calculations. What each one computes along.
  • The date each sheet uses. Including any date that's a calculated field.
  • Joins and relationships in the data source. With the row count before and after.
  • The numbers people check. A short list of totals, captured from the live workbook with the filters people actually use.

That last item is the one that gets skipped. Without it, there's nothing to reconcile against later.

Rebuild the logic, then the visuals

Each item on the list gets a written decision before it gets a measure: carry it over, change it, or drop it. The data source filter is a business question, not a technical one. Should adjustments count as revenue? If the answer is no, put the rule in a measure where everyone can see it, and name it so. If the answer is yes, the old Tableau number was wrong, and somebody needs to hear that before go-live, not after.

Revenue = SUM ( Revenue[amount] )

// Same idea as
// {FIXED [Customer] : SUM([Amount])}
Revenue (customer total) =
CALCULATE (
    [Revenue],
    REMOVEFILTERS (),
    VALUES ( Customer[customer] )
)

// Only if the business decides
// adjustments stay out
Revenue (excl. adjustments) =
CALCULATE ( [Revenue], Revenue[amount] > 0 )

FIXED [Customer] keeps the customer filter and ignores the other dimension filters. REMOVEFILTERS() with VALUES(Customer[customer]) does the same job in DAX: clear the filters, then put back the customers in the current context. It isn't a perfect match. FIXED still respects context filters and data source filters, so carry those over as separate, named decisions.

Prove the numbers match

Matching isn't a feeling. Before cutover, I build a reconciliation: one row per checked number, the Tableau value, the Power BI value, the gap, and the rows that explain the gap.

SELECT 'April revenue' AS check_name,
       SUM(CASE WHEN amount > 0
           THEN amount END) AS tableau_rule,
       SUM(amount) AS power_bi_rule
FROM revenue
WHERE reporting_date >= '2025-04-01'
  AND reporting_date <  '2025-05-01'
UNION ALL
SELECT 'Customer total',
       SUM(CASE WHEN amount > 0
           THEN amount END),
       SUM(amount)
FROM revenue
WHERE customer = 'C-001';

Run against the example, it returns April revenue 120.00 against 100.00, and customer total 420.00 against 400.00. Then find the rows behind the gap:

-- Which rows explain the gap?
SELECT id, reporting_date, amount
FROM revenue
WHERE customer = 'C-001'
  AND NOT (amount > 0);

One row back: R-002, 2025-04-01, -20.00. Both gaps trace to it.

Figure 2 · Prove it matches

Reconciliation: Tableau and Power BI numbers side by side A reconciliation card compares two checks. April revenue: Tableau 120.00, Power BI 100.00, gap -20.00. Customer total: Tableau 420.00, Power BI 400.00, gap -20.00. Both gaps trace to R-002, the -20.00 row the Tableau data source filter drops, so the team must decide whether adjustments stay in or come out on purpose. Reconciliation CHECK TABLEAU POWER BI GAP April revenue 120.00 100.00 -20.00 Customer total 420.00 400.00 -20.00 EVERY GAP TRACES TO ROWS Both gaps are R-002 (-20.00), the row the data source filter drops. Decide: keep adjustments, or drop them on purpose.
A gap you can explain in rows is a decision. A gap you can't explain is a bug in one of the two reports. Open full size

What I check before any tool answers from a model

  1. Have I listed every filter, LOD calculation and date rule before rebuilding a chart?
  2. Does each one have a written decision: carry over, change or drop?
  3. Do the checked totals reconcile, with every gap traced to rows?
  4. Did someone who uses the report sign off on those decisions, not just on the visuals?

Migrate the logic. The charts come along.

Moving workbooks one at a time?

Needs a coding agent on Windows. Not there yet? Start with the free starter.

See BI Bridge

Related