The problem
A 40-column sheet repeats the customer name, region and segment on every order line. Slicers are slow and some totals double-count.
The fix
- Keep in the fact table only keys, dates and amounts: Date, CustomerID, ProductID, Quantity, Amount.
- In Power Query, reference the source and build dimensions with Remove other columns + Remove duplicates: Customer (ID, name, region, segment), Product (ID, family).
- Relate each dimension to the fact table, one to many, single direction.
- Put slicers on dimension columns, never on fact columns.
// Customer dimension, referencing the Sales query
let
Source = Sales,
Columns = Table.SelectColumns ( Source, { "CustomerID", "Customer", "Region", "Segment" } ),
Unique = Table.Distinct ( Columns, { "CustomerID" } )
in
Unique