Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

ComboBox sorting based off another ComboBox selection

(0) ShareShare
ReportReport
Posted on 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
    carrie-anne27 260 on at
    Re: ComboBox sorting based off another ComboBox selection

    This formula doesn't work

  • carrie-anne27 Profile Picture
    carrie-anne27 260 on at
    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
    Inogic 901 on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard