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 gallery in canvas ...
Power Apps
Answered

Set gallery in canvas apps

(0) ShareShare
ReportReport
Posted on by 375

Hi, I have a question. I have two galleries. Both of them are using the same datasource which is Product Category.

 

Gallery A in page 1. Gallery B in page 2.

 

What I want to do is when user select item in Gallery A, then it will navigate to page 2 and the same item in Gallery B will be selected like the item selected in Gallery A. I dont want to filter the item in Gallery B. 

 

I read something about Set syntax. But im not sure how to use the formula.

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    In the Onselect of the icon inside Gallery1;

    Set(MySelection,ThisItem)

     

    Then in Gallery2 Default property put:

    MySelection

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard