100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
Low-Code

Common Functions: Patch, Filter, LookUp

Patch, Filter, and LookUp are the three functions a Power Apps maker reaches for constantly — to write data, to query many rows, and to find exactly one row.

Power Fx FormulasIntermediate10 min readJul 10, 2026
Analogies

Three Functions You Will Use Every Day

Nearly every canvas app revolves around reading and writing rows of data, and three functions carry most of that weight: Filter returns every record from a data source matching a condition, LookUp returns exactly one record matching a condition, and Patch creates or modifies records in a data source. Understanding the precise contract of each — what they return, when they run, and how they interact with delegation — is the difference between an app that scales to a large SharePoint list or Dataverse table and one that silently breaks past a few hundred rows.

🏏

Cricket analogy: These three functions are like a captain's three core tools: Filter is scanning the whole squad for all all-rounders, LookUp is pulling one specific player's file by name, and Patch is updating that player's fitness record after training.

Filter: Many Rows That Match

Filter(Source, Condition1 [, Condition2, ...]) evaluates every record in Source against the given condition(s) — implicitly ANDed together if more than one is supplied — and returns a table containing only the matching rows, without changing the order of the underlying source. It is the function behind almost every gallery's Items property when the app needs to show a subset of data, such as Filter(Orders, Status = "Pending", Region = varSelectedRegion), and critically, when Source is a connected data source like SharePoint or Dataverse rather than a local collection, Power Apps attempts to delegate the filter to the server so it can evaluate the full table remotely instead of pulling everything down first.

🏏

Cricket analogy: Filter is like a selector scanning the entire domestic season's stats and pulling out every batter who averaged above 45 — many names can qualify, and the full squad list underneath stays unchanged.

LookUp: Exactly One Row

LookUp(Source, Condition [, ResultColumn]) scans Source and returns the single first record matching Condition, or blank if none match; if the optional ResultColumn is supplied, it returns just that column's value instead of the whole record. LookUp is the right choice whenever the condition is expected to identify a unique row, such as LookUp(Employees, EmployeeID = varSelectedID) to fetch one employee's record by their unique key, and it is meaningfully cheaper than Filter for this purpose since it can stop scanning as soon as a match is found rather than evaluating the entire table.

🏏

Cricket analogy: LookUp is like a scorer pulling up the exact career record for 'player ID 007' — there's only one such player, and the search stops the instant that one match is found.

Patch: Creating and Modifying Records

Patch(Source, BaseRecord, ChangeRecord1 [, ChangeRecord2, ...]) modifies BaseRecord by merging in the change record(s) and writes the result back to Source, returning the updated record; passing Defaults(Source) as the base record instead of an existing row creates a brand-new record. A single Patch call can also update multiple existing records at once by passing a table of records as the base instead of one record. Patch is a behavior function, so it can only be called from OnSelect, OnChange, or similar behavior properties, and because it writes immediately, it is the direct mechanism behind 'Save' buttons in forms that don't use the built-in Form control's SubmitForm.

🏏

Cricket analogy: Patch is like a team analyst updating one player's fitness file with new test results — Defaults() is like opening a fresh blank player-registration form for a brand-new squad member.

powerfx
// Filter: many matching rows for a gallery
Gallery1.Items = Filter(Orders, Status = "Pending", Region = varSelectedRegion)

// LookUp: the one order matching a unique ID
Set(varOrder, LookUp(Orders, OrderID = varSelectedID))

// LookUp with a result column: just the customer name
Set(varCustomerName, LookUp(Customers, CustomerID = varOrder.CustomerID, FullName))

// Patch: create a new record
Patch(Orders, Defaults(Orders), { CustomerID: varCustomerID, Status: "New", Total: 0 })

// Patch: update an existing record found via LookUp
Patch(Orders, LookUp(Orders, OrderID = varSelectedID), { Status: "Shipped" })

A common pattern combines all three: Patch(Orders, LookUp(Orders, OrderID = varID), { Status: "Shipped" }) uses LookUp to find the exact record to update, and Patch to write the change — this is the standard way to edit a single row without a Form control.

Filter and LookUp only delegate to the server for a subset of operators (=, <>, <, >, and, or, and a limited set of functions), and each data source has its own delegable-function list. A non-delegable condition — like Filter(Orders, Len(Notes) > 50) against SharePoint — silently falls back to querying only the first 500 (or up to 2,000, if raised) rows locally, which can produce incomplete, incorrect-looking results with no error message.

  • Filter(Source, Condition) returns every matching row as a table; conditions are implicitly ANDed.
  • LookUp(Source, Condition, [Column]) returns the first matching record only, or just one column's value.
  • LookUp stops scanning at the first match, making it cheaper than Filter for unique lookups.
  • Patch(Source, Base, Change) writes a merged record back to the data source and returns it.
  • Patch(Source, Defaults(Source), {...}) creates a new record instead of updating an existing one.
  • Patch is a behavior function, valid only inside OnSelect, OnChange, and similar properties.
  • Non-delegable Filter/LookUp conditions silently truncate results to the delegation row limit.

Practice what you learned

Was this page helpful?

Topics covered

#LowCode#PowerAppsStudyNotes#MicrosoftTechnologies#CommonFunctionsPatchFilterLookUp#Common#Functions#Patch#Filter#StudyNotes#SkillVeris

Frequently Asked Questions

21 categories · pick one to explore

Where can I get free study notes for programming and tech subjects?
SkillVeris offers completely free study notes covering programming and tech subjects, with no signup fees or paywalls. The notes are structured by course and topic, written for quick understanding, and enriched with the Learn Through Hobbies analogy method, so you can revise concepts through cricket, music, gaming, cooking and more.
Are SkillVeris study notes good for exam revision?
Yes, the study notes are designed for efficient revision: each topic answers its heading immediately, keeps explanations concise, and links to related glossary terms and cheat sheets. Students preparing for university exams or certification tests use them as quick revision notes because they distil concepts without the padding of full textbooks.
What subjects do the free study notes cover?
The study notes span the platform's main domains, including AI and machine learning, Python and programming, web development, DevOps, cloud, security and databases. Coverage mirrors the 37 live courses, so notes exist for the topics you are actually studying, and new note sets are added as courses launch.
How are SkillVeris study notes different from regular textbooks?
The notes are answer-first, concise and free, whereas textbooks are long and often expensive. Each section explains one concept directly, then reinforces it through selectable hobby analogies like cricket or cooking. Notes also cross-link to the glossary, blog and cheat sheets, letting you jump to related material instantly instead of flipping pages.
Can I use the developer study material without creating an account?
The study notes are free to access, and SkillVeris does not charge anything for its developer study material at any point. Browsing notes is straightforward from the Study Notes section, and if you want progress tracking, certificates and AI Mentor conversations tied to your learning, a free account unlocks those extras.
Do the study notes explain concepts with analogies?
Yes, this is a signature SkillVeris feature. Study notes use the Learn Through Hobbies method, explaining technical concepts through analogies from twelve domains including cricket, music, gaming, photography, travel, movies, fitness, chess, cooking, finance, business and sports. You can switch the analogy domain instantly to whichever hobby makes the concept click.
Are the revision notes suitable for last-minute exam preparation?
Yes, revision notes on SkillVeris work well for last-minute preparation because every section states the answer in its first sentences, so skimming is genuinely effective. Pair them with the relevant cheat sheet for formulas and syntax, and use the glossary for any unfamiliar term you meet while cramming.
Is there free study material for AI and machine learning?
Yes, SkillVeris provides free study notes across its AI and ML catalogue, covering Python for AI, deep learning frameworks like PyTorch and TensorFlow, Hugging Face Transformers, Large Language Models, RAG, AI agents and MLOps. All of it is free, making it a strong resource for Indian students and global learners alike.
Can beginners understand the study notes, or are they for experts?
Beginners can absolutely use them. The notes are written in plain language, define terms as they appear, and lean on hobby analogies to make abstract ideas concrete. Difficulty scales with the underlying course level, so beginner-course notes stay gentle while advanced-course notes go deeper, and the glossary supports you throughout.
How do study notes connect with SkillVeris courses?
Study notes are organised by course and topic, so they map directly to the structured courses and their 24–40-lesson curriculum. Many learners study a lesson first, then use the matching notes for revision before module assessments and the final exam, where 80 percent is required to pass and earn the certificate.
Are there study notes for Python specifically?
Yes, Python is well covered through notes tied to the Python-focused courses, including Python for AI and ML. Topics span fundamentals through applied machine learning usage. You can reinforce the notes with Python practice in Code Lab, which runs code in your browser with no installation required.
Do the study notes include code examples?
Yes, study notes include code examples wherever a concept is best shown in code, alongside explanations, key points and analogies. Reading a snippet in the notes and then reproducing it yourself in Code Lab is an effective loop, since Code Lab lets you run code in the browser across six languages.
How often is new study material added to SkillVeris?
Study material grows alongside the course catalogue. Whenever new courses join the platform's 37 live courses, matching study notes, glossary entries and cheat sheets are added so the resources stay in sync. Existing notes are also refined over time, so it is worth revisiting topics you studied earlier.
Can I use SkillVeris notes to prepare for technical interviews?
Yes, the notes make excellent interview revision because they compress each concept into direct, answer-first explanations, which mirrors how you should answer interview questions. Combine them with the SkillVeris interview questions feature, which includes readiness scoring, to test whether your revision has actually made you interview-ready.
Are the study notes mobile-friendly for studying on the go?
Yes, the study notes are built to load fast and read comfortably on mobile devices, so you can revise during a commute or between classes. Sections are short and answer-first, which suits small screens, and analogy switching works on mobile too, letting you study anywhere without carrying books.
What is the difference between study notes and cheat sheets?
Study notes explain concepts in depth with context, examples and analogies, making them ideal for learning and revision. Cheat sheets are compact quick-reference summaries of syntax, commands and key facts, ideal once you already understand a topic. Most learners study the notes first, then keep the cheat sheet handy while coding.
Do study notes help if I am stuck on a course lesson?
Yes, reading the matching study notes often clarifies a lesson because the same concept is explained from a different angle, frequently with a different analogy. If you are still stuck, ask the AI Mentor, which answers 24/7 at Quick, Detailed or Deep-dive depth until the idea genuinely makes sense.
Is there free study material for DevOps and cloud topics?
Yes, SkillVeris carries free study notes for DevOps and cloud topics as part of its coverage across 37 live courses. The material suits learners following the DevOps Engineer or Cloud Engineer paths, and it links to related glossary terms and cheat sheets so you can revise the whole toolchain in one place.
Can school or college students in India use these notes for projects?
Yes, students across India and worldwide use SkillVeris notes for coursework, projects and exam preparation, and everything is free, which matters for student budgets. The notes explain concepts clearly enough to cite in project reports, and Code Lab lets you prototype the project code directly in your browser.
How should I combine study notes with other SkillVeris resources?
A proven loop: learn from a course lesson, revise with the matching study notes, look up unfamiliar terms in the glossary, keep the cheat sheet open while practising in Code Lab, and quiz yourself with interview questions. The AI Mentor fills any remaining gaps 24/7, at whatever depth you need.

What Learners Say

Real journeys from the SkillVeris community — swipe for more.

SkillVeris taught me Python through Cricket. Now I’m building real projects and feeling confident!
Arjun S. · B.Tech Student
The best platform for hobby-based learning. Concepts finally stick.
Priya R. · Data Analyst
I went from zero coding to a portfolio of projects — all by learning through my love for gaming. Landed my first internship!
Kabir M. · CS Undergraduate
Trending Topics50 popular tags — tap to explore
Trending CoursesAll 37 free courses — tap to browse