web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Search displays undesi...
Power Apps
Unanswered

Search displays undesired items in backend

(0) ShareShare
ReportReport
Posted on by 26

I have a search box and a dropdown for it, which gives options on employee departments. When searching, it also displays undesired results, which i filtered out from showing, but they still show in the backend, so dropdown still gives their "departments".

how can i make the dropdown not show the departments for the employees, which dont fit my filter criteria. 

 

code from dropdown:

SortByColumns(Distinct(Office365Users.SearchUser({searchTerm:IskalnikZaposlenihTxt.Text,top:950}), Department), "Result")

 

code for search button: 

Set(varTable, Filter(Office365Users.SearchUser({searchTerm:IskalnikZaposlenihTxt.Text,top:950}), Department = OddelekDropdown.Selected.Result, IsMatch(Mail, "xyz", Contains & IgnoreCase)))

 

code for search box: 

If(IsBlank(Trim( IskalnikZaposlenihTxt.Text)),DisplayMode.Disabled,DisplayMode.Edit)

 

hope my issue is understandable.

 

thanks for help 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 70

#2
WarrenBelz Profile Picture

WarrenBelz 64 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 36 Super User 2026 Season 1

Last 30 days Overall leaderboard