Forum Discussion
% of Row
- 6 years ago
Tuan add a measure
Trade Expense % = DIVIDE ( CALCULATE ( SUM ( Table[Amount] ), Table[Transaction Type] = "Trade Expense" ), CALCULATE ( SUM ( Table[Amount] ), Table[Transaction Type] = "Gross Sales ) )and change this measure format to %, you can make the changes to the above expression to meet your business needs.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
Not quite. I want % of another row value.
Maybe this picture will help. I want the Trade Expense to be a % of Gross Sales.
Tuan add a measure
Trade Expense % =
DIVIDE (
CALCULATE ( SUM ( Table[Amount] ), Table[Transaction Type] = "Trade Expense" ),
CALCULATE ( SUM ( Table[Amount] ), Table[Transaction Type] = "Gross Sales )
)
and change this measure format to %, you can make the changes to the above expression to meet your business needs.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!