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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Create a static date when value appears

Hi All,

 

I have been putting off posting (out of nervousness really) for weeks and trawling the forums for a solution but I can't seem to find one.

I have a data set of Id's and status's and periodically these status's change but my original data source does not give me a date when this changes. I could update this every day by hand and load into BI but that would be very time consuming.

I have been trying through Power Query to figure a way to add a static date of when the value appears but not overwrite on every refresh until the value changes. 

 

The end game is to have how long anyone stays at a particular status until they move on which I can do in DAX  if i can get the date field before hand but its tripping me up.

 

Does anyone have any ideas please?

 

Below an example file.

IDNameStatus
A0223207Chris HamResearched
A043882Richards PottsDevelopment
A09907Dan MitchellResearched
A001359Colin CooperResearched
A00101910Steve DownieClose

 

Thank you

 

Chris

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

What is your desired result when a value changes? Could you mean you want to keep the previous data regardless of a value changes? Where shoud the previous data to be and where should the new data show?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-danhe-msft ,

 

Thanks for coming back to me.

 

In an ideal world I would like the data to look something like this.

IDNameResearchedResearch Start DateResearched End DateDevelopedDeveloped Start DateDeveloped End DateCloseClose Start DateClose End DateSupportStart DateEnd date
A186127Chris HamResearched01/04/201820/04/2018Developed20/04/201815/05/2018Close15/05/2018    

 

But unfortunately the source is data will only give me current status, but a new file will be overwrite the existing file every day, so I was hoping some form of append might be able to do it.

 

The file at the moment looks like this and there are 11 possible statuses.

IDNameResearched
A186127Chris HamResearched

 

Thanks

 

Chris

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.