i have a listbox "lstAuswahl" (SelectMultiple=True) that is filled by using this expression:
I want to filter a datatable accordingly to the one or more selected values in the listbox.
Using this for the items-property in the datatable:
Filter(Auszubildende;AP2_Zeitraum in lstAuswahl.Selected.Value) does not work.
The result is an empty table.
What is wrong?
Hoping for help!
Solved! Go to Solution.
Ah, okay - that's it! With this option it works.
Thank you very much for your help and your time!
May i ask you two more questions regarding this issue?
In the column AP1_Zeitraum i can see no values. I just see [object Object]. Is there a way to solve this?
2) "Reverse" multiple selection
I have a similar situation: The colum in the sp-list is a choice column with "allow multiple selection = no".
The listbox i use allows multiple selection. What woul be the solution then?
Set the Text property as below:
For the second question, it is easier than the original one.
Set the DataTable Items property as below:
Filter(SPList,Choice.Value in ListBox1.SelectedItems.Value)
Thank you very much again!
Now my (powerapps) problems are solved and i can go on.
Good to know there are helpful persons like you!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.