Value prompt

Value prompts are useful when the result desired on the report is a single value, such as a specific date, a number, or a specific word or phrase. The value prompt is designed to return report results based on the data type assigned to the data in your data source.

For example, you want a report that lists all employees whose age is less than 40 years. You create a report with the Employee attribute and the Employee Age attribute. You create a numeric Value prompt while you are creating the report. The numeric Value prompt contains the Employee Age attribute, the operator Less Than, and a Maximum Value set to 40.

This example and an image showing the results of such a prompt can be found in the Answering Questions about Data chapter in the MicroStrategy Basic Reporting Guide.

Value prompts are typically used on a filter, where they become part of the filter's definition, but they can also be used on a metric as part of the metric's formula. The filter or metric is then placed on a report. Because they are often used in filters, value prompts can be created directly in the Filter Editor at the same time you create the filter in which you want to place the value prompt. When created this way, a value prompt is part of the filter's definition and is not a stand-alone prompt, so it cannot be added to another filter.

The different types of value prompts are:

Long prompts cannot be created from MicroStrategy Web; they must be created in MicroStrategy Desktop. For more information, see the MicroStrategy Basic Reporting Guide.

Prerequisites

To create a Value prompt

  1. Do one of the following:

  2. Specify the type of value prompt:

  3. Click the General tab.

  4. Specify a title and instructions for the prompt in the Title and Instructions fields.

  5. To require users to answer the prompt before running the report, specify whether the prompt requires an answer. Select the Prompt answer is required check box.

  6. To set the minimum and maximum values that can be entered by the user, select the Minimum value and Maximum value check boxes and type a value in the respective fields. You can specify a minimum value even if you do not specify a maximum value.

  7. To determine whether users can save and reuse their prompt answers, and if so, how many prompt answers they can save for the prompt. From the Personal answers allowed drop-down list, select one of the following:

  8. Click the Style tab.

  9. From the Display style drop-down list, specify a presentation style, as textbox, for the prompt. This is how the prompt is displayed to the user.

    Note
    : Styles for iPhone and iPad prompts, such as Slider, Stepper, and Switch, only display when the prompt is viewed on an iPhone or iPad with MicroStrategy Mobile. Certain styles are only available for specific types of Value prompts. For more information on iPhone and iPad prompts, see About iPhone and iPad prompts.

    The options are:

  10. Depending on the prompt's type and display style, you can specify other available formatting options:

  11. To save the prompt, select Save As. The Save As dialog box opens.

  12. Specify a name, description, and the location in which to save the prompt and click OK.

All value prompts must be added to either a metric or a filter (depending on the type of value prompt and what you want it to do), and then the metric or filter is added to a report. For a table showing how to add each prompt type to a report, see Adding a prompt to a report.