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

Full Accumulation in Expression

Hi, there.

I'm a newbie in QV and cannot solve my problem with full accomodation in expression.

Expression looks like this, crucial dimension is Seria:

sum(aggr(RangeSum(above(sum({$<[Kód]={D01TSČ}>}Čiastka),0,RowNo(TOTAL))),Obdobie,Séria,Fáza,Kód,Rok))

Snap_2014.07.09 10.35.35_002.jpg

I need cumulatives like this BUT IN EXPRESSION !

Snap_2014.07.09 10.39.16_003.jpg

Thanks in advance.

Duski

35 Replies
Not applicable
Author

Hi Jagan,

Didnt work.

Can You edit the expression directly ?

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'},Séria = {'Plán'}>}Čiastka),0,RowNo(TOTAL)))

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'},Séria = {'Účtovníctvo'}>}Čiastka),0,RowNo(TOTAL)))

Thanx in advance.

Duski

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this

=RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'},Séria = {'Plán'}>}Čiastka),0,RowNo(TOTAL)),

Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'},Séria = {'Účtovníctvo'}>}Čiastka),0,RowNo(TOTAL)))

Regards,

Jagan.

Not applicable
Author

Thanx Jahan,

your expression worked :-), but the result isn't correct 😞Snap_2014.07.10 09.45.11_004.jpg

The correct result is:

Snap_2014.07.09 15.10.16_012.jpg

Thank you.

I'm using a Personal Edition QV, because I'm experimenting only a few days with it before buying a full licence.

Can you explain you suggestion from Jul 9 2014, 10:34 PM without using your qw attached ?

Thanx in advance.

Duski

Not applicable
Author

Hi, Manish, thank you for yuor response.

But the result of your suggestion is some strange 😞

Snap_2014.07.10 09.54.12_005.jpg

What'swrong with me ?

Thanx in advance

Duski

MK_QSL
MVP
MVP

CHeck enclosed file..

Not applicable
Author

Thank you, Manish,

but I'm sorry, I can't 😞

I'm using a Personal Edition QV, because I'm experimenting only a few days with it before buying a full licence.

Is this the end of your help ?

Duski

Edit.

My settings look like this:

Snap_2014.07.10 10.12.35_006.jpg

Snap_2014.07.10 10.12.54_007.jpg

Snap_2014.07.10 10.13.23_008.jpg

Duski

Snap_2014.07.10 10.14.08_010.jpg

Snap_2014.07.10 10.13.48_009.jpg

MK_QSL
MVP
MVP

1) Create a Bar Chart

Dimension

Use Aggregated Dimension

=If(Year(Obdobie)=Year(Today()),Obdobie)

Also tick suppress when value is null in dimension tab

Expression

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'}, Séria = {'Plán'}>}Čiastka),0,RowNo(TOTAL)))

and

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'}, Séria = {'Účtovníctvo'}>}Čiastka),0,RowNo(TOTAL)))

Go to Sort Tab

Expression -- Ascending Order

=If(Year(Obdobie)=Year(Today()),Obdobie)

Hope this helps..

Not applicable
Author

Thank You Manish, I made all suggested settings, but no success 😞

In previous post I added screenshots of my settings BEFORE your suggestions.

Did you discover something wrong ?

Duski

MK_QSL
MVP
MVP

Follow my given steps ...

MK_QSL
MVP
MVP

OMG... i found problem in your expression..

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'}, Séria = {'Plán'}>}Čiastka),0,RowNo(TOTAL)))

and

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'}, Séria = {'Účtovníctvo'}>}Čiastka),0,RowNo(TOTAL)))

are two different expressios...

use two expression

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'}, Séria = {'Plán'}>}Čiastka),0,RowNo(TOTAL)))

RangeSum(Above(TOTAL sum({$<[Kód]={D01TSČ},Fáza = {'B01REAL'}, Séria = {'Účtovníctvo'}>}Čiastka),0,RowNo(TOTAL)))