Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have values these
startdate
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
Try this:
LOAD IF( startdate > monthstart(startdate), start_Date - calendar_sart_date +1, startdate) as startdate, ... FROM ...