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
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
Solution Supplier
Solution Supplier

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors