nerdexam
Microsoft

PL-400 · Question #213

You are creating a canvas app for a bank. Consumers will enter information into the app when they apply for a loan. The input form for the app must display fields to prompt the consumer for their…

The correct answer is D. Add a formula to the LoanAmount field. In Power Apps canvas apps, UI behavior like background color changes must be implemented using Power Fx formulas directly on control properties. You would set the Fill property of the column/container to an expression such as: If(Value(LoanAmount.Text) > 5000, Red, Green). This…

Submitted by stefanr· Apr 18, 2026

Question

You are creating a canvas app for a bank. Consumers will enter information into the app when they apply for a loan. The input form for the app must display fields to prompt the consumer for their first name, last name, address, and the requested loan amount. Immediately after a consumer enters a value for the LoanAmount field, the background color for the column must change. The background color for the column must change to red if a consumer enters a value of more than $5,000 and must turn green for values less than or equal to $5,000. You need to implement the required behavior. Which option should you use?

Options

  • ACreate a Power Automate flow.
  • BConfigure field properties.
  • CAdd a business rule to the form.
  • DAdd a formula to the LoanAmount field.

How the community answered

(16 responses)
  • A
    6% (1)
  • C
    6% (1)
  • D
    88% (14)

Explanation

In Power Apps canvas apps, UI behavior like background color changes must be implemented using Power Fx formulas directly on control properties. You would set the Fill property of the column/container to an expression such as: If(Value(LoanAmount.Text) > 5000, Red, Green). This formula evaluates immediately as the user types, satisfying the 'immediately after entry' requirement. Power Automate (A) is asynchronous and not suited for real-time UI reactions. Business rules (C) are a model-driven app feature and do not control canvas app visual properties. 'Configure field properties' (B) alone does not support conditional logic for dynamic color changes.

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice