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 / Can I use filter and s...
Power Apps
Answered

Can I use filter and search together for a data table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I am trying to filter a data table to show much all the records which are approved and have the same title as a datacard in a form.

 

The following code works to just bring back all the titles which are the same:

Search('datasource',DataCardValue10.Text,"Title")

 

I have tried filter but can't call DataCardValue10 as text.

 

Any help will be much appreciated. 

 

Thank you

Categories:
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hey @Anonymous 

     

    I'm going to assume you have some kind of status column here - you should be able to use something like the following to filter for both Titles that start with (i.e. search) and have a status of Approved:

    Filter(
     'Data Source Name', 
     StartsWith(Title, DataCardValue10.Text),
     Status = "Approved"
    )

     

    If your status column is a Choice then something like this:

    Filter(
     'Data Source Name', 
     StartsWith(Title, DataCardValue10.Text),
     Status.Value = "Approved"
    )

     

    Cheers,

    Sancho

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @Anonymous 

    You'd do this by nesting the 2 calls.

    The formula would look something like this:

    Filter(
     Search('datasource',
     DataCardValue10.Text,
     "Title"
     ),
     RecordStatus="Approved"
    )

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you very much this works 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

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 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard