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 Apps
Unanswered

Filter Gallery

(0) ShareShare
ReportReport
Posted on by 310

I have a gallery filtered with Filter('data source','Created By'.Email="email@email.com")

My data source is an SP list and I have a column named "Status" which is a single line of text.

I will like to filter using an AND Condition to include the Status.

 

I have tried this: but I am getting an "incompatible type message". What am I doing wrong? The filter seems to work, but the message persists.

Filter('datasource','Created By'.Email="email@email.com") &&('Status'=2))

Categories:
I have the same question (0)
  • Verified answer
    rubin_boer Profile Picture
    4,841 Super User 2024 Season 1 on at

    hi @Canadiansal 

     

    || is equal to OR

    && is equals to AND

     

    you currently using a condition based on X or (||) Y , so try X and (&&) Y . also check your brackets

    Filter('datasource','Created By'.Email="email@email.com") || ('Status'=2))

     
     
  • Verified answer
    eka24 Profile Picture
    20,923 on at

    @Canadiansal 

    Filter('datasource','Created By'.Email="email@email.com" && Status=2)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Canadiansal Profile Picture
    310 on at

    Thank you! I changed the filter to text(2) and the warning went away. Is this because the Column is a single line of text and it could not evaluate 2?

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard