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 / Finding a specific rec...
Power Apps
Unanswered

Finding a specific record and doing something

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

So I have this Table with a lot of records, and I want to find one (or more) with one specific value for a specific column, and if it exists then I want o do something. I noticed Filter, Search and LookUp don't work because they return a table and I can't do anything with it, what can I do?

Categories:
  • timl Profile Picture
    37,418 Super User 2026 Season 2 on at

    Hi @Anonymous 

    You might want to consider the use of the CountIf function.

    Here's an example of the syntax you would use.

    If( CountIf(UserTable, EmailAddress="tim@tim.com" ) = 0,
    Navigate(NewScreen),
    Navigate(EditScreen)
    )

    In this example, if a row doesn't exist in the UserTable with the EmailAddress  tim@tim.com, this formula navigates to a screen called NewScreen.

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you decribe more clearly about your demands?

    If you need a table, I suggest you use this formula: Filter(tablename,formula) 

    If you need a record, Isuggest you use this formula: LookUp(tablename, formula)

    If you need a value, I suggest you use this formula: LookUp(tablename,formula,fieldname)

    These formulas' result is different. You need to choose according to your demands.

    Here's a doc about these fucntions for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

     

     

    Best regards,

    Community Support Team _ Phoebe Liu

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

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard