Hi community,
I have a Power App. I added a textsearchbox and a gallery. I connected the gallery to a datasource. In a column from the datasource I have a large string and when I type in the textsearchbox (e.g. python,java) I want to have in the gallery those records that have python and java. How can I achieve this?
Thank you!
Solved! Go to Solution.
Hi @Andrei_Cimpoes,
Have you solved your problem?
Do you want to filter the Gallery based on search box with multi strings?
Could you please tell me that if you want both the strings you input or either of them you input?
If you want to filter the records that including python and java in a column at the same time, you should try to set the Gallery Items property as below:
Filter([@Actions], TextSearchBox1.Text in MultiLine)
If you want to filter the records that including python or java, you should refer to the formula from @CNT.
Hi @v-qiaqi-msft ,
I've managed to solve this issue. I create four textboxes and added a formula
Filter([@Actions], TextSearchBox1.Text in MultiLine)
with the and operator and it's working.
Best regards,
Andrei
@Andrei_Cimpoes Try this,
Filter(yourDataSource, yourColumnName in textsearchbox.Text)
Hi @Andrei_Cimpoes,
Have you solved your problem?
Do you want to filter the Gallery based on search box with multi strings?
Could you please tell me that if you want both the strings you input or either of them you input?
If you want to filter the records that including python and java in a column at the same time, you should try to set the Gallery Items property as below:
Filter([@Actions], TextSearchBox1.Text in MultiLine)
If you want to filter the records that including python or java, you should refer to the formula from @CNT.
Hi @v-qiaqi-msft ,
I've managed to solve this issue. I create four textboxes and added a formula
Filter([@Actions], TextSearchBox1.Text in MultiLine)
with the and operator and it's working.
Best regards,
Andrei
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.
User | Count |
---|---|
201 | |
73 | |
50 | |
41 | |
30 |
User | Count |
---|---|
254 | |
119 | |
95 | |
91 | |
78 |