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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

How to show all days number in a month

Hi,

If i have a

Date field

2010/10/15

2012/5/20

2013/6/18

How can I return the value of all days in the month. like October has 31 days, May has 31 days and June has 30 days

I know Day(DateField) will return the nr of days in the field but I am in a need of the total days of these months.

Thxs for your help.

1 Solution

Accepted Solutions
Not applicable

Day(MonthEnd(YourDateField)) As DaysInMonth

View solution in original post

2 Replies
Not applicable

Day(MonthEnd(YourDateField)) As DaysInMonth

alec1982
Specialist II
Specialist II
Author

Thxs!