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 FILTER Fu...
Power Apps
Unanswered

Problem with FILTER Function

(0) ShareShare
ReportReport
Posted on by

I am seeking assistance with the following FILTER Function for an Items property of a Gallery where I want:
1. all rows with a 'Status' = Active, and
2. where an employee id number ('XO SN-PRI LABLEl") matches that of the user using the app (varMemberInfo)

The filter works when I use each logic test independently but fails when I put them both together. I've tried:

1. reversing the order of the logic tests, and

2. using 'And' as well as && in place of the ','

All with no luck. 

What am I missing?

Filter(
   'XO FOREIGN SERVICE PREMIUMS',
   varMemberInfo.'XO SN-PRI LABEL' = 'XO LU MEMBER'.'XO SN-PRI LABEL',
   Status = 'Status (XO FOREIGN SERVICE PREMIUMS)'.Active
)

Categories:
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @DC79 ,

    Can you show us the error ? 

    Filter(
     'XO FOREIGN SERVICE PREMIUMS',
     'XO LU MEMBER'.'XO SN-PRI LABEL' = varMemberInfo.'XO SN-PRI LABEL',
     Status = 'Status (XO FOREIGN SERVICE PREMIUMS)'.Active
    )

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard