Oracle
Search Site  
Find
 
Crystal Ball Home
Oracle Home
Information On
   Web & Live Events
   Six Sigma & DFSS
   Education Alliance
   Training Classes
   Conferences & Forums
   Available Languages
 
Quick Links
   Shop
   Download
   Newsletters
   Contact Us
 
 
Worldwide Offices
   United States
   United Kingdom
   Germany
 
 
 
 

Crystal Ball® 7.3.1 Migration Guide

For users upgrading from Crystal Ball 4.x, 2000.x (5.x), and earlier versions of 7.x

July 2007

NOTE: If you are using Crystal Ball 7.2.2 or earlier, click here.


Contents

Introduction
New Features
Data Conversion
Copying and Pasting Crystal Ball Data
Starting Crystal Ball Automatically
Matching CB Predictor and Crystal Ball Versions
Crystal Ball Excel Functions
Converting Models with CB.Get... Functions Defined as Forecasts
User-Defined Macros
Developer Kit Issues
Backward Compatibility in Excel 2003 and Earlier Versions of Excel
Be Careful When Saving to .xls Format
Excel 2007 Compatibility and Conversion Issues

Introduction

Crystal Ball 7.3 and 7.3.1 are completely different versions of Crystal Ball from the 4.x and 2000.x (5.x) versions. Unlike earlier 7.x versions, Crystal Ball 7.3 and 7.3.1 support Microsoft Excel 2007 as well as Excel 2003 and earlier versions. Where earlier versions of Crystal Ball 7.x ran on Microsoft .NET Framework 1.1, this version of Crystal Ball has been developed to run on the Microsoft .NET Framework 2.0 and 3.0, technology from Microsoft for developing secure and advanced Windows applications. This version of Crystal Ball is also supported on Microsoft Windows Vista. For more information about using Crystal Ball with these versions of Microsoft .NET Framework, see the Crystal Ball Installation and Licensing Guide.

This version of Crystal Ball runs on non-English as well as English versions of Microsoft Windows and Microsoft Office. For more information on required software and hardware, see Crystal Ball 7.3.1 System Requirements.

Note: Translated versions of Crystal Ball 7.3 and 7.3.1 are not available. Those who wish to use Crystal Ball with Windows Vista and/or Excel 2007 must download and install the English version of Crystal Ball 7.3.1. Complete localization is planned for a later release.

If you install this version of Crystal Ball over a non-English version of Crystal Ball 7.2.x, Crystal Ball will appear in English. You must uninstall this version of Crystal Ball and re-install the earlier translated version to restore the non-English version of Crystal Ball.

New Features

Crystal Ball 7.2 introduced process capability features for support of Six Sigma and other quality programs. Other new features included support for circular references and multiple workbooks with Crystal Ball data in Extreme Speed, defect fixes, and many performance enhancements. Additional calls were also added to the Crystal Ball Developer Kit in Crystal Ball 7.2.x. Crystal Ball 7.3 added additional Developer Kit calls along with support for Microsoft Excel 2007. For more information on new features added in Crystal Ball 7.3, see http://www.crystalball.com/cb_features.html.

For more information about this version of Crystal Ball, see the Crystal Ball 7.3.1 Release Notes.

Data Conversion

The Crystal Ball development group has worked hard to preserve the compatibility of existing 4.x and 2000.x (5.x) models during Crystal Ball’s movement to a new Microsoft platform. Models are converted to the new format the first time they are loaded into Crystal Ball 7.x and every effort is made to convert data into equivalent form. Where this is not possible, an error message appears stating that data in the specified worksheet could not be converted. An error log is written to the same folder where the model is stored. The log is named worksheet name.xls.CB.txt. For example, if a conversion error occurs in Model2.xls, the log file is named Model2.xls.CB.txt and can be opened in a text editor for review.

Conversion errors can result from general differences in these areas:
  • Some distributions have different input parameters or are otherwise changed: the Beta distribution’s Scale parameter is changed to Minimum and Maximum, the Hypergeometric distribution’s Probability parameter is changed to Success, and the Extreme distribution is split into the Minimum Extreme and Maximum Extreme distributions.
  • Forecasts can no longer be defined in the same cell as assumptions and decision variables and will be discarded when converting data.
  • Some Developer Kit macro subroutines, functions, and constants are obsolete, have changed data types, or have not been implemented for this release.

Specific differences and other migration issues are discussed in the following sections.

Hypergeometric parameters and cell references
The hypergeometric distribution’s Probability parameter has been changed to Success, where Success = Probability * Population. During conversion, cell references are resolved and converted along with values. If this cannot be completed, an error is logged. The Probability parameter is a decimal between 0 and 1, while Success is an integer. Because of this, a cell reference representing the Probability cannot convert to an equivalent Success value. Users will always be prompted to re-enter the value for the Success parameter when running a simulation with the converted model.

Distribution fitting with negative values
The following distributions must have positive values: exponential, lognormal, and Pareto. If they are selected for distribution fitting and [the assumption or forecast to which they are being fit has negative values], these distributions will not be applied. This is different behavior from previous versions of Crystal Ball.

Distribution fitting in overlay charts
Distribution fitting in overlay charts has changed somewhat since Crystal Ball 2000.x (5.x). Now, distribution fitting is applied to all forecasts or none. Users can no longer fit distributions to specific forecasts. Fitted distributions can no longer be edited, including truncation, and data can no longer be added from text files.

Truncation minimum and maximum conversions for six distributions
Truncation minimums and maximums (also known as low-cut and high-cut values, respectively) are not always converted accurately for triangular, uniform, Poisson, lognormal, Weibull, and binomial distributions. The differences occur when the truncation values are the same as the distribution’s minimum or maximum endpoint. In those cases, the truncation values are converted to –Infinity or +Infinity, the Crystal Ball 7 endpoint defaults.

Certainty ranges are now centered around the median instead of the mean
In Crystal Ball 2000.x (5.x), it was possible to center the certainty range in a forecast window on the mean as opposed to the median. In Crystal Ball 7.x, ranges are always centered on the median. However, you can use marker lines (set on the Chart Type tab of the Chart Preferences dialog) to indicate where the mean falls and to show its value.

Preference settings are removed when upgrading to Crystal Ball 7.x from Crystal Ball 4.x and 2000.x (5.x)
There are so many new customization preferences and preference changes that it was not possible to preserve them all during the upgrade. For information about Crystal Ball 7.3 and 7.3.1 preferences, see the Crystal Ball 7.3 User Manual sections on cell preferences, run preferences, chart preferences, and settings for specific charts (assumption, forecast, overlay, trend, and sensitivity preferences).

Static cell references are now converted to dynamic
All Crystal Ball 7.x cell references in distribution parameters are dynamic and are updated each time the worksheet is recalculated. Dynamic cell referencing gives you more flexibility in setting up models by letting you change an assumption’s distribution during a simulation. Other types of cell references are static, such as the assumption name field and correlation coefficients. These cell references are calculated once at the beginning of a simulation.

In previous versions of Crystal Ball, users could choose whether to use static or dynamic cell referencing in parameters when defining an assumption. With static referencing, all cell references are resolved at the start of a simulation and then frozen while a simulation is running. If you open a model from a previous version, any static references are converted into dynamic references. If you don’t want parameter values to change when a simulation is running, be sure cell references in parameters do not reference Crystal Ball data cells (assumptions, decision variables, and forecasts) or other cells that change value during a simulation either directly or indirectly through formulas.

Default parameter values have changed for many distributions
As mentioned earlier, the beta distribution Scale parameter is replaced by Minimum and Maximum and the hypergeometric Probability parameter is replaced by Success. However, parameter defaults have changed somewhat for a number of distributions, including beta (other parameters), binomial, minimum and maximum extreme distributions (formerly the extreme distribution with positive and negative flags), gamma, Poisson, and Weibull. Also note that for the Poisson, the maximum allowable trials has changed from 1,500 to 1,000. For information on the current default parameters, see Chapter 4 of the Crystal Ball Reference Manual, available in pdf form at Start > Programs > Crystal Ball 7 > Documentation and, in Crystal Ball, at Help > Crystal Ball > Crystal Ball Manuals.

Cell comments are only converted if appropriate preferences are set
If you have a Crystal Ball 2000.x (5.x) workbook that contains cell comments for the Crystal Ball data cells and you convert that workbook to Crystal Ball 7.x format, the cell comments are not converted unless Add Comments To Cell is checked for the appropriate type of cell in the Crystal Ball Cell Preferences dialog box. Be sure this setting is checked before you open and convert a model with cell comments created in an earlier version of Crystal Ball.

All links to spreadsheet data in custom distributions are dynamic
In previous versions of Crystal Ball, you could choose whether to link statically or dynamically when loading data from worksheet ranges to define a custom distribution. In Crystal Ball 7.x, you can choose whether to maintain links or perform a one-time load. If links are maintained, they are always dynamic and are updated each time the worksheet is recalculated.

Forecasts are deleted when defined in assumption and decision variable cells
In Crystal Ball versions earlier than 7.0, it was necessary to define forecasts in the same cells as assumptions or decision variables to capture that data for later extraction or charting. In Crystal Ball 7.x, such double defining is no longer necessary. The Options tab of the Run Preferences dialog offers the Store Assumption Values For Analysis setting. With this setting selected, assumption charts can be viewed and assumption data can be included in extracted data and reports directly, without needing to create forecasts for assumption cells.

Now, with the new functionality, Crystal Ball 7.x no longer supports two types of cell definition in the same cell. When models created in earlier version of Crystal Ball are converted into Crystal Ball 7 format, forecasts are deleted from all double-defined cells. As long as the Store Assumption Values… setting is selected in the Run Preferences dialog, assumption data will be preserved for later use.

Global filtering is now enabled
Global filtering was enabled in Crystal Ball 7.2 (previous versions of Crystal Ball 7.x did not support global filtering). Global filtering is not the default. For Crystal Ball 2000.x (5.x) models where the main filter and global filtering were both selected, Crystal Ball switches on global filtering.  Where the main filter was not selected, Crystal Ball does not switch on global filtering.

Converting charts
If you open a workbook from Crystal Ball 2000.x (5.x) that contains overlay, sensitivity, or trend charts, the charts are not available in Crystal Ball 7.x. For earlier versions of Crystal Ball, these charts were only in memory and were not saved with the workbook.

Chart windows can appear smaller when opened in previous versions
If you create a model in Crystal Ball 7.1.2 or later, any chart windows (and any resizable windows in general) that are not opened in that version of Crystal Ball will be set to the minimum acceptable chart window size if the model is opened in Crystal Ball 7.1.1 or earlier.

Copying and Pasting Crystal Ball Data

When users copy cell definition data, Crystal Ball 7.x stores the description of the selected cell range instead of the actual cell definitions. When they paste the data, Crystal Ball pastes all selected data types (assumptions, decision variables, and forecasts) from the copied range into the selected range. If cell definitions are added or deleted in the copied range before pasting, Crystal Ball pastes the changes instead of what was there when the range was first copied. Users should paste immediately after copying, as they do for Excel data.

Starting Crystal Ball Automatically

For versions of Crystal Ball earlier than 7.0, users could choose Tools > Add-Ins in Excel and select CB.xla to start Crystal Ball automatically whenever they started Excel. To set automatic startup for Crystal Ball 7.2.x and earlier versions of Crystal Ball 7.x, users were required to choose Start > Programs > Crystal Ball 7 > Application Manager and check the checkbox that indicates you want to automatically launch Crystal Ball with Excel. Using Tools > Add-Ins no longer worked for those versions.

You can use the Application Manager with this version of Crystal Ball. However, this version also supports the use of Excel commands to load and unload Crystal Ball into Excel.

To do this in Excel 2007, click the Office button. Then, click Excel Options and choose Add-ins. Next, open the Manage drop-down list, choose Manage COM Add-ins, and click Go. In the COM Add-ins dialog, check Crystal Ball 7. This loads Crystal Ball into the current instance of Excel 2007. If you uncheck Crystal Ball 7, Crystal Ball is immediately unloaded from the current instance of Excel 2007.

To load and unload Crystal Ball into other supported versions of Excel, see the Crystal Ball Installation and Licensing Guide.

Starting with Crystal Ball 7.3, users of Crystal Ball Professional and Premium Editions can also use Crystal Ball Developer Kit calls to load and unload Crystal Ball. For instructions, see the Crystal Ball 7.3 Developer Kit User Manual.

Matching CB Predictor and Crystal Ball Versions

If you have both CB Predictor 1.5 or earlier (that shipped with earlier versions of Crystal Ball) and Crystal Ball 7.x Professional or Premium Edition (with CB Predictor 1.6), you must be careful to match the proper Crystal Ball and CB Predictor versions. For example, if you are using CB Predictor 1.5, be sure to use the Crystal Ball 7 Application Manager to uncheck Crystal Ball 7 if it is set to load automatically with Excel. Likewise, if you are using CB Predictor 1.6 (launched from within Crystal Ball 7.x) be sure Crystal Ball 7 is checked in the Crystal Ball Application Manager (launched with Start > Programs > Crystal Ball 7 > Application Manager) and be sure that no other version of Crystal Ball is checked in the Tools > Add-Ins dialog (in the Excel menubar) of versions earlier than Excel 2007.

Crystal Ball Excel Functions

To view Crystal Ball distributions and macros implemented as Excel functions in this version of Crystal Ball, choose Insert > Functions. Then, open the Crystal Ball 7 function category. The currently-implemented functions appear there, starting with CB. All but six of the functions are equivalent to the previously-existing or new and updated probability distributions. For example, CB.Beta is the beta function that shipped with Crystal Ball 2000.5 (5.5), while CB.Beta2 is the updated Beta function shipping with Crystal Ball 7.x. CB.ExtremeValue and CB.ExtremeValue2, the maximum and minimum versions of the Extreme distribution that shipped with Crystal Ball 2000.5 (5.5), have been removed from Crystal Ball 7.x. These functions are replaced by CB.MaxExtreme and CB.MinExtreme, the updated versions shipped with Crystal Ball 7.2 and later versions.

The probability distribution functions are discribed in Appendix A of the Crystal Ball 7.x User Manual and the Crystal Ball 7.x online help. The remaining functions, beginning with CB. and ending in FN, such as CB.GetAssumPercentFN, are described in the Crystal Ball 7.x Developer Kit User Manual, available with Crystal Ball Professional and Premium Editions.

Converting Models with CB.Get... Functions Defined as Forecasts

Users of Crystal Ball 7.0 or earlier versions occasionally used the CB.Get... functions in forecast cells to include current data, for example, in an optimization. If you try to use one of these models in Crystal Ball 7.x with Extreme Speed, the model will generate compatibility errors.

To change these models so they are compatible with Extreme Speed, remove the CB.Get... functions from forecast cells. Instead, use the Auto Extract tab in the expanded Define Forecast dialog or Forecast Preferences dialog to automatically extract forecast data to another cell following a simulation. Then you can reference that cell in a forecast formula to retain compatibility while using current data.

If you don't want  to make these changes but still want to run the model in Normal speed, you will need to uncheck Stop On Calculation Errors in the Run Preferences dialog to continue running despite the calculation errors (#VALUE's) that will occur for many of the returned statistics in the first 5 to 10 trials of the simulation.

