Forum Discussion
jpt1228
8 years agoResponsive Resident
Julian Date Conversion or Format
Hello, I searched and read the 2 posts about julian dating but I can't get a solution to work. I can either convert the julian date column on my inventory table YYDDD into a calendar date or add ...
- 8 years ago
Sorry, my mistake.
Please use this instead
Column = VAR myYear = 2000 + INT(DIVIDE([Julian Manufacture Date],1000)) VAR myDayOfYear = MOD([Julian Manufacture Date],1000) -1 RETURN DATE( myYear,1,1) + myDayOfYear
Phil_Seamark
8 years agoMicrosoft Employee
Sorry, my mistake.
Please use this instead
Column = VAR myYear = 2000 + INT(DIVIDE([Julian Manufacture Date],1000)) VAR myDayOfYear = MOD([Julian Manufacture Date],1000) -1 RETURN DATE( myYear,1,1) + myDayOfYear
pludlow
8 years agoHelper I
HI, when I try this formula, I am getting a Token Eof expected error
- pludlow8 years agoHelper I
I was able to solve my issue using the formula I used above but reformatting the date
- jpt12288 years agoResponsive Resident
Hi pludlow. Looks like a formatting error on your date see https://community.powerbi.com/t5/Desktop/Token-eof-expected/td-p/27929