How to configure Add Criteria with Prompt and Sort Option

Version: Yurbi v12

Role: Builder or higher

Permission: Builder access to the application


Overview

Within the report builder, add criteria option with a configured prompt gives the users the option to create a report with dynamic prompts that combine the specificity of set criteria with the flexibility for end-users to make selections at report runtime.

Selecting your Report Field

1. Go to the report field and select the field you wish to configure.

A screenshot of a service ticketAI-generated content may be incorrect.

2. Click on the three dots button.

A screenshot of a computerAI-generated content may be incorrect.

3. Select Add Criteria option.

A screenshot of a phoneAI-generated content may be incorrect.

Creating Add Criteria with Prompt

In this section, we will cover the step-by-step process of creating a criteria with a prompt. This also includes how each checkbox affects the report you are building when they are ticked on/off.

1. The Criteria Builder will appear. Click Add New to build your criteria.

A screenshot of a computerAI-generated content may be incorrect.

2. For Logical Filterselect either And or Or.

For the first criteria, it should always be And Logical Filter Option and the succeeding multiple criteria should be Or Logical Filter Option

A white rectangular object with a black borderAI-generated content may be incorrect.

3. For Conditionalselect either Is or Is Not.

A white rectangular object with a black borderAI-generated content may be incorrect.

4. Select Operator from the options.

A screenshot of a computerAI-generated content may be incorrect.

Here is an article to understand the different operators found in the add criteria option.

5. It is best to choose Custom Value in the drop-down menu of your chosen operator. This gives you an option to choose when the prompt appears in the report.

A close-up of a white rectangular objectAI-generated content may be incorrect.

6. By default, Enable Get Values List is checked. A Values Report List helps you customize the values shown in your dropdown list or text field box. Instead of relying on the natural output of the data, you can specify what you want to appear

A screenshot of a computerAI-generated content may be incorrect.

Note: This is best when the criteria your building will be a prompt. When this is the use case, make sure that aside for the Enable Get Values List is checkedPrompt for Value is also checked.
When this is checked, the prompt will give you a drop-down list to choose from, and if it is unchecked, the prompt will be a text field box where you enter the data. For criteria not set as prompts but hardcoded, this option is inoperative.

7. Check the Prompt for Value checkbox. For an add criteria with prompt, the Prompt for Value and Enable Get Values List must be both ticked off for it to be effective when building your report.

A screenshot of a computerAI-generated content may be incorrect.

NoteChecking Prompt for Value gives you a prompt to configure either from a drop-down list or a text field box at the beginning of accessing a report. By doing so, you can specify what value to appear in the report within the criteria built.

Sorting the Values of the Report

This section covers the option to sort the values of the prompt you have configured when running the report.

1. Click Advanced Options

A screenshot of a computerAI-generated content may be incorrect.

2. In Values Sort Order , you can select how the value will be sorted when the options are presented to you at the initial viewing of the report.

A screenshot of a reportAI-generated content may be incorrect. A blue and white rectangle with black textAI-generated content may be incorrect.

Note: Selecting None will just sort the value randomly.

3. Checking Default value to First in List is useful when you want a criteria value to automatically default to the current value (month, date. etc.), and your values list is a properly sorted list of its corresponding values (month, date. etc.). The current value will always be the top selection of the values list

A screenshot of a reportAI-generated content may be incorrect.

4. Click Add to Table.

A blue rectangle with white textAI-generated content may be incorrect.

5. The configured criteria will be under the Current Criteria Section.

A screenshot of a computerAI-generated content may be incorrect.

6. Click Save & Apply

A blue rectangle with white textAI-generated content may be incorrect.

Preview of Report with a Prompt

This section covers how you can check if the add criteria with prompt has been successful.

1. Remember to uncheck Suppress Prompts to check if the configured add criteria with a prompt was successful.

Here is the article on how to access suppress prompts

2. After clicking save & apply, you will be redirected to the preview section and a prompt will appear.

A screenshot of a computerAI-generated content may be incorrect.

3. Select a value in the drop-down menu and click Save And Apply.

A screenshot of a computerAI-generated content may be incorrect.

4. Also, an indication that an add criteria configuration was successful will be criteria appearing on the configured field report.

A screenshot of a computerAI-generated content may be incorrect.

Remember to save the report once you are done!


And there you have it! You now know how to add a criteria with a prompt in your report fields and also use the sort option within it!