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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to count last year + next year (like fibonacci)

Hey, I have a problem, how to count total year plus next year.

Example:

STATUS    2000     2001     2002

ACTIVE     14          13          5

Status2000
2001
2002
ACTIVE14135

What I want is to look this way, coz I'll present it to bar chart, so here's what I want to be displayed.

Here's what I thought to be the formula:

2000 = the count of 2000

2001 = the count of 2000 + 2001

2002 = the count of 2001 + 2002

So the output will be:

Status2000
2001
2002
ACTIVE14135

I can't make it to a bar chart... Got problem on this. Need help. Thanks.

Best regards,

Bill

1 Solution

Accepted Solutions
Not applicable
Author

Hi

Look at the attachment.

I suggest you to do a crosstable then to use a full accumulation.

JJ

View solution in original post

2 Replies
Not applicable
Author

Hi

Look at the attachment.

I suggest you to do a crosstable then to use a full accumulation.

JJ

Not applicable
Author

Thanks JJ, that helps!

Best Regards,

Bill