I need create a measure that takes the sum of sales of certain products and then shows that sum on a row with a different product.
I can get the desired sum as follows: Sales of A:=CALCULATE([Sales], 'Product'[Product] = "Product A")
Now I need to show that amount where the product is "Product B" (and the Customer is the same).
| Product | Customer | Sales | Sales of A | Moved Sales |
|---|---|---|---|---|
| Product A | ABC | 10 | 10 | |
| Product A | DEF | 20 | 20 | |
| Product B | ABC | 30 | 10 | 10 |
| Product B | DEF | 40 | 20 | 20 |
| Product C | ABC | 50 | 10 |
A simple Moved Sales:=CALCULATE([Sales of A], KEEPFILTERS('Product'[Product] = "Product B")) does not work because the filter is removed by the inner calculation.



