Hello @v-qiaqi-msft ,
Thanks for taking the time to respond, i hope i can paint a better picture for you today.
Here is what i have in APP Start for the collection:
ClearCollect(colCustomerSort, Sort('OS Project Tracker'.RequestorsOffice, RequestorsOffice.Value, SortOrder.Ascending));
ClearCollect(colCustomerClear, Distinct(colCustomerSort, ThisRecord.RequestorsOffice.Value));
This is what is on the Dropdown and yes its a Dropdown not a Combo Box (Maybe thats my issue?):
colCustomerClear
And lastly, here is what is on my galleries (4 total) as my filter (RequestorOffice is 3rd one down):
Sort(
Filter(
'OS Project Tracker',
ProjectCategory.Value = "Requested",
IsBlank(OSDivisionDD.Selected.Value) Or OSDivision.Value = OSDivisionDD.Selected.Value,
IsBlank(ProjectLeadDD.Selected.Value) Or ProjectLead.DisplayName = ProjectLeadDD.Selected.Value,
IsBlank(RequestorOfficeDD.Selected.Value) Or RequestorsOffice.Value = RequestorOfficeDD.Selected.Value,
IsBlank(ProjectCycleDD.Selected.Value) Or ProjectStatus.Value = ProjectCycleDD.Selected.Value,
IsBlank(varPrioritySort) Or DirectorChiefPriority = varPrioritySort,
IsBlank(varDiscussionSort) Or NeedsAssistance = varDiscussionSort,
IsBlank(BoardApprovalDD.Selected.Value) Or 'Board Review' = BoardApprovalDD.Selected.Value
),
RequestSort,
SortOrder.Descending
)
So with all that said, basically im creating the collection from the RequestorsOffice on APP Start and putting them in alphabetical order. Then the dropdown lists them in order and I can choose one which will then filter my Galleries to that. It works, no issues. Users like it and have been using it for a while now. But my boss asked me within that dropdown, if its possible to Add a new choice, like GStaff or MLRC and when that is selected, it will auto filter for ALL the offices within that area, ex GStaff = G1, G2/6, G4, G8, etc. They do not want to be able to click on multiple choices, that was one of my questions to them, they want to be able to only select one at a time.
So, in my head I thought, easy, create a collection, then a variable that's called Gstaff or MLRC and have it call those other offices, when I did that, and add it into my dropdown, all it does is blank everything out. I then realized, I have nothing connecting that new choice to that variable or whatever else I could use.
So that's my question, is it possible to create a new option, put it at the top of the dropdown, then when selected it selects the offices tied to that selection and filters to show them?
Hope that makes more sense, appreciate your time.
Josh