Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
musketeers
Creator
Creator

%age in pivot table

Hi,

Need to calculate %age in pivot table. Consider this situation in excel (for example):

Sum of Quantity
Product_InfoModel_InfoTotal
Product-1Model-1100
Model-2150
Model-312
Model-470
Model-550
Model-6200
Product-1 Total582
Product-2Model-1450
Model-2500
Model-3230
Model-4100
Model-590
Model-640
Product-2 Total1410
Product-3Model-134
Model-245
Model-323
Model-467
Model-5500
Model-656
Product-3 Total725
Grand Total2717

Now for each Model in product I need to calculate percentage like for Model 1 in Product 1 the formula will be Total of Model 1 divided by Product-1 Total. ( 100/582) In the same way for other models.

Please guide me how we can do it in Qlikview.

Thanks

Rajneesh

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Check enclosed file....

View solution in original post

4 Replies
senarath
Creator III
Creator III

Hi,

Hi you can select show Relative and get the percentage. So duplicate the same expression and modify it to show relative and check show values in data points,etc.

thanx

MK_QSL
MVP
MVP

Use below expression

SUM(Total)/SUM(TOTAL <Model_Info> Total)

or

SUM(Value)/SUM(TOTAL <Model_Info> Value)

musketeers
Creator
Creator
Author

Hi,

Actually I need to do these things in pivot table. I am using AGGR function but it is not working also.

Thanks

MK_QSL
MVP
MVP

Check enclosed file....