I have created 2 combo box "cbt name" and "customer unique name".
I want values in "customer unique name" such a way that only relevant values shows as per the selection done in CBT name.
Filter('LAT APP data',CBT Name= DataCardValue11.Selected.result).
But the above function is not working.
DataCardValue11 is the combo box for CBT name.
PLS Help.!!
Solved! Go to Solution.
Hi @Anonymous ,
Could you please share more details about the formula you typed within the Items property of the CBT Name ComboBox?
Are the 'CBT Name' field and 'Customer Unique Name' field both Choice type column in your Data source (e.g. a SP List)?
If the 'CBT Name' field and 'Customer Unique Name' field both Choice type column in your SP List, I think there is something wrong with your formula. Please consider modify it as below:
Filter('LAT APP data','CBT Name'.Value = DataCardValue11.Selected.Value)
If the Items property of the 'CBT Name' ComboBox is set to a Distinct(...) formula, you need to modify above formula as below:
Filter('LAT APP data','CBT Name'.Value = DataCardValue11.Selected.Result)
Please consider try above solution, then check if the issue is solved.
Regards,
If CBT name is a column, put it in single quotes:
Filter('LAT APP data','CBT Name'= DataCardValue11.Selected.result)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Combo boxes can return a table, which I believe is the issue here. If you want a single value to search on you can use .Value instead of .Result - I believe. If you are selecting multiple names of Customers that is a different issue.
If you are only trying to select one customer I would suggest using a dropdown, not a Combo box. Dropdowns only return one value and can be used with the Filter formula yo have.
Looking more closely at the error, it appears that PowerApps is not picking up the control correctly. I would try saving, and exiting PowerApps. Then go back to editing. You may also need to delete that formula and re-enter it.
However the caveat about the Dropdown vs Combo box holds. This formula will only look up the first selection in the Combo Box, I believe.
There are multiple values in CBT Name and Customer name as well.
Take a screenshot of the formula on the first dropdown. Also can you show a sample of your table
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.