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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filtering on julian date

Hi I have the following date field in julian format:

Sales_Date

40592

40622

40584

40602

40565


Have loaded in the field as

Date(Sales_Date,'MM/DD/YYYY') as Sales_Date_New


My question is how would I then write out a where clause to filter the date on any particular year given the original date format is in Julian standard ?



2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Same as with any other date. A Julian date has the same format. It's just not the same day as the Gregorian date value. If you're asking how to calculate Julian dates from Gregorian dates then look at this blog post: Non-Gregorian calendars


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks. So are you saying it'd be literally something like

WHERE Sales_Date > '01/01/2014'

to exclude any dates before 2014 ?