Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pivot_expression

Dear all

Seek your expertise. I have a pivot table as below:

DirectionNo of AccountApproved Limit (RM'm)=Aggr(Sum(TMLimit),TM)/ Sum({$<TM-={9700}>} TMLimit)
Non Target124770.029837476
Selective422,3820.043216205
Target85090.038476882

I failed to get the desired result for last column as below

14%

71%

15%

rgrds

1 Solution

Accepted Solutions
amars
Specialist
Specialist

Hi Alex,

Try out this one for %

Aggr(Sum(TMLimit),TM) / Sum(Total Aggr(Sum(TMLimit),TM))

and convert it into % in the Numbers tab.

Thanks

View solution in original post

3 Replies
narender123
Specialist
Specialist

Hi,

There is no TM column in your pivot table .1st you have to add TM for aggregation. if you want the result in % then you have to check "Relative" check box(in property of pivot table)  also check  % in number field of property of pivot chart..after this you can get the result in %.

Thanks.

Regards:

Narender

Not applicable
Author

1. Direction is the calculated TM dimension:

= if(SCC <> 9700, TM)

2. the result is not accurate even i convert them to %

amars
Specialist
Specialist

Hi Alex,

Try out this one for %

Aggr(Sum(TMLimit),TM) / Sum(Total Aggr(Sum(TMLimit),TM))

and convert it into % in the Numbers tab.

Thanks