Download - Mod 4_restricting_data[1]
![Page 1: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/1.jpg)
1Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Restricting Data
Module 4
![Page 2: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/2.jpg)
2Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Understanding Conditions
You can restrict a query to return specific data for an object rather than all values
![Page 3: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/3.jpg)
3Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Understanding Conditions (cont)
A Condition has 3 elements:
• Object• Operator• Operand
![Page 4: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/4.jpg)
4Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Understanding Conditions (cont)
• Object: field or column of data
• Operator: specification of the
relationship between the object and
the operand
• Operand: object value to be searched for
![Page 5: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/5.jpg)
5Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Types of Conditions BOA has 4 types of conditions:
–Single- and multi-value conditions
–Prompted conditions
–Multiple conditions
–Predefined conditions
![Page 6: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/6.jpg)
6Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Single-Value Conditions
With a single-value condition, you limit data returned from a single result object.
![Page 7: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/7.jpg)
7Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Single-Value Conditions (cont.)
Equal to
![Page 8: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/8.jpg)
8Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Single-Value Conditions (cont.)
![Page 9: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/9.jpg)
9Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Single-Value Conditions (cont.)
![Page 10: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/10.jpg)
10Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Multi-Value Conditions
When using several values the procedure is similar to single-value except you use a different operator.
![Page 11: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/11.jpg)
11Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Multi-Value Conditions (cont.)
In ListShow list of values
![Page 12: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/12.jpg)
12Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Multi-Value Conditions (cont.)
![Page 13: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/13.jpg)
13Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Prompted Conditions
With a Prompted query condition, BOA asks you to choose which data to retrieve before running the query.
![Page 14: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/14.jpg)
14Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Type the command: or select from the Values “Joint Activities”
Applying Prompted Conditions (cont.)
OK
Joint Activities
Then press Enter or click outside this box.
Then press Enter or click OK.
Type: “Select Command” here.
![Page 15: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/15.jpg)
15Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Applying Prompted Conditions (cont)
![Page 16: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/16.jpg)
16Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
• You can keep track of the data you have retrieved by displaying or printing the contents of your prompt along with the report.
Applying Prompted Conditions (cont)
• This is especially useful in reports that have no column to display the contents of the prompt.
![Page 17: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/17.jpg)
17Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Using Condition Objects
Draw a box with the mouse.
![Page 18: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/18.jpg)
18Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Wildcards in Conditions
Use the following wildcards to search for partial values, a single character, or any number of characters:
_ = a single character
% = any number of characters (including none)
![Page 19: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/19.jpg)
19Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Wildcards in Conditions
Type the pattern: M%Then press Enter or click outside the box. Run the query.
Matches Pattern
![Page 20: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/20.jpg)
20Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Using Relational Operators in Conditions
• Relational operators determine the type of comparison to be made between two values in conditional expressions or between a value and a set of values.
• Relational operators are usually expressed as symbols. In BOA they are represented thus:
= Equal to <> Not equal to> Greater than >= Greater than or equal to
< Less than <= Less than or equal to
![Page 21: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/21.jpg)
21Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Relational operators are primarily used with numeric data and often with dates.
![Page 22: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/22.jpg)
22Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Type the number: 3000Then press Enter or click outside the box.
Using Relational Operators
Right-click and chooseDelete to remove theexisting condition.
![Page 23: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/23.jpg)
23Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Using Relational Operators (cont)
![Page 24: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/24.jpg)
24Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Logical Operators for Multiple Conditions
To apply more than one condition to focus on certain data, use the AND or OR operator. –AND means that both conditions
must be met.
–OR means that either one of the conditions must be met.
![Page 25: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/25.jpg)
25Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Apply simple conditions to the Ccpo ID Description and Curr Pay Plan, by right-clicking on these objects.
Logical Operators (cont)
Run the query
![Page 26: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/26.jpg)
26Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Logical Operators (cont)
![Page 27: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/27.jpg)
27Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
• When specifying 3 or more conditions in a query, the structure of the logical operators assumes a processing priority.
• You must organize your conditions in the appropriate priority for the result you need.
Logical Operators (cont)
![Page 28: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/28.jpg)
28Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
• Display a table showing the number of positions
in all the Commands in CPAC - Japan where there
are “Wage” employees, as well as the number of
positions and their commands, where there are
ANY Wage Grade Non-Supervisory employees.
• Tip: This requires you to use the OR operator.
Logical Operators (cont)
![Page 29: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/29.jpg)
29Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Right click the “And” between the top two conditions andselect “Shift Right” to group those two conditions together.
Double-click the last “And” operator to change it to an “Or” operator. Run the query
Logical Operators (cont)
![Page 30: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/30.jpg)
30Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Logical Operators (cont)
![Page 31: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/31.jpg)
31Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Using Condition Objects
• Predefined conditions use condition objects.
• You can apply one or more predefined conditions when you build a query.
![Page 32: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/32.jpg)
32Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Using Condition Objects (cont)
Create a table that will show Command descriptions and a count of positions that are filled for each command, using a predefined condition from the Civilian Position Class.
Try it . . .
![Page 33: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/33.jpg)
33Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Using Condition Objects (cont)
Double-clickthe desiredpredefinedcondition toapply it to thequery.
Run the query
![Page 34: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/34.jpg)
34Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
Using Condition Objects (cont)
![Page 35: Mod 4_restricting_data[1]](https://reader036.vdocuments.site/reader036/viewer/2022062709/5591f49d1a28ab670b8b4583/html5/thumbnails/35.jpg)
35Modified, with permission, from Business Objects SA copyrighted materials - Introduction to Reporting
EXERCISE TIME