I have the following code which filter a SharePoint list and look up the data.
With({_dataForSecondDD: Choices(AccountCreationList.'Client''s Floor Number:')},
ForAll(Choices(AccountCreationList.'Client''s Work Address:') As _choice,
{Value: _choice.Value,
Items:
Switch(_choice.Value,
"56 Wood ST", Filter(_dataForSecondDD, Value in "8th floor 9th floor 12th floor"),
"59 Main Street", Filter(_dataForSecondDD, Value in "34th floor, 35th floor, 36th floor, 37th floor"),
_dataForSecondDD
)
}
)
) Currently the code is separating the numbers for example: 34th floor is showing as 4th floor. Is there a way to separate this to show 34th floor etc?
This is resolve on a another post:
https://powerusers.microsoft.com/t5/Building-Power-Apps/Hide-Dropdown-Fields-Based-On-a-Selection/m-p/1787804#M453391