Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Carrying Data from Previous to Current YearProblem

Hi Everyone,

          I am using Below Expression.In order to get data

Sum(Amount)

It is Working fine in Text object.but in graph if i select it is giving data till  2013 Jan to 2013 Dec.

I need that data should carry forward to next Year

Pls suggest me.

PFA,

Regards,

Divya

1 Solution

Accepted Solutions
Not applicable
Author

Hi Ashaf,

The below expression solves it.

RangeSum(Above(Sum (Amount), 0,RowNo()))+Sum(TOTAL{$<M=,Y={$(varMaxPrevYear)}>}Amount)

It is working fine.

Regards,

Divya

View solution in original post

13 Replies
ashfaq_haseeb
Champion III
Champion III

Like this

regards

ASHFAQ

Not applicable
Author

Hi ,

Thanks for the reply it is like that only .When i select 2013 or 2014 based on Year selection it should give values.

Suggest me

Regards,

Divya

ashfaq_haseeb
Champion III
Champion III

Hi,

Its working with year selections too isn't it?

Can you post you expected output?

Regards

ASHFAQ

Not applicable
Author

hi,

It is  not working with Year selection.

PFA

Not applicable
Author

hi,

I have taken a straight table to represent the amount

can you let us know what to do

ashfaq_haseeb
Champion III
Champion III

Hi,

Check this

Regards

ASHFAQ

Not applicable
Author

hi Ashaf,

Now the values are correct .Thanks a lot

But i need it for till current month not till previous month end .

one more thing is when i select 2013.it should show jan2013 to Dec2013 and if i select 2014 ,it should show 2014Jan to Dec2014.

Regards,

Divya

ashfaq_haseeb
Champion III
Champion III

Hi,

isn't it too much

any ways have a look at attached document

Regards

ASHFA

Not applicable
Author

hi ,

When i select 2014,the value for jan2014should be 2600 but it showing only 200.

PFA,

Regards,

Divya