Here's my basic Power Pivot data model:
The Sales table has basic transactions data: CustomerID, Product ID, Sales Amount etc. and is connected to the Products -table via Product ID and Customers table with the Customer ID. These tables are connected to the CustomerGroups and ProductGroups tables with GroupIDs.
How do I write a CALCULATE -measure that tells me the NetSales of each ProductGroup for each CustomerGroup even when the pivot table is showing the ProductIDs and CustomerIDs (ie. just the subtotals but for each row)? All the CALCULATE examples seem to have either static values or the SAMEPERIODLASTYEAR-function as the filter values but I'd just need the "level up" values.
The Sales table has basic transactions data: CustomerID, Product ID, Sales Amount etc. and is connected to the Products -table via Product ID and Customers table with the Customer ID. These tables are connected to the CustomerGroups and ProductGroups tables with GroupIDs.
How do I write a CALCULATE -measure that tells me the NetSales of each ProductGroup for each CustomerGroup even when the pivot table is showing the ProductIDs and CustomerIDs (ie. just the subtotals but for each row)? All the CALCULATE examples seem to have either static values or the SAMEPERIODLASTYEAR-function as the filter values but I'd just need the "level up" values.