Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Relative % of row total

Hi QV experts!

Hoping to add a column that can provide % CQ product or % of CQ renewals relative to CQ total in this pivot table.

QV-q relative %.JPG

I've tried this expressions:

=sum(if(InQuarter(SalesOrderDate, Today(),0),Amount))

/

sum(TOTAL(if(InQuarter(SalesOrderDate, Today(),0),Amount)))

However it provides the % relative to cumulative (column) total.

Your help would be much appreciated!

1 Solution

Accepted Solutions
sunny_talwar

May be this

=Sum(If(InQuarter(SalesOrderDate, Today(), 0), Amount))/

Sum(TOTAL <Theater, Area, SalesManager> (If(InQuarter(SalesOrderDate, Today(), 0), Amount)))

View solution in original post

3 Replies
qv_testing
Specialist II
Specialist II

May be this,

SUM(Amount)/SUM(TOTAL Amount)

OR

sum(Amount)/above(total sum(Amount)).

OR

SUM(Amount)/SUM(TOTAL <URDimension> Amount)

sunny_talwar

May be this

=Sum(If(InQuarter(SalesOrderDate, Today(), 0), Amount))/

Sum(TOTAL <Theater, Area, SalesManager> (If(InQuarter(SalesOrderDate, Today(), 0), Amount)))

Anonymous
Not applicable
Author

Sunny!! Thank you! You are correct!

The multiple dimensions in the pivot  were a little confusing.

Thanks once again for your help!