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 set gallery ite...
Power Apps
Answered

How to set gallery item(button) selected when opening the app?

(0) ShareShare
ReportReport
Posted on by 2

I made a gallery(named as GalleryFilter) to filter other gallery(connected with Sharepoint list).


In GalleryFilter, I added the button.

 

I set the items property of GalleryFilter as below;

GalleryFilter.Items = Table({Filter: "결재 중"}, {Filter: "승인"}, {Filter: "반려"})

 

I want the {Filter: "결재 중"} button to be selected when opening the app.

So I set the default property of GalleryFilter as below, but it didn't work.

GalleryFilter.Default = First(Table({Filter: "결재 중"}, {Filter: "승인"}, {Filter: "반려"}))

 

What should I do? Please help me.

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

    Use the Select(buttonname) function in the OnVisible property of the screen.

  • Minhyun Profile Picture
    2 on at

    image.png

    I can't specify the button, I think it's because the button is the element of the gallery.

     

     

  • Verified answer
    Sattar312 Profile Picture
    9 on at
    Hi,
    You can't filter the table as it is an adhoc table. Work around to achieve this is to create a collection say colfilter onVisible as below
    ClearCollect(colFilter,{Filter: "결재 중"}, {Filter: "승인"}, {Filter: "반려"})
    and set your galleryFilter item as Filter(colFilter, Filter= "결재 중")

    Hope this works
    🙂

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 May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard