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 / Get difference value o...
Power Apps
Answered

Get difference value on collection

(0) ShareShare
ReportReport
Posted on by

I have a collection to get data before and after submit form like this

DTL_0-1718183425382.png

I want to find some difference value in two row such as: Specifications: "blank value"-> test

to get history of change when someone edit item.

Pls give me some suggest. thanks a lot

 

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @DTL ,

     

    I made a sample for you.

    vxiaochenmsft_0-1718248507426.png

    vxiaochenmsft_1-1718248522411.png

    vxiaochenmsft_2-1718248531179.png

    ClearCollect(Col2,If(First(Col).Col1<>Last(Col).Col1,"Col1: " &First(Col).Col1&"->"&Last(Col).Col1),If(First(Col).Col2<>Last(Col).Col2,"Col2: " &First(Col).Col2&"->"&Last(Col).Col2),If(First(Col).Col3<>Last(Col).Col3,"Col3: " &First(Col).Col3&"->"&Last(Col).Col3))
    Concat( Filter(Col2,!IsBlank (Value)),Value,Char(13))

     

    Best Regards,

    Wearsky

  • CU25090443-0 Profile Picture
    on at

    @v-xiaochen-msft very helpful. thanks a lot

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard