PL-900 Demonstrate the capabilities of Power Apps Practice Question
A power user is designing a canvas app for inventory management. The app has a gallery that displays products. The user wants to filter the gallery to show only products with stock less than 10. Which formula should the user use in the Items property of the gallery?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Filter(Products, Stock < 10)
The Filter function in Power Apps applies a condition to show only records where Stock < 10. Option A is wrong because LookUp returns a single record, not a filtered collection. Option C is wrong because Sort changes the order but does not filter. Option D is wrong because Search is for text search, not numeric comparison.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
LookUp(Products, Stock < 10)
Why it's wrong here
LookUp returns a single record, not a table, so the gallery's Items property receives one row rather than every product below the threshold. Filter(Products, Stock < 10) returns the matching table. LookUp suits retrieving one record's field, for example showing a selected product's details.
- ✓
Filter(Products, Stock < 10)
Why this is correct
The Filter function evaluates each record against the condition Stock < 10, returning only matching products to the gallery's Items property. This is the standard Power Fx approach for restricting displayed rows in a canvas app gallery based on a numeric column value.
- ✗
Sort(Products, Stock)
Why it's wrong here
Sort orders records by Stock but applies no condition, so every product appears, merely ranked by quantity. The requirement is a predicate, which Filter supplies. Sort is correct when the gallery must present all rows in a chosen sequence, such as ascending stock levels for review.
- ✗
Search(Products, "10", "Stock")
Why it's wrong here
Search matches text contained in a column, so it returns records whose Stock text includes "10" — including 100 or 210 — and misses values like 9. Filter(Products, Stock < 10) evaluates the numeric comparison. Search suits free-text lookup against a name or description column.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PL-900 question from scratch — 701 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PL-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PL-900 exam.