Courseiva

PL-900 Demonstrate the capabilities of Power Apps Practice Question

Exhibit

{
  "name": "AddDays",
  "type": "function",
  "parameters": [
    {
      "name": "interval",
      "type": "integer",
      "description": "Number of days to add"
    },
    {
      "name": "date",
      "type": "date",
      "description": "Start date"
    }
  ],
  "returnType": "date"
}

Refer to the exhibit. The JSON describes a Power Apps function. What is the correct usage of this function to return a date 7 days from today?

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

✓

AddDays(Today(), 7)

The AddDays function in Power Apps (Power Fx) uses the syntax AddDays(DateTime, NumberOfDays). So AddDays(Today(), 7) returns the date 7 days from today. Option A uses a semicolon and has the arguments reversed. Option C also reverses the arguments (days first, then date). Option D uses a string for the number of days, which is invalid.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    AddDays(7; Today())

    Why it's wrong here

    Incorrect. Uses a semicolon instead of a comma, and arguments are reversed (date should be first).

  • ✓

    AddDays(Today(), 7)

    Why this is correct

    AddDays accepts a date and a number of days, returning that date offset forward. Passing Today() with 7 yields the date one week from now, matching the stem's requirement exactly; the function's argument order is date first, increment second.

  • ✗

    AddDays(7, Today())

    Why it's wrong here

    AddDays takes the date first and the day count second, so this reverses the arguments and passes a number where a date is expected. It is tempting because the intent — adding seven days to today — is right, and AddDays is genuinely the correct function for date arithmetic; only the parameter order is wrong.

  • ✗

    AddDays('7', Today())

    Why it's wrong here

    AddDays expects a datetime value first and a number of days second, so passing '7' as the datetime and Today() as the count reverses the arguments and fails. It is tempting because AddDays is genuinely the function that offsets a date, and would be correct with the arguments in the documented order.

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 →

How Courseiva writes practice questions · Editorial policy

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.