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
MarioCadena
Helper II
Helper II

Report Last Refreshed Date and Time

Hi,

 

I added the last refresh date of the report using the following formula in power query.

= DateTime.LocalNow()

 

In Power BI Desktop works well

 

MarioCadena_0-1610339436738.png

But in power Bi Services format and time are not right; I tried on Chrome and Explorer the same result.

MarioCadena_1-1610339487643.png

 

Do you have any recommendations?

 

Regards,

 

Mario

 

 

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Don'@MarioCadena,


This is not directly related to which browser it opens. Depending on your description, the first thing you need to understand is that this formula returns a DateTime value set to the current date and time in the system. So on the desktop it returns the system time, but in the service, PowerBI will follow the current position of the server, it will return to the last update time. I tried to use the UTCNOW() function and got the same time both on the desktop and in the service. You'd better learn about this feature.

v-henryk-mstf_0-1610502111757.png


This is a related blog and a similar post, it can be used as a reference.

Solve the DAX time zone problem in Power BI - RADACAD
Fixed: Last Time Update - Microsoft Power BI Community


If the problem is not yet resolved, provide detailed information about the error and let me know immediately, waiting for your response.


Best regards
Henry


If this post helps,then consider Accepting it as the solution to help other members find it faster.

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Don'@MarioCadena,


This is not directly related to which browser it opens. Depending on your description, the first thing you need to understand is that this formula returns a DateTime value set to the current date and time in the system. So on the desktop it returns the system time, but in the service, PowerBI will follow the current position of the server, it will return to the last update time. I tried to use the UTCNOW() function and got the same time both on the desktop and in the service. You'd better learn about this feature.

v-henryk-mstf_0-1610502111757.png


This is a related blog and a similar post, it can be used as a reference.

Solve the DAX time zone problem in Power BI - RADACAD
Fixed: Last Time Update - Microsoft Power BI Community


If the problem is not yet resolved, provide detailed information about the error and let me know immediately, waiting for your response.


Best regards
Henry


If this post helps,then consider Accepting it as the solution to help other members find it faster.

Singaravelu_R
Resolver III
Resolver III

Hi,

 

Please try below measure

Date &Time = UTCNOW()

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.