User-Defined Macros

User-defined macros can still be used in Crystal Ball 7.x, but a more flexible interface has been provided for them. Global settings to identify user-defined macros no longer exist. If users want to run certain macros for all simulations, they need to make sure that the workbook containing those macros is open in Excel. This change means that users can run specific macros only for certain models and are no longer required to turn the macros on and off depending on the model that is being run. For details, see the section on user-defined macros at the end of Chapter 4 of the Crystal Ball 7 User Manual.

Developer Kit Issues

Some models created in versions of Crystal Ball earlier than 7.0 might not run because they reference CB.xla instead of cbdevkit.xla in VBA. To fix this, in the VBA editor, set the reference to cbdevkit.xla (in the main Crystal Ball installation folder -- by default, C:\Program Files\Decisioneering\Crystal Ball 7) and uncheck the reference to CB.xla.

For CB Predictor 1.6, now shipping as part of Crystal Ball 7.x, the new .xla to reference is cbpreddevkit.xla and the object name is CBP.Main.7. For CB Predictor 1.5 that shipped with Crystal Ball 2000.5 (5.5), the object name was CBP.Main. Code must now use the new object name, as in

Set CBP = CreateObject("CBP.Main.7")

For other Developer Kit issues, see the “For Users of Previous Versions” appendix in the Crystal Ball 7.3 Developer Kit User Manual.

Backward Compatibility in Excel 2003 and Earlier Versions of Excel

If you try to save a spreadsheet created in Crystal Ball 2000.5 (5.5) or earlier after opening it successfully in Crystal Ball 7.x, this message appears: “The Crystal Ball data on workbook 'name' has been converted from Crystal Ball 4.x/5.x format to Crystal Ball 7.x format and it is not compatible with Crystal Ball versions prior to 7.0. ” This message refers only to Crystal Ball 2000.5 (5.5) or earlier versions. The file is still compatible with previous versions of the Crystal Ball 7.x series. Of course, if a file supports features that are not available in previous versions of Crystal Ball 7.x, those features will be ignored in the earlier version, but the file will still open and run using available features.

For example, if you try to load Crystal Ball 7.3.x results into an earlier version of
Crystal Ball, an error message might appear explaining that the Crystal Ball data
contained in the selected result set cannot be loaded. One reason this message could appear is that a new chart type, scatter charts, was added in Crystal Ball 7.3. Or, the error message might be triggered by the betaPERT distribution, new in Crystal Ball 7.3. In these cases, it could be helpful to load the entire model, not just saved results. If you load a model containing scatter charts or the betaPERT distribution into an earlier version of Crystal Ball, the model will run and the new charts or distribution will be ignored.

Be Careful When Saving to .xls Format

If you have a workbook with Crystal Ball data in Excel 97 or later format open in Excel 2000 or later and you save it back to Excel 5.0 or Excel 95.xls format when Crystal Ball is not open, data is lost.

If you are saving to .xls format, be sure it is Excel 97 or later format and not the earlier version. This is true for Excel 2007 users as well as users of Excel 2000, XP, or 2003.

Excel 2007 Compatibility and Conversion Issues

Excel 2007 workbooks can be saved in several file formats that are radically different from those for previous versions of Excel. This version of Crystal Ball has been carefully designed to preserve Crystal Ball data in existing workbooks as long as you follow a few simple rules when opening and saving files created in previous versions of Excel.

NOTE: These conditions also hold when using Excel 2003 with the Excel 2007 Compatibility Pack.

For details, see the Crystal Ball 7.3.x / Excel 2007 Migration Guide Supplement.

 
Home | Products | Services | Industries | Applications | Support | About Us | How to Buy
Privacy Policy | Trademarks | Copyright © 2007, Oracle and/or its affiliates. All rights reserved.