Forum Discussion

Alkhos's avatar
Alkhos
Advocate I
9 years ago
Solved

DataFormat.Error: We couldn't parse the input provided as a DateTime value.

Hello,   I am working with a dataset retrieved as a CSV file through web. I have a time field on the dataset with values similar to below:          10/31/2016 4:05:00 PM   When data is fed to P...
  • BhaveshPatel's avatar
    BhaveshPatel
    9 years ago

    After playing with your text file for 15 mins, I have found that there are some extra space at the front of your date column. Can you please remove those extra characters. 

     

    Steps to follow afterwards:

    1. Split the column by 11 characters. This will separate Date and Time

    2. Split the Date column by "/" Delimiter

    3. Change the data type of the newly created columns to Whole number

    4. Bring the Day column first by dragging, Month column second and Year column last

    5. Select all these three collumns and go to Add column Tab, Select Merge Columns and in Merge dialog, Select "/"Separator.

    6. Change the data type of the merged column to Date.

     

    So many steps .....