| | Help by Product How-to Resources Support and Feedback Technical Resources Additional Resources Get Office 2007 | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Work with OLAP data offline
-
Open a PivotTable (PivotTable report: An interactive, crosstabulated Excel report that summarizes and analyzes data, such as database records, from various sources, including ones that are external to Excel.) or PivotChart report (PivotChart report: A chart that provides interactive analysis of data, like a PivotTable report. You can change views of data, see different levels of detail, or reorganize the chart layout by dragging fields and by showing or hiding items in fields.) based on the OLAP (OLAP: A database technology that has been optimized for querying and reporting, instead of processing transactions. OLAP data is organized hierarchically and stored in cubes instead of tables.) data that you want to access offline.
-
Is this the first time you're going offline? If so, create an offline cube file (offline cube file: A file you create on your hard disk or a network share to store OLAP source data for a PivotTable or PivotChart report. Offline cube files allow you to keep working when you are not connected to the OLAP server.) on your local hard disk.
How?
If your server database is not an OLAP (OLAP: A database technology that has been optimized for querying and reporting, instead of processing transactions. OLAP data is organized hierarchically and stored in cubes instead of tables.) database, and you accessed the data by creating a query (query: In Query or Access, a means of finding the records that answer a particular question you ask about the data stored in a database.) in Microsoft Query, use Query to create the cube file. For full instructions, see Help in Microsoft Query.
- Click the PivotTable report (PivotTable report: An interactive, crosstabulated Excel report that summarizes and analyzes data, such as database records, from various sources, including ones that are external to Excel.) for which you want to create an offline cube file (offline cube file: A file you create on your hard disk or a network share to store OLAP source data for a PivotTable or PivotChart report. Offline cube files allow you to keep working when you are not connected to the OLAP server.).
For a PivotChart report (PivotChart report: A chart that provides interactive analysis of data, like a PivotTable report. You can change views of data, see different levels of detail, or reorganize the chart layout by dragging fields and by showing or hiding items in fields.), click the associated PivotTable report (associated PivotTable report: The PivotTable report that supplies the source data to the PivotChart report. It is created automatically when you create a new PivotChart report. When you change the layout of either report, the other also changes.).
- On the PivotTable toolbar, click PivotTable, and then click Offline OLAP.
- Click Create offline data file, or if an offline cube file already exists for the report, click Edit offline data file.
- In step 1 of the Offline Cube Wizard, click Next.
- In step 2 of the wizard, select each dimension (dimension: An OLAP structure that organizes data into levels, such as Country/Region/City for a Geography dimension. In a PivotTable or PivotChart report, each dimension becomes a set of fields where you can expand and collapse detail.) from your server cube that has data you want to include in the offline cube file. Click the
box next to each such dimension, and select the levels (level: A part of an OLAP dimension. Within a dimension, data is organized into lower and higher levels of detail, such as Year, Quarter, Month, and Day levels in a Time dimension.) you want to include.
- You cannot skip intermediate levels within a dimension.
- To reduce the size of the cube file, omit lower levels that you don't need to view in the report.
- Be sure to include any dimensions where you've grouped items, so that Microsoft Excel can maintain these groupings when you switch between the server database and the offline file.
- Dimensions that do not have a
box don't allow you to exclude levels. You can only include or exclude all of this type of dimension.
- In step 3 of the wizard, click the
box next to Measures, and select the fields you want to use as data fields (data field: A field from a source list, table, or database that contains data that is summarized in a PivotTable report or PivotChart report. A data field usually contains numeric data, such as statistics or sales amounts.) in the report. You must select at least one measure. For each dimension listed below Measures, click the box beside the dimension, and then select the top-level items (item: A subcategory of a field in PivotTable and PivotChart reports. For instance, the field "Month" could have items such as "January," "February," and so on.) to include in the offline cube file.
- In step 4 of the wizard, specify a name and location for the .cub file, and then click Finish.
Note To cancel saving the file, click Stop in the Create Cube File – Progress dialog box.
When Microsoft Excel finishes saving the file, proceed to the last step of this procedure.
-
Have you taken this report offline before, so that you already have an offline cube file on your hard disk? If so, reconnect to it.
How?
- Click the PivotTable report, or for a PivotChart report, click the associated PivotTable report (associated PivotTable report: The PivotTable report that supplies the source data to the PivotChart report. It is created automatically when you create a new PivotChart report. When you change the layout of either report, the other also changes.).
- Click PivotTable on the PivotTable
toolbar (toolbar: A bar with buttons and options that you use to carry out commands. To display a toolbar, click Customize on the Tools menu, and then click the Toolbars tab.), and then click Offline OLAP.
- Click On-line OLAP, and then click OK.
-
Does the server have new data since you created the offline cube file? If so, click Refresh Data
, and wait for the file to be recreated and saved with the new data.
-
Disconnect from your network.
Note Do not put the .cub file in the Windows briefcase. Excel does not use the briefcase to synchronize the offline cube file with the server database.
|