Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

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
Honored Contributor II

Re: Sum for display figure only?

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

Re: Sum for display figure only?

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]

))

MVP & Luminary
MVP & Luminary

Re: Sum for display figure only?

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

Re: Sum for display figure only?

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

Community Browser