Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum for display figure only?

Hi,

I have difficulty on total up my qlikview chart by only sum up for top 10 figure which has exclude for the surpass value is null in dimention. I think many way but stll don;t get the right figure yet. I would appreciate if any of you can give me a hand on this. Enclosing the picture for you to refer. and for you information i have set to display only 10 record in Presetation setting.

 

=

sum([Gross Rental]+[AGross Rental]

)

Picture1.png

As you can see the total up for all the record is 18191233 if for only surpassed dimention, the value should be 2334702.04 instead.

Thanks you first

4 Replies
whiteline
Master II
Master II

Hi.

QlikView doesn't sum the values for totals it calculates it according to your expression.

Even if you choose to show  first 10 rows, the totals is calculated for the whole data set.

Not applicable
Author

Hi, i have search around the forum and i found this script seen work but, it still include for the 'surpass value when null' dimention may i know how can i amend the script to not include those null value dimention and i have check for teh surpass value checkbox?

 

=

sum({$<LEASID={"=rank(total sum({$<LEASID=>} ([Gross Rental]+[AGross Rental])))<=10"}>} ([Gross Rental]+[AGross Rental]

))

Gysbert_Wassenaar

Maybe like this:

=

sum({$<LEASID={"=rank(total sum({$<LEASID=,OCCPNAME={'=isnull(OCCPNAME)=0'},SC_COREGNO={'=isnull(SC_COREGNO)=0'} >} ([Gross Rental]+[AGross Rental])))<=10"}>} ([Gross Rental]+[AGross Rental]

))


talk is cheap, supply exceeds demand
Not applicable
Author

Oops... it still the same, the sum still included with null dimention figure