Forum Discussion

BerrySundae's avatar
BerrySundae
New Member
3 years ago

Making a Calculated Column like in a Pivot Table in PowerBI Matrix

Hello, I am simply trying to make a calculated column in a PowerBI Matrix like this one in Excel:

 

https://imgur.com/a/ouvab8W

 

As you can in the image link, column D is a calculated column that simply divides the cell in column C by the cell in column B.

 

I am trying to duplicate this in a PowerBI matrix. I cannot use normal aggregation methods because they end up weighted incorrectly. For example, there are a lot of products with low profiability, but they do not have many sales. Normal methods incorrectly average them with everything else instead of weighting the average profit by the amount of sales.

2 Replies