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: 
miguelbraga
Partner - Specialist III
Partner - Specialist III

Count Dates by Week with Set Analysis

Hi people,

I would like to know if there is anyway for me to count the amount of dates in a week using set analysis. For example, I have this table of values:

DateWeek
01/01/20132013/01
07/10/20132013/41
09/10/20132013/41
10/10/20132013/41
10/10/20132013/41
10/10/20132013/41
11/10/20132013/41

The results I need for this example are:

For Week -> 2013/01 the count number would be 1.

And for Week -> 2013/41 the count number would be 6.

How can I do this in a simple and clean way for me to understand? Bare in mind that I'm a begginer developer in both QlikView and Qlik Sense, just started a month ago.

Thanks for the help, Miguel.

10 Replies
miguelbraga
Partner - Specialist III
Partner - Specialist III
Author

I'll analyse this solution too, thanks Massimo Grossi. I'll keep in touch