Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Convert data type E+12 to Time Stamp

Hello

 

I've used an API to pull New Relic data into Power BI and there is a column called Timestamp.1 which holds values that look like 1.5713E+12 and so forth. I tried converting to anything besides decimal number and it errors. 

Can I transform or add a new column to retrieve a time/date value? 

 

Timestamp.png

1 ACCEPTED SOLUTION

Hi,

 

If you want to convert it to datetime you could try the solution provided in this post

#datetime(1970, 1, 1, 0, 0, 0) + #duration(0, 0, 0, [Timestamp.1]/1000)

View solution in original post

5 REPLIES 5
NBMounika
New Member

Hi, 
I see that you were able to pull data from New Relic to Power BI using an API. Could you please provide the detailed process? 
Thanks in advance! 🙂 

Anonymous
Not applicable

 

may I know how did you integrate with Power BI?

VijayP
Super User
Super User

You have to use Split Column option. CAn you please share 2 or 3 Exact Values in each cell. Then I can explain thru screenshots




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Anonymous
Not applicable

Hi @VijayP 

 

Three values:

1571264722889

1571304319052

1571264722889

 

Strange I was able to get these by pasting into Excel, they converted to number no problem. Power BI will not allow me to convert the truncated value. 

 

Thanks for helping me!

Jemma

Hi,

 

If you want to convert it to datetime you could try the solution provided in this post

#datetime(1970, 1, 1, 0, 0, 0) + #duration(0, 0, 0, [Timestamp.1]/1000)

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.