Moeez
Moeez

Reputation: 478

Calculate percentage of a return value against the sale value in Power BI

I have a matrix in which there are companies, sale value, and return value.

enter image description here

I want to calculate that what percentage of the return value is from sales value

The sales value can be negative because there can be no sales.

How can I do it?

Any help would be highly appreciated.

Upvotes: 0

Views: 2238

Answers (2)

Ashok Anumula
Ashok Anumula

Reputation: 1515

You do this with measure

Percentage = sum(Table[Return value])/sum(Table[SALES VALUE])

Then select measure and click on % symbol in Measure tools. Numbers will be displayed in %.

Upvotes: 1

Mr Robot
Mr Robot

Reputation: 322

Try with this example, Its posted in powerbi community.

https://community.powerbi.com/t5/Desktop/Measure-to-calculate-average-in-line-stack-bar-chart/m-p/1608563#M650205

Upvotes: 0

Related Questions