Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

How to create a history log and display that in a field

(0) ShareShare
ReportReport
Posted on by 909 Super User 2024 Season 1

Hi,

 

I have two fields  "Action" and the "Date" this action was done (then it is submitted).

 

wonka1234_0-1693754128568.png

 

 

Now this can be done multiple times, is there anyway to store a history of the "submits" these two fields have experienced?

 

Ie Today I marked "Sent to Business" for Sept 3rd 2023. 

 

Next week I want to change it to Closed for Sept 7th 2023. 

 

Is there a way or a field I can create to show the previous submission?

 

Thanks.

  • wonka1234 Profile Picture
    909 Super User 2024 Season 1 on at
    Re: How to create a history log and display that in a field

    @Devvj  ah ok my datasource is sharepoint, so the audit feature may not be the greatest.

     

    Im liking the 2nd table.. write a new record to that each time.... i may have to do this! im gonna try it out and come back if i need any tips.

  • Devvj Profile Picture
    1,127 Super User 2024 Season 1 on at
    Re: How to create a history log and display that in a field

    Hi @wonka1234 

    You would first need to save the data as individual records in one way or another, if you use Dataverse as datasource you could however turn on Audit and use that table in you Canvas app directly to get access to the change history on items. Not sure if there is a similar way in SharePoint.

    That solution aside you could always set up a "history"-table in you data source and add a field thats a lookup to the item you want to save history for, in addition to set up a "old action value"-field and a "new action value"-field to hold the change made.

    Then basicly write a new record to that table every time you make an update to the action.
    Then you have a history/reference table with all the changes that are made for each action-record.

    Hope the concept was clear 🙂

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard