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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Function No Err...
Power Apps
Answered

Filter Function No Error But Not Working

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have some trouble with the Filter function. I have two SharePoint lists. One called General Info which contains general employee infos with a column called EID - DataField = ye5n. The other list called HR which includes assigned tasks for HR department to complete with a column called Employee ID. For each employee, there are multiple tasks. I'm trying to create a filter for tasks based on employee. This is the formula I'm trying to use. There is no error but nothing shows up.

 

Filter(HR, BrowseGallery1.Selected.ye5n = Employee_x0020_ID)

 

I really appreciate if someone could help me solve the problem.

 

Thank you.

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    on at

    Hi @Anonymous,

     

    What is the column type of the column "Employee ID" in HR list? And what is the column type of the "EID" column in General Info list? 

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-monli-msft,

     

    I used to have the employee ID in HR as "LookUp" but it didn't work. So I now have it as "Single line of text". Both of them are "Single line of text". 

    General Info.PNGHR.PNG

  • Verified answer
    v-monli-msft Profile Picture
    on at

    Hi @Anonymous,

     

    If both fields are text column type. Then the formula should be:

    Filter(HR, DataCardValue1.Text=Employee_x0020_ID)

    DataCardValue1 is the label control's name of EID column in General Info gallery.

     

    If "Employee ID" is a lookup column, then the formula should be:

    Filter(HR, DataCardValue1.Text=Employee_x0020_ID.Value)

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    on at

    Thank you @v-monli-msft! That works out perfectly!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard