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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Add the date and time when a record was added

Hi, I want to add a date and time when a new record is added to Power BI. My source is from Excel, and I don't have that column in my data source.

5 REPLIES 5
v-xiaotang
Community Support
Community Support

Hi @Anonymous 

Have you solved this problem?

If not, I suggest you to add time column in your datasource, otherwise time function will change the whole column I think.

-

If yes, could you kindly accept the answer helpful as the solution (or kindly share your solution ). so the others can find it more quickly.
really appreciate!
Any question, please let me know. Looking forward to receiving your reply.

 

Best Regards,

Community Support Team _Tang

Anonymous
Not applicable

Hi @v-xiaotang  

I have not solved the problem. Is the only option to add a date(time) to the data source?

 

Regards,

Hi @Anonymous 

yes, coz the function will change the whole column.

 

 

Best Regards,

Community Support Team _Tang

amitchandak
Super User
Super User

@Anonymous , see if DateTime.FixedLocalNow() can help. Add this as new column in power query

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  Thanks for your reply!
DateTime.FixedLocalNow() gives the exact date-time value for all the rows. When I inserted a new record to the source and refresh it again, The DateTime value changes for all the rows again, not only for the newly inserted rows.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors