Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

% AGAINST TOTAL

Hi Friends

In my QV document I have following pivot table

123
CLASSNOS%
A1,46195%
A735%
A10%
A1,535100%
B18796%
B84%
B195100%
B1,17594%
B776%
B00%
B10%
B1,253100%
C.21,72793%
C.1,6467%
C.110%
C.10%
C.10%
C.23,386100%
D85684%
D15415%
D50%
D10%
D1,016100%
TOTAL27,385100%

In fact data is available only for Column 1 and 2 . I want to calculate % as shown in cloumn 3. Pls help me to write a expression for it

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

can you post your sample data?

Just i created the sample based on your input..

check the attachment..

View solution in original post

14 Replies
sunny_talwar

How are you calculating those percentages out of QlikView? Can you explain the logic?

upaliwije
Creator II
Creator II
Author

That is why I m seeking your help to know whether there is any possibility of doing so in QV

sunny_talwar

We can do things which have some logic. Unless you know what the logic is, I feel I won't be much of a help because I def. do not know what logic is being followed .

upaliwije
Creator II
Creator II
Author

Thanks

In Fact my logic is to calculate the % of Nos within each class

settu_periasamy
Master III
Master III

Try Like this..

=sum(NOS)/sum(TOTAL <CLASS> NOS)

In the Number Tab -> Fixed to -> 0  and Show in Percent (%)

sunny_talwar

How will you get this result with the above expression Settu Periasamy

B18796%
B84%
B195100%
B1,17594%
B776%
B00%
B10%
B1,253100%
upaliwije
Creator II
Creator II
Author

THANKS

But it does not produce the results

settu_periasamy
Master III
Master III

Just i assumed, he have another one dimension in his chart. 🙂  May be like B1 and B2

settu_periasamy
Master III
Master III

can you post your sample data?

Just i created the sample based on your input..

check the attachment..