Forum Discussion
wooand
9 years agoHelper II
Calculating Percentage Values
So, in the table below I need to calculate the 'Percentage Volume' and 'Percentage Cost' columns. Can anyone help me please?
Hi wooand
Here you go:
Percentage Volume = DIVIDE( SUM(Table1[Total Volume]), CALCULATE( SUM(Table1[Total Volume]), ALLSELECTED() ) ) Percentage Cost = DIVIDE( SUM(Table1[Total Cost]), CALCULATE( SUM(Table1[Total Cost]), ALLSELECTED() ) )
Thanks, N -
3 Replies
- nickchobotarSkilled Sharer
Hi wooand
Here you go:
Percentage Volume = DIVIDE( SUM(Table1[Total Volume]), CALCULATE( SUM(Table1[Total Volume]), ALLSELECTED() ) ) Percentage Cost = DIVIDE( SUM(Table1[Total Cost]), CALCULATE( SUM(Table1[Total Cost]), ALLSELECTED() ) )
Thanks, N -
- wooandHelper II
Perfect. Many thanks indeed nickchobotar. You've saved my keyboard from a beating!
- nickchobotarSkilled Sharer
Thank you wooand