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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Shubham_Deshmukh
Specialist
Specialist

How to get last day of month in monthfield in dropdown?

I'm trying wiht Monthend function but not getting an output.

Pls suggest.

5 Replies
Anil_Babu_Samineni

Where we need to help?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vishsaggi
Champion III
Champion III

You need this in a multibox? Can you share some sample data and where you are using this Monthend?

Colin-Albert
Partner - Champion
Partner - Champion

Monthend() returns a timestamp not a date. The timestamp is one millisecond before midnight.

To get the date value use floor(monthend(your_date_field))

How to use Monthend() | Qlik Community

Not applicable

Monthend() function gives Timestamp as output. So just apply date() to you field and you will get the desired output

arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi Shubham,

It may help you:

monthend(Date#(Datefield),' Your date Format like DD.MM.YYYY') as Monthdate;


Thanks,

Arvind Patil