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

Chart Expression

Hi,

I started using Qlikview this week and as my first app, I'm trying to create something similar to a burn down chart.

Here's a simplified version of what I'm trying to do:

Max = 15000

MonthBudget
JanuaryMax - Max/6
FebruaryJanuary - Max/6
MarchFebruary - Max/6
AprilMarch - Max/6
MayApril - Max/6
JuneMay - Max/6

I only have months as my data; budget is nowhere in my excel file.

I figured I can create a variable for Max.

But I'm just lost on how I would be able to input a different expression for each x value.

Any ideas on how I can get this done without directly adding a column on my excel file?

Thank you so much!

1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

Not exactly sure how you are calculating budget, my understanding from your post is that January would have budget 15000 - 15000/6, then February would have January's budget - 15000/6. With this is mind, try something like:

=Max - num(Month)*(Max/6)

So for January it would be:

15000 - 1*15000/6

February:

15000 - 2*15000/6 = 15000 - 15000/6 - 15000/6

Hope this is what you were looking for. Just make sure Month is in a Date format.

View solution in original post

2 Replies
jerem1234
Specialist II
Specialist II

Not exactly sure how you are calculating budget, my understanding from your post is that January would have budget 15000 - 15000/6, then February would have January's budget - 15000/6. With this is mind, try something like:

=Max - num(Month)*(Max/6)

So for January it would be:

15000 - 1*15000/6

February:

15000 - 2*15000/6 = 15000 - 15000/6 - 15000/6

Hope this is what you were looking for. Just make sure Month is in a Date format.

Not applicable
Author

Yup, what I've been looking for! Thanks!