Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

first day of the month

I like to get the first day of the month whenever I selected any day within that month. I think this would require set operation formula. I cant get the set formular right. I have the following data structure dte and dtemonth.

dte is bacically date and dtemonth is month and year (MMYYYY).

Bascially if I select 1/5/09 the formula should return 1/1/09. If I select 2/20/09 the formular should return 2/1/09

2 Replies
Not applicable
Author

hi,

Try

DATE#(01&dtemonth,'DDMMYYYY')

or

try monthsStart in conjunction with dte (i'm not aware what date format you using)

Hope that helps

Best regards

Michael

Anonymous
Not applicable
Author

monthstart(dte)