Courseiva
Demonstrate the capabilities of Power AppshardMultiple ChoiceObjective-mapped

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

    Correct. Follows the proper Power Fx syntax: AddDays(DateTime, NumberOfDays) with Today() as the date and 7 as the number of days.

  • AddDays(7, Today())

    Why it's wrong here

    Incorrect. Arguments are reversed: the number of days is provided as the first argument, but Power Fx expects the date first.

  • AddDays('7', Today())

    Why it's wrong here

    Incorrect. The number of days is provided as a string ('7'), but AddDays expects a numeric value.

About these practice questions

Courseiva writes every PL-900 question from scratch — 904 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.