I need help with creating scalable measures. The desired end result is to display a business unit with its total weight of selected products, and the selected products separately. In example, I want to display the total weight of the products in business unit 1 in total and then when you select business unit 1 i want to show product 1 and 2 seperately.
I have 9 business units that all have several different products. However, its only the selected products that I'm interested in.
The star schema looks as following.
I have done a measure to summarize the total weight called weight (T). And then a measure for each BU like this
Actual weight (NO) =
BUSINESSUNIT [BUID] = "NO",
PRODUCT[PRODUCT] in ("CORV","RENA") )
It returns the right sum. But how do I show the result for NO that shows the total weight of CORV and RENA separately? If I put the measure in a table and then add product it displays all products, not the selected ones. Also how do I make this scalable? without having to go into each measure ans change the product.