Power Platform Developer Power Fx Formula Basics Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 13 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the primary purpose of the Power Fx language in Power Platform?

Explanation

Power Fx is a low-code formula language used in Power Platform to express calculations, logic, and behavior in apps and cloud flows. It helps makers define how data is processed and how components respond to user actions.

Submit
Please wait...
About This Quiz
Power Platform Developer Power Fx Formula Basics Quiz - Quiz

Master Power Fx formulas in Microsoft Power Platform. This quiz evaluates your understanding of formula syntax, functions, operators, and practical applications in canvas apps and cloud flows. Strengthen your developer skills by testing knowledge of variables, data types, and common formula patterns essential for building robust Power Platform solutions.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. What does the Set() function do in Power Fx?

Explanation

In Power Fx, `Set()` assigns a value to a global variable. If the variable does not exist, it creates it; if it already exists, it updates its value. Other formulas and controls in the app can then use that variable.

Submit

3. In Power Fx, what is a context variable?

Explanation

A context variable holds a value that is available only within a particular screen or control, rather than throughout the entire app. This limited scope helps organize app data and prevents values from being unintentionally shared across unrelated screens.

Submit

4. What is the correct syntax for an IF statement in Power Fx?

Explanation

In Power Fx, `If` evaluates the condition first. When it is true, the function returns `value_if_true`; when false, it returns `value_if_false`. The standard syntax places these three arguments inside parentheses, separated by commas: `If(condition, value_if_true, value_if_false)`.

Submit

5. Which function counts the number of rows in a table?

Explanation

`CountRows()` returns the total number of records in a table. It counts rows regardless of the values they contain, making it useful for determining how many records a table holds. `Count()` instead counts numeric values in a column, while `Length()` and `Rows()` do not serve this purpose.

Submit

6. Which function removes whitespace from the beginning and end of text?

Explanation

`Trim()` removes leading and trailing whitespace—such as spaces, tabs, or line breaks—from text. It leaves whitespace between words unchanged.

Submit

7. What does the Filter() function do in Power Fx?

Explanation

In Power Fx, `Filter()` evaluates a condition for each record in a table and returns only the records that satisfy it. This is useful for displaying or working with a subset of data, such as customers from a particular region.

Submit

8. In Power Fx, what does the Patch() function accomplish?

Explanation

Patch() modifies records in a data source by updating existing records or creating new ones when needed. It lets you apply changes to selected fields without replacing the entire record.

Submit

9. What is the correct way to reference a control's property in a formula?

Explanation

Use a period between the control’s name and the property name to reference that property in a formula, as in `ControlName.PropertyName`. The other formats use unsupported brackets, an arrow, or a dollar sign.

Submit

10. The ____ function rounds a number to a specified number of decimal places.

Explanation

The Round function rounds a number to a specified number of decimal places. For example, rounding 3.14159 to two decimal places gives 3.14.

Submit

11. What does the ForAll() function iterate over in Power Fx?

Explanation

In Power Fx, `ForAll()` applies a formula to every record in a table. Within the formula, each record is available as the current record, allowing you to read its fields or perform an action for each row.

Submit

12. In Power Fx, a ____ variable persists across screen navigation.

Explanation

A global variable is available throughout the app, so its value remains accessible when users navigate between screens. In Power Fx, global variables are typically created or updated with the `Set` function, unlike context variables, which are limited to a specific screen.

Submit

13. What does the Concat() function do?

Explanation

Concat() combines text values from a table into one string, placing a specified separator—such as a comma, space, or pipe—between values. This is useful for turning rows of names or labels into a single readable result. It joins text; it does not add numbers or merge table structures.

Submit

14. Which function returns the current date and time in Power Fx?

Explanation

`Now()` returns the current date and time in Power Fx. `Today()` returns only the current date, while `Current()` and `DateTime()` are not the functions used for this purpose.

Submit

15. In Power Fx, which operator is used for string concatenation?

Explanation

In Power Fx, the ampersand (&) operator concatenates strings by placing their text values together in sequence. For example, `"Hello, " & "world!"` produces `"Hello, world!"`. The plus sign is used for numeric addition, while `||` and `..` are not string-concatenation operators in Power Fx. The ampersand can also combine text with values stored in variables.

Submit

16. Which operator performs logical AND in Power Fx?

Explanation

In Power Fx, logical AND can be expressed using either the `&&` operator or the `And` function. Power Fx is case-insensitive, so `AND` is also accepted. Both forms combine Boolean expressions and return true only when every expression evaluates to true, making “Both a and b” the appropriate choice.

Submit

17. True or False: The LookUp() function returns only the first matching record.

Explanation

LookUp() searches a data source for records that meet a specified condition and returns the first matching record it finds. It does not return every record that satisfies the condition. To retrieve multiple matching records, use a function such as Filter() instead.

Submit

18. Which function extracts text from the middle of a string?

Explanation

Mid() extracts a portion of text from the middle of a string by specifying the starting position and the number of characters to return. It is commonly used when you need to retrieve a specific segment without including the text before or after it.

Submit

19. True or False: The With() function creates a local scope for variables.

Explanation

With() evaluates an expression using fields from a record as locally scoped names, available only within its second argument. These names do not become global or persist after the expression finishes, making With useful for storing intermediate values and simplifying formulas without changing app-wide state.

Submit

20. True or False: Power Fx is case-sensitive for function names.

Explanation

Power Fx treats function names as case-insensitive, so changing their capitalization does not change which function is called. For example, `If` and `IF` refer to the same function. Therefore, the statement that function names are case-sensitive is false.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the primary purpose of the Power Fx language in Power...
What does the Set() function do in Power Fx?
In Power Fx, what is a context variable?
What is the correct syntax for an IF statement in Power Fx?
Which function counts the number of rows in a table?
Which function removes whitespace from the beginning and end of text?
What does the Filter() function do in Power Fx?
In Power Fx, what does the Patch() function accomplish?
What is the correct way to reference a control's property in a...
The ____ function rounds a number to a specified number of decimal...
What does the ForAll() function iterate over in Power Fx?
In Power Fx, a ____ variable persists across screen navigation.
What does the Concat() function do?
Which function returns the current date and time in Power Fx?
In Power Fx, which operator is used for string concatenation?
Which operator performs logical AND in Power Fx?
True or False: The LookUp() function returns only the first matching...
Which function extracts text from the middle of a string?
True or False: The With() function creates a local scope for...
True or False: Power Fx is case-sensitive for function names.
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!