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: 
Not applicable

Wrong output of Sum in Graph

Hi Qlikview Community,

Can some one explain this to me? It always happen. The total always not equal. I always not use Sum() function because it give me wrong output, I forgot the expression I use on the graph is Sum({<penalty={"<=0"}>}[curr-assess]), i allows not to graph those who has 0 penalty which is I need to display.

Help me to make the total in graph the same in the table below.

Thanks in advance Qlikview Community.

Untitled.png

1 Solution

Accepted Solutions
14 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

The expression in the graph and the table should be the same if you want the same results. For more detailed help, you will need provide more information - preferably a  sample qvw illustrating the issue.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

  Hi Sir Jonathan,

He is the table in my Qlikview. Hope you help me.

I cant upload the qvw because it is connected on a Database.

By the way thanks for helping me

YearQuarterPayorCurrent TaxPenalty
TotalTotalTotal166168686960.06
20131 2517757.9
20131xxxx6444001482.12
20141xxxx644400773.28
20151Allen Chi Ong302400
20151George A. ong48000
20151Marlyn Serrano96000
20151Patricia Sabrina Narciso456000
20151Rolando Balle & Rosemarie27500000
20132 2517752.86
20132xxxx6444001353.24
20142xxxx644400644.4
20152Allen Chi Ong302400
20152George A. ong48000
20152Marlyn Serrano96000
20152Patricia Sabrina Narciso456000
20152Rolando Balle & Rosemarie27500000
20133 2517745.32
20133xxxx6444001159.92
20143xxxx644400386.64
20153Allen Chi Ong302400
20153George A. ong48000
20153Marlyn Serrano96000
20153Patricia Sabrina Narciso456000
20153Rolando Balle & Rosemarie27500000
20134 2517737.78
20134xxxx644400966.6
20144xxxx6444000
20154Allen Chi Ong302400
20154George A. ong48000
20154Marlyn Serrano96000
20154Patricia Sabrina Narciso456000
20154Rolando Balle & Rosemarie27500000
Anonymous
Not applicable
Author

Check the attachment. Is that what you require?

Not applicable
Author

Hi sir Ravichandra,

I cant open your qvw file in my PC, can you have a screen capture what is inside on your qvw file?

By the way, thanks for posting your comment here

Not applicable
Author

Have a year condition in your expression and see what you get...

Sum({<penalty={"<=0"}, Year = {'2015'}>}[curr-assess])

Thanks,

Vinod Kumar V

jonathandienst
Partner - Champion III
Partner - Champion III

Lester Benedict Lazado wrote:

I cant upload the qvw because it is connected on a Database.

The qvw is only connected to the database during the load. One the load is done, there is no connection to the database. Have a look at this:Preparing examples for Upload - Reduction and Data Scrambling

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Anonymous
Not applicable
Author

This one?

tax.JPG

sasiparupudi1
Master III
Master III

I see you are using ranking in your graph,In the dimension limits, untick the show others flag

Hope this helps

sasiparupudi1
Master III
Master III

Also, under the expression table , set the total mode to sum of rows

TotalMode.png