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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
capriconuser
Creator
Creator

date is greater than first date of every month

i have values these

startdate

1/1/2019
4/10/2019
1/1/2019
4/5/2019
1/1/2019

 

now i want to apply condition if this date is greater than first date of every month then i want to apply condition  start_Date - calendar_sart_date +1

 

how i do this 

1 Reply
Vegar
MVP
MVP

Try this:

LOAD
   IF( startdate > monthstart(startdate),   
       start_Date - calendar_sart_date +1, 
       startdate) as startdate,
...

FROM ...