Hello,
I am a begginer user, trying to build an PowerApp. I added a DataTable, a textInputSearch and a dropDown1 filter Company.
When dropDown1 Filter Company is Blank, i want to display all Items from my list (NameList). I want to search based on Title, and if i select a value from dropDown, i want to display that exact item(s) or if i select a value from dropDown1, i want to display all items from that company value.
My Company column is Choice type, but i have another column for company but it is Single line of text.
Can someone help me to understand what should i do?
I have tried this in DataTable - Items:
If(IsBlank(Dropdown1.Selected.Value), NameList, SortByColumns(Search(Filter(NameList,Company.Value = Dropdown1.Selected.Value), TextInput1.Text, "Title", , Ascending))
When i want to search, it doesnt display anything. Only when i select a company value, it will display result based on Search and DropDown.
How should i search and filter in those two cases? (choice and single line of text column)
Thank you.