Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Multiple parents hierarchy issue

Hi,

I would like to compute the total cost of each product (A, B...) which are made up of subproducts. Subproducts used in other products are listed in the column "Key". The column "Cost" represent the cost of the prodcut without subproducts.

As an exemple, Product F is made up of F and H (looking at the letters in column "Key" ).So its total cost is 12 (F cost)+2 (H cost)=14.

Is there anyone knowing how to answer this question in DAX ?

Thanks

 

 

 

2 Replies