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 / Gallery Selected Items...
Power Apps
Unanswered

Gallery Selected Items not pulling correctly in cascading prompts

(0) ShareShare
ReportReport
Posted on by 611

I have cascading drop downs. The 2nd and 3rd drop downs arent showing the values in the gallery once clicked which I think is because everything is reseting at the same time, so it doesn't yet have the rows it needs to show the correct selection. Any solutions?

 

Gallery: Gallery3

Form: Emp_Form

 

Cascade DropDown 1 -LOB_DataCard

Items: Sort('[dbo].[App_ICWO_HCM_Emp_LOB_vps]', LOB_Description)

Default: If( LookUp('[dbo].[App_ICWO_Entry]', ID = varRecord.ID).Request_Type = "PS on Commercial Chargeable" Or
LookUp('[dbo].[App_ICWO_Entry]', ID = varRecord.ID).Request_Type = "PS on Commercial Accountable", "PS", Gallery3.Selected.Resource_LOB_Description)

 

Cascade DropDown 2 -Title_DropDown

Items: Distinct(Sort(Filter('[dbo].[App_ICWO_HCM_Emp_JobTitle_vps]',LOB_DataCard.SelectedText.Value = LOB_Description), Job_Description), Job_Description)

Default: Gallery3.Selected.Resource_Title

 

Cascade DropDown 3 -USID_DataCard

Items: Sort( Filter('[dbo].[HCM_Emp]', LOB_DataCard.SelectedText.Value = LOB_Description && Title_DropDown.SelectedText.Result = Job_Description), Empl_Name)

Default: Gallery3.Selected.Resource_Name

 

Let me know if there is anything else I can provide that would be helpful.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @TesDA 

    Consider first changing your formulas to the following:

     

    Title_DropDown : Items:

    Sort(
     Distinct(
     Filter('[dbo].[App_ICWO_HCM_Emp_JobTitle_vps]', 
     LOB_Description = LOB_DataCard.Selected.LOB_Description
     ), 
     Job_Description), 
     Result
    )

     

    USID_DataCard : Items : 

    Sort( 
     Filter('[dbo].[HCM_Emp]', 
     (LOB_Description = LOB_DataCard.Select.LOB_Description) && 
     (Job_Description = Title_DropDown.Selected.Result)
     ), 
     Empl_Name
    )

     

    Take a look at some of the ways I altered this to fit your scenario and let me know if you have questions.

     

    I hope this is helpful for you.

     

  • TesDA Profile Picture
    611 on at

    Hi @RandyHayes , I altered the item values based on what you specified and I'm still getting the same result. LOB_DataCard switches to whatever is selected in the gallery however Title_DropDown and USID_DataCard do not.  Any other thoughts?

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 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard