Hi,
I am new to PowerApps and I have a ComboBox with a list of IDs from an imported Excel File (~15000 rows). When the user selects some particular IDs, a view-only label should list the corresponding Name of the person then write it to a column in another file. For instance:
Table Name: ExampleTable
Column: ID, Name
| ID | Name |
| ID-01234 | Joe Pringles |
| ID-23456 | Billy Crisps |
| ID-13729 | Flavor Dorito |
| ID-39174 | Sun Chips |
So if the user selected "ID-01234" and "ID-13729" in ComboBox3, a label would display "Joe Pringles, "Flavor Dorito" then write these values into another table, SnackTable, in columns snackID and snackNames.
My current code looks like:
Data Card for ComboBox3
Update: ComboBox3.Selected.'ID'
ThisItem: ThisItem.'snackID'
ComboBox
Items: ExampleTable.'ID'
Data Card for Label
Update: DataCardValue.Text
ThisItem: ThisItem.'snackNames'
Text Input/DataCardValue
Default: Concat(Filter(ExampleTable, ExampleTable.'ID' = ComboBox3.Selected.'ID'), ExampleTable.'Name' & ", ")
The issue seems to be with the formula where it is comparing a table to text, but regardless I am doubtful that this is even the right method to do it. Ideally for every ID the user selects, a new record/row in the table would be made with all the same information except for that ID and Name, but that is the next problem for me to tackle. Any help with this issue would be much appreciated!!