I have a simple SharePoint list with 3 columns, ACTIVITY, ACTIVITY DETAIL and QTY. Activity and Activity Detail have drop down values to choose from. I have created a PowerApp for mobile users to quickly add items into the list. However, the ACTIVITY DETAIL list of values is rather long, and they have to scroll quite a bit to find values as there are over 40. However, there are only 4 values in ACTIVITY. ACTIVITY DETAIL is essentially based on the ACTIVITY and actually start with that value. Here are some examples of my values.
ACTIVITY ACTIVITY DETAIL
Unload Unload Cart
Unload Unload Boxes
Unload Unload Pallet
Ship Ship Glass
Ship Ship Wood
What I would like in the power app, if I choose my Activity = Unload that the only values that I would see in my Activity Detail dropdown would be Unload Cart, Unload Boxes, Unload Pallet. That is it. Activity Detail has to start with Unload. Same with Ship. If I choose Ship, I only want to see Ship Glass, Ship Wood in my Activity Detail drop down. For refence my datacard value for ACTIVITY is DataCardValue6 and ACTIVITY DETAIL is DataCardValue7. Here are some options I have tried to get it to work but I have syntax errors. Any help in pointing me in the right direction is greatly appreciated!
None of these work for DataCardValue7
Filter(([@'Cost Saving Activities'].ActivityDetail), StartsWith(([@'Cost Saving Activities'].Activity), Dropdown1.Selected.Value)).
Filter(([@'Cost Saving Activities'].ActivityDetail), StartsWith(([@'Cost Saving Activities'].Activity, DataCardValue6.Selected.Value))
Choices(([@'Cost Saving Activities'].ActivityDetail), StartsWith(([@'Cost Saving Activities'].Activity, DataCardValue6.Selected.Value))
Filter(([@'Cost Saving Activities'].ActivityDetail), StartsWith(DataCardValue6.Selected.Value))
