Skip to main content

Notifications

Community site session details

Community site session details

Session Id : t1NKfnY3XO6CubQNOQxpxq
Power Apps - Building Power Apps
Unanswered

ComboBox sorting based off another ComboBox selection

Like (0) ShareShare
ReportReport
Posted on 23 Feb 2024 03:51:10 by 260

Hi all,

In the below, I am trying to get the "Catchment" to only show the "Catchments" for the selected "Service Type", "Recycled Water" in this case, however, the Service Type and Catchment are on two separate tables, but the Catchment table has an ID number for each Catchment depending on the Catchments type, for example, Recycled Water has a Catchment ID of 4, where as Sewerage Catchment ID is 3). So I guess what I am trying to do is:

 

If "Service Type" = "Recycled Water" then only show "Recycled Water Catchments"

 

carrieanne27_0-1708660218123.png

 

These are both currently in an editable form. 

  • carrie-anne27 Profile Picture
    260 on 27 Feb 2024 at 23:39:08
    Re: ComboBox sorting based off another ComboBox selection

    This formula doesn't work

  • carrie-anne27 Profile Picture
    260 on 23 Feb 2024 at 06:37:10
    Re: ComboBox sorting based off another ComboBox selection

    So sorry, I forgot to say that it is in an editable form, but do you think a gallery would be a better option?

  • Inogic Profile Picture
    935 Super User 2025 Season 1 on 23 Feb 2024 at 06:23:41
    Re: ComboBox sorting based off another ComboBox selection

    Hi @carrie-anne27 

    To achieve this in Power Apps, you can use the Filter function to filter the Catchment table based on the selected Service Type.

    Assuming you have a dropdown control named ServiceTypeDropdown for selecting the Service Type and a gallery control named CatchmentGallery to display the filtered catchments, you can use the following formula:
    Filter(
    Catchment,
    Type = "Recycled Water"
    )

    Here Catchment is the name of your Catchment table, and Type is the column in the Catchment table that specifies the type of catchment. Replace "Recycled Water" with the actual value you're using for Recycled Water catchments if it's stored in a column.


    You can set the Items property of your gallery control (CatchmentGallery) to this formula to display only the Recycled Water catchments when the Recycled Water service type is selected.


    Thanks!

    Inogic Professional Service Division

    An expert technical extension for your techno-functional business needs

    Power Platform/Dynamics 365 CRM

    Drop an email at crm@inogic.com

    Service:  http://www.inogic.com/services/ 

    Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading complete