web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / [Model Driven APP] - R...
Power Apps
Unanswered

[Model Driven APP] - Record keep old values from lookup column

(0) ShareShare
ReportReport
Posted on by

Hello,

I have entity called HC Reports with the following structure:

No.Col (primary key)HC Country (text)HC Function (text)
1233FRANCEHUMAN RESOURCES
2343FRANCEENGINEER


And other entity called Report with the following structure:

ReportIDHC Report (lookup to HC Reports)HC Country (HC Report)HC Function (HC Report)Date
13231231233FRANCEHUMAN RESOURCES01/08/2023
2342342343FRANCEENGINEER01/08/2023

 

Every month the HC Report entity is updated and some HC Functions could be updated with new values.

The report data is created for each month, but every time a record from HC Reports updates, the value reference used in Report entity is updated. That's a normal behaviour in DataVerse.

In our case, we need the records from Report keep the previous values from the HC Reports lookup column and only the new added records use the new/changed values from the lookup.
Is it possible to achieve this in Model Driven APP?

Thank you,
Ruben

 

I have the same question (0)
  • gulshankhurana Profile Picture
    1,397 Moderator on at

    Hi @RubenRD 

     

    If you would like to keep the values as originally entered then you'd need to store those values locally in the Report table.

    For this, you'd first need to create the fields/columns (with like-for-like field/column types) in the Report table for which you want the old values to be retained. You can set the fields to be read-only if you don't intend to update them in the Report table.

    You can then create a Power Automate flow that copy-pastes the values from HC Reports to Report table. You'd need to think of a trigger that'd make the flow run only once. 

     

    I hope this information helps.

     

    Kind regards

    Gulshan

    -----------------------------------------------

    Please give a Thumbs Up to my reply if you appreciate my effort. If it helps resolve your query then please accept my reply as a solution.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 462

#2
WarrenBelz Profile Picture

WarrenBelz 425 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard