Hello PowerApp Community
I am setting a variable, costCenterCode, to LookUp my collection, ListOfCostCenters, to see if the code is contained within the collection.
You can see costCenterCode is 2933010, however the variable costCenter returns blank after the lookup.
When I remove costCenterCode and input "2933010" instead:
You can see, we get the desired cost center in our variable costCenter.
Can anyone see why I can't achieve the desired output from the LookUp when using the variable costCenterCode?
Thank you in advance!!
Solved! Go to Solution.
Hi @jmulvane ,
The detail you have omitted is the output of
you are setting the variable to the piece after the last "-" in the selection. You also to not need Text() as it is already a string.
Set( costCenterCode, Last( Split( CIPComboBox.Selected.'For list’, "-" ) ).Result );
Keep up to date with current events and community announcements in the Power Apps community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!