Advertisement
In Power apps using search function we cannot search with number fields by default, however there is a work around, in smaller lists we need to search with number field.
Designed
the screen as per the below.
Select the
gallery and items property add the below formula
Search(AddColumns(MYTasks,"Taskid",Text(ID)),txtSearch.Text,"Taskid")
Save the app and search with number 2 as an example, you can get the results with no 2
In Power Apps, you can search a gallery using a number by using the Search or Filter function on the numeric field. Since the Search function works best with text, numeric values often need to be converted using the Text() function. For example, you can search a numeric ID by writing Search(DataSource, TextInput1.Text, Text(NumberColumn)). This allows users to type a number and see matching records instantly. Using this approach makes galleries more dynamic and user-friendly when working with numeric data.
ReplyDelete