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

Announcements
Data Works for AI is here - Join the discussion and enter to win a pair of Qlik kicks: Join the Conversation!
cancel
Showing results for 
Search instead for 
Did you mean: 
richard_chilvers
Specialist
Specialist

Showing weeks up to the selected week number


I have a table of orders, including product and date ordered.

In my chart I show each product and the weekly order total. The user can select the week or weeks. So they can select week 6 and see all orders for that week.

I would like to add a column which shows all orders up to the selected week (ie. for weeks 1-6). I cannot use set analysis to filter out the week selected, because the table may show orders for weeks after week 6.

Ideas are welcome.

Richard

Labels (1)
2 Replies
Anonymous
Not applicable

Use Intervalmatch() function

richard_chilvers
Specialist
Specialist
Author


Hi

I have used Intervalmatch in other models - but only within the script. In this case, the week number of each order is clearly defined, but I am struggling how best to build the correct expression which selects the weeks I have described.