Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
pnn44794
Partner - Specialist
Partner - Specialist

Sum Mismatch Between Qlikview and Excel

Hello:

 

I have a dataset where within a Qlikview straight table, I get a Sum of 295.  When I export the data to Excel, I have a Sum of 303.  When I manually check the export, I also come up with 303 for a total.  I would appreciate any help in resolving the discrepancy.

 

As always, any and all help is appreciated.

 

1 Solution

Accepted Solutions
prieper
Master II
Master II

What does your datamodel look like?

Do you have a duplication of data caused by duplicated entries in another table?

View solution in original post

17 Replies
tamilarasu
Champion
Champion

Hi Perry,

For me it's showing 303 in the straight table. Could you please attach sample qvw file.

Siva_Sankar
Master II
Master II

Hi Perry,

I too getting 303 for Product as dimension. Can you check whether you checked Sum of Rows instead of Expression Total or not?

color.JPG

jonathandienst
Partner - Champion III
Partner - Champion III

It could also be that you have checked "Suppress Nulls" on a dimension.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
prieper
Master II
Master II

Following Jonathan's idea, it makes sense to create a straight table with just this expression - no dimensions.

Then the result should be as expected. Adding dimensions then should not change the result.

vvvvvvizard
Partner - Specialist
Partner - Specialist

in the expression tab , change from expression total to sum of rows or vice versa

prieper
Master II
Master II

With this formula and the underlying data, result should be the same, when choosing sum of rows, or expression total as there is just a simple filtercondition applied.

PrashantSangle

Try below,

sum(Aggr(YourCurrentExpression,all_dimension_present_in_your_current_chart))

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
pnn44794
Partner - Specialist
Partner - Specialist
Author

Hello Sivasankar:

Thank you for your reply.  I do have Sum of Rows checked.

prieper
Master II
Master II

What does your datamodel look like?

Do you have a duplication of data caused by duplicated entries in another table?