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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
sivas07
Frequent Visitor

Change Epoch datetime to GMT + 5.30

I have rquirement to change the Epoch datetime to readable format , i am using the below query which is giving me right answer for GMT +5.00 & when i add GMT +5.30 it gives a error..

each #datetime(1970,1,1,0,0,0) +#duration(0,+(5),0,[clock])) - Get result 

each #datetime(1970,1,1,0,0,0) +#duration(0,+(5.30),0,[clock])) - Error 

 

looking for help

Thanks

1 ACCEPTED SOLUTION
sivas07
Frequent Visitor

Thanks , that worked 

View solution in original post

3 REPLIES 3
sivas07
Frequent Visitor

Thanks , that worked 

Great!

if that helps to resolve your problem, then please mark my reply as a solution provided, that would help others also to find solution, thanks!

samratpbi
Super User
Super User

Hi,

I do not have sample data, however looking into the code above, it seems what needs to be done is like this below:

each #datetime(1970,1,1,0,0,0) +#duration(0,5,30,[clock]))

In #duration, days, hours, minutes, secords are different fields.

 

Hope this helps.

If this helps to resolve your problem, then please mark it as solution, Thanks!

 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors