'How to get group result using measure in power bi

I want to group the product name and cost per unit using measure. Can anyone help me with this?.

I have table like this - SUMMARIZE(Data,Data[Product name],Data[Cost Per Unit]) - How to calculate sum from this result.

For example I should get result like Chain - 500 by using measure

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source