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 / Extracting previous re...
Power Apps
Unanswered

Extracting previous record from Dataverse

(0) ShareShare
ReportReport
Posted on by 37

I have a dataverse database with several columns, i am trying to extract the last submitted record from the database and show the  records (Name, Phone Number, ID, Description) in my power app gallery. i tried to filter the dataverse database using two conditions :

1. when the ID is less than 1

2. when the Department = a specific Department

 

I used the code below to execute it but it's not fetching the prior datas as expected:  

 

Clear(tempdata); Reset(gallerypositionsdefault);

   Collect(

        tempdata,

        Filter('Position Holders',erms_rou_id=Value(txtregunitid.Text) && erms_eid = Value(TextInput3_6.Text)-1 ));

UpdateContext({varShowPopup:false});

I have the same question (0)

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard