michgork
New member
- Joined
- Jul 1, 2016
- Messages
- 7
- Reaction score
- 0
- Points
- 0
- Excel Version(s)
- 2016
hello,
I have a set of external data where the DATE data seems to be impossible for PowerQ to format to date.
source data
[FONT="]Date (DDMMYYYY)[/FONT]
[FONT="]1062016[/FONT]
[FONT="]1062016[/FONT]
[FONT="]1062016[/FONT]
[FONT="]1062016[/FONT]
[FONT="]2062016[/FONT]
[FONT="]2062016[/FONT]
[FONT="]2062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]13062016
change type via 'using locale' english (uk), english (us) or danish (my own) results in:
[/FONT][FONT="]Date (source) Date (changed)[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]2062016 09-08-7545[/FONT]
[FONT="]2062016 09-08-7545[/FONT]
[FONT="]2062016 09-08-7545
the rest of the date changes results in error
I then tried to add 2 custom column
[/FONT]=Text.End("0"&Text.From([Column1]),6)
=Text.PadStart(Text.From([Month]),2,”0?)
so i have MMYYYY in one column and DD in another (i thought maybe the missing lead zero in the Day was the issue) and merged them into a new column which now have DDMMYYYY instead of DMMYYYY.
now im getting this error nomatter which way i try to format data type to date:
[FONT="]DataFormat.Error: We couldn't parse the input provided as a Date value.[/FONT]
[FONT="]Details:[/FONT]
[FONT="]01062016
any ideas?
im a total newb with PowerQ btw
cheers
Michael[/FONT]
I have a set of external data where the DATE data seems to be impossible for PowerQ to format to date.
source data
[FONT="]Date (DDMMYYYY)[/FONT]
[FONT="]1062016[/FONT]
[FONT="]1062016[/FONT]
[FONT="]1062016[/FONT]
[FONT="]1062016[/FONT]
[FONT="]2062016[/FONT]
[FONT="]2062016[/FONT]
[FONT="]2062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]3062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]6062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]7062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]8062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]9062016[/FONT]
[FONT="]13062016
change type via 'using locale' english (uk), english (us) or danish (my own) results in:
[/FONT][FONT="]Date (source) Date (changed)[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]1062016 12-09-4807[/FONT]
[FONT="]2062016 09-08-7545[/FONT]
[FONT="]2062016 09-08-7545[/FONT]
[FONT="]2062016 09-08-7545
the rest of the date changes results in error
I then tried to add 2 custom column
[/FONT]=Text.End("0"&Text.From([Column1]),6)
=Text.PadStart(Text.From([Month]),2,”0?)
so i have MMYYYY in one column and DD in another (i thought maybe the missing lead zero in the Day was the issue) and merged them into a new column which now have DDMMYYYY instead of DMMYYYY.
now im getting this error nomatter which way i try to format data type to date:
[FONT="]DataFormat.Error: We couldn't parse the input provided as a Date value.[/FONT]
[FONT="]Details:[/FONT]
[FONT="]01062016
any ideas?
im a total newb with PowerQ btw
cheers
Michael[/FONT]