Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Expression

How can I using this expression with right way:

( Qty * sum(Balance) ) / (sum (Qty)

I have table contain Item, Qty and Balance.

8 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Perhaps this (weighted average):

Sum(Qty * Balance) / Sum(Qty)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sunny_talwar

May be this:

Sum(Balance * Qty)/Sum(Qty)

Anonymous
Not applicable
Author

Sorry, I explain it with wrong way

I need to make percentage for each Quantity   >>> single quantity / total quantity

= Qty / sum(Qty)sample.png

= Qty / sum(Qty)

arulsettu
Master III
Master III

try this

sum(Qty)/sum(Total Qty)

Anonymous
Not applicable
Author

still not clear, what exactly you want??

Anonymous
Not applicable
Author

if it is for QTY only then try like:

=Sum(QTY)/Sum(<Total> QTY)

Kushal_Chawda

try below expression

num(sum(Qty)/ sum(Total <Item>Qty),'#.00%')

Anonymous
Not applicable
Author

I put the QV Example to be clearly

Expression Pivot Table