Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
Not applicable

calculating total values alone in pivot table

Hi experts,

i have the following straight table with some dimensions as BDM, 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 table(pivot or straight 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. but, if i hide branch column in straight table, i get the expected values.

Either of the two is fine i.e., pivot or straight, i have to make a table of total values of Lead BDM alone.

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.

i.e., Total: Lead BDM Andy,

  Total: Lead BDM Antony,

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

how can i make it.

Please help me in this regard

11 Replies
Not applicable

Re: calculating total values alone in pivot table

try Sum(total <BDM> Field_Name)

RL

Not applicable

Re: calculating total values alone in pivot table

hi,

thanks for ur reply.

I tried but its not working.

please provide me with complete script

Not applicable

Re: calculating total values alone in pivot table

You got to use that as an expression.

RL

Partner
Partner

Re: calculating total values alone in pivot table

Hi PR,

are you able to add your qvw to the post please?

Andy

Not applicable

Re: calculating total values alone in pivot table

i tried in expression only. its showing zero values.

any other suggestions please

Not applicable

Re: calculating total values alone in pivot table

please see example built on test script.

RL

Not applicable

Re: calculating total values alone in pivot table

i hav attached the sample qvw

please help me to calculate only the total of Lead BDM in another pivot table excluding BDM & branch

Not applicable

Re: calculating total values alone in pivot table

the total of Lead BDM for all expressions will be similar to the above screenshot

Not applicable

Re: calculating total values alone in pivot table

Based on your QVW