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 / Combobox filter based ...
Power Apps
Answered

Combobox filter based on the Yes/No column of the SharePoint List

(0) ShareShare
ReportReport
Posted on by 38

Hello PowerApps Community, 

 

I am trying to filter out available choices on the combobox based on the yes/no column of the SharePoint List.

The yes/no column of the Sharepoint list does not need to be on the PowerApps form. But, use as for Game Title's Requestable reference only.

 

Not sure how I can achieve this but here are the details of the current data and situation:

 

-Items function-

Game Title = Choices('Product Details - Test'.Game)

 

-Data-

Game TitleRequestable
AYes (Checked)
BYes (Checked)
CYes (Checked)
DNo

 

The result and user can select from the Game Title combo box as 'A', 'B', OR 'C' only.

 

caligame_0-1678738340107.png

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @caligame,

     

    If Game Title is also a choice field, could you try the code below in the Items property of that dropdown:

     

    With(
     {
     //Temp store all unique game titles with the requestable value 'no'
     choiceValNo: Distinct(
     Filter(
     'Product Details - Test',
     Requestable = false
     ),
     Game.Value
     )
     },
     //Only display the choice options not contained in that filtered list
     Filter(
     Choices('Product Details - Test'.Game),
     !(Value in choiceValNo)
     )
    )

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

     

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @caligame 

    Please try the following,

    Filter('Product Details - Test', Requestable=true)

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • caligame Profile Picture
    38 on at

    @LaurensM Thanks! I have changed Requestable = True and removed ! from the filter to display the Yes option only.

    All working good! Thanks for the support.

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 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard