home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _C9E936C6CC6E4648AABDF321CD356B72 < prev    next >
Text File  |  2003-03-07  |  21KB  |  514 lines

  1. Summarizing data using CrossTab reports
  2.  
  3. CrossTab reports let you summarize large amounts of data from both spreadsheets created in Quattro Pro and external databases.
  4.  
  5. In this section, you'll learn about
  6.  
  7.   creating CrossTab reports
  8.   
  9.   creating CrossTab reports using OLAP data sources
  10.   
  11.   naming CrossTab reports
  12.   
  13.   formatting CrossTab reports
  14.   
  15.   updating and refreshing CrossTab report data
  16.   
  17.   sorting and filtering CrossTab report data
  18.   
  19.   moving and deleting CrossTab reports
  20.   
  21.   customizing CrossTab report fields
  22.   
  23.   hiding field items and details
  24.   
  25.   calculating field summaries in CrossTab reports
  26.   
  27.   performing field data comparisons in CrossTab reports
  28.   
  29.   expanding, filtering, and removing OLAP CrossTab report field elements
  30.   
  31.   making static copies of CrossTab reports
  32.   
  33.   expanding CrossTab reports
  34.   
  35. Creating CrossTab reports
  36.  
  37. You can use CrossTab reports to analyze and organize data located in notebooks and databases. For example, you might maintain a database with addresses of customers in different cities, including information on customer sales. The database effectively stores the information but does not allow you to analyze the data in a convenient or precise manner. By building a CrossTab report, you can analyze, organize, and summarize the data into a constantly updated report on area sales. The same database can also be analyzed to determine sales by salesperson for each product that the business sells.
  38.  
  39. Data does not have to be on the same spreadsheet of a notebook for you to create a CrossTab report. You can connect two or more spreadsheets that contain data and produce a CrossTab report to summarize the data.
  40.  
  41. Planning and interpreting your data analysis
  42.  
  43. Before you produce a CrossTab report from a data source like a database, you must plan which data fields you want to analyze. The CrossTab report feature analyzes data by using selected data fields as row or column labels and numeric data fields as the data being analyzed. The fields in the row and column areas are used as selection criteria to determine which values from the database to include at intersections of the row and column field labels. For example, assume a database contains product sales information (data). In the CrossTab report, place the field containing the names of the company's salespeople along the left of the spreadsheet (rows), and the field containing the products you sell along the top of the spreadsheet (columns). The intersection of the labels "Salesperson A" and "Products" shows the total number of products that Salesperson A sold.
  44.  
  45. To build a CrossTab report
  46.  
  47. 1    Click a spreadsheet cell containing data.
  48.  
  49. 2    Click Tools  Data tools  CrossTab  Report.
  50.  
  51. 3    Drag any fields from the list in the Fields area into any of the following positions of the Layout area:
  52.  
  53.   Rows
  54.   
  55.   Columns
  56.   
  57.   Data
  58.   
  59.   Pages
  60.   
  61. 4    Type the report destination in the Destination box.
  62.  
  63. Unless you select a destination, the CrossTab report will be placed in A1 of the next available, unprotected spreadsheet.
  64.  
  65. Notes
  66.  
  67.   Dragging a field to the Pages position is optional. Fields placed in the Pages position appear in the upper-left corner of the CrossTab report as items in a list box so that you can select the desired field item to view. If fields are placed in the Pages position, you can expand the report. For more information about expanding CrossTab reports, see "Expanding CrossTab reports."
  68.   
  69.   You can drag more than one field into each position of the Layout area, but fields cannot appear more than once in each position.
  70.   
  71. To connect multiple spreadsheets to produce a CrossTab report
  72.  
  73. 1    Click a spreadsheet cell containing data.
  74.  
  75. 2    Click Tools  Data tools  CrossTab  Report.
  76.  
  77. 3    Click the Range picker in the Source data box.
  78.  
  79. 4    Press SHIFT, and click the tabs of the spreadsheets where the data is stored.
  80.  
  81. You must click the spreadsheet tabs in ascending order.
  82.  
  83. 5    Click Maximize on the CrossTab report title bar.
  84.  
  85. Note
  86.  
  87.   After you connect multiple spreadsheets of data, the first field in the list in the Fields area of the CrossTab report dialog box is [SHEET]. You can drag this field to the Pages, Rows, or Columns positions of the Layout area.
  88.   
  89. Creating CrossTab reports using OLAP data sources
  90.  
  91. CrossTab reports are particularly suited to displaying and exploring data contained in OLAP servers. You can create CrossTab reports from fields in an OLAP server by selecting an OLAP server as the data source. You can also import CrossTab reports created with OLAP software into Quattro Pro.
  92.  
  93. To select an OLAP data source for a CrossTab report
  94.  
  95. 1    Click Tools  Data tools  CrossTab  Report.
  96.  
  97. 2    Enable the OLAP report option.
  98.  
  99. 3    Click OK.
  100.  
  101. 4    In the CrossTab data sources dialog box, select the server you want.
  102.  
  103. 5    In the Connect to provider dialog box type a user ID and password.
  104.  
  105. To import OLAP CrossTab reports
  106.  
  107. 1    Click Tools  Data tools  CrossTab  Report.
  108.  
  109. 2    Enable the OLAP report option.
  110.  
  111. 3    Click OK.
  112.  
  113. 4    In the CrossTab data sources dialog box, select the server you want.
  114.  
  115. 5    In the Connect to provider dialog box, type a user ID and password.
  116.  
  117. 6    Select a data source.
  118.  
  119. 7    In the CrossTab report dialog box, click Import report.
  120.  
  121. 8    In the Import templates dialog box, choose a report type.
  122.  
  123. 9    In the Import report dialog box, choose a report.
  124.  
  125. Note
  126.  
  127.   You must have an OLAP provider running in the background before you can connect to the server.
  128.   
  129. Tip
  130.  
  131.   You can also click the Import report button in the CrossTab report dialog box to import OLAP CrossTab reports.
  132.   
  133. Naming CrossTab reports
  134.  
  135. After you create a CrossTab report, you can change its name from the default. If you generate several CrossTab reports from data, you have to assign a unique name to each report.
  136.  
  137. To name a CrossTab report
  138.  
  139. 1    Click a cell in a CrossTab report.
  140.  
  141. 2    Click Tools  Data tools  CrossTab  Options.
  142.  
  143. 3    Type a name for the report in the Name box.
  144.  
  145. Notes
  146.  
  147.   The default name is CrossTab Table 1.
  148.   
  149.   All CrossTab reports must have a name.
  150.   
  151. Formatting CrossTab reports
  152.  
  153. Once you summarize data in a CrossTab report, you can align data fields by row or column. You can also display the totals and grand totals for both column and row data. Showing column and row totals is useful because it gives you a better understanding of how each field relates to the total and can help you see an overall picture of the data.
  154.  
  155. You can also change the appearance of a CrossTab report by changing formatting options, such as the numeric format, and the alignment of labels.
  156.  
  157. To align data fields in a CrossTab report
  158.  
  159. 1    Click a cell in a CrossTab report.
  160.  
  161. 2    Click Tools  Data tools  CrossTab  Report.
  162.  
  163. 3    Enable one of the following options:
  164.  
  165.   By row-data appears vertically in the report
  166.   
  167.   By columns-data appears horizontally in the report
  168.   
  169. Note
  170.  
  171.   By default, data fields are aligned by row.
  172.   
  173. To show column summaries in a CrossTab report
  174.  
  175. 1    Click a cell in a CrossTab report.
  176.  
  177. 2    Click Tools  Data tools  CrossTab  Options.
  178.  
  179. 3    Enable the Show column summaries check box.
  180.  
  181. Tip
  182.  
  183.   You can also show row summaries by enabling the Show row summaries check box.
  184.   
  185. To customize the appearance of a CrossTab report
  186.  
  187. 1    Click Tools  Data tools  CrossTab  Options.
  188.  
  189. 2    Enable any of the following check boxes:
  190.  
  191.   Format CrossTab report-applies a preset format to the fields and data, making the report easier to read
  192.   
  193.   Preserve data formatting-maintains the numeric format of the source data, such as currency
  194.   
  195.   Center labels across blocks of cells-centers the field names (labels) across the column of data. (By default, field names are right-aligned).
  196.   
  197. Updating and refreshing CrossTab report data
  198.  
  199. CrossTab reports are dynamic, meaning that changes in the source data are reflected in the CrossTab report. You can set Quattro Pro to automatically check the source data when you open the report and update the report if the source data has changed.
  200.  
  201. To update CrossTab report data
  202.  
  203. 1    Click Tools  Data tools  CrossTab  Options.
  204.  
  205. 2    Enable the Update data on open check box.
  206.  
  207. Note
  208.  
  209.   You cannot edit or delete data in a CrossTab report. To edit the values in a CrossTab report, you must make a static copy of the report. For information about making static copies of CrossTab reports, see "Making static copies of CrossTab reports."
  210.   
  211. To refresh a CrossTab report
  212.  
  213. 1    Click a cell in a CrossTab report.
  214.  
  215. 2    Click Tools  Data tools  CrossTab  Refresh.
  216.  
  217. Sorting and filtering CrossTab report data
  218.  
  219. You can sort and filter data in a CrossTab report.
  220.  
  221. To sort CrossTab report data
  222.  
  223. 1    Click a cell in a CrossTab report.
  224.  
  225. 2    Click Tools  Data tools  CrossTab  Sort and filter options.
  226.  
  227. 3    In the Sort and filter dialog box, choose a field from the Field list box.
  228.  
  229. 4    In the Sort area, choose an option from each of the following list boxes:
  230.  
  231.   Based on-lets you sort data based on the contents of a field or data field
  232.   
  233.   Data field-lets you choose a data field from the CrossTab report
  234.   
  235.   Sort order-lets you sort data in ascending or descending order
  236.   
  237. To filter CrossTab report data
  238.  
  239. 1    Click a cell in a CrossTab report.
  240.  
  241. 2    Click Tools  Data tools  CrossTab  Sort and filter options.
  242.  
  243. 3    In the Sort and filter dialog box, choose a field from the Field list box.
  244.  
  245. 4    In the Filter area, choose an option from each of the following list boxes:
  246.  
  247.   Display-lets you choose the items you want displayed after filtering
  248.   
  249.   Based on-lets you choose a data field
  250.   
  251. 5    Type a value in the Quantity box to specify the number of rows available.
  252.  
  253. Moving and deleting CrossTab reports
  254.  
  255. After you create a CrossTab report, you can move it to another spreadsheet of your notebook. You can also delete a CrossTab report.
  256.  
  257. To move a CrossTab report
  258.  
  259. 1    Click Tools  Data tools  CrossTab  Report.
  260.  
  261. 2    Click the Range picker in the Destination box, and drag an area on the spreadsheet where you want to display a CrossTab report.
  262.  
  263. Notes
  264.  
  265.   You can place one or more CrossTab reports on any spreadsheet of a notebook.
  266.   
  267.   Select a destination range that does not overlap an existing CrossTab report; otherwise, the existing report will be overwritten.
  268.   
  269. To delete a CrossTab report
  270.  
  271. 1    Click a cell in a CrossTab report.
  272.  
  273. 2    Click Tools  Data tools  CrossTab  Remove.
  274.  
  275. Customizing CrossTab report fields
  276.  
  277. A field is a category of information that appears in a database column. Each field in a database contains items-the individual entries that occur in a field. For example, a field named "Country" might have field items that include France, Venezuela, and Kenya.
  278.  
  279. You can change a field name in a CrossTab report. The field name is changed only in the report; it is not changed in the original data.
  280.  
  281. You can also change the position of any field. You may want to change a field's position to explore hidden relationships in the data. There are four positions: rows, columns, data, and pages. Row fields are displayed along the left side of the report, column fields are displayed along the top of the report, and pages fields are displayed in the top left corner of the report.
  282.  
  283. Changing a field's position can significantly change the information that appears in the CrossTab report. Certain fields are more useful in some positions than others. For example, a field with several hundred field items is not an appropriate choice for the pages position of the CrossTab report because you must scroll through several hundred different versions of the CrossTab report to view all of the data.
  284.  
  285. To change a field name in a CrossTab report
  286.  
  287. 1    Click a field.
  288.  
  289. 2    Click Tools  Data tools  CrossTab  Field options.
  290.  
  291. 3    Type a new name in the Label box.
  292.  
  293. Tip
  294.  
  295.   You can also change a field name by double-clicking the field.
  296.   
  297. To change the position of a field in a CrossTab report
  298.  
  299. 1    Click a field.
  300.  
  301. 2    Click Tools  Data tools  CrossTab  Field options.
  302.  
  303. 3    In the Position area, click the position where you want to move the field.
  304.  
  305. Tip
  306.  
  307.   You can also change a field's position by dragging it to a new position.
  308.   
  309. Hiding field items and details
  310.  
  311. Fields can contain multiple field items. For example, a database may have a field named "Region" with four field items: East, West, North, and South. If particular items are not relevant or necessary to the report, or if the CrossTab report is large or complex, you can hide items The hidden item's information is still available, but it is not displayed in the report.
  312.  
  313. You can hide details about a selected field so that you have the same level of information for data analysis, but fewer details are shown in the report.
  314.  
  315. For example, assume that a CrossTab report has two fields in its columns: "Year" (with field items 1991 and 1992) and "Quarter" (with field items Q1, Q2, Q3, and Q4). When you hide details of the Year field, the resulting report shows the field items for "Year" (1991 and 1992) without showing the breakdown for the values by quarter.
  316.  
  317. After you hide the details of a selected field, you can display them again at any time.
  318.  
  319. To hide field items in a CrossTab report
  320.  
  321. 1    Click a field.
  322.  
  323. 2    Click Tools  Data tools  CrossTab  Field options.
  324.  
  325. 3    In the Hide field items list, enable the check box of the field item to hide .
  326.  
  327. Notes
  328.  
  329.   You cannot hide all items in a field.
  330.   
  331.   You must have more than one field in the rows or columns of a CrossTab report to hide details.
  332.   
  333. Tip
  334.  
  335.   You can also change a field name by double-clicking the field.
  336.   
  337. To hide the details of a CrossTab report field
  338.  
  339. 1    Click the name of a field.
  340.  
  341. 2    Click Tools  Data tools  CrossTab  Hide.
  342.  
  343. To show the details of a CrossTab report field
  344.  
  345. 1    Click the name of a field.
  346.  
  347. 2    Click Tools  Data tools  CrossTab  Show.
  348.  
  349. Calculating field summaries in CrossTab reports
  350.  
  351. You can calculate the field summaries in a CrossTab report to give you an overall look at the data. You can choose from many field summary options, including calculating the sum, average, and standard deviation. Only fields in the data position of CrossTab reports can be summarized, because they are the fields that have numeric values.
  352.  
  353. To calculate a field summary in a CrossTab report
  354.  
  355. 1    Click a data field.
  356.  
  357. 2    Click Tools  Data tools  CrossTab  Field options.
  358.  
  359. 3    Enable any of the following check boxes in the Summary list:
  360.  
  361.   Sum-calculates the sum of items for numeric field items
  362.   
  363.   Count-calculates the number of occurrences for label field items
  364.   
  365.   Average-calculates the average
  366.   
  367.   Max-displays the maximum value
  368.   
  369.   Min-displays the minimum value
  370.   
  371.   StdDevp-calculates the population standard deviation
  372.   
  373.   StdDevs-calculates the sample standard deviation
  374.   
  375.   Varp-calculates the population variance
  376.   
  377.   Var-calculates the sample variance
  378.   
  379.   CountNonBlank-counts non-blank cells for a field
  380.   
  381. Notes
  382.  
  383.   You cannot drag field summaries because they are superficially generated on the report.
  384.   
  385.   You can display an enormous amount of information about your data if you enable all of the summary options; including only those options which are most relevant makes the report easier to read.
  386.   
  387. Performing field data comparisons in CrossTab reports
  388.  
  389. You can compare field data, and Quattro Pro lets you choose from many field data comparison calculations. Field data comparisons are useful to summarize and analyze the data. Only fields in the data position of CrossTab reports can be compared, because they are the fields with numeric values.
  390.  
  391. To compare field data in CrossTab reports
  392.  
  393. 1    Click a data field.
  394.  
  395. 2    Click Tools  Data tools  CrossTab  Field options.
  396.  
  397. 3    Click Compare>>.
  398.  
  399. 4    Choose one of the following from the Data comparison list:
  400.  
  401.   Difference from-displays all data in the data area as the difference between the value for the specified field and field item
  402.   
  403.   % of-displays all data in the data area as a percentage of the value for the specified field and field item
  404.   
  405.   % difference from-displays all data in the data area as the difference between the value for the specified field and field item  but displays the difference as a percentage of the base data
  406.   
  407.   Running total in-displays the data for successive items as a cumulative total
  408.   
  409.   % of row-displays all data in each row as a percentage of the total for each row
  410.   
  411.   % of column-displays all data in each column as a percentage of the total for each column
  412.   
  413.   % of total-displays all data in the data area as a percentage of the grand total of all of the data in the CrossTab report
  414.   
  415.   Index-displays the result using the following calculation: ((value in cell) x (grand total of grand totals)) / ((grand row total) x (grand column total))
  416.   
  417. Note
  418.  
  419.   You can display an enormous amount of information about your data if you enable all of the data comparison options; decide which options are most relevant and include only them.
  420.   
  421. Expanding, filtering, and removing OLAP CrossTab report field elements
  422.  
  423. When a database is large or complex, the field elements have many levels. Expanding a CrossTab report field element reveals all hidden details associated with a field. Expanding (or "drilling down") is a navigational technique that lets you explore levels of data ranging from the most general (up) to the most detailed (down).
  424.  
  425. For example, assume your database contains information about the Olympic Games. If you drill down "Olympics," details display that contain information related to the Olympics: whether it was a winter or summer games, the country that hosted the Olympics, and the city where the games were held. Because some countries have hosted more than one Olympics, there are more details associated with those countries.
  426.  
  427. Drilling down is useful for analyzing data or comparing the details of one element with other elements. It takes you from the most general detail of an element to the most specific.
  428.  
  429. Because OLAP source data is often very large, it is important to be able to minimize the amount of information that appears in your CrossTab reports. Level filtering lets you select specific field elements from the level to display in the CrossTab report, rather than displaying all elements in a level.
  430.  
  431. You can also remove elements from an OLAP CrossTab report to minimize the amount of data.
  432.  
  433. To expand an OLAP CrossTab report field element
  434.  
  435. 1    Click a field.
  436.  
  437. 2    Click Tools  Data tools  CrossTab  Drill down.
  438.  
  439. Note
  440.  
  441.   The Minus button in the element cell indicates that the element has been drilled down.
  442.   
  443. Tip
  444.  
  445.   You can also expand the OLAP CrossTab report field elements by clicking Plus in the element cell.
  446.   
  447. To collapse OLAP CrossTab report field elements
  448.  
  449. 1    Click an expanded field.
  450.  
  451. 2    Click Tools  Data tools  CrossTab  Rollup.
  452.  
  453. Tip
  454.  
  455.   You can also collapse the OLAP CrossTab report field elements by clicking Minus in the element cell.
  456.   
  457. To filter OLAP CrossTab report field elements
  458.  
  459. 1    Double-click the name of a field.
  460.  
  461. 2    Click Filter.
  462.  
  463. 3    In the Element selection dialog box, choose the elements from the Source list that you want to move to the Filtered list.
  464.  
  465. 4    Click Add.
  466.  
  467. Note
  468.  
  469.   If you open the Element selection dialog box and all of the field elements are in the Filtered list, remove all field elements to the Source list.
  470.   
  471. Tips
  472.  
  473.   To move all of the elements from the Source list to the Filtered list, click Add all.
  474.   
  475.   You can drag elements either from the Source list to the Filtered list or from the Filtered list to the Source list.
  476.   
  477. To remove an OLAP CrossTab report element
  478.  
  479. 1    Click an element.
  480.  
  481. 2    Click Tools  Data tools  CrossTab  Remove element.
  482.  
  483. Making static copies of CrossTab reports
  484.  
  485. You can make an exact copy, called a static copy, of a CrossTab report. It is called a static copy because it is no longer connected to the dynamic source data, so any changes made to the source data are not reflected in the static copy. The static copy is placed on the next available, unprotected spreadsheet of the notebook.
  486.  
  487. To make a static copy of a CrossTab report
  488.  
  489. 1    Click a cell in a CrossTab report.
  490.  
  491. 2    Click Tools  Data tools  CrossTab  Copy static.
  492.  
  493. Note
  494.  
  495.   You can determine whether a report is dynamic or copied from the appearance of the field names. In dynamic CrossTab reports, the field names are grayed.
  496.   
  497. Expanding CrossTab reports
  498.  
  499. Expanding CrossTab reports lets you open a CrossTab report onto several different spreadsheets of a notebook. You can expand a report only if you have a field in the Pages position of the CrossTab report. For example, suppose you generate a CrossTab report, which is placed on spreadsheet B that has a field named "Year" in the Pages position with two field items, 1990 and 1991. When you expand the CrossTab report, the first field item (1990) and the data associated with it are placed on spreadsheet C, and the second field item (1991) and the data associated with it are placed on spreadsheet D.
  500.  
  501. To expand a CrossTab report
  502.  
  503. 1    Click a cell on a CrossTab report.
  504.  
  505. 2    Click Tools  Data tools  CrossTab  Expand.
  506.  
  507. Note
  508.  
  509.   The report is expanded to the next available, unprotected spreadsheet of the notebook.
  510.   
  511.  
  512.  
  513.  
  514.