Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have that dataset as source data:
week | qty |
---|---|
201501 | 11,14 |
201502 | 10,09 |
201503 | 10,73 |
201504 | 8,41 |
201505 | 18,33 |
201506 | 14,58 |
201507 | 13,58 |
201508 | 12,62 |
201509 | 13,07 |
I need to develop a graph with three columns:
It should be able to filter the weeks with:
It should be able to indicate the value of the periods of weeks for the average ((Input field with variable - v.Period). This number of periods is open, It can be any.
I show two examples, the first one with 3 weeks backwards and the second example with 4 weeks backwards. The filter for week start and End is the same in the two examples.
Example 1
Example 1
Qlikview
I am able to filter the expression qty by set expression:
sum({<Week={">=$(=v.WeekStart)<=$(=v.WeekEnd)"}>}qty)
But I dont know how to develop the second expression. I need data from more weeks than the weeks that I need to show on the graph.
How can I do it? Can you help me?
It is quite urgent please.
Thank you very much.
Hi Swuehl,
what would happen if there is no data for a day, but I want to keep that day inside the n periods?
i.e.:
Could you help me with this?
Thank you very much!!!