Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tellmalaika17
Contributor II
Contributor II

Pivot Table total incorrect

Hi

I am unable to achieve correct Pivot Table total in Qliksense November 2020 version. Below is how the table looks :

  MayJunJulAuguSep
Company nameID     
OOPA3456  3.75  
FEDA231421  0.25
RATE5678   23.75
NOVA4671 2   
Total 233.7524

Dimension - Company name, ID and month

Expression - sum(aggr(rangemin(count(id)-rangesum(before(column(1),1,columnno(Total), count(id)/4)

This expression changes the total for certain columns for eg : Nova for June is 2 but shows total as 3. With aggr function row level values also changes for some months. eg actual value for FEBA is 3 but it is showing 1 for June. Expected output of this table is 

 MayJunJulAuguSep
Company name     
OOPA  3.75  
FEDA23  0.25
RATE   23.75
NOVA 2   
Total253.7524

 

Any help would be appreciated.

3 Replies
Kushal_Chawda

@tellmalaika17  share sample data with expected output

tellmalaika17
Contributor II
Contributor II
Author

Attached is the sample data and the expected output is in sheet summary.

tellmalaika17
Contributor II
Contributor II
Author

Did you have any luck with the issue?