We will need to connect to the data source from which we
wish to draw values.
- Right click the folder within
MyCube2 called Data Sources, and on the context menu, select
New Data Source.
The Data Link Properties dialog box
appears, with its Provider, Connection, Advanced and All
tabs, as shown in Illustration 4 below. Beginning with the Provider
tab (where the dialog opens by default):
- Select the Microsoft Jet
4.0 OLE DB Provider (the native MS Access OLE DB provider).
Note: For more on
this, review the on-line documentation for OLE DB Providers, and data sources in general.
Illustration 4: The Data Link Properties Dialog -- Provider Tab
- Click Next.
The focus moves to the Connection tab.
- Select the FoodMart 2000 database in Box 1.
FoodMart 2000.mdb is located, as we have noted, by
default, in the [Install Directory]:\Program Files\Microsoft Analysis
Services\Samples director; Click on the ellipses (...) button, to
navigate to the .mdb as shown in Illustration 5 below.
Illustration 5: Selecting the FoodMart 2000 Database
- Click Open, returning to the Connection
tab, as we see below:
Illustration 6: The Data Link Properties Dialog -- Connection Tab
- Insert User Name and Password
information, as appropriate (the illustration displays default settings).
- Click the Test Connection button in the bottom
right hand corner of the Connection tab.
We should get a verification dialog confirming that the
source has been established in our definition (as shown in Illustration 7).
Illustration 7: Verification of the Connection to the FoodMart 2000 Database
- Click OK, and the Microsoft Data Link
verification dialog box closes.
We will leave all the other Data Link Properties at their
default setpoints for now.
- Click OK on the Data Link Properties
The Data Link Properties dialog closes,
and we can see that the new source appears under the Data Sources folder
in the tree area, on the left side of the Management Console, displaying
the actual file name, as shown below.
Illustration 8: Initial View of Our Newly Created Data Source
Page 4: Working with the Cube Editor (Continued)
See All Articles by Columnist William E. Pearson, III