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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
DM_EU
Helper I
Helper I

Show refresh date and time in DirectQuery when using Page refresh

Hello,

 

I am using Page Refresh in DirectQuery mode and I would like to show on the report the last time the dataset has been refreshed. For example, if I put the page refresh every 10 minutes, when I go to Power BI Service, I need to know when exactly the data has been refreshed.

 

Is it possible?

 

Thank you

1 ACCEPTED SOLUTION
truptis
Community Champion
Community Champion

@DM_EU if UTCNOW isn't giving accurate results, then try using this:
Last refresh = NOW()

 

Please mark this as a solution & hit the thumbs up if it helps you. Thanks.

View solution in original post

6 REPLIES 6
truptis
Community Champion
Community Champion

@DM_EU if UTCNOW isn't giving accurate results, then try using this:
Last refresh = NOW()

 

Please mark this as a solution & hit the thumbs up if it helps you. Thanks.

@truptis UTCNOW() or NOW() doesn't work for me. 
NOW() correctly works in PBI Desktop but changes time in PBI Service. UTCNOW() shows UTC time. Can you please suggest any other idea?? 

@Pooja_Pandya - try using Now()-8/24

 

this might work

 

please hit a thumbs up and mark it as a solution if it helps you. Thanks.

 

Thank you very much for your help truptis 🙂

Have a nice day

truptis
Community Champion
Community Champion

Hi @DM_EU , 

If it is a directQuery then create this measure:

Last Refresh date = UTCNOW()

Please mark this as a solution & hit the thumbs up if it helps you. Thanks. 

HI truptis,

 

It almost works but there is one hour of difference. How can I remove one hour from this measure to be accurate with my timezone?

 

Thank you

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.