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 / Choice show in powerapps
Power Apps
Answered

Choice show in powerapps

(0) ShareShare
ReportReport
Posted on by 162

Hi Hi Hi. 

 

I've a question, If i would like to show selected choice that recorded in SP list to PowerApps gallery. How can I do. 

 

I've 3 choices in my choice 1.Leave 2.WFH 3.Event

 

EX. I want to show only selected Leave in gallery

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @nitisak

     

    To filter the gallery to just show the records that have selected "Leave":

     

    Filter(Collection/Table Name, 'Column Name'.Value = "Leave")

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • nitisak Profile Picture
    162 on at

    Hi @AARON_C 

     

    This is an error that I founded. 

     

    nitisak_0-1697077540257.png

     

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @nitisak

     

    Did you put this formula in the Items property of the gallery?

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @nitisak ,

     

    Each record includes different selected choice, and you need to define which record it is. Besides, Gallery control usually be used for displaying multiple items of a table. May I know why you need to display a single choice in Gallery?

     

    Best regards,

  • nitisak Profile Picture
    162 on at

    Hi @v-jefferni  

    I create Calendar app and try to separate calendar view between WFH and Leave. Now I'm stuck on view with only WFH and Leave. 

     

    I would like one calendar show only WFH choice that has selected from user (That I stored result in SP) and another show only Leave.  

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @nitisak ,

     

    Then as @AARON_C said, you need to put the formula in Items property of the Gallery to display all WFH items. For more clarity, could you please share your app screen in a screenshot in case we misunderstand?

     

    Best regards,

  • nitisak Profile Picture
    162 on at

    Hi @v-jefferni  @AARON_C 

    Sure. I have insert label under gallery to show the data that I would like. 

     

     

     

    nitisak_0-1697081468050.png

    nitisak_1-1697081476139.png

     

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @nitisak ,

     

    Ok, then you need to add a condition in the Filter function:

    Filter(
     Calendar,
     Status.Value = "WFH",
     StartDate = ThisItem.Value || SecondDate = ThisItem.Value || ThirdDate = ThisItem.Value
    )

     

    Best regards,

  • nitisak Profile Picture
    162 on at

    Hi @v-jefferni  

     

    Thank you now it 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 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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard