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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
yuvaraj86
Frequent Visitor

Convert the dax function now() to local time with DAX

Power BI stores dates and times as a number representing the number of days since 1900-Jan-0 , plus the fractional portion of a 24 hour day: ddddd.tttttt . The values to the left of the decimal place is the number of days and the value to the right of the decimal place is the decimal representation of the 24 hr clock. 

 

So for eg if you want to subtract 4 hrs from the Now() or UTCNOW() function , 4/24 = 0.16667 , so your DAX would be 

now() -  .16667

similarly if you would like to subtract 5 hrs it be 5/24 = 0.20833

now() -  0.20833

 

Hope this helps someone 

1 REPLY 1
harshnathani
Community Champion
Community Champion

Hi @yuvaraj86 ,

 

Thanks , it is really helpful.

 

Also , a link of how it can be done in Power Query

 

https://community.powerbi.com/t5/Desktop/Convert-utc-to-local-time-zone-using-Power-Query/m-p/555571

 

Regards,

Harsh Nathani

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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