Your SlideShare is downloading. ×
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Complex queries in_business_objects
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Complex queries in_business_objects

4,348

Published on

Published in: Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,348
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
174
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Complex Queries in BusinessObjects
  • 2. 2 Complex Queries in BusinessObjectsAppropriate Use And Security Of Confidential AndSensitive InformationDue to the integrated nature of the various Human Resources, Finance and Studentmodules in Banner and the reporting information in the Enterprise Data Warehouse(EDW), you may have access to information beyond what you need to perform yourassigned duties. Your access to Banner and the EDW has been granted based onbusiness need, and it is your responsibility to ensure the information you access is usedappropriately.Here are some reminders of good data stewardship to help you carry out yourresponsibility:• Do not share your passwords or store them in an unsecured manner. Do not leave your workstation unattended while logged on to administrative information systems. You are responsible for any activity that occurs using your logon id.• Do not share confidential and sensitive information with anyone, including colleagues, unless there is a business reason.• Retrieve printed reports quickly, and do not leave the reports lying around in plain view.• Secure reports containing confidential and sensitive information (e.g., FERPA, EEO or HIPAA protected data).• When disposing of reports containing confidential or sensitive information, shred the documents in a timely manner.Your responsibilities regarding the protection and security of administrativeinformation are outlined in the University of Illinois Information Security Policy postedat http://www.obfs.uillinois.edu/manual/central_p/sec19-5.htm. Any violation couldsubject you to disciplinary action, which could include dismissal or, in those caseswhere laws have been broken, legal action. You should have signed a compliance formthat indicates you have read, understand and agree to comply with the UniversitysInformation Security Policy for Administrative Information. If you have not alreadysigned the compliance form, please see your Unit Security Contact, who is responsiblefor maintaining these forms.File: e:trainingdevelopmentbusinessobjectsbusinessobjects6 - complex queriescomplex queries inbusinessobjects v3.docLast Printed: 3/14/2006 8:47 AM
  • 3. Complex Queries in BusinessObjects 3 Complex Queries in BusinessObjects Table of Contents Appropriate Use And Security Of Confidential And Sensitive Information............................................ 2About this Course........................................................................................................................................ 5 Objective............................................................................................................................................ 5 Instructor Led Course ........................................................................................................................ 5 Training Data ..................................................................................................................................... 5 Practice.............................................................................................................................................. 5 Files ................................................................................................................................................... 5 Demos ............................................................................................................................................... 5Chapter 1..................................................................................................................................................... 7 Formulas and Variables ....................................................................................................................... 7 Formulas............................................................................................................................................ 7 Resetting the RunningSum ...............................................................................................................10 Variables .............................................................................................................................................10 Creating a Variable ...........................................................................................................................10 Exercise 1 – Formulas and Variables ...............................................................................................13Chapter 2....................................................................................................................................................15 Grouping Values .................................................................................................................................15 Using the Group Option ....................................................................................................................15 Using the Groups ..............................................................................................................................18 Exercise 2 – Grouping Values ..........................................................................................................19Chapter 3....................................................................................................................................................21 Grouping Measure Objects .................................................................................................................21 Sales Grouping .................................................................................................................................21 Exercise 3 – Grouping Measure Objects ..........................................................................................24Chapter 4....................................................................................................................................................25 Calculation Contexts ...........................................................................................................................25 Input and Output Contexts ................................................................................................................25 Calculation Context Operators ..........................................................................................................25 Calculation Context Keywords ..........................................................................................................26 Calculation Context Example ............................................................................................................26 Viewing Calculation Contexts ...........................................................................................................27 Changing the Calculation Context.....................................................................................................28 Exercise 4 – Calculation Contexts ....................................................................................................29Chapter 5....................................................................................................................................................31 Subqueries ..........................................................................................................................................31 Multiple Data Providers.....................................................................................................................32 Verifying the Results .........................................................................................................................33 Managing Data Providers .................................................................................................................35 Renaming Data Providers.................................................................................................................35 Purging vs Deleting a Data Provider .................................................................................................36 Exercise 5 – Subqueries ...................................................................................................................38Chapter 6....................................................................................................................................................39 Using Personal Data Files...................................................................................................................39 File Types Available..........................................................................................................................39 Options with .XLS Files.....................................................................................................................39 Creating a Report from an XLS File ..................................................................................................39 Options with Text Files......................................................................................................................41 Create a table from a .CSV personal data file...................................................................................41 Create a Second Data Provider ........................................................................................................43 Exercise 6 – Using Personal Data Files............................................................................................46Chapter 7....................................................................................................................................................47 Combining Data from Different Data Providers ...................................................................................47 Linking Data Providers......................................................................................................................47 Incompatible Objects ........................................................................................................................48 Combining Data in the Table ............................................................................................................49 Exercise 7 – Combining Data from Different Sources.......................................................................51Appendix A –Review Answers....................................................................................................................53
  • 4. 4 Complex Queries in BusinessObjectsAppendix B.................................................................................................................................................55 User Objects .......................................................................................................................................55 User Objects .....................................................................................................................................55 Creating a User Object .....................................................................................................................56 Using a User Object..........................................................................................................................59 Removing a User Object...................................................................................................................60Appendix C – Combined Queries ...............................................................................................................61 Combined Queries............................................................................................................................61 Restrictions .......................................................................................................................................61 Building a Combined Query ..............................................................................................................61Appendix D –Using an XML Data Provider ................................................................................................63Appendix E – ASCII character codes .........................................................................................................67
  • 5. Complex Queries in BusinessObjects 5About this CourseObjectiveThe objective of this course is to teach the advanced functionality of theBusinessObjects editor for creating complex reports from the Enterprise DataWarehouse.Instructor Led CourseThis course is presented in a computer lab with an instructor. The instructor presentsthe information by completing the examples in each chapter on the screen. Thestudents in the class follow by doing the same steps as the instructor. At the end ofeach chapter the students complete an exercise, which is similar to the example.Training DataTwo generic universe/databases are used in the course. The eFashion universe is usedfor all the examples. This universe is very small and easy to use. The EDW R&ATraining universe is used for all the exercises. While this is still generic data, it ismore like the production universes. The data was used as test data for Recruiting andAdmissions.PracticeTo repeat the examples and exercises on your own, you can use “play” accounts whichhave access to the training data. These accounts have the same access as the accountsused during the class. The play accounts are: dsplay1, dsplay2, …, dsplay10. Thepassword for all these accounts is 1234.FilesCompleted versions of the examples an exercises are available in a zip file at thefollowing location: http://www.ds.uillinois.edu/training/complex_files.zipDemosFor a list of demos on a variety of topics related to using the BusinessObjects editorsee: http://www.ds.uillinois.edu/how_to.asp
  • 6. 6 Complex Queries in BusinessObjects
  • 7. Chapter 1: 7Chapter 1Formulas and VariablesBusinessObjects allows you to create formulas and variables to manipulate the dataafter it has been retrieved from the database. You can do projections, change theformat of the data, combine objects, or anything else you can think of.While user objects operate at the database level through the SQL query, formulas andvariables act on data that has already been retrieved and stored in a data provider.Formulas and variables are stored in the document where they are created. They areavailable to any user of the document and can be refreshed or edited.FormulasFormulas are unnamed, which can cause some confusion when there are many formulaswithin one report or document. If a formula is changed, the previous version of theformula is kept and the new version of the formula is added. These unused versionsshould be removed to prevent them from slowing the display of the report.Formula RulesThere is certain syntax that needs to be followed when entering a formula:• Must begin with an equal sign (=). Without an = the formula is displayed as a constant or text.• Variables included in formulas must be enclosed in a less than (<) and a greater than sign (>). For example: <Sales revenue>.• Text included in formulas must be enclosed in double-quotes (“”).Creating and Entering a FormulaThere are three methods to create a formula:• enter a formula directly into the cell• enter a formula into the Formula Bar• use the Formula EditorIn the next example we will use the Formula Editor to enter a formula showing therunning total of Sales Revenue from month to month.1. Create a standard report using the e-Fashion universe.2. Add the following objects: Store name Month Name Sales revenue3. Run the query.4. Create sections for each Store name value.5. Add a custom sort on Month Name in chronological order.
  • 8. 8 • Complex Queries in BusinessObjects The report should look like:6. Insert a column to the right of the Sales Revenue column.7. Click on a cell in the newly inserted column.8. Click the Formula Editor button in the Formula toolbar. The Formula Editor will appear.
  • 9. Chapter 1: 9 The Formula Editor is very similar to user object editor and the variable editor, except the Formula Editor does not have a Definition tab. A formula remains unnamed and so has no need for a Definition tab.9. Click the + to display the Aggregates functions.10. Double-click the RunningSum function. Notice that when the RunningSum() is added to the formula, the cursor is placed in the location for the first argument.11. Double-click Sales revenue to insert it as the first argument.12. Click the OK button to close the Formula Editor. The values for the running sum of Sales revenue are added to the blank column.
  • 10. 10 • Complex Queries in BusinessObjects There is no text in the column heading because the formula has no name associated with it.13. Double-click the column heading for the last column.14. Enter Total.Resetting the RunningSumThe value for RunningSum needs to be reset to zero for each store. Otherwise value forJanuary of the second store is added to the sales of the first store.1. Click on any value in the Total column.2. In the Formula Bar, change the formula to: =RunningSum(<Sales revenue>;<Store name>) This tells the function to reset the value to zero when there is a change in the value of the Store name objectVariablesA variable is a named formula. They can be used in the same way as variables in thedata provider. Variables are stored in the document .Variables have some advantages over formulas.• You can use variables in alerters, filters, sorts, breaks, master/detail reports, and in drill hierarchies.• Since a variable has a unique name, they are easier to work with.• Variables can be used in other formulas. So, a complex formula can be simplified by using variables to create the formula in pieces.• If the formula for a variable is changed, the original is updated and there is still only one copy of the variable.Creating a VariableCreating a variable is a very similar process to that of creating a formula. The majordifference between the two is that the Variable Editor has a Definition tab, where thename and variable type are specified.We will create a variable that concatenates the Address, City, State, and Zip Codevariables into one variable named Location.1. Edit the data provider and add the following objects: Address City State Zip Code2. Run the query.3. Select Data Variables…. The Variables window will appear.4. Click the Add… button to bring up the Variable Editor.
  • 11. Chapter 1: 115. Select the Definition tab.6. Name the new variable Location.7. Select Dimension as the qualification type.8. Select the Formula tab9. Enter the following formula: =<Address> & Char(13) & <City> & ", " & <State> & " " & <Zip Code> Note: The Char(13) is a carriage return character. This forces the value for City to start on a second line.10. Click OK to save the new variable named Location. The new variable will now appear in the Variables window:11. Click the Close button to close the Variables dialog box.12. Drag and drop Location to the right of the Store name. The report should look like:
  • 12. 12 • Complex Queries in BusinessObjects Sections were created for the Location variable.13. Drag and drop the cell for the Location variable to the right of the Store name cell. Because the Location variable is being moved into another section you will be asked whether you want to remove the section for Location.14. Click the Yes button to remove the sections for Location.15. Resize the cell to handle the widest text and two lines.16. Remove the columns for Address, City, State, and Zip Code. The report should look like:
  • 13. Chapter 1: 13Exercise 1 – Formulas and VariablesNote:• Answers to all Reviews questions are provided in Appendix A.Review1. A variable can be used in many ways that a formula cannot: True or False?2. A formula is not sharable among different users: True or False?ExerciseCreate a report using the EDW R&A Training universe.Objects: First Name, Middle Name, Last Name, Degree1 Name, ACT CompositeScoreConditions: (Predefined) Springfield.Add a variable, Full Name, which concatenates First Name, Middle Name and LastName. Add the Full Name variable to the table and remove First Name, Middle Name,and Last Name. Note: If a student does not have a middle name, it is stored as one space. The Full Name variable will then have three spaces between the first and last names. This is ok for this exercise. In the next exercise you will fix the problem with the extra spaces.Save the document as CQ Exercise 1. This will be used in the next exercise.Completed Exercise
  • 14. 14 • Complex Queries in BusinessObjects
  • 15. Chapter 2: 15Chapter 2Grouping ValuesSometimes you will want to create new variables by grouping distinct values or a rangeof values of existing variables for analysis purposes. There are two methods toaccomplish this within BusinessObjects :• Use the Group option to group values of dimension or detail objects.• Use If…Then…Else logic to group values of any objects.The Group option is easier to use than If…Then…Else, but it can be used only withdimension or detail variables.Using the Group OptionTo see how the Group option works, we will create a column called Region bygrouping states into regions. We can then see the sales revenue for each region.1. Create a standard report using the e-Fashion universe.2. Add the following objects: State Store name Sales Revenue3. Create a condition of Year Equal to 20014. Run the query.5. Select the State column.6. Click the down arrow for the structure button in the Report toolbar.7. Click the Insert Column Before button from the menu.8. Right-click on the new blank column9. Select Variables… from the pop-up menu. The Variables window appears.
  • 16. 16 • Complex Queries in BusinessObjects10. Select the State object in the Variables window.11. Click the Group button. The Create a New Variable from State dialog box appears.12. Enter the name Region in the Name of the Variable text box. First, we will group the states that will go into the East region. The states will be groups in the following categories: East Central West DC Colorado California Florida Illinois Massachusetts Texas New York13. Click the New button to create a new group.14. Enter East to rename the group.15. While holding down the CTRL key, click on each state that will be included in the East region,16. Click the Add button to add them to the East folder.
  • 17. Chapter 2: 17 The dialog box should now look like:17. Repeat steps to create groups for Central and West. The dialog box should now look like:18. Click OK.19. On the Variables window, click Insert and the new grouped field will be inserted into the selected empty column.
  • 18. 18 • Complex Queries in BusinessObjects Note: Groups can also be created by selecting values within a column and then clicking the Group Values button in the Report toolbar.Using the Groups1. Apply a break on the Region column.2. Add Sum and Count calculations to the Sales Revenue column to complete the report. The report should look like:3. Save the document as Grouping.rep.4. Close the document.
  • 19. Chapter 2: 19Exercise 2 – Grouping ValuesNote:• Answers to all Reviews questions are provided in Appendix A.Review1. The Group function works only with which Object types?ExerciseCreate a report using the EDW R&A Training universe.Objects: Last Name, First Name, Decision DescConditions: (Predefined) ChicagoCreate a variable named Attending with the values of Yes, No, and Unknownaccording to the values of Decision Desc as shown below. Yes No Unknown Admit Admission Rescinded Wait List Admit – Applicant Accepts Applicant Rejects Offer Admit – Limited Status Deny Admit/Accept Limited Status SI/GPA too low for transfer Applicant Accepts OfferSave the document as CQ Exercise 2.Completed Exercise
  • 20. 20 • Complex Queries in BusinessObjects
  • 21. Chapter 3: 21Chapter 3Grouping Measure ObjectsWhen possible, it’s easier to use the Group option discussed above to group values.But, the group option is not available for measure objects. So, for measure objects it’snecessary to create a new variable and use If…Then…Else code in its formula.1. Open the document Grouping.rep.2. Click any value in the Region column.3. Select Data Edit Formula…. The formulas for the Region variable is displayed: = If (<State> InList( "DC" , "Florida" , "Massachussetts" , "New York") ) Then("East") Else If (<State> InList( "Colorado" , "Illinois" , "Texas") ) Then("Central") Else If (<State> InList( "California") ) Then("West") Else <State>4. Click Cancel to close the Formula Editor.Sales GroupingWe will add a column indicating whether the sales are Low, Medium or High based onthe following: Low: $0 – $999,9999 Medium: $1,000,000 - $1,499,999 High: $1,500,000 and above1. Right-click in the Report Manager on an existing variable.2. Select New Variable… from the pop-up menu. The Variable Editor window will appear.
  • 22. 22 • Complex Queries in BusinessObjects3. On the Definition tab enter the name of Revenue Group.4. Click the Formula tab.5. Enter the following formula: = If (<Sales revenue> < 1000000) Then "Low” Else If (<Sales revenue> < 1500000) Then "Medium" Else "High" The If statement will continue through the conditions until it finds a condition that is true. So, if the value for Sales revenue is not less than 1 million it will continue to the next condition and check if the Sales revenue value is less than 1.5 million. If both conditions are false it will continue to the Else, which always “true”, and assign the value “High”.6. Click OK. The Revenue Group variable should appear in the Variables list.
  • 23. Chapter 3: 237. Add the Revenue Group as a new column to the right of Sales revenue. Your report should now look like:8. Close the report and save the changes.
  • 24. 24 • Complex Queries in BusinessObjectsExercise 3 – Grouping Measure ObjectsNote:• Answers to all Reviews questions are provided in Appendix A.Review1. To group Measure Objects you must use If…Then…Else code: True or False?ExercisesOpen the CQ Exercise 1 document.1. Add a variable named ACT Group with values based on the ACT Composite Score as follows: Good < 25 Better < 30 Best >= 302. Edit the formula for the Full Name variable. Remove the extra spaces if the Middle Name is equal to a space.Save the changes as CQ Exercise 3.Completed Exercise
  • 25. Chapter 4: 25Chapter 4Calculation ContextsBy default, BusinessObjects determines the result of a measure based on the dimensionsin the part of the report in which the measure is inserted. These sets of dimensions arecalled calculation contexts.For example, the tables below all include the Sales revenue object, but the valuesdisplayed are different due to the context of the table.Input and Output ContextsCalculation contexts are determined by both input and output contexts.• Input context determine what dimensions go into the calculation to produce values. The calculation produces values based on the input context.• Output context determine how the values of the calculation are combined. It is governed by the cell location within the report.Calculation Context OperatorsWhen creating a calculation context there are operators and keywords that areavailable to create formulas and variables.Definitions for context operators are:ForAllSpecifies the dimensions you want to include in the calculation. Syntax: measure ForAll dimensions Example: <Sales revenue>/(<Sales revenue> ForAll <State>) Divides the sales revenue by the revenue generated by all states.ForEachAdds a dimension to the calculation environment. Syntax: measure ForEach dimensions Example: Max(<Sales revenue> ForEach <Year>) Returns the maximum annual revenue, for example for each store in the report.
  • 26. 26 • Complex Queries in BusinessObjectsInUses a keyword to define the calculation environment (syntax 2 below), or specifies thedimensions included in the calculation environment (syntax 1 below). Syntax 1: measure In dimensions Example: <Sales revenue> In (<State>,<City>) The revenue for state and city. Syntax 2: measure In keyword Example: In (<State>) The revenue for the state.Calculation Context KeywordsKeywords available for creating formulas are:• Body: Corresponds to dimensions in the current block and dimensions in the current section. It can be used inside the block for dimensions in the current block, and outside the block for dimensions in the current section.• Block: Corresponds to dimensions in the current section. It can be used for dimensions inside the current block.• Report: Corresponds to all dimensions in the document. It can be used for dimensions anywhere in the report.• CurrentPage: Corresponds to all dimensions in the current page. It can be used for dimensions inside the current page.Calculation Context ExampleLet’s look at an example of calculation contexts.1. Open the CQ Calculation Context Example document in the Complex folder. The report should look like:
  • 27. Chapter 4: 272. Add a Sum calculation to Sales revenue.3. Select the cell with the sum value.4. Press Ctrl+c to copy the contents of the cell.5. Paste the cell contents into the 1999 California Sales cell. The value should be the same as at the bottom of the table because the output context has not changed. The cell is still within the Year and State sections.6. Paste the cell contents into the 1999 Sales cell.7. Paste the cell contents into the Total Sales for all years cell. The report should look like: The values in the cells are different because of the output context. Next we will display the context.Viewing Calculation ContextsOne method to learn more about Calculation Context operators is to view existingformulas. There are two methods to view formulas:Using the Formula Bar:1. Click the cell containing the calculation.2. Rest the cursor over the Formula Bar. The extended syntax of the formula appears in a tooltip.Using the Define As Variable command:1. Click the cell containing the calculation.2. Select Data Define As Variable. The Define as Variable dialog box will appear.3. Click Evaluate the formula in its context. The extended syntax of the formula will appear in the dialog box.
  • 28. 28 • Complex Queries in BusinessObjects The extended syntax for the three Total Sales cells are, from top down: =Sum(<Sales revenue> In Body) In Report =Sum(<Sales revenue> In Body) In <Year> =Sum(<Sales revenue> In Body) In (<Year>, <State>)Changing the Calculation Context1. Copy the contents of the cell with the 1999 California Sales value ($1,704,211).2. Paste the cell contents into the Percent of 1999 Sales cell.3. Change the formula for the cell to: =Sum(<Sales revenue>) In (<Year> ,<State>) / Sum(<Sales revenue>) In (<Year>) This divides the sum for the Year/State combination by the sum for the Year. The report should look like:4. Copy and paste the formula into the Percent of Total Sales cell directly below.5. Change the formula to: =<Sales revenue>/Sum(<Sales revenue>) In Report. This divides the sales for the Year/State by the sales for all state for all years. The cell should now display 4.68%.6. Copy and paste the formula into the Percent of Total Sales cell for the year. This divides the sales for the Year by the sales for all state for all years. The cell should now display 22.25%. The finished report should look like:
  • 29. Chapter 4: 29Exercise 4 – Calculation ContextsNote:• Answers to all Review questions are provided in Appendix A.Review1. The Output Context keyword for all values is ______________.2. What are two methods for viewing Calculation Context formulas?ExercisesCreate a standard report using the EDW R&A Training universe.Objects: Last Name, First Name, UIN, ACT Composite ScoreConditions: (Predefined) SpringfieldCreate a variable that calculates the average ACT score.Create an Alerter that displays red text for any ACT score less than the average score.Save the report as CQ Exercise 4Completed Exercise
  • 30. 30 • Complex Queries in BusinessObjects
  • 31. Chapter 5: 31Chapter 5SubqueriesA subquery is a query within a query. The subquery usually returns a single column ofdata which is used in a condition of the main query. The subquery uses the same datasource. Subqueries are created using operand options with a condition. Depending onthe operator used in the condition, you will see one or both operand options:Create a subquery (ALL)This operand compares the object with all the values returned by the subquery. Forexample: Sales revenue Greater than (all items of the query 1.1).Create a subquery (ANY)This operand compares the object with any values returned by the subquery. Forexample: Sales revenue Equal to (one item of the query 1.1).Let’s create a report that requires a subquery. We want the stores that sold at least 100of a particular item in the month of June, 2000. The stores must have also sold at least1000 of these items for the year. We can’t do this with one query because there aredifferent time periods and different amounts for the number sold.1. Create the following query with: City Store name Quantity sold2. Create the following conditions: Year Equal to 2000 Month Equal to 6 SKU desc Equal to ‘E-Watch’ Quantity sold Greater than or equal to 1003. Add a new condition for the Store name object.4. Select Equal to for the operator.5. Select Create a subquery (ANY) for the operand. A new query tab appears, Subquery 1.1. The subquery needs to produce the list of Store names that sold at least 1000 of theses watches for the year 2000.6. Add Store name in the results of the subquery.7. Add the following conditions: Year Equal to 2000 SKU desc Equal to ‘E-Watch’ Quantity sold Greater than or equal to 1000
  • 32. 32 • Complex Queries in BusinessObjects The subquery should look like:8. Run the query. The table should look like: To review: • The Subquery 1.1 returns the list of stores that had sales of at least $1 million in 2000. • The main query returned in the stores that sold at least 100 E-Watches in June 2000 as long as the store was in the list produced by the subquery.Multiple Data ProvidersA data provider contains the results of running a query. This data is then used to createreports. Building a data provider when you create a new document is a typical way ofusing BusinessObjects. You create the document in order to see your data - and to dothat, you have to build a data provider to access data from a data source.You don’t have to create a new document every time you want to see new data in areport. You can add data providers to existing documents. This feature enables you tocombine data from different sources in the same report.
  • 33. Chapter 5: 33 Document 1A document can contain multiple data Report 1providers and multiple reports. Eachreport can contain blocks that pull datafrom one or more data providers, orcombine data from different data Dataproviders in the same block. Provider 1 Report 2The figure to the right shows adocument with two data providers andthree reports. Report 1 has a singletable with data from Data Provider 1. DataReport 2 has two blocks with data Provider 2from different data providers. Report Report 33 has one block, which combines datafrom two different data providers.Verifying the ResultsAlthough it’s not necessary we will display additional tables to verify the results weobtained are correct.1. Click the Insert Table button in the Report toolbar2. Click below the existing table to place the upper-left corner of the new table. The New Table Wizard starts.3. Select Use an existing query to build a new one from the list.
  • 34. 34 • Complex Queries in BusinessObjects4. Select the first query from the list.5. Delete the condition: Store name In list (query 1.1)6. Run the query. The second table displays the stores that sold at least 100 E-Watches in June, 2000 regardless of the sales for the year. Note there is an additional store, Colorado Springs.7. Click the Insert Table button in the Report toolbar8. Click to the right of the bottom table.9. Select Build a new query on the universe currently in use from the list.10. Add the Store name and Quantity sold objects to the Result Objects.11. Add the following conditions: Year Equal to 2000 SKU desc Equal to ‘E-Watch’12. Run the query.
  • 35. Chapter 5: 3513. Sort the new table by Quantity sold in descending order. The bottom table shows the number of e-Watches sold in 2000. As you can see, Colorado Springs did not sell at least 1000.Managing Data ProvidersYou can manage the data providers in BusinessObjects documents in the followingways:• Rename data providers• Get statistics such as the date and time a data provider was last refreshed, and how many rows of data were returned• Empty data providers of their data (called purging)• Delete data providers you no longer needRenaming Data ProvidersBusinessObjects assigns names to all data providers. The names of the data providercan be changed using the Definition tab of the View Data dialog box. Renaming dataproviders is by no means required. You can work with the default names of the dataproviders. If objects with the same name exist in multiple data providers, the name ofthe data provider is added to the object name.For example, Sales revenue (Query 2 with EFASHION).We will rename the data providers to make them easier to work with.
  • 36. 36 • Complex Queries in BusinessObjects1. Select the View Data button in the Standard toolbar. The Data Manager appears.2. Click the Query 1 with EFASHION data provider from the list on the left.3. Click the Definition tab.4. Type the new name, Bonus Stores, in the Name box. Don’t press Enter.5. Click Query 2 with EFASHION.6. Change the name to June Sales.7. Click Query 3 with EFASHION.8. Change the name to 2000 Sales.9. Click the OK button.Purging vs Deleting a Data ProviderWhat’s the difference between purging and deleting a data provider? Purging removesthe data, but keeps the structure. Deleting removes the data and the structure - anaction which cannot be undone. So, why purge or delete a data provider? If you wantto share the report with other users who have different security access, you can purgethe data before sending the document. Purging also reduces the size of a document, sois saves disk space. You can populate a purged data provider by selecting the RefreshData command on the Data menu. This command refreshes all the data providers in thedocument. You should only delete a data provider, however, if you are certain it is nolonger needed.We don’t need the last two data providers, June Sales and 2000 Sales. We will deletethem from the document.1. Select View Data.2. Click the 2000 Sales data provider.3. Click the Delete button.4. Click Yes in the confirmation box that appears5. Delete the June Sales data provider in the same way.6. Click OK to close the Data Manager. The bottom two tables will now be empty since the data providers used to create the tables have been deleted.
  • 37. Chapter 5: 377. Delete the two empty cells.8. Save the document as Subquery.rep.
  • 38. 38 • Complex Queries in BusinessObjectsExercise 5 – SubqueriesNote:• Answers to all Reviews/Exercises are provided in Appendix A.Review1. A subquery can use a different data source. True or False?2. A _____________________ is the data returned by running a query.3. Can there be multiple data providers in the same document?ExercisesCreate a table with all applicants to the Chicago campus that have applied to both thecolleges of Liberal Arts and Sciences and Business Administration. The tableshould include the applicant’s UIN, First Name, and Last Name.Save the report as CQ Exercise 5Completed Exercise
  • 39. Chapter 6: 39Chapter 6Using Personal Data FilesPersonal data files can be used as a source for a data provider. This enables you toaccess data in text files, Excel spreadsheets, dBase files, and XML files. Usingpersonal data files allows you to use BusinessObjects to create reports fromdepartmental data, or combine that data with data from the EDW.Creating a report from a personal data file is a two-stage procedure. First you specifythe personal data file you want to use for the report and then you set the options for thetype of file selected.File Types AvailableThe types of files that can be used as a personal data file are:• Microsoft Excel spreadsheet (*.xls)• DBASE files (*.dbf)• Text files (*.txt, *.asc, *.prn, *.csv)• XML files (*.xml)Options with .XLS FilesFirst Row Contains Column NamesThis option indicates the file’s first row of data contains the names to be used ascolumn headings in the BusinessObjects report.Sheet NameThis option lists the worksheets in the file you selected, and lets you select theworksheet to import.Field SelectionThis option lets you select the fields from the spreadsheet to be included in the report.You have the following options:• All Fields Retrieves all the data from the worksheet.• Range Definition Retrieves the data from specified range of cells (e.g. A1:Z20)• Range Name Retrieves the data from a named range defined in the worksheet.Creating a Report from an XLS FileThe xls file used in this example contains data about a resort’s customers.1. Select the New Report Wizard button on the Standard toolbar.2. Choose to Generate a standard report.
  • 40. 40 • Complex Queries in BusinessObjects3. Select Others on the Specify Data Access screen. The Access Personal Data window is displayed.4. Select Microsoft Excel 97 Files (*.xls) from the Format listbox. Note: The Microsoft Excel Files format is for Excel 95 files.5. Click the Browse button.6. Select Customers.xls from the files in the Complex folder.7. Check the checkbox for First row contains column names.8. Click the Run button. The report based on the data from the Customers.xls file will be displayed.9. Close the document without saving the changes.
  • 41. Chapter 7: 41Options with Text FilesThe text file option includes four types of files: asc, prn, txt, and csv. The file typedetermines the delimiter used in the file. You can also use the Delimiter option toindicate the character used to delimit the data in the file. The default settings per filetype are as follows: Tabulation: tab (.txt) Space: space (.prn) Character: semi-colon (.csv) | (.asc)Create a table from a .CSV personal data file1. Select the New Report Wizard button in the Standard toolbar.2. Choose to Generate a standard report.3. Select Others on the Specify Data Access screen. The Access Personal Data window is displayed.4. Make sure Text Files (*.asc, *.prn, *.txt, *.csv) is selected as the format.5. Click on the Browse button.6. Select Recall List.csv from the Complex folder.7. Check the checkbox for First row contains column names.8. Click on the View button.
  • 42. 42 • Complex Queries in BusinessObjects The data file is read and then the Data Manager dialog box is displayed.9. Click on the SKU variable in the Data Providers panel on the left.10. Select the Definition tab.11. Click on the Dimension radio button to change the SKU object’s qualification to dimension.12. Click on the OK button to close the Data Manager dialog box. The data from the Recall List.csv file will be displayed in a table.
  • 43. Chapter 7: 4313. Adjust the column widths.14. Remove the decimal places from the SKU column.Create a Second Data ProviderWe will now add data from the eFashion universe as a second data provider in the samedocument. We will create a condition that limits the products in the second query tojust the ones in the results of the first query.1. Click the Insert Table button on the Report toolbar.2. Click to the right of the existing table to establish the location of the upper-left corner of the new table. The New Table Wizard will display.3. Select the Access new data in a different way option and click Begin.4. Click the Next button to use a Universe as the data source.
  • 44. 44 • Complex Queries in BusinessObjects5. Select the eFashion universe from the list and click the Finish button.6. Select the following objects in the order shown: Store name SKU number SKU desc Quantity sold7. Create the following conditions: Year equal to ‘2001’8. Drag the SKU number object to the conditions panel to create a new condition.9. Select In list as the operator.10. Select Select Query Results as the operand. The List of Data Providers is displayed. From the list you want to select the query and object that contains the values you want.11. Click the + to expand the query.12. Click the SKU object.13. Click OK to close the dialog box. The new condition should look like:
  • 45. Chapter 7: 45 Note: This condition has a limit of 1000 items in the list.14. Click the Run button. The new table is displayed. This table contains the data from the universe, but only for the items in the list in the CSV file. The objects for the second data provider will be added to the variables list. When there are multiple data providers in the document, it is usually better to display the variable list divided by data provider.15. Click the By Data Provider radio button at the bottom of the Report Manager. Now the variables are listed by data provider.16. Save the document as Recall.rep.17. Close the document.
  • 46. 46 • Complex Queries in BusinessObjectsExercise 6 – Using Personal Data FilesNote:• All exercises use the EDW R&A Training universe.• Answers Reviews questions are provided, starting on page 53.Review1. Can an Access database be used as personal data files?ExerciseCreate a table with the information from the csv file: Problem Applicants.csv. Add asecond table with the following data from the EDW R&A Training universe for theapplicants listed in the first table.UINFirst NameLast NameCityStateSave the document as CQ Exercise 6.rep.Completed Exercise
  • 47. Chapter 7: 47Chapter 7Combining Data from Different Data ProvidersWe will now combine data from two data providers in the same table. The source forthe first data provider is a CSV file in the userDocs folder named Recall List.csv. Thisfile contains the SKU numbers and associated problems of the items being recalled bythe eFashion stores.Linking Data ProvidersLinking data providers enables data from different data providers to be combined in atable, crosstab, or chart. Dimension objects from one data provider are linked todimension objects that contain the same values in a different data provider.BusinessObjects then finds the corresponding rows from the two data providers Onlydimension objects can be linked.In this example, the SKU object in the first data provider must be linked to thecorresponding object in the second data provider.1. Open the Recall.rep document.2. Delete the table on the left with the data from the csv file.3. Move the remaining table to the left margin.4. Click the View Data button in the Standard toolbar.5. Click on the + next to each data provider to expand the lists of objects for each. The SKU object for the first data provider is a measure. We have to change this to a dimension object so it can be linked to the SKU number object in the second data provider.6. Select the SKU object in the first data provider.7. Click the Definition tab.8. Change the Qualification for the variable to Dimension.9. Click on the Link to… button.10. Select the SKU number object from the second data provider.11. Click the OK button to close the View Data dialog box. Arrows, , indicating the link will appear in the data provider list.
  • 48. 48 • Complex Queries in BusinessObjects12. Click OK to close the View Data dialog box.Incompatible ObjectsThere is one very important rule about combining data from different data provider inthe same table. There can only be unlinked dimension objects from one dataprovider. If there are dimension objects from both data providers that you want in thetable, but these objects are not linked, they cannot be appear in the table at the sametime.1. Click on the Problem object in the first data provider. Notice the SKU desc and Store name objects in the second data provider are grayed out. This means these are “incompatible objects”. The Problem object is an unlinked dimension object. SKU desc and Store name are also unlinked dimension objects. They cannot appear in the table at the same time. To get around this restriction we will create a detail variable that contains the same data as Problem. Since we want two unlinked dimension objects from the second data provider and only one from the first data provider, it’s easier to create one variable for the Problem object rather than two variables for SKU desc and Store name.2. Right-click on the Problem variable in the Report Manager.3. Select New Variable… from the pop-up menu.4. Enter Problem desc as the name of the new variable.5. Change the Qualification to Detail.6. For the Associated Dimension, select SKU. The detail variable must me associated to a linked dimension object.
  • 49. Chapter 7: 497. Select the Formula tab.8. Double-click the Problem object to enter it into the formula. This means the new variable will have the same data as the Problem object. But, because it is a detail variable it can be added to the table while the Problem object cannot.9. Click OK to close the Variable Editor.Combining Data in the Table1. Drag and drop the Problem desc variable onto the table between SKU desc and Quantity sold. Problem desc can be added to the table because it is not an unlinked dimension object.
  • 50. 50 • Complex Queries in BusinessObjects The table should now look like:2. Close the document and save the changes.
  • 51. Chapter 7: 51Exercise 7 – Combining Data from Different SourcesNote:• All exercises use the EDW R&A Training universe.• Answers Reviews questions are provided, starting on page 53.Review1. What has to be done to combine data from different data providers into the same table?2. What type of objects can be linked?3. What are “incompatible objects”?ExerciseOpen the CQ Exercise 6.rep document. Combing the data from both data providersinto one table.Completed Exercise
  • 52. 52 • Complex Queries in BusinessObjects
  • 53. Appendix A: 53Appendix A –Review AnswersExercise 1 – Formulas and Variables1. A variable can be used in many ways that a formula cannot: True2. A formula is not sharable among different users: False, a formula is stored in the document and is available to any user.Exercise 2 – Grouping Values1. The Group function works only with what Object types? Dimension and DetailExercise 3 – Grouping Measure Objects1. To group Measure Objects together you must use If…Then…Else code: TrueExercise 4 – Calculation Contexts1. The Output Context keyword for all values is In Report.2. What are two methods for viewing Calculation Context formulas? The tool tip in the Formula Bar or Data Define as VariableExercise 5 – Subqueries1. A subquery can use a different data source. False2. A data provider is the data returned by running a query.3. Can there be multiple data providers in the same document? YesExercise 6 – Using Personal Data Files1. Can an Access database be used as personal data files? No, only “flat” files can be used as personal data files (asc,prn,txt,csv,xls,dbf,xml)Exercise 7 – Combining Data from Different Sources1. What has to be done to combine data from different data providers into the same table? One or more dimension objects must be linked.2. What type of objects can be linked? Dimension3. What are “incompatible objects”? Unlinked dimension objects from different data providers. They cannot be included in the same table. The work-around is to create a Detail variable with the same data.
  • 54. Appendix B: 55Appendix BUser ObjectsIt is often necessary for a report developer to add data to a report that is not present inthe universe. BusinessObjects provides three ways to add data to the report:• User Objects• Formulas• VariablesThey all make use of the Formula window, and so may seem similar at first. But, thereare some important differences. One major difference is that user objects are associatedwith a specific universe, while formulas and variables are associated with a singledocument. Also, formulas and variables are stored in the document and are available toany user refreshing or modifying the document. User objects are stored on the author’shard drive and are not available to other users. Another difference is that user objectsare written in SQL code, but formulas and variables are written in BusinessObjectscode.User ObjectsA user can create objects that appear to be part of the universe. These objects willappear in the User Objects class when the universe is displayed in the Query Panel.The user objects can be used in reports just like any other object in the universe. Theadvantage of user objects is that they don’t have to be recreated for each newdocument.User objects are personal objects that are not shared with other end-users. They arestored in a local file in the Universe folder. The file will have the same name as theuniverse.User Objects RestrictionsSome restrictions placed upon user objects are:• User objects are available only in the universe in which they were created.• User objects are not shared. Reports that include user objects can only be viewed by other end-users.This is because user objects are stored locally in a user object definition file. Otherend-users, who do not have the same user object definition file, are not able to accessthe user object definitions. If an end-user tries to refresh or edit a query that containsanother user’s user objects, BusinessObjects removes the objects from the query andreport.If a user object is meant to be widely shared, then we would recommend contactingDecision Support to inquire as to the possibility of having that user object added to theuniverse.
  • 55. 56 • Complex Queries in BusinessObjectsCreating a User ObjectThere are two ways to create a user object:• using the User Objects button, , found on the toolbar of the Query Panel.• using the Tools Universes menu option. This method permits you to select the universe the user object will be created for.Both methods display the User Object dialog box to create the formula for the userobject. We will use the Tools menu to create our user object.We want to project next year’s revenue based on a 3% increase in sales. We will dothat by adding a user object.4. Click Tools Universes…. The Universes panel will appear, showing all universes to which you have access.5. Select the eFashion universe.6. Click the User Objects… button. The User Objects panel will appear. Any existing user objects associated with the eFashion universe would appear in this window.
  • 56. Appendix B: 577. Click the Add button to add a user object. The User Object editor will appear. This is similar to the editor used to create formulas and variables.8. Click the Definition tab.9. Name the user object Projected Revenue10. Select Measure as the qualification.
  • 57. 58 • Complex Queries in BusinessObjects11. Select Sum as the function. This means that when the values for the Projected Revenue object are aggregated due to the context of the report, the sum of the values will be used.12. Click the Formula tab.13. Click the Measures class to display the list of measure objects.14. Double-click Sales revenue to add it to the formula. At this point {MeasuresSales revenue} should appear in the top pane of the Formula tab.15. Add the multiplication operator, *.16. Enter 1.03 to the right of the * to calculate a 3% increase in sales revenue. The completed formula will look like: {MeasuresSales revenue} *1.0317. Click the Test button to check for syntax errors.18. If there are no errors, click OK. Projected Revenue will now appear in the User Objects window. (Insert Picture)19. Click OK on the User Objects window to close it.20. Click Close on the Universes window to close that window also.
  • 58. Appendix B: 59Using a User ObjectWe will now use the newly created user object in a report.1. Create a new document using the eFashion universe. The User Objects class has been added at the bottom of the universe. The Projected Revenue object is now ready to be used along with permanent eFashion Universe objects.2. Select the following objects: Store name Sales Revenue Projected Revenue The Query Panel should look like:3. Add the following condition to the Query Panel: Year Equal to ‘2001’4. Run the query.
  • 59. 60 • Complex Queries in BusinessObjects The table should look like:5. Save the document as Projected Revenue.6. Close the document. Keep in mind, if you send this report to another user and that user tries to refresh or edit the query, the user object, Projected Revenue, will be removed from the query.Removing a User Object1. Click Tools Universes.2. Select Universes…. The Universes dialog box will appear displaying a list of available universes.3. Select the eFashion universe.4. Click the User Objects button. The User Objects window will appear with a list of current user objects associated with the eFashion universe.5. Select the Projected Revenue object.6. Click the Delete button, and confirm your action to delete the user object.
  • 60. Appendix C: 61Appendix C – Combined QueriesCombined QueriesCombined queries are very much like subqueries. Subqueries compare a single objectwith the results of the subquery. Combined queries compare the rows of one querywith the rows of the other. You can display the union, intersection, or the difference ofthe two queries. Union (default): includes the rows from both queries Intersection: includes the rows common to both queries Minus: includes the rows from the first query minus the rows from the second queryRestrictionsThe major restrictions in combining queries are:• the queries must contain the same number of objects• the objects must be of the same type (i.e. character, date, number)• there can be up to eight queries in a combined query• when using MINUS, the second query is subtracted from the firstBuilding a Combined QueryWe will create a table containing the categories that were sold in the 2001 that weren’tsold in 2000. We will use a combined query to subtract the rows for 2000 from therows for 2001.1. Use the new document using the New Report Wizard and the e-Fashion universe.2. Add Category object to the Result Objects.3. Add the condition: Year Equal to 2001.4. Click the Combine Queries button to add a second query. A second query will appear with a ‘U’, for Union, between the tabs. The Results Objects panel is automatically populated with the Category object from Query 1.5. Add a condition to this second query of Year Equal to 2000.6. Right-click the Query 2 tab. The pop-up menu of combined query types is displayed
  • 61. 62 • Complex Queries in BusinessObjects7. Select Minus.8. Run the query. A table should appear with the two rows, Samples and Skirts, that are in the query results for 2001 but not in the results for 2000.
  • 62. Appendix C: 63Appendix D –Using an XML Data ProviderUsing an XML file as a Personal Data File is a little different than the other types. Firstyou create an XML Filter and then use the filter to retrieve data from the file. Whenyou build an XML filter you choose the elements in the XML file that you want to beavailable for inclusion in your report. To build a filter:1. Use the New Report Wizard to create a new document.2. Select to Generate a Standard Report.3. Click the down arrow for the Others option.4. Select XML Data Provider from the list. The XML Filter list is displayed.5. Click the New… button to create a new filter.
  • 63. 64 • Complex Queries in BusinessObjects The XML Filter editor is displayed.6. Click the Load button.7. Open the My DocumentsMy Business Objects DocumentsuserDocs folder.8. Select the Class Schedule.xml file. The structure of the XML file is displayed in the Structure panel.
  • 64. Appendix C: 65 Some XML elements do not contain data; they act as a container for other elements. DATA_RECORD is an example of such an element in this file. It is not meaningful to include such elements in a report.9. Uncheck the Audience and Notes fields to not include them.10. Click the Save button. The Save XML Filter As dialog box is displayed.11. Enter Schedule for the filter name.12. Select the Finish button to use the new XML filter. The XML Query Panel is displayed.
  • 65. 66 • Complex Queries in BusinessObjects13. Double-click the following objects to select them: CLS_SCHED_ID FROM_DT TO_DT SITE_ID INSTR_ID14. Click the Run button. The table should look like:
  • 66. Appendix C: 67Appendix E – ASCII character codes 0 Null char. 43 + 86 V 1 Start of Header 44 , 87 W 2 Start of Text 45 - 88 X 3 End of Text 46 .(dot) 89 Y 4 End of Transmission 47 / 90 Z 5 Enquiry 48 0 91 [ 6 Acknowledgment 49 1 92 7 Bell 50 2 93 ] 8 Backspace 51 3 94 ^ 9 Horizontal Tab 52 4 95 _10 Line Feed 53 5 96 `11 Vertical Tab 54 6 97 a12 Form Feed 55 7 98 b13 Carriage Return 56 8 99 c14 Shift Out 57 9 100 d15 Shift In 58 : 101 e16 Data Link Escape 59 ; 102 f17 Device Control 1 60 < 103 g18 Device Control 2 61 = 104 h19 Device Control 3 62 > 105 i20 Device Control 4 63 ? 106 j21 Negative Acknowledg. 64 @ 107 k22 Synchronous Idle 65 A 108 l23 End of Trans. Block 66 B 109 m24 Cancel 67 C 110 n25 End of Medium 68 D 111 o26 Substitute 69 E 112 p27 Escape 70 F 113 q28 File Separator 71 G 114 r29 Group Separator 72 H 115 s30 Record Separator 73 I 116 t31 Unit Separator 74 J 117 u32 Space 75 K 118 v33 ! 76 L 119 w34 “ 77 M 120 x35 # 78 N 121 y36 $ 79 O 122 z37 % 80 P 123 {38 & 81 Q 124 |39 ‘ 82 R 125 }40 ( 83 S 126 ~41 ) 84 T 127 delete42 * 85 U
  • 67. 68 • Complex Queries in BusinessObjects128 Ç 171 ½ 214 ╓129 ü 172 ¼ 215 ╫130 é 173 ¡ 216 ╪131 â 174 « 217 ┘132 ä 175 » 218 ┌133 à 176 ░ 219 █134 å 177 ▒ 220 ▄135 ç 178 ▓ 221 ▌136 ê 179 │ 222 ▐137 ë 180 ┤ 223 ▀138 è 181 ╡ 224 α139 ï 182 ╢ 225 ß140 î 183 ╖ 226 Γ141 ì 184 ╕ 227 π142 Ä 185 ╣ 228 Σ143 Å 186 ║ 229 σ144 É 187 ╗ 230 µ145 æ 188 ╝ 231 τ146 Æ 189 ╜ 232 Φ147 ô 190 ╛ 233 Θ148 ö 191 ┐ 234 Ω149 ò 192 └ 235 δ150 û 193 ┴ 236 ∞151 ù 194 ┬ 237 φ152 ÿ 195 ├ 238 ε153 Ö 196 ─ 239 ∩154 Ü 197 ┼ 240 ≡155 ¢ 198 ╞ 241 ±156 £ 199 ╟ 242 ≥157 ¥ 200 ╚ 243 ≤158 ₧ 201 ╔ 244 ⌠159 ƒ 202 ╩ 245 ⌡160 á 203 ╦ 246 ÷161 í 204 ╠ 247 ≈162 ó 205 ═ 248 °163 ú 206 ╬ 249 ·164 ñ 207 ╧ 250 ·165 Ñ 208 ╨ 251 √166 ª 209 ╤ 252 ⁿ167 º 210 ╥ 253 ²168 ¿ 211 ╙ 254 ■169 ⌐ 212 ╘ 255170 ¬ 213 ╒

×