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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Kaushik2020
Creator III
Creator III

Table sum total incorrect

Hi all, I am using QS Server version - 14.78.0 

the sum of table count is not correct. 

 

kaushi2020_0-1691053065957.png

 

Labels (2)
2 Solutions

Accepted Solutions
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

 

Can you share your expression?

I can try to change the total function in your measure.

Aurelien_Martinez_0-1691053871772.png

 

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

It's depending of your expression. For example if you have a Count(distinct ID) :

Aurelien_Martinez_0-1691055438434.png

The expression is evaluate on each row, with my data :

Level 1 : ID=1, ID=2 => 2

Level 2: ID=1 => 1

Total : ID=1, ID=2 >=2

Aurelien_Martinez_1-1691055526462.png

 

 

 

 

 

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

4 Replies
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

 

Can you share your expression?

I can try to change the total function in your measure.

Aurelien_Martinez_0-1691053871772.png

 

Help users find answers! Don't forget to mark a solution that worked for you!
Kaushik2020
Creator III
Creator III
Author

thanks for the information. it was set to default. I changed to Sum as per your suggestion and it's working fine now. 

Do you know why with Auto - it was calculating incorrectly Or what happens in the background. 

 

coz other columns were calculating correctly. 

 

kaushi2020_0-1691055127224.png

 

Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

It's depending of your expression. For example if you have a Count(distinct ID) :

Aurelien_Martinez_0-1691055438434.png

The expression is evaluate on each row, with my data :

Level 1 : ID=1, ID=2 => 2

Level 2: ID=1 => 1

Total : ID=1, ID=2 >=2

Aurelien_Martinez_1-1691055526462.png

 

 

 

 

 

Help users find answers! Don't forget to mark a solution that worked for you!
Kaushik2020
Creator III
Creator III
Author

thanks a lot for the explanation 🙂