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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
TomBond77
Specialist
Specialist

Total on pivot table different to straight table

Hi experts

Strange behaviour between pivot and normal table.

The normal table shows the correct total.  The pivot table not. Any ideas?

Thanks, Tom

 

TomBond77_0-1677064073297.png

 

Labels (5)
2 Replies
Or
MVP
MVP

If you are using a manual total, such as "Sum of rows", in a table, that will often have a different result from a Pivot table's total (which is just the formula aggregated across the entire dataset). Make sure your formula is written correctly such that it will sum both at the SEM_BCS account level and the total level.

BrunPierre
Partner - Master II
Partner - Master II

Hi @TomBond77 

To calculate the correct total, use Aggr() in the expression. Include all the used dimensions in the pivot within the Aggr().

=Sum(Aggr(Sum(Actual),Dim1,Dim2,Dim3 ...))