Hello
I have a sharepoint list with columns of different type.
- User - a person type column, which gets the user from the office group
- Location- a location type column, who store a city information
- Whatsapp - a number type column
- Team - a text type column
In my power app i have a gallery who uses a sharepoint connector to grab data from the list.
the labels of my gallery are
- ThisItem.User.DisplayName
- ThisItem.'Location: Name'
- ThisItem.Whatsapp
- ThisItem.Team
I have no problem in visualizing the data but i do have issues when i try to search.
On the Items property of my gallery i have the following function. if i just use the following code it works fine.
Search(myData,SearchBar.Text,"Whatsapp","Team")
But i need to search also by User.DisplayName/Location.City and when i try to add them it doesn't work.
Search(myData,SearchBar.Text,"Whatsapp","Team",User.DisplayName,Location.Name)
this is how i tried, what am i doing wrong?
Thank you so much