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

Filter fails

(0) ShareShare
ReportReport
Posted on by 52

Hi..   I have applied some filter on Datatable like i need to filter with First Name, last Name and two more fields.. But its failing sometimes.. Datatable is not loading sometimes..

Filter('[dbo].[Patient_Registration_Custom]',DataCardValue5_1.Text in RHCPRNO,DataCardValue18.Text in OAClientID , DcFirstN.Text in FirstName, DcLastN.Text in LastName)

This is my code.. Can anybody help?

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @neethup 

    My first question is: did you have any reason to use the IN operator instead of the (=) operator?  Try this instead...

     

    Filter('[dbo].[Patient_Registration_Custom]',
    DataCardValue5_1.Text = RHCPRNO,
    DataCardValue18.Text = OAClientID,
    DcFirstN.Text = FirstName,
    DcLastN.Text = LastName
    )

    If the error persists, you'll have to do some tests to determine if there is any pattern to when the Table fails to load.

     

    ---
    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

  • neethup Profile Picture
    52 on at

    @mdevaney  Hi.. = is not working for me so only in operator used

  • mdevaney Profile Picture
    29,991 Moderator on at
    Can you please give details on why (=) is not working? Did you receive an error message?
  • neethup Profile Picture
    52 on at

    @mdevaney Hi.. Im not getting any error message while using = but when i input something in textinput filter is not seems to work..

  • mdevaney Profile Picture
    29,991 Moderator on at

    What column type are these in your datasource?

     

    RHCPRNO,
    OAClientID,
    FirstName,
    LastName  

     

  • neethup Profile Picture
    52 on at

    @mdevaney Hi.. First two ID fields are integers and Name fields are varchar

  • mdevaney Profile Picture
    29,991 Moderator on at
    @neethup
    I am all out of ideas... it is strange that the equals operator does not work but IN does. Not sure if it is the data source or the app that is giving you problems.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard