Forum Discussion

pcolas's avatar
pcolas
Frequent Visitor
6 years ago

Decimal to date

Hi community,

 

I have a problem which is driving me crazy.

 

I have some data coming from SAP, in which one of the columns is a date in this format: 16/08/2015 4:00:00 AM. However, when I see the data in power query, it shows as decimal number like this: 2.01902E+13.

 

I have tried everything to changed this to date, because I need to pivot column "Event type" so that I can see the data from this column as headings, but I get all sorts or errors.

 

Result:

 

 
 

8 Replies

  • nickyvv's avatar
    nickyvv
    Most Valuable Professional

    Hi pcolas,

    are you sure you are getting errors? Because they don't show up on your screenshot.

    The columns are also a valid DateTime according to the symbol in front of it.

    If you mean the null values, that are just values that are not present for that Header handle.

     

    Did this help you or did I answer your question?
    Then please give kudos or mark my post as a solution!
    My blog: nickyvv.com
    Twitter: @NickyvV

    • pcolas's avatar
      pcolas
      Frequent Visitor

      Hi nickyvv 

       

      Thank you for your reply.

       

      This is just to show the desireable result, but this is not the actual outcome. Do you know what I mean or should I try to explain this in a different way?

       

       

       

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi pcolas 

    Change the Regional Settings to "English(US)" and check if the datetime column shows correctly.

    Or disable the option below:

     

    Best Regards
    Maggie
    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.