Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Office365Users and gallery Items

Like (1) ShareShare
ReportReport
Posted on 16 Mar 2025 23:59:22 by 924
Hello everyone,
I have a gallery whose Item is defined as follows:
 
Filter('Office365Users'.SearchUser({searchTerm:TextInput1.Text});(StartsWith(GivenName; TextInput1.Text) || StartsWith(Surname; TextInput1.Text)) && AccountEnabled = true && JobTitle <> "NA")
 
 
There are three users who don't appear when I browse the gallery (it contains almost 32 items), but when I search, I find them.
I want to know what the problem is and how to make them appear when I browse the list.
  • gikido Profile Picture
    924 on 17 Mar 2025 at 09:02:04
    Office365Users and gallery Items
    Hi  thank for your answers ,
     
    The problem is, even if I remove the filter with this expression:
     
    'Office365Users'.SearchUser({searchTerm:""})
     
    these contacts don't appear.
  • MSR@08012015 Profile Picture
    576 on 17 Mar 2025 at 05:17:40
    Office365Users and gallery Items
    Hi,
     
    The issue is with the filter query, filter query which you write returning some x rows means then those results only matching .
     
    We checking JobTitle <> "NA" what if the JobTitle is blank those records also needs to be included or not.
     
    Can you please clarify.
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item
  • Michael E. Gernaey Profile Picture
    36,281 Super User 2025 Season 1 on 17 Mar 2025 at 05:11:35
    Office365Users and gallery Items
     
    Unfortunately, you do not share those names so we cannot tell you, other than, you must be writing a bad filter, which won't include them, but no way to tell you in what way its bad.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,479 Most Valuable Professional

Leaderboard
Loading started