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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Report Refresh Date - Azure Dev ops connection

Hi Guys

I have a report which connects to VSTS - using online services (Azure dev ops - Beta). I added a custom column using datetime.localnow in power query.  This column will be used to display report refresh time.

 

Its works fine on desktop. But in Power BI service it gives me date in UTC format once the data is refreshed in Service.

 

Any tips how can it is displayed in local time zone.

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

You could find the solution in the following link.

Display Last Refreshed Date in Power BI

 

Or

Power BI – Create Last Dataset Refresh Date

If consider Daylight Savings Dates and Times change, follow this link:

Using Power BI to ensure Daylight Savings Dates and Times change dynamically

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

You could find the solution in the following link.

Display Last Refreshed Date in Power BI

 

Or

Power BI – Create Last Dataset Refresh Date

If consider Daylight Savings Dates and Times change, follow this link:

Using Power BI to ensure Daylight Savings Dates and Times change dynamically

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Stachu
Community Champion
Community Champion

I'd try converting it with the DateTimeZone functions, e.g.
https://docs.microsoft.com/en-us/powerquery-m/datetimezone-switchzone



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Anonymous
Not applicable

Hi

Thanks for the reply, in that case i had to hard code a value to get the desired result. then again when the daylight is on, we need to change that.

Is there any inbuild function in DAX itself which will do it ?

Stachu
Community Champion
Community Champion

I was thinking to calculate the delta with hardcoded DateTimeZone value for UTC and your time zone, using this:
https://docs.microsoft.com/en-us/powerquery-m/datetimezone-fromtext

but it would still not cover the daylight savings automatically

 

I'm out of ideas, but maybe @ImkeF can help?



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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