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

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count on Date problem

Hi friends,

I am stuck in the issue when i need to count on date values, and i am getting 0 instead of correct numbers.

I have table like this

WeekAge
2/4/20150-30
2/4/20150-30
2/4/201531-60
2/4/201561-90
2/4/201590+
2/11/20150-30
2/11/201531-60
2/11/201531-60
2/11/201561-90
2/11/201590+
3/11/20150-30
3/11/201531-60
3/11/201561-90
3/11/201561-90
3/11/2015

90+

I need a pivot table like this

Age2/4/20152/11/20153/11/2015
0-30211
31-60121
61-90112
90+111

For this,

i was taking one dimension Age and conditions on expressions like

Count({<[Week] = {'2/4/2015'}>}[Week])


which is returning 0.

Can you please help me on this?

Regards,

Kuldeep

11 Replies
awhitfield
Partner - Champion
Partner - Champion

Example attached

andy

Not applicable
Author

Hey Andrew,

This is perfecto!

Thank you so much

Regards,

Kuldeep