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 / set variable on items ...
Power Apps
Unanswered

set variable on items property in gallery

(0) ShareShare
ReportReport
Posted on by 820

Hi

Can i set somehow the variable on items property in a gallery on combobox control?

My goal is to test if this improves gallery performance because on combobox the items is set to Choices(Components.'TaskDescription') where in the backend dataverse this column is a lookup to other table. I have noticed that on gallery refresh after patching or scrooling it makes a lot of requests back to datasource to my lookup columns and i am guessing it might have negative influence to app performance as it is now very slow with only 62 gallery items. Scrooling slow, and after patch gallery makes refresh probably by it's default behaviour and it also takes long. 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @jja 

    You can create a collection in the OnVisible property of the screen and use that as the Items property of a galley or combobox. It will be lightning fast.

  • julijazas Profile Picture
    820 on at

    @Drrickryp 

    Ok but how to add this collection column to combobox item? if i add like choices(collectionname.Columnname) it gives me error

  • julijazas Profile Picture
    820 on at

    @Drrickryp ok i found how to do that but i see it does not solve my gallery issues. I used monitor and the patch copy delete takes like 80ms but i think somehow the gallery renderring after these actions take the most time. IF i have few items in gallery all is ok if like now 62 and i need to scroll - even scrolling is a pain. It is lagging for the rows to reappear

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
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard