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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
N7Legend
Regular Visitor

Add today date each time data refresh

Hello,

I would like to add a column containing the current date each time I update my data on power BI, however I do not want my old data to change date.

Exemple:

IDDateImport
7748421/03/2023
3343

21/03/2023

 

Then, when I add data to my source and update on power BI:

IDDateI
7748421/03/2023
334321/03/2023
998025/03/2023
2 REPLIES 2
amitchandak
Super User
Super User

@N7Legend , Create a new table in power query using enter data only one value

https://youtu.be/5nE7YGT72kU

 

ID

9980

 

 

And then add a new column in power query

DateI = DateTime.Date(DateTime.LocalNow())

https://youtu.be/6eJWUvzfFAc

 

 

Then append two tables in the power query

https://youtu.be/KyXIDInZMxk

 

 

Unfortunately, this solution update every date every time I refresh data.
Maybe I'm doing something wrong ?

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors