Forum Discussion

kimmend's avatar
kimmend
Frequent Visitor
8 years ago
Solved

Sharepoint folder date problem

After updating to March 2018 version of PBI desktop, the Sharepoint folder integration is off when it comes to the Date modified and created.

 

The error shown is:

DataFormat.Error: We couldn't parse the input provided as a DateTimeZone value.
Details:
    2/26/2018 1:01 AM

 

I have tried to change the the data type to "Using Locale..." but without luck.

 

 

 

 

17 Replies

  • Hi.

     

    We encountered the same issue right now. We solved it by extracting and trasforming the Error.Detail

     

    1. Create a cauculated column with the following formula

    =try([Date modified])

     

    2. Expand the records in the new column

     

    3. Expand the records in the new ".Error"-column 

     

    4. Trasform the new ".Error.Detail"-column and the [Date modified]-columns to a datetime value with the correct locale.

     

    5. Merge the two columns with a new calculated column.

     

    6. Delete the two "old" date columns afterwards.

     

    7. Rename the new datetime column "Date modified", and voila! 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi kimmend,

     

    According to error message, it seems like you are try to convert date value to datetimezone but failed.
    Did these values works in normal data type? Can you please share a part of sample data for testing?

     

    Regards,

    Xiaoxin Sheng

  • mgp4444's avatar
    mgp4444
    Regular Visitor

    I haven't been able to find any workaround for this issue -- so basically I can't pull 'date created' from a sharepoint folder source.  This is a significant impact/issue.

     

  • mgp4444's avatar
    mgp4444
    Regular Visitor

    I haven't been able to find any workaround for this issue -- so basically I can't pull 'date created' from a sharepoint folder source.  This is a significant impact/issue.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      So I've come across this problem, but can't seem to find a solution.  The last post here was six months ago.  Is there a workaround?  I tried changing the API to 14 but got a data source error instead.

      • eFeM135's avatar
        eFeM135
        Advocate II

        The work-around I used is to set the regionalization on my sharepoint consistent with the one I'm using in Power BI, since my hunch is that the API is having issues when having different date formats (ie. mm/dd/yyyy versus dd/mm/yyyy)... eventual timezone shift you still can compensate in your power query logic.

         

        I still don't understand why the Power BI support team needs votes to resolve bugs that harm global implementations.