cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Usman
Frequent Visitor

Timestamp for web data

Hi, I have a query set up to pull data from a website, somehow I'm able to make a database of every time new data comes in, it stores in another query. My question is how we can add timestamp to original query which is pulling data from a website? To add timestamp of when the query was refreshed.
1 ACCEPTED SOLUTION
rocky09
Impactful Individual
Impactful Individual

go to query editor and then create custom column then input this in the formula bar

 

DateTime.LocalNow()

View solution in original post

3 REPLIES 3
rocky09
Impactful Individual
Impactful Individual

go to query editor and then create custom column then input this in the formula bar

 

DateTime.LocalNow()

View solution in original post

Usman
Frequent Visitor

Thanks for the reply, will it change for previous data pulled from website when query is refreshed? Like Now() function do in Excel, it always shows the current date and time.
rocky09
Impactful Individual
Impactful Individual

It will show the date and time when the query was refreshed.

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors