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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Aspiring_Developer
Specialist
Specialist

Totals in pivot

Hi All,

I have below table :-

Dimension - LOB

Measure - count(issue no) -open issue |  Sum(openaverage) - Wkg Days | Average - Column(2)/Column(1)

Aspiring_Developer_0-1644499287637.png

I have enabled total in the pivot table.

My requirement is to get an output like below :-

Aspiring_Developer_1-1644499470957.png

Here in the Avge column , the calculation is WkgDays/Open Issue. I have done the same in qlik using column(2)/column(1).

The problem is the last value in the "Avge" column i.e 12.90 is calculated as 1122/87 and these are grand total values .

I don't know how can I  create the same in qlik because I am not sure how to use these total values in my pivot and perform further calculation.

Can anyone please help ? I am stuck on it . 

 

1 Reply
chris_djih
Creator III
Creator III

You can have a different calculation for the totals if you use Dimensionality().
Dimensionality() gives you the hierarchy of you pivot (How many layers you are in).

If (Dimensionality() = 0, <Your calculation for the grand totals>, <your "normal" calculation>)

If you found help, mark the correct answer and give some likes to ALL contributors, that tried to help.