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 / Filtering combo box
Power Apps
Unanswered

Filtering combo box

(0) ShareShare
ReportReport
Posted on by 559

Hi All,

I have a gallery and form. When a item is selected in gallery it navigates to the form where I have a column called Implementation status combo box which lists down values. When the user is coming for the first time and the implementation status Colum has blank value, it must display only first two values in combo box( i.e. Open/ in progress) . When Open/ in progress is selected and saved and when the user comes the second time the combo box should display the next two values in combo box( ready for sepg review/under sepg review). Likewise it must display next two values. Any help / suggestion on this. 

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

    @Uthhra 

    • If 'Implementation status' is a choice type column, go to SharePoint and change it to Single line of text
    • In the app Settings, Activate the Named Formulas option
    • in App.Formulas, make sure the ";" ends each line

     

    T1 = ["Open","In Progress"];
    T2 = ["ready for sepg review","under sepg review"];
    T3 = ["Final","Archived"];

     

    • Add a "+" icon to the screen with OnSelect:
      • NewForm(yourform) ;Set(var,T1)
    • Unlock the 'Implementation status' card
      • hide the combobox
      • Add a dropdown control named ddStatus
        • Items property: var
        • Default property: Parent.Default
      • in the Update Property of the card
        • replace the text with ddStatus.Selected.Value
    • In the Gallery ">" icon

     

    EditForm([@Form1]);
    If(
     ThisItem.'Implementation status' = "Open" || "In Progress",
     Set(
     var,
     T2
     ),
     ThisItem.'Implementation status'= "ready for sepg review" || "under sepg review",
     Set(
     var,
     T3
     ),
     Set(
     var,
     T1
     )
    )

    or

    EditForm([@Form1]);
    Switch(
     ThisItem.'Implementation status',"Open", Set(var,T1),
     "In Progress",Set(var,T2),
     "ready for sepg review", Set(var,T2),
     "under sepg review",Set(Var,T3),
     Set(var,T1)
    )

     

     

  • Sri Profile Picture
    559 on at

    @Drrickryp ,

    I can not change the column Implementation status to single line of text because I'm using the column in few other screens also. In my case it should be when the respective item is selected from gallery my form which has this column Implementation status should load the respective values. 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Oh well. 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Oh well. 

  • Sri Profile Picture
    559 on at

    @Drrickryp 

    The method which you suggested above will it work without changing the column to single line of text.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard