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 / Problem with User Tabl...
Power Apps
Answered

Problem with User Table and the Filter Function

(0) ShareShare
ReportReport
Posted on by 2,557 Super User 2026 Season 1

Hello all,

 

 i came across a strange problem.

 

I wanted to compare the 'Full Name' attribute from the User-Table to the resourceLeader.Name, which is just another Full Name stored in another table. Definitely a string.

 

Why so ever it seems that the LookUp or the Filter does not work when I use that way.

When I on the opposite use 'Full Name' = Text(resourceLeader.Name) it works, anyways I get a delegation which is not necessary here.

 

The workaround was to use a collection and store the fullname and email inside and use that to fill in the LookUp.

 

Does somebody know why the LookUp seems to have a problem with the 'Full Name' of the User-table?

 

The code which I used:

 

ClearCollect(
 colUserLookUpEmail,
 ForAll(
 Users,
 {
 fullName: 'Full Name',
 eMail: 'Primary Email'
 }
 )
);

ClearCollect(
 colBookableRessourceCharacteristicsGetEmailOfLeaders,
 ForAll(
 colBookableRessourceCharacteristicsGetLeaders,
 {
 userMail: LookUp(
 colUserLookUpEmail,
 fullName = resourceLeader.Name,
 eMail
 )
 }
 )
);

 

 

Categories:
I have the same question (0)
  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    Are you getting incorrect results? Are you getting an error? What exactly is not working?

  • Verified answer
    CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @Lucas001 ,

    The workaround you used is not quite a good one, as the User table can have a large number of items which you don't need. ForAll() function will iterate through all items that will affect the responsiveness of the app. 

    So: 

     

    ClearCollect(
     colUserLookUpEmail,
     ShowColumns(
     Filter(Users,'User Licensed'),
     "fullname",
     "internalemailaddress"
     )
    )

     

     The second part:

     

    ClearCollect(
     colBookableRessourceCharacteristicsGetEmailOfLeaders,
     ForAll(
     colBookableRessourceCharacteristicsGetLeaders,
     {
     userMail: LookUp(
     colUserLookUpEmail,
     fullname = resourceLeader.Name,
     internalemailadress
     )
     }
     )
    );

     

     

  • Lucas001 Profile Picture
    2,557 Super User 2026 Season 1 on at

    Hi @BrianS

     

    I get an error which says fullname is not a text property and cannot be displayed in a gallery for example.

     

    @gabibalaban, totally forgot the ShowColumns-function. Will improve the workaround, thanks for the support.

    I will see if the error persists with that as the Fullname of the User-Table seems to make the problem occur. 

     

    Edit: @gabibalaban your solution works and is more performant than mine. Thanks for your support.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard