Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to get last day of each month data

Hi All,

I have a table . It contains two years data. I have one report, to show only the last day of each month values. I need to take all the records from table, but in one report i want to show only last day of each month values. Is there any function available in qlikview to get the last day of each month?

Thanks,

Raghu.

3 Replies
hector
Specialist
Specialist

Hi, use this function monthend(timestamp), it returns the last day of the month

rgds.

johnw
Champion III
Champion III

Note that monthend(date) returns the last millisecond of the last day of the month. You will likely need to use daystart(monthend(date)) to match your date field.

hector
Specialist
Specialist

or maybe use floor(monthend(date))