Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

CDS Edit, retain & store data

In the Common Data Service, we are able to create our own entities, based on data from a SQL Database for example. HOW does CDS store and retain data from a SQL Database in which the data is scheduled to refresh daily?


Example: Client A, Client B, Client C. Custom column added,. "Client has been contacted".


Client A

Client B

Client C


On a specific day Client B was contacted.

Client      Client has been contacted

Client A  

Client B               Yes

Client C


On the second day, after CDS has refreshed source data, HOW does CDS know that Client B was contacted, and retain that "Yes" we contacted them?




Dual Super User III
Dual Super User III

Re: CDS Edit, retain & store data

Hi @mtaube 


Can you please confirm if you have entities created in the CDS and you are referring to them in your app. 
Also, does data gets refreshed means,  that all the data has been wiped out?
As a suggestion, you can add a date attribute in your entity, so that you can store the day and the Yes/No value corresponding to it. Through this, you can directly get the record based on a client on a specific data using Filter() query.
Hope this helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Community Support
Community Support

Re: CDS Edit, retain & store data

Hi @mtaube ,

Could you please share a bit more about your scenario?

How do you load data from your SQL Table into the CDS Entity within your PowerApps? Using Data Integration project?


If you use Data Integration project to load Data from your SQL Table to your CDS Entity, I afraid that there is no way to achieve your needs. The duplicated record with same Client value would be overrided with values from your SQL Table.


Please share more details about your scenario, so we could provide a proper workaroud for you.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,498)