Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter data weekly

Hi Friends,

Attached is qvw that I created. I like to filter data weekly. Just have a look in my qvw and suggest me a better approach.

Thanks

Arindam Roy

4 Replies
senpradip007
Specialist III
Specialist III

Instead of using so many charts and variable, why do you not choose conditional expression fecility Qlik Tech has already given in

QV 11.

juleshartley
Specialist
Specialist

I would probably create a calendar table linked to the Fact table. The calendar table would join on the start date and would then have a 'week number' field counting back from the latest date.

then set a variable to the date of the selected week ie. vRepDate = min(StartDate)

I would then use set analysis in the table to filter the expression where StartDate >=vRepDate

Not applicable
Author

Could you please give me an example.

Not applicable
Author

Appreciate if  you could share the idea in qvw.