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 / How to change the "cur...
Power Apps
Unanswered

How to change the "currentitem" record value?

(0) ShareShare
ReportReport
Posted on by 6
How do I change the currentitem record to a different record? e.g when I type in currentitem into the formula at the moment - its defaulting to our incident table (where I can only grab the fields/values from that table) but what if I wanted to change what record the currentitem is grabbing from to the Safety Walk table that we have?

Trying to figure it out so I can add a filter for the list of items displayed in the gallery.
 
e.g
 
Filter(SafetyWalkWorksites,SafetyWalk.SafetyWalkID = currentItem.SafetyWalkID)
 
But because "SafetyWalkID" is from the SafetyWalk table, I can't grab that field as the currentitem is defaulting to the Incidents table?
 
Thanks in Advance
Categories:
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    If you are only seeing the incident table then that is the data source of the control that you are using. Please provide more details such as the controls, data source, etc. and may be a screenshot showing the error.
  • SR-30100126-0 Profile Picture
    6 on at
    The control is as mentioned above is a gallery, and the selected data source for the gallery is "safety walk worksite" so is not pointing to the incidents table. There isn't an error, as this is not to do with an error but more of it pointing to the incidents table when trying to use the "currentitem" function when I would like it to point it to the "Safetywalk" table instead, but not sure how I can change that.
  • ronaldwalcott Profile Picture
    3,914 Moderator on at
    Still not sure that I understand.
    What controls are referencing the "Safety Walk" table?
    What controls are referencing the Incidents table?
    What is currentItem? You have not explained what this is.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard