Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Monthstart while selecting Month

Hi,

I want to get the monthstart date after selecting month not Date, let say user select jun 16 than monthstart date shud come 01-06-2016

can i get this?

thanks

1 Solution

Accepted Solutions
abhaysingh
Specialist II
Specialist II
Author

monthstart(max(date)) works for me thanks

View solution in original post

6 Replies
remi_roland
Partner - Contributor III
Partner - Contributor III

Hi,

You can use makedate function like this:

=makedate(YearField,Monthfield,01)

Regards.

Remi.

Not applicable

=date(floor(monthstart(today())), 'YYYYMMDD') FYR: How to get previous month first and last date?

abhaysingh
Specialist II
Specialist II
Author

monthstart(max(date)) works for me thanks

mangalsk
Creator III
Creator III

=date(Date#(month_yr,'MMM YY'))

susovan
Partner - Specialist
Partner - Specialist

Hi abhay,

Try this expression,

Date(MonthStart(Max(Date_Field)),'DD/MM/YYYY')

Warm Regards,
Susovan
ziadm
Specialist
Specialist

I am not sure how you can post a question at the same time answer your own question and get marks for that .. There is a vulnerabilities in the forum and must be reported ..