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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
nisha_deepak
Helper III
Helper III

Data refresh date changes

Capture1.PNG

 

In my report am showing one button with data as date value Currently date is showing in UTC time zone.My system/sever zone is in UTC.But in my report i want to show America,Chicago time zone date and time.How can i do that.Plse help me.

4 REPLIES 4
v-eqin-msft
Community Support
Community Support

Hi @nisha_deepak ,

 

Sorry to disturb you...

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

 

Best Regards,
Eyelyn Qin

v-eqin-msft
Community Support
Community Support

Hi @nisha_deepak ,

 

 Refer to this page https://www.rapidtables.com/calc/time/chicago-time.html , the Time offset is -6. Then you could use the following M code to add a new column:

=[Date]-#duration(0,6,0,0)

11.3.4.2.PNG

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

@nisha_deepak You can use DateTime.AddZone function to achieve your requirement. This function adds the timezonehours as an offset to the input datetime value and returns a new datetimezone value.

mahoneypat
Employee
Employee

You can do that in the query editor with one of the DateTimeZone functions or by subtracting a duration value with #duration(0,5,0,0) or in DAX by subtracting from your UTC value with TIME(0,5,0,0).

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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