Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
pthai
Contributor III
Contributor III

Issue with Sum function in Qliksense

Hi everyone,

I met an issue with the sum function.

I have 2 data rows as the image. 

The column 1 and 2 are dimension. But when I use the sum in column 3, it show duplicate value.

Could anyone explan to me what is the reason for this? Thank in advance.

pthai_0-1698976549529.png

 

Labels (2)
1 Solution

Accepted Solutions
Gabbar
Specialist
Specialist

For sum getting double its data is two times in loaded table.
also
There is atleast 1 another dimension column in that table 
or the values in those dimension are numerical timestamp but made into integere which means those are different values but you cant see them unless you format them correctly, try using floor for this case.

View solution in original post

4 Replies
G3S
Creator III
Creator III

try sum(distinct 

pthai
Contributor III
Contributor III
Author

Thanks. But I want to know why the sum of dimension shown duplicated value. Its weird!

Gabbar
Specialist
Specialist

For sum getting double its data is two times in loaded table.
also
There is atleast 1 another dimension column in that table 
or the values in those dimension are numerical timestamp but made into integere which means those are different values but you cant see them unless you format them correctly, try using floor for this case.

pthai
Contributor III
Contributor III
Author

Thank Gabbar,

I use the disinct load and the issue was solved.