Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pivot table calculations

hi experts


i hav attached the sample qvw

i have a straight table with some dimensions as Branch, Lead BDM and some expressions(which is calculated using conditional formulas). all the expressions do not have sum() calculation. so i have made a total of the rows and that total is displayed on top.

Now, i need to make another pivot table which should display only the total of the dimensions named Lead BDM.

the problem is the calculation of expressions depends on the particular branch. so if i hide the branch column in pivot table, some values are showing null

for ex.

i have lead BDM names as

Andy,

Antony,

Nick,

Peter,

Chris,

David, etc....

Now i have to make a table showing the totals alone.

  1. i.e., Total: Lead BDM Andy,

  Total: Lead BDM Antony,

   Total: Lead BDM Nick, etc... with all the same expressions (total alone).

how can i make it.

Please help me in this regard

1 Solution

Accepted Solutions
stigchel
Partner - Master
Partner - Master

Remove the dimension and then you can use the Aggr function in combination with sum like this:

=Sum(Aggr(YourExpression),[Branch Name]))

See also attached

View solution in original post

5 Replies
mrossoit
Creator II
Creator II

Your file seems to be broken.

Post it again

stigchel
Partner - Master
Partner - Master

Remove the dimension and then you can use the Aggr function in combination with sum like this:

=Sum(Aggr(YourExpression),[Branch Name]))

See also attached

stigchel
Partner - Master
Partner - Master

More background on the Aggr function for example here:

QlikView Technical Brief - AGGR.docx

Not applicable
Author

Hi

try this expression

=Sum(Aggr(Your Expression),[Branch Name]))

Not applicable
Author

hi Piet Hein,

its working

thanks a lot