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 / Variable on each recor...
Power Apps
Answered

Variable on each record of gallery

(0) ShareShare
ReportReport
Posted on by 301

Variables are set globally but need a variable (diff type ) where I can use on each record specifically .
Basically not SET and UpdateContext for variable , that variable can be used for that record and not anywhere else , that variable can't be used outside of that specific record
Any help on this will be appreciated .

Categories:
I have the same question (0)
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    A collection is like a global variable in that it has scope throughout the app. Make sure to include a unique ID column that matches the column of the table used in the gallery so that you can use LookUp() to retrieve the desired record.

     

    You'll use Collect() to create the rows of the collection, and Patch() can change them for you when needed.

     

    Is that enough to go on?

    Bryan

  • Ape Awakening Profile Picture
    301 on at
    Thanks , this helps me to figure it out .

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 387

#3
timl Profile Picture

timl 344 Super User 2026 Season 1

Last 30 days Overall leaderboard