Professional Documents
Culture Documents
2016.2
All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our
knowledge as of the date of publication, but are subject to change without notice. While we will always strive to ensure
our documentation is accurate and complete, this document may also contain errors and omissions of which we are not
aware.
THIS INFORMATION IS PROVIDED BY KINAXIS ON AN “AS IS” BASIS, WITHOUT ANY OTHER WARRANTIES OR
CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABLE QUALITY,
SATISFACTORY QUALITY, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR THOSE ARISING BY LAW,
STATUTE, USAGE OF TRADE, COURSE OF DEALING OR OTHERWISE. YOU ASSUME THE ENTIRE RISK AS TO THE RESULTS
OF THE INFORMATION PROVIDED. WE SHALL HAVE NO LIABILITY TO YOU OR ANY OTHER PERSON OR ENTITY FOR ANY
INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES WHATSOEVER, INCLUDING, BUT NOT LIMITED TO,
LOSS OF REVENUE OR PROFIT, LOST OR DAMAGED DATA OR OTHER COMMERCIAL OR ECONOMIC LOSS, EVEN IF WE
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR THEY ARE FORESEEABLE. WE ARE ALSO NOT
RESPONSIBLE FOR CLAIMS BY A THIRD PARTY. OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR
DEALERS AND SUPPLIERS SHALL NOT EXCEED THE COSTS PAID BY YOU TO PURCHASE THIS DOCUMENT. SOME
STATES/COUNTRIES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR
INCIDENTAL DAMAGES, SO THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU. All product, font and company names are
trademarks or registered trademarks of their respective owners.
Copyright © 2009-2017 Kinaxis Inc. All rights reserved. This document may not be reproduced or transmitted in any form
(whether now known or hereinafter discovered or developed), in whole or in part, without the express prior written
consent of Kinaxis.
Kinaxis RapidResponse contains technology which is protected under US Patents #7,610,212, #7,698,348, #7,945,466,
#8,015,044, and #9,292,573 by the United States Patent and Trademark Office. It is also protected under the Japan Patent
Office, Japanese patent #4393993 and the Intellectual Property India Office, patent # 255768. Other patents are pending.
This document may include examples of fictitious companies, products, Web addresses, email addresses, and people. No
association with any real company, product, Web address, email address, and person is intended or should be inferred.
Part 1: Overview 21
CHAPTER 1: Introduction to resource authoring in RapidResponse 23
CHAPTER 2: About Kinaxis 25
CHAPTER 3: Customer Support 27
CHAPTER 4: Accessing help and documentation 29
Determining which help system or guide to use 30
Documentation conventions 32
Finding the content you need in HTML help 32
Comments and tips in HTML Help topics 33
Your feedback 34
Help embedded in resources 34
Other ways to learn about RapidResponse 39
CHAPTER 5: New and changed features in RapidResponse 41
New Feature videos 42
What's new and changed in RapidResponse 2016.2 42
What's new and changed in RapidResponse 2015.3 43
What's new and changed in RapidResponse 2014.4 55
What's new and changed in RapidResponse 2014.2 63
What's new and changed in RapidResponse 2014.1 68
What's new and changed in RapidResponse 2013.4 74
What's new and changed in RapidResponse 2013.2 74
What's new and changed in RapidResponse 11.2 75
What's new and changed in RapidResponse 11.1 85
Index 1309
Intended for use by resource authors, this documentation set (Help and Authoring Guide) provides
information about creating and managing resources in RapidResponse®.
RapidResponse integrates key functional processes in supply chain management (SCM), sales and
operations planning (S&OP), and other associated areas. It is a cloud solution that allows companies to
dramatically reduce the time it takes to identify plan deviations and make critical course corrections.
Expanding beyond SCM and S&OP, RapidResponse measures the impact of changes (current and future)
and allows teams to collaborate on response scenarios across interrelated functions, inside and outside
the company.
Resources in RapidResponse are tools that you can use to view, monitor, and work with data. They are
broken down into several types, each with a different function. For example, you can use workbooks to
view and modify data, filters to limit the data displayed in workbooks, and alerts to monitor changes in
the data.
Depending on their job functions, individual users are granted permission to use different subsets of the
available resources. For information about the types of resources you can create, see "Resource types" on
page 96.
Kinaxis® delivers cloud-based S&OP and supply chain applications for discrete manufacturers and brand
owners with complex supply chain networks and volatile business environments.
Leaders across multiple industry verticals, including A&D, Automotive, High Tech, Industrial and Life
Sciences rely on RapidResponse® applications to create a foundation for concurrent planning,
continuous performance monitoring, and coordinated responses to plan variances across multiple areas
of the business. All founded on a single product, RapidResponse’s configurable applications encompass a
full spectrum of supply chain processes, including such functions as S&OP, supply planning, capacity
planning, demand planning, inventory management, MPS, and order fulfillment.
As a result, Kinaxis customers have replaced disparate planning and performance management tools and
are realizing significant operations performance breakthroughs in planning cycles, supply chain response
times and decision accuracy. From a single product, customers are able to easily model varying supply
chain conditions to make both long-term and real-time demand and supply balancing decisions quickly,
collaboratively, and in line with the shared business objectives of multiple stakeholders.
For more information, visit www.kinaxis.com or the Supply Chain Expert community at
http://community.kinaxis.com.
The Kinaxis Customer Support team understands demand and supply chain planning, monitoring and
response, and is experienced in applying RapidResponse to real-world business scenarios. Areas of
expertise include:
l RapidResponse functionality
l Data extraction and mapping issues
l Technical software compatibility
l Coordination of integration
l Product implementation
To submit a support case, you need to log into the Kinaxis Supply Chain Expert Community. You can also
contact Kinaxis Customer Support by phoning 1-866-463-7877 or by sending a message to
support@kinaxis.com.
The RapidResponse documentation set includes several different help systems and guides, each dealing
with a different area of knowledge. Help for individual resources, such as workbooks is also available.
In addition to the RapidResponse documentation, you can access a variety of other resources to help you
learn about the capabilities and features in RapidResponse. These include an online community where
you can view how-to videos and find advice, a mailing list that you can use to keep up to date on supply
chain news and upcoming events, and instructor-led training courses.
Title Description
RapidResponse User Guide This guide provides RapidResponse users with basic reference and procedural
information. It covers topics such as viewing data, modifying data as part of
simulation, solving business problems, and customizing the user interface.
RapidResponse User Guide This guide provides information on how to view and edit data in the
(Mobile Client) RapidResponse mobile client.
RapidResponse Applications Practical ways to use RapidResponse and the applications that can be deployed
Guide to support business processes and make decisions. It also includes instructions
aimed at RapidResponse administrators that outline how to install and
configure applications.
RapidResponse Fundamental RapidResponse product overview, which includes key capabilities and the
Concepts Guide deployment methodology.
RapidResponse Resource This guide provides information on creating and managing resources, such as
Authoring Guide dashboards, workbooks, and filters. Detailed information about RapidResponse
Query language is also included.
Release summary Outlines all of the changes that have been made in RapidResponse in the last
few releases. This document is a compilation of the What's New sections from
all RapidResponse guides.
Custom Help Your company might have also created custom help specific to your
RapidResponse implementation.
The permissions associated with your RapidResponse account affect the list of guides that you can
access from the Help menu. For more information, see "Account permissions and the contents of your
Help menu" on page 29.
l RapidResponse Data Model for Import poster—displays the relationship between the tables and fields
used in the RapidResponse data import process.
l RapidResponse Calculated Data Model poster—displays the relationship between the main
RapidResponse database calculated tables and fields. Calculated fields in the RapidResponse data
model input tables are also displayed.
l RapidResponse Sales & Operations Planning poster —displays the relationship between the tables
used to support the Sales & Operations Planning application.
l RapidResponse Inventory Planning and Optimization poster —displays the relationship between the
tables used to support Inventory Planning and Optimization application.
l RapidResponse Integrated Project Management poster —displays the relationship between the tables
Documentation conventions
To help you quickly locate and interpret information, Kinaxis guides use conventions noted in the
following table.
Convention Description
bold Bold is used for user-interface elements in procedures. For example:
On the File menu, click New.
If you are using a Mac OS, procedures that use the Windows CTRL key should be replaced with the Mac
OS Command key.
NOTE: If you do not want the words you searched for highlighted in the help topic, click Remove
Highlights .
TIP: If the browser window is small, the search bar might not be displayed. To see a search bar
click or enlarge the window.
TIP: If the browser window is small, the Contents and Index panes might not be displayed. To see
them, click or enlarge the window.
▶Submit a comment
1. Select the comment you want to reply to, and then click Reply to comment.
2. Provide your name, a subject, and reply details.
3. Click Submit.
NOTE: When you submit a comment, it is reviewed by a Kinaxis documentation team member
before it is posted in the RapidResponse Help.
NOTE: Depending on how the RapidResponse Help system is hosted, you might not be able to
add or view comments. For more information, contact your RapidResponse administrator.
Your feedback
Kinaxis Inc. takes great pride in developing user-friendly applications and we hope that our
documentation resources ensure a high level of usability. We welcome your feedback about the topics
you access in HTML help. You can rate topics using a star rating system.
The first star to the left represents the lowest rating:
You can also provide comments and suggestions about improvements. Comments that include details,
such as any information that might be missing for you to complete a specific task, can help us improve
the help topic and enhance usability. For information about leaving comments, see "Comments and tips
in HTML Help topics" on page 33.
▶Rate a topic
NOTE: If you have comments or suggestions about other Kinaxis documentation, the
RapidResponse application, or training materials, you can email them to education@kinaxis.com.
l In the Explorer, select a resource and then click beside the name of the resource.
NOTE: This command is not available for workbooks that do not have workbook help or help for
at least one worksheet defined.
TIP: You can also show or hide the help pane by clicking Show Workbook/Worksheet Help on
the toolbar.
NOTE: The worksheet and workbook help are printed as they appear in the help pane. Widen the
help pane before printing to maximize the amount of information printed on a page.
NOTE: This command is available only for scorecards that have help defined.
TIP: You can also show or hide the scorecard help pane by clicking Show Scorecard Help on
the toolbar.
NOTE: The scorecard help is printed as it appears in the help pane. Widen the worksheet help
pane before printing to maximize the amount of information printed on a page.
TIP: You can also print the scorecard help by right-clicking in the help pane, and then clicking
Print.
Dashboard help
Some dashboards might have an Information tab with a text widget that shows dashboard help.
Dashboard help contains information about how the dashboard is intended to be used, and can include
links to related resources, websites, or help videos.
Widget help
Most widgets on dashboards that are supplied with RapidResponse have widget help, and some
custom widgets might also include help. Widget help typically describes the metrics displayed in a
widget, and might include links to other resources such as workbooks and websites. You can access
help for widgets directly from the widget controls on a widget on your dashboard.
l Text on the form itself can provide information such as what action is run by the underlying script,
the purpose of the form, or how best to use the form.
l Individual controls on the form might also display help specific to the control, such as the purpose
of the control or what types of values it accepts.
l Upgrade Center—Learn what's new in each version of RapidResponse. Read release notes and
watch videos about new features.
Some content is only available after you create a Supply Chain Expert Community user account and sign
in.
Instructor-led training
Kinaxis offers instructor-led training courses to help you develop in-depth RapidResponse knowledge.
These courses are usually delivered online in a virtual classroom, but on-site instruction can also be
arranged. To see a list of available courses, visit https://www2.kinaxis.com/rapidresponse-
training/courses.cfm.
This section describes all the new authoring features introduced in RapidResponse since version 11.1.
There are similar chapters in other guides. For more information, see "Determining which help system or
guide to use" on page 30.
You can also earn more about the new features and changes included in RapidResponse from the
RapidResponse Release Summary Guide.
This document is available for download from the Kinaxis Supply Chain Expert Community and
summarizes the changes to RapidResponse. It is a compilation of changes gathered from every
RapidResponse guide and help system.
RapidResponse users, authors, administrators, and developers can also take advantage of New Feature
videos available from Kinaxis Supply Chain Expert Community. The videos demonstrate new and changed
RapidResponse features. By viewing the videos you will understand how to use the new features and
improve your RapidResponse capabilities.
▶To access the RapidResponse Release Summary Guide and New Feature videos
TIP: You can also access the Upgrade Center by clicking the following link:
https://community.kinaxis.com/community/supply_chain_management_kinaxis_
rapidresponse/upgrade_center.
This prompt saves you the effort of searching in the Explorer if you want to inspect or test a resource
immediately after importing it.
Expressions
Column references in set expressions
For expressions that use a set function, the logical expression used to filter the result set can now no
longer contain a reference to another column in the worksheet. This replaces the previous behavior of
allowing references to columns outside the set, and ensures the values used to filter the set are taken
from the set, and are therefore valid. If you require a value from the worksheet, you can use the ^
operator to specify the value is taken from outside the set.
For more information, see "Set operators" on page 1145 and "OuterContext (^)" on page 1160.
Workbooks
Speed up task editing in large projects
A new worksheet setting speeds up task editing in very large projects by limiting validation of
predecessor relationships. This setting is available in worksheets that are based on the Task table and
have enhanced task editing selected.
Selecting this new option is only recommended if the worksheet is used to edit projects with many
thousands of tasks and users are noticing a delay each time they make a change to a task.
This feature was introduced in a service update (October 2016). For more information, see "Improving
editing performance in large projects" on page 351.
l String
l Reference
l Date
l DateTime
l Time
l Boolean
l Integer
These changes replace the previous behavior of allowing only a single String key field and up to two
reference keys on a table, and allows you to configure resources using any identifying fields that are
available. For example, for a table that uses a Date field as a key field, you can create worksheets that
identify records by date without requiring a data type conversion.
If all of the above conditions are met, the resource is scoped as private.
After the upgrade, it is recommended that you review the resources that you own to determine if the
appropriate scope has been assigned to scenarios in the resource definitions.
Resource updates during import
Each time you import a resource that was created and most recently edited using RapidResponse 2014.4
(or earlier), RapidResponse adds a scope to any scenarios specified in the resource definition. The same
rules used to determine the scopes of scenarios during upgrade are used when you import a resource.
It is recommended that you review the resource after you import it to ensure that the appropriate scope
has been assigned to each scenario in the resource definition.
For more information about importing resources, see "Import and export resources" on page 133.
Changes to resource authoring after upgrade
The following changes occur immediately after upgrade, even if the non-unique scenario feature has
not yet been activated by your RapidResponse administrator.
l Some drop-down lists in resource authoring dialog boxes that previously included both private
scenarios and shared scenarios now only include shared scenarios.
l If a resource refers to a private scenario, and you share that private scenario, the resource stops
working. You must edit the resource so that it refers to the shared scenario or create a new private
scenario with the same name before you can use the resource
l Before you can add a resource to the versioned repository, all scenarios referred to in the resource
definition must now be shared. Exceptions exist for scenario overrides in alerts and scheduled
tasks. If your RapidResponse system does not have version control turned on, this restriction
applies when you share the resource.
l The $Scenario# system variable now returns scenarios in the format
?(scope):(scenario name)
instead of only returning scenario names. Scope can be "private" or "shared".
For more information, see "$Scenario#" on page 1302 and "CanonicalScenarioId and ScenarioProperty"
on page 1193.
You can locate workbooks that use the $Scenario# variable by selecting Search Resources from the
Tools menu, and searching for $Scenario in expressions. For more information about searching for
resources, see "Search for resources that contain a specific text string" on page 152.
Workbooks
New worksheet type—Reference worksheets
You can now create reference worksheets that provide enhanced reuse of resources and promote
consistency and reduce potential errors across workbooks. The reference worksheet only needs to be
defined in its source workbook and it can be used multiple times in other workbooks. You can add
reference worksheets from any standard workbook that is made a referenced workbook dependency.
The reference worksheet is maintained in its source workbook and when you add it to another
workbook, you can set the worksheet to be always visible, conditionally visible, or only visible when
drilled to. When used as a drill to details worksheet, reference worksheets can maintain the flow of
context for a user as they drill to multiple worksheets.
Referenced workbooks are similar to library workbooks in that the reuse of worksheets promotes
consistency and reduces the possibility of errors. However, unlike library workbooks, referenced
workbooks are not component worksheets and can be used independently in other workbooks.
For more information, see "Creating reference worksheets" on page 547.
If the error limit is not exceeded, the command can complete successfully. If users confirm a command's
changes, they can view the number of errors that occurred when the command ran along with the
number of records that were inserted, modified, or deleted by the command.
RapidResponse logs information about the errors that are returned when a data modification command
runs. This information is reported in the Error Details worksheet, which you can access from the
Workbook Command Log worksheet in the Automation Details and Log workbook. You can also open
this worksheet when you test a data modification operation that fails. The information logged by the
Error Details worksheet can help you locate and then fix the operation's errors so that a command can
complete successfully. For more information, see "Test an operation" on page 727.
After you upgrade to RapidResponse 2015.3, all workbooks that were created or edited in
RapidResponse 2014.4 have alternate rows colored. Workbooks from earlier versions of RapidResponse
do not have alternate rows colored. You can review the workbooks that you own to determine if these
default settings should be changed.
Forms
Create dynamic forms
You can now create forms that have controls with custom visibility and availability settings. By setting
how visible or available controls are based on the current context of the form, you can have the form
dynamically respond to user inputs. For example, you can simplify complex processes by segmenting
controls into groups and then having only controls relevant to the current step in the process display.
For more information, see "Manage how controls display" on page 967.
Drill to a form
You can now create drill links in worksheet cells or column headers that open a form when clicked.
Opening the dependent form from a worksheet allows users to carry out actions directly related to the
worksheet data. If you map values between worksheet columns and form controls, you can have that
data passed directly from the worksheet to the form, simplifying the form tasks for the user.
No new authoring options have been added for scorecards to control the way they function in the
mobile client, but authors should be aware of the differences in scorecard function between the
RapidResponse desktop client and the RapidResponse mobile client. Some features of scorecards, such
as charts and scorecard help, are still only available in the desktop client. For more information about
scorecards in the mobile client, see "Scorecards in the mobile client" on page 1064 and the
RapidResponse User Guide (Mobile Client).
Expressions
New query syntax options for date and time arithmetic
Syntax options have been added, giving you new ways to work with existing operators and functions.
l Subtract a time from a time, to return the number of seconds between the two times. For more
information, see "Arithmetic operators" on page 1129.
l Convert a quantity to a time. (The quantity is the number of seconds after midnight.) For more
information, see "Syntax for quantity conversion" on page 1204.
l Convert a time to a quantity. (The quantity is the number of seconds after midnight.) For more
information, see "Syntax for date and time conversion" on page 1198.
Similar to dashboards, forms only need to be authored once but they can be consumed on a variety of
platforms and devices. A user can easily open up a form to run an alert or scheduled task on their
desktop computer, on a tablet, or from their mobile phone. With forms, users can now edit data in the
RapidResponse database from a mobile device and easily complete required tasks away from their
desktops. For more information, see the RapidResponse User Guide (Mobile Client).
System variables
RapidResponse 2014.4 includes several changes regarding system variables. You can use system
variables to create expressions that use the selected resources to filter worksheet data.
For more information, see "System variables" on page 1301, "System variables included with
RapidResponse" on page 1301, and "Adopting a user profile" on page 1301.
For worksheets that you do not want users to ever modify, such as the source worksheet for a treemap,
you can specify that the worksheet remain always hidden from users. For more information, see "Always
hidden worksheets" on page 273.
Conditionally hidden worksheets provide you with the flexibility to create workbooks with different
worksheets that display to different users, depending on their role or permissions. For example, a
workbook that shows forecast data only displays the relevant worksheets to each user based on which
department the user works for, such as finance or marketing. For more information, see "Conditionally
hidden worksheets" on page 274.
For more information, see "Create workbook toolbar action buttons" on page 229.
For more information, see "Create a tiled bullet chart" on page 636.
Public resources are no longer editable by any user, instead, only authors with the appropriate
permissions can modify a public resource. For more information, see "About version control" on page
95.
When upgrading from RapidResponse 2013.4 (or earlier), version control is turned off. For more
information, contact your RapidResponse administrator.
Comparing resources
You can now compare any two resources you have access to in RapidResponse to identify the
differences between them. Viewing the differences can help you to understand the structure of the
resource and the impact of any modifications being made. For example, you can compare resources to
explore why a workbook might not be functioning correctly in a production environment by comparing
it to the workbook version that was created and tested successfully in the development environment.
For more information, see "Comparing resources" on page 141.
Comparing resources also allows you to save a text file of the resource differences you are viewing, so
that you can continue modifying a resource without losing track of past modifications. The text file can
also be used to support successful merging of resources. For more information, see "Create a
comparison report" on page 147.
You can also compare unsaved changes in a workbook or worksheet as you are actively modifying it. For
more information, see "Compare unsaved worksheet changes from a workbook's properties" on page
144.
Worksheet bucketing
In worksheets or dashboard widgets that display simple buckets, you can now display buckets earlier
than the worksheet's anchor date. This allows you to display historical and planning data in the same
worksheet or widget, and allows the users to show or hide the earlier buckets as needed. For more
information, see "Define worksheet date buckets" on page 405 and "About data settings on a
dashboard" on page 910.
l Transformation worksheet functions that allow you to analyze series of data have been added. The
new functions—Autocorrelation, Histogram, Kurtosis, Median, Mode Multiple, Mode Single, and
Skew— provide the ability to analyze data for repetitiveness, symmetry, or flatness, and also to
determine the middle of a series or the most common values in the set. You can use these
functions to analyze the output of other functions, or to determine if data points are normally
distributed. For more information, see "Functions for transformation worksheets" on page 744.
l The SafetyStock transformation worksheet function has been added and provides the ability to
calculate a recommended safety stock level and reorder point based on a given service level and
other configuration parameters. This function also takes requires historical demand data, future
demand data, and historical supply lead time data, as inputs.For more information, see "Functions
for transformation worksheets" on page 744.
l The input worksheet for statistical functions now allows parameters for new product introduction
(NPI) forecasts to be specified in the Additional Parameters column. These new parameters allow
you to specify the NPI properties to apply to the forecast points, which fits the forecast to the NPI
Currency selection
You can now allow workbook users to specify the currency they want to use to display Money values in
workbooks. This allows you to provide users with more control over how data is displayed in workbooks
and to display data in the currency of their choice.
If you create multiple workbooks that allow users to select the currency, the user's selection is used for
each successive workbook they open.
For more information, see "Specify the currency for a workbook" on page 224.
l Import the top-level resource (for example, dashboard or workbook) as a private resource. The
linked resources and dependencies were also imported as private resources.
l Share the resource so that it replaces the existing shared top-level resource.
l Correct the conflicts that result from linked resources and dependencies already existing as shared
resources.
With RapidResponse 11.2, you no longer are confronted with the tedious and error-prone task of
importing all the resources as private, deleting the ones not needed and then updating the others to
reference the shared versions. You now control how linked and dependent resources are treated during
the resource import. For more information, see "Import and export resources" on page 133.
l A new Insert Buckets transformation function is now available, which inserts values into buckets
that do not contain records. You can use this function to ensure the values used in an average
function return the proper values. For more information, see "Insert Buckets function" on page
751.
l New standard deviation functions, STDEV With Dates and STDEVP With Dates, are now available.
These calculate the standard deviation of a set of values in a worksheet that contains a date
column, and allows you to calculate the standard deviation of values using the same input
worksheet as other functions. For more information, see "STDEV With Dates function" on page 760
and "STDEVP With Dates function" on page 761.
Data labels
Transparency settings
Titles
Gridlines
l The zero gridline is now set with the same color and visibility as the base axis in a line, bar, and area
chart.
For more information, see "Creating bullet charts" on page 632 and "Create a bullet chart" on page 634.
Dashboard authoring takes place in Design Mode and you can preview the user view of the dashboard
in Preview Mode. The image below displays an example of the new dashboard authoring interface:
1. If the layout had not changed while you were using the dashboard, the upgrade program
converts the old dashboard to the new format.
2. If you changed the dashboard layout while using it, the upgrade program creates two
dashboards in the new format.
l The first dashboard uses the same name as the original dashboard. It also uses the same
original layout of the original dashboard you had created.
l The second dashboard has the same name as the original dashboard with your User ID
appended to it. For example, MyDashboard_UserID. This dashboard uses the changed layout
settings applied to the original dashboard before the upgrade.
In both cases, user preferences are maintained. Preferences include items such as bucket settings, chart
settings, and hidden columns.
Shared dashboards
If you have created dashboards and shared them, the upgrade performs the following actions:
1. The original dashboard is converted into the new format and retains the original name. It also
maintains the original sharing properties so that all users who had access to the dashboard
continue to have access. However, user preferences such as bucket settings, chart settings, and
hidden columns are reset to the original dashboard preference settings. Preferences are not
reset if users who had access to the dashboard did not modify their personal layouts.
2. For users who changed the layout of the shared dashboard, the upgrade program creates a new
dashboard that belongs to the owner, but is shared with the user that modified the layout. The
new shared dashboard carries its original name with the User ID appended to it.
For example, assume two users (User1 and User2) modified the layout of a dashboard you
created. The upgrade program creates MyDashboard_UserID1 and MyDashboard_UserID2
dashboards. As the original owner, you also own the MyDashboard_UserID1 and MyDashboard_
UserID2 dashboards. The MyDashboard_UserID1 is shared with User1 and MyDashboard_
UserID2 is shared with User2.
After the upgrade, you need to work with individual users and determine whether the user
should be using the dashboard with the original layout or their customized layout version. To
maintain consistency across your organization, you might want to delete the shared dashboards
with the customized layouts.
3. Although you are an author, you might have also changed the layout of a dashboard while using
it. If so, the upgrade program creates another dashboard with the same name as the original
dashboard with your User ID appended to it. For example, MyDashboard_UserID. This dashboard
uses the layout settings applied to the original dashboard before the upgrade and is shared with
all administrators.
In the second and third cases, user preferences are maintained. Preferences include items such as
bucket settings, chart settings, and hidden columns.
l Hide columns only when a specified condition is met in the worksheet. This allows you to control
the information that is displayed to users. For example, you might want to show different columns
in a worksheet to different user groups in RapidResponse.
l Prevent users from hiding specific columns. You might want to do this if a column is essential to
the understanding or functionality of the worksheet.
l Hide columns initially but give users the option of displaying them.
l A new Insert Buckets transformation function is now available, which inserts values into buckets
that do not contain records. You can use this function to ensure the values used in an average
function return the proper values. This function was added in a service update in December 2012.
For more information, see "Insert Buckets function" on page 751.
l New standard deviation functions, STDEV With Dates and STDEVP With Dates, are now available.
These calculate the standard deviation of a set of values in a worksheet that contains a date
column, and allows you to calculate the standard deviation of values using the same input
worksheet as other functions. This function was added in a service update in December 2012. For
more information, see "STDEV With Dates function" on page 760 and "STDEVP With Dates
function" on page 761.
Resource types 96
Resource states 101
Developing resources 102
Resources that only administrators can create 104
Predefined resources 105
Resources in RapidResponse are used to solve your company's business challenges. As a RapidResponse
author, you can modify existing resources and create new resources to meet your company's evolving
needs. Depending on the permissions you have been granted, you might be able to create one or more
types of resources. For more information, see "Resource types" on page 96.
All of the private and public resources you have access to display in the Explorer pane. You can view the
properties for any public resource you have permission to create, and modify any public resources that
you own. For more information, see "Resource states" on page 101.
If you also have sharing permission for a resource, you can share it with other users depending on their
resource permissions and roles in your company. For more information, see "Share resources" on page
128.
l Controlling and tracking changes—You can make multiple changes to a resource, and then test
and revise your work before other users are affected by your changes. Authors include notes
explaining changes made to the resource, so you can track how a resource evolves over time.
Your administrator is responsible for turning version control on or off in your RapidResponse system.
For more information, contact your RapidResponse administrator.
Resource types
You might be able to create and modify the following types of resources:
Reports
l "Dashboards" on page 97
l "Workbooks" on page 97
l "Scorecards" on page 98
Tasks
l "Forms" on page 98
l "Processes" on page 99
l "Responsibility definitions" on page 100
l "Task flows" on page 100
Automation
Filtering
Other
Workbooks
Workbooks are used to view, analyze, and modify data. Each workbook contains worksheets, which
display data in a spreadsheet-like environment. For more information, see "Authoring and managing
workbooks" on page 215 and "Authoring worksheets" on page 257.
Forms
Forms are used to accomplish business tasks faster through a graphical user interface that you design.
User specified values pass from the form to the underlying script that the form is based on. For more
information, see "Authoring forms" on page 939.
Task flows
Task flows are procedures users can follow to perform a task. Each step of the task flow typically
provides the resources required to complete the step. For more information, see "Authoring task flows"
on page 929.
Filters
Filters are used to limit the data shown in a worksheet or scorecard. Filters allow you to see a
manageable amount of data in a worksheet, or to view data specific to your job. A site filter lets you view
data from two or more pre-selected sites. Unlike other resource types, site filters cannot be given,
imported, or exported. For more information, see "Authoring and managing filters" on page 191 or
"Create a site filter" on page 198.
Resource states
Depending on whether version control is turned on in a system, resources might exist in different states.
Private resources, displayed as gray icons, are only visible to the resource’s owner in the Explorer.
Public resources, displayed as blue icons, are visible to the resource’s owner and to administrators in
the Explorer.
Private resources are made public when they are added to the versioned repository. For more
information, see "Add a resource to the versioned repository" on page 108.
For other users to have access to the resource, the public resource must be shared with those
users. For more information, see "Share resources" on page 128.
Private resources, displayed as gray icons, are only visible to the resource’s owner in the Explorer.
Developing resources
Resources are often developed in one RapidResponse system, deployed to a test system, and then
deployed for active use to a production system. In the development system, one or more authors might
be responsible for creating, modifying, and upgrading different resources. Completed resources might
be tested in the development system, or deployed to a test system that checks the resource's
functionality and design. Resources that fail testing are sent back to the development system to be
fixed. Resources that pass testing are deployed to the production system to be actively used.
Predefined resources
When you create resources, you might want to use one of the predefined resources included with
RapidResponse as a starting point. For information about the resources included with RapidResponse,
see the RapidResponse Applications Guide.
If you are a resource author and you require, but do not have access to, a workbook, you might be able
to retrieve a private copy of that workbook. For more information, see "Retrieve predefined workbooks"
on page 244. If you do not have permission to retrieve predefined workbooks or you require a different
type of resource, contact your RapidResponse administrator.
You can create and edit all resource types you have authoring permission for. When you create a
resource, it is created as a private resource that only you can view and edit. To share the resource with
administrators who can edit it and users who can view it , you must add it to the versioned repository and
then share it. For more information, see "Add a resource to the versioned repository" on page 108.
With version control you can keep track of resources with version comments, history, and numbering. For
more information, see "Create a new resource" on page 107.
When you create a new resource, a default check in comment is added to the resource's version history.
For more information, see "Add or modify a comment" on page 120.
All RapidResponse resources, including reports can use the versioned repository except site filters. They
exist independently and are created and shared without being part of the versioned repository. Add-
ins, extensions, scenarios are not considered resources.
Each time you save a resource, the changes made are logged and tracked in the resource's version
history. You can add comments about the changes. For more information, see "Version history" on page
123.
For more information, see "Identify and resolve resource conflicts" on page 115.
It is recommended that you add a check in comment identifying why the resource was created. For more
information, see "Add or modify a comment" on page 120.
NOTE: Comments specific to the selected resource are carried over from the private resource's
version history, and appear public once the specific resource is checked in to the versioned
NOTE: When the Action field displays Conflict , this means that you cannot add that resource
to the repository. A conflict might occur when the public resource is not checked out, but you are
trying to add a private resource with the same name to the versioned repository.
NOTE: You must add a private resource to the versioned repository before you can share it. For
more information, see "Share resources" on page 128.
NOTE: In a RapidResponse system with version control turned off, resources cannot be added to
the versioned repository. However, they are still stored in the RapidResponse database. Private
resources are made public by sharing the resource with users.
NOTE: If a resource refers to a private scenario, you must share the scenario and then modify the
resource so that it refers to the shared scenario before you can check in the resource.
NOTE: You cannot add a resource to the repository if it shares the same name as an existing
public resource. You must rename the private resource before it can be added to the versioned
repository. For more information on renaming a resource, see "Rename resources" on page 128.
NOTE: For other users to have access to the workbook, you must share the workbook with that
user or the group the user belongs to. For more information, see "Share resources" on page 128.
NOTE: To save your changes as you are working on a resource, press CTRL + S.
TIP: You can also edit a resource by selecting it in the Explorer and then pressing ALT + ENTER
or right-clicking on the resource and selecting Properties.
The locked, public resource can still be used and viewed by users. Make your edits to the private copy
and with each save, you can add comments about the changes being made. For more information, see
"Add or modify a comment" on page 120.
Once a resource is checked out, it cannot be checked out again until it is checked back in to the
versioned repository or the check out is discarded. For more information, see "Check in a resource to
the versioned repository" on page 113 or "Discard a check out" on page 120.
NOTE: A resource cannot be edited by more than one author with administrative permissions at a
time. If the resource is already checked out, you must wait for it to be checked back in to the
repository.
CAUTION: If you are editing source workbooks that provide data for other resources to function,
calculations in those other workbooks might be affected. For more information, see "About
resource dependencies" on page 179.
NOTE: You cannot have two private resources with the same name. If you attempt to check out a
resource and have a private resource with the same name on your system, you are prompted to
use the existing private resource, replace it with a private copy of the public resource, or cancel the
check out. You can compare the existing private resource with the public resource to identify any
differences and accordingly keep or replace the private resource. For more information, see
"Comparing resources" on page 141.
NOTE: Resource properties are view only until you check out that resource.
NOTE: Only RapidResponse administrators can edit resources they do not own.
NOTE: To save your changes as you are working on the resource, press CTRL + S.
TIP: For resources checked out by other users, hover over the resource in the Explorer to display
who checked out the resource and when it was checked out.
TIP: You can also check out a resource by right-clicking on the resource in the Explorer and
clicking Check Out .
When you are editing resources that depend on other resources, you might need to make changes in
multiple resources. If you have permission to share those resources, you can check in multiple private
resources and comment on the related changes in a single check in comment. The check in comment is
applied to all of the resources selected to be added or checked in to the versioned repository.
Comments made as changes were saved in the private copy of the resource are also displayed. You can
keep, edit, or delete these comments.
When you check in a resource, all of its dependent resources that are also checked out are displayed.
You can toggle between viewing selected resources and their dependencies or all of your private
resources on the system and then select which resources you want to include in the check in.
Depending on whether the private copy of the resource is different from the public version, a default
action is applied to the resource:
You can specify a different action when the default action is Check In, Discard & delete, or Discard &
keep.
If you have any open resources during check in, you will be prompted to save any changes. Private saved
resources are automatically closed and any resources you choose not to save are not included.
During check in, you can also compare different versions of a resource, view the resource's
dependencies, and check the resource out again to prevent other authors from modifying it before you
test your changes. For more information, see "Compare resources" on page 142 and "Analyzing
resource usage" on page 177.
NOTE: If you want to keep a copy of the private resource after you have checked it in, make a copy
of the resource with a new name, or select that version in the resource's version history and save it
under a new name.
NOTE: Resources with a conflict cannot be checked in and display as view only in the Check In
dialog box.
NOTE: If a resource refers to a private scenario, you must share the scenario and then modify the
resource so that it refers to the shared scenario before you can check in the resource.
▶Check in a resource
NOTE: If a resource refers to a private scenario, you must share the scenario and then update the
resource to refer to the newly shared scenario before you can check in the resource.
TIP: Keep version comments and numbers updated so other users can easily navigate the
changes made to a resource.
TIP: You can also check in a resource by right-clicking on the resource in the Explorer and clicking
Check In .
TIP: To exclude a resource from the check in, clear the check box in front of that resource.
1. An administrator gives the public resource to the author, making the author the resource owner.
2. The author makes edits to the public resource. For more information, see "Editing a public
resource" on page 111.
3. The author gives the updated public resource to an administrator, making the administrator the
resource owner.
CAUTION: If an author creates a private copy of a public resource, makes their edits, and then
gives that update private resource to an administrator to replace the public copy, there is a risk of
losing the version history for the public resource. It is recommended that administrators copy the
version history from the public resource and paste it in the version comments in the updated
private resource before replacing the public resource.
2. Remove dependent resources you do not own or do not have permission to access or share.
3. Try again to add the resource to the versioned repository.
For more information, see "Modify resource dependencies" on page 186 and "Add dependencies to
workbooks" on page 247.
NOTE: You cannot restore a checked out public resource. It must be checked in to the versioned
repository before you can restore to another resource version.
NOTE: When you give a resource to another author and the author restores it to an earlier
version, the ownership of the resource does not change back.
NOTE: When you rename a resource and then restore it to an earlier version, the resource's name
does not change back to its previous name.
NOTE: The name of the new resource must be unique. You cannot use the Save As command to
overwrite a private resource.
NOTE: If you select the private copy of the resource, the Discard Check Out option is not
available. You can only discard a check out for a public resource.
TIP: For open dashboards and workbooks, you can discard a check out by clicking Versioning
on the RapidResponse toolbar and then selecting Discard Check Out .
l In the Properties dialog box, after making your changes, select Add a comment and then click OK.
TIP: For open workbooks and dashboards, you can also select Add a comment and then click OK
when you exit design mode.
1. In the Check In Resources dialog box, type a comment in the Check in comment box.
2. For an individual resource, select that resource in the Resources box.
3. Comments made as you edited the resource display in the Comment for selected resource box.
You can edit or delete this text.
▶View comments
▶Edit a comment
Version numbering
When a resource is stored in the versioned repository, either by adding it to the repository or by
checking it back in, you must select an identifying version number for the new version.
You can specify three types of version numbering for resources: Minor, Major, and Other.
l Minor—Select to number the new version in a numerical X.Y format that increases in increments of
Y. For example, you can save a resource as version 1.4 or 3.16 or 10.32.
l Major—Select to number the new version in a numerical X.Y format that increases in increments of
X. For example, you can save a resource as version 2.0 or 16.0.
With each successive version of the resource, RapidResponse continues with the version numbering
type you last selected. For example, if you save a resource as version 2.1, the next time you check in the
resource, the minor version option displays as 2.2 and the major version option displays as 3.0. If you
have specified the other increment type, the next time you check in the resource, you will be prompted
to type in a version number.
It is recommended that you establish a version numbering convention for all your resources to ensure
consistency, especially if resources are moving across different RapidResponse systems.
NOTE: You can change version numbering types at any resource check in. For example, you can
change from version August2014 to version 6.0 the next time you check in the resource.
Version history
You can view the version history for any private or public resource. For private resources, a time-
stamped version with comments displays for each save of the resource. For public resources, more
information is provided in the history, such as the version number, check in and specific resource
comments, and which author edited each version. Comments specific to the selected resource are
carried over from the private resource's version, and appear public once the specific resource is checked
in to the versioned repository.
From the Version History dialog box, you can:
l View earlier versions of a resource and all comments made for that resource.
l Compare any two versions of a resource. For more information, see "Compare resources" on page
142.
l Return to an earlier version of the resource. For more information, see "Restore a resource" on
page 118.
l Save a version with a new name, thereby creating a new private resource. For more information,
see "Save a resource as a new, private resource" on page 119.
l Edit existing and blank comments for private resources. You can edit your comments on a public
resource only if comment modification is enabled in your system. For more information, see "Add
or modify a comment" on page 120.
l For public resources, you can view check in details for a selected version. For more information, see
"Check in details" on page 124.
Check in details
You can view details for a resource version selected in the Version History dialog box. Comments for
each resource display and you can compare the checked in resource with the current resource in your
system. For more information, see "Compare resources" on page 142.
Item Description
Check in Displays the general comment that applies to all resources that are a part of this check in group. For
comment more information, see "Add or modify a comment" on page 120.
Version Displays comments specific to this resource. For more information, see "Add or modify a comment"
comment on page 120.
Compare Click to compare the selected resource with the current version of the resource. For more
information, see "Comparing resources" on page 141.
1. Clear all check outs from the development system by checking in or discarding all resource check
outs.
2. If new versions of the resource have been created since the deployment, restore to the last
version before deployment.
3. Check out the resource and all dependent resources.
4. Apply the required fixes to the resource.
5. When you check the resources back into the versioned repository, check them back out again for
testing.
6. Migrate the fixed resource to the production system where a new version of the resource is
created.
7. Merge the changes between the two resources. For more information, see "Manually merge
resources" on page 148.
8. Confirm that the changes have been applied to the resource.
You can copy, rename, share, give, delete, and import or export all resource types that you have
permission to author and share.
Copy resources
You can create private copies of any private or public resource you have access to. For example, you might
use a resource as a template to develop other resources. After you have copied the resource, you can
modify the properties of the new, private resource.
When you copy a resource, a default check in comment is added to the resource's version history. For
more information, see "Add or modify a comment" on page 120. In RapidResponse systems with version
control turned off, you cannot add comments to the resource.
▶Copy a resource
NOTE: Copied resources will display the original resource's default settings unless you make
changes to the settings.
Rename resources
You can rename any private resources that are not currently open in RapidResponse. Resources can be
renamed in the resource properties or, for some resources, from the Explorer pane. Site filters, alerts,
and scheduled task can only be renamed in from their properties. When you rename a resource, its
version number and history remain unchanged.
Some resources you rename might be dependent on other resources. The list of resources affected by
the change in name will be displayed in a warning. If you proceed with renaming the resource, you must
manually relink the dependent resources to the renamed resource.
▶Rename a resource
1. In the Explorer pane, select the private resource you want to rename.
2. On the Actions menu, click Rename .
3. Type a new name for the resource, and then press Enter.
1. In the Explorer pane, select the private resource you want to rename.
2. On the Actions menu, click Properties .
3. In the Name box, type a new name for the resource.
4. Click OK.
NOTE: You cannot rename a resource you are currently using, or any public or shared resources
that you own.
NOTE: If you rename the private copy of a public resource, the renamed resource cannot be
checked in and the public resource remains checked out with no private copy. You must discard
the check out.
TIP: You can also right click on a private resource in the Explorer pane and select Rename.
Share resources
If you have permission to share a type of resource, you can share any public resources of that type that
you own. Sharing a resource lets other users view and possibly modify the resource. You can do this to
provide other users with access to the resources they require to perform their jobs. When you share a
resource you own with another user, you retain control over the resource. Users with whom you share a
resource cannot modify the properties of the resource, delete the resource, prevent you from accessing
the resource, or give control of the resource to someone else. If you want to give full control of a
CAUTION: If you are sharing a dashboard with a user who has widget authoring permission, the
user will have access to the widgets and all the workbooks that contain worksheets used as the
base for widgets in the dashboard. That user will be able to create widgets based on these
worksheets. Before sharing a dashboard, you should verify that these workbooks do not display
worksheets that contain sensitive or confidential information. As a best practice, workbooks with
worksheets for worksheet widgets should be role-based to ensure that all of the worksheets in
the workbooks are appropriate for viewing and re-use by dashboard users.
CAUTION: If you share a dashboard with a user who has permission to create alerts, that user can
create alerts based on the worksheets underlying any of the widgets on the dashboard, and any
other worksheets that are in the same workbooks as those widgets.
▶Share a resource
NOTE: After you share a workbook and dashboard and subsequently modify if, the changes are
NOTE: Sharing site filters requires a different process. For more information, see "Share a site
filter" on page 198.
TIP: You can also share a resource by right-clicking the resource in the Explorer and then clicking
Share.
TIP: In the Select Names dialog box you can search for a specific name by typing the name you
want to find. You can also use the * and ? wildcards to search for text fragments and use the arrow
keys to scroll through the items in the box that match the search criteria. To close the search box
that displays at the top of the dialog box, press ESC.
TIP: To find out more about the people you can share resources with, move the pointer over their
names.
Form l Scripts
Process l Dashboards
l Workbooks
l Scorecards
l Forms
Script l Scripts
l Workbooks
l Forms
Scorecard l Workbooks
Widget l Dashboards
l Workbooks
l Scorecards
l Forms
l Task flows
Workbook l Scripts
l Workbooks
l Forms
NOTE: Most of these resource types are dependent resources and are required by the shared
resource to function.
l If you share individual resources, such as workbooks that are required for processes or task flows,
these resources are available in a user's Explorer pane. As such, be cautious about sharing these
resources, to ensure that you do not inadvertently make sensitive information available to people
outside your company. For example, if a task flow uses a financial workbook, you should not share
it with a group that includes external users.
l If the resource you are sharing links to resources that you do not own, give the resource to your
RapidResponse administrator who can then share it for you. If you intend to do more work on the
Give resources
You can give resources you own to another user who has authoring permission for that resource type.
You might give a resource if you are no longer responsible for maintaining it, you are changing job
functions, or you are passing the resource along for more work to be completed on it. The version
number remains the same when the resource is given.
Some resources have specific conditions as described below:
l If you give a task flow, alert, or scorecard, the resources required by the task flow, alert, or
scorecard are not given to the new owner, and must be given separately.
l If you give a scenario, its parent scenario is shared with the recipient with the View Only
permission.
l If you give a workbook that has other workbooks linked to it, you are prompted to give the linked
workbooks. If you give a resource to an administrator, you do not need to give the linked
workbooks to them.
l If you give a private resource you are currently using, such as a filter in a workbook, the resource is
shown with a red X icon , and no records will be visible. You must select a different resource
from the list to view data.
l You cannot give a site filter to another user.
CAUTION: If the resource you are giving is used as a dependency by other resources, that
resource might not function as expected after the resource is given. It is recommended that you
review the resource's dependencies before giving it to another user. For more information, see
"View resource dependencies" on page 182.
NOTE: If the new owner already has a resource with the same name as the one you are giving
them, you must specify a new name for the resource.
NOTE: If you are giving an alert that checks conditions according to a private schedule, a copy of
the schedule is given to the new owner.
NOTE: Some resources cannot display without a scenario. For example, if you give a workbook to
a user who does not have access to the scenario specified by the workbook, no data will display in
the workbook.
TIP: You can also give a resource by right-clicking the resource and then clicking Give.
TIP: To find out more about the person you have selected in the Owner list, hover the pointer
over their name.
Delete resources
You can delete any of your private resources and any public or shared resources you own. Once you
delete a public resource, it is no longer available to any users it was shared to.
CAUTION: When you delete a resource, all versions of the resource are deleted.
NOTE: Deleting a hierarchy does not delete the custom tables or fields used by the hierarchy and
none of the data is deleted.
Form .frm
Hierarchy .hry
Process .prc
Responsibility .rsp
Scheduled task .stk
Scorecard .scd
Script .scp
Task Flow .tsk
Widget .wgt
Workbook .wwb
If you have administrator permissions, you can also perform bulk imports and exports of resources
using resource packages. For more information, see the RapidResponse Administration Guide.
Exporting resources
When a resource is exported from RapidResponse, all required linked resources and dependencies are
included in the export file.
▶Export a resource
NOTE: If you are exporting a scorecard or task flow, the resources utilized by the resource (such
as workbooks or filters) are not exported. You can export the resources separately.
NOTE: If you are exporting a workbook, insert definitions, including custom insert definitions,
used in its worksheets are also exported. However, default insert definitions are not exported. If a
worksheet uses default insert definitions, the default insert definitions in the system the
workbook is imported into are used. For more information, see "Export an insert definition" on
page 579.
NOTE: The user importing the exported resource must be using the same or later version of
RapidResponse.
Importing resources
If you have been provided with a resource, such as a workbook, from an external source, such as a
customer, a supplier, or third-party developer, you can import that resource into your RapidResponse
system. The most common use case is to import resources from a test or development system to your
production system.
When a resource is imported, all of the required linked and dependent resources in the resource file are
also imported. If any linked and dependent resources already exist in the system to which you are
importing, you are prompted on how to process each item.
When importing a resource from a test system to your production system, you might be prompted
about duplicate resources. The production system might already have the underlying linked and
dependent resources but you might want to only update the modified top-level resource. For example,
you might import an updated version of a shared dashboard from a test system. The updated
dashboard has had display properties modified but the underlying workbook settings remain
unchanged. Upon import of the dashboard, you can choose whether to only import the dashboard
without updating the underlying workbooks and sharing settings.
You have options on how to process duplicate linked and dependent resources, and the options
depend on the import conflict type:
l Private conflict—A private resource with the same name already exists on the target system. You
can use the existing private resource, replace the private resource, or rename the resource you are
If you are importing a hierarchy, workbook, filter, or any other resource that requires custom tables and
fields, your RapidResponse administrator must create the required tables in your production
environment, if they do not already exist.
When a resource is imported, it is designated as a private resource. If you are replacing an existing
public resource, the imported resource must be added to the versioned repository and shared to
become a public resource. For more information, see "Add a resource to the versioned repository" on
page 108 and "Share resources" on page 128.
▶Import a resource
1. On the File menu, point to Import, and then click the resource type you want to import.
2. In the Import Resource dialog box, do the following:
l In the Look in list, browse to the location where the resource is saved.
l Select the resource, and then click Open.
l If you already have a private resource with the same name, you are prompted to type a unique
name.
3. Click one of the following:
l Open—opens the resource you just imported or runs it if it is an automation task. This option
is not available for resources, such as filters, that cannot be opened or run.
l Properties—opens the properties of the resource you just imported
l Continue—closes the Imported Resources dialog box.
The resource is now available in the Explorer.
NOTE: If you are importing a scorecard or task flow, any resources utilized by the resource (such
as workbooks or filters) are not imported. You must import the resources separately. That is to
say, because of the dependency of scorecards on metric workbooks, to import a scorecard, you
must first import the metric workbooks it uses and then import the scorecard.
NOTE: If you are importing a static-value filter from an RapidResponse 2014.4 or earlier and the
table used by the filter has at least one valid string key field, that key field is used as the default for
the filter. If the table the filter uses has no valid string key values, you must remove the static
values or select a table with a key field to base the filter on.
NOTE: You can import workbooks exported from RapidResponse 8.0 and later. To import
workbooks created in an earlier version, first import it into another RapidResponse system
(versions 8.0 and later) and then export it again.
NOTE: Insert definitions are only imported with a workbook if you have the necessary permission.
For more information, see "Import an insert definition" on page 579.
NOTE: The only comment that displays for the resource is a default comment in the version
history identifying the resource as having been imported.
1. In the Import Resource - Duplicate Resource Names dialog box, for each resource, in the Action
column click one of the following:
l Use existing shared—The resource is not imported, and the existing shared resource is used.
l Use existing private—The resource is not imported, and the existing private resource is used.
l Use existing —The resource is not imported, and the existing resource is used. Applies to
macros, profile variables, images, and insert definitions.
l Replace—The resource being imported replaces the existing resource.
l Rename—The resource's name is changed. The new name is automatically used in the
resource. The new name is typed in the New Name column of the dialog box.
l Import—The resource is imported as private. Available when there is not a duplicate conflict
in the system.
2. Click OK twice.
CAUTION: If you replace a macro, it is replaced for all other workbooks, filters, and so on that use
the macro. This can result in workbooks and filters not returning the data you expect, or possibly
not returning any data. Before you replace a macro, you should ensure the new macro is similar to
the existing macro.
NOTE: If the resource contains a profile variable that was defined for a user or group that does
not exist in your RapidResponse system, the variable is defined for you instead. For more
information, see "Profile variables" on page 1296.
l A shared scenario with the specified name does not exist at the time of the import.
l A private scenario with the specified name exists at the time of the import.
l Private scenarios are allowed in the context in which the scenario is specified. For example, in a
private workbook definition, you can only use shared scenarios when you limit the available
scenarios, but you can use a private scenario as the baseline scenario for multi-scenario columns.
Resource links are sent by clicking Send Link on the RapidResponse toolbar. Users receive the link in
a message in Message Center or in their email. When clicked on, the link will open and display the
resource with certain data settings applied. The resource referenced in the link must be a shared
resource and the recipient must have permission to view the resource. Users can also edit links to
modify the attributes of the link in the message, specifying the title, workbook, worksheet, and data
settings applied to the resource.
Resource links can be sent for:
l Workbooks
l Dashboards
l Scorecards
l Forms
Resource links of workbook and scorecard views are similar to shortcuts. Only data settings are
displayed when the link is opened, settings like column and worksheet help are not displayed. When a
link to a form is opened, the form is displayed with its default settings. For dashboards, resource links
display a view of the dashboard with all settings applied, including bucket and chart settings.
NOTE: Users must have permission to send resource links. For more information, see the
RapidResponse Administration Guide.
You can compare any resources of the same type you have access to in RapidResponse, and identify any
differences between them. Understanding the differences between resources can help you understand a
resource's structure and development, and explore modifications that cause data to display or react
differently in related resources. For example, you might have two workbooks that were developed from
the same base workbook but display unexpected results. By comparing resources, you can determine
that the different data displays are because of a modified filter expression on one workbook’s worksheet.
You can also compare resources to better understand past and current development of those resources,
especially when resources are moved between environments, such as from development to production.
You can compare:
l Two different resources. For example, compare a private dashboard to a RapidResponse predefined
dashboard to incorporate enhancements from the predefined dashboard or to determine which
dashboard to keep during an upgrade.
l Private and shared resources. For example, comparing changes between a private workbook in
development and a shared workbook in a production environment. When two authors are working
in parallel, comparing resources allows them to determine the changes in their respective private
copies of the workbook so they can successfully merge their changes in the shared workbook.
l Unsaved changes in a resource with the resource's last saved state. For example, compare changes
you are making in a private worksheet as you are modifying it. For more information, see "Compare
unsaved worksheet changes from a workbook's properties" on page 144.
l Two versions of a resource in a RapidResponse system with version control enabled. For more
information, see "About version control" on page 95.
Similar to a hierarchy, when you compare two resources, all of the specific properties that make up the
resource are displayed at different levels, such as workbook to worksheet to column. Properties are
organized in a tree structure, with property fields displayed as branches of the main property. For more
information, see "Identify resource differences" on page 145.
NOTE: The Compare dialog box only opens if there is a difference between resource properties. A
name change does not qualify as a difference and you cannot compare two identical resources
where the only difference between them is the resource name.
NOTE: You cannot compare two different types of resources, such as a dashboard and a
workbook. The Compare dialog box will only open for resources that are of the same type.
NOTE: If you have administrator permissions, you can also compare resources in a resource
package that you are importing into a system. For more information, see the RapidResponse
Administration Guide.
Compare resources
When you first select to compare a resource, you must decide which resource to compare it to. The
baseline resource displays in the left pane of the Compare dialog box and represents the resource
standard that you are comparing against. The compare resource displays in the right pane and
represents the resource that has been modified. Look at the modifications in the compare resource and
check with the baseline to understand what was modified and how it was modified. There are a number
of indicators to guide you in identifying the differences between resources. For more information about
how to identify those differences, see "Identify resource differences" on page 145.
Based on the state of your resource when you click Compare, the Compare resource dialog box will
display different default options. You can change the resource selection in the Baseline and Compare
drop-down menus.
NOTE: If you select a resource to compare and a private resource with the same name exists, the
resource with the same name displays as the baseline option.
NOTE: If you reselect a resource to compare in a single RapidResponse session, the baseline
option displays the same resource you last selected.
NOTE: Although you might have only one resource of a resource type and cannot compare it to
other resources of that type, you can still compare the resource to earlier versions of itself. For
example, if you have only one dashboard, you can still compare the latest version of the dashboard
with an earlier version. For more information, see "Compare resource versions" on page 144.
NOTE: In a RapidResponse system with version control turned off, you can compare private and
public resources to one another, and any two resources that are the same resource type.
NOTE: Depending on the resource's state: public or private, checked in or out, unsaved changes;
different options are available when you select which resources to compare.
NOTE: Specifically for open workbooks or dashboards in design mode, clicking Compare
compares all unsaved changes in the resource to the resource's last saved state.
l In the Property pane of the Compare dialog box, click "Yes" in the Details column for the property
field you want to view.
The Detailed Differences dialog box opens, displaying a detailed view of the property field for that
resource.
Visual indicators mapped along the property list identify the type, number, and location of differences.
Clicking an indicator jumps to that specific location in the property list. Row numbers identify each
property. You can use row numbers to track properties and to cite the location of a specific difference in
the resource. Conditional highlighting is also displayed next to the row numbers to match each row
with its corresponding row for the other resource.
TIP: It is recommended that you use a spreadsheet program such as Microsoft Excel to view the
comparison report.
As a RapidResponse user with authoring permissions, you can search in resources to find any of the
following:
You can search in the resources you have permission to create. The following table provides some
examples of searches you can perform for each resource type.
Automation Determines if the specified string is searched for in automation l Search for a specific alert,
Chains chains. scheduled task, or
automation task.
Dashboards Determines if the specified string is searched for in dashboards. l Search for a specific phrase
in a dashboard's name,
author notes, or widgets.
Forms Determines if the specified string is searched for in forms. l Search for a specific phrase
in a form's name, author
notes, help, or its
underlying script name.
l Search for a specific phrase
in a form control's ID,
label, description,
placeholder text, argument
mapping, or initial value.
l Search for a specific phrase
in the expressions of a data
list control or in the items
of a fixed list control.
Hierarchies Determines if the specified string is searched for in hierarchies. You l Search for all hierarchies
can also search for errors in the resource definition. based on a specific table.
l Search for all hierarchies
that use a specific field in
their query expressions.
l Search for all hierarchies
that use a specific macro.
l Search for hierarchies that
contain query errors.
Insert Determines if the specified string is search for in insert definitions. l Search for a specific table's
Definitions These include only the insert definitions defined for a table, not insert definitions.
custom insert definitions defined in worksheets. To search fro a l Search for insert
custom insert definition, select the Other workbook properties definitions that contain a
check box. specific database field.
l Search for insert
definitions that contain an
expression that uses a
specific field.
Scripts Determines if the specified string is searched for in scripts. l Search for a specific phrase
in a script's name,
argument, codes, author
notes, or help.
l Search for a specific phrase
in a referenced
dependency or included
script library.
Workbooks Determines if the specified string is searched for in workbooks. You l Search for all workbooks
can also search for errors in the resource definition. that contain a specific
macro.
l Search for all worksheets
that use a specific field or
operator in their query
expressions.
l Search for all worksheets
based on a custom table.
l Search for transformation
worksheets that take a
specific variable as input.
l Search for all worksheets
that contain query errors.
l Search for a specific phrase
in workbook help or
author notes.
l Search for worksheets that
use a specific field in a
custom insert definition.
l Search for workbooks that
link to a specific
workbook.
l Search for worksheets that
automatically modify data.
RapidResponse users who do not author resources can perform simple text searches in workbooks. For
more information, see the RapidResponse User Guide.
Each option in the Search section searches specific parts of each resource. These are explained in the
following table.
Author Notes l Workbooks—The Author notes fields in workbooks, worksheets, and columns.
l Filters—The Author notes field in filters.
l Forms—The Author notes field in forms.
l Hierarchies—The Author notes field in hierarchies.
l Dashboards—The Author notes field in the dashboard.
l Scripts—The Author notes field in the scripts.
l Widgets—The Author notes field in the widget.
Other properties l Forms—The name of the script the form is based on.
l Scripts—Includes the following:
l The names of script libraries
l The names of referenced resource dependencies
l Java script text
l Widgets—Includes the following:
l The workbooks and worksheets on which the widget are based
l The names of linked resources
l Workbooks—Includes the following:
l The function and input parameters used in transformation worksheets
l The currency used to display column data
l The calendars used in crosstab worksheets
l The scenario name and action worksheet name used in modify worksheet data
commands
l The name of commands that run scripts
l The images in worksheet columns
l The fields that filter, site, model, pool, and part selections apply to
l The name, field labels, and expressions in custom insert definitions embedded in
worksheets.
l Worksheet and column identifiers
NOTE: If you search for text in filters, you can search only in the filter expressions, not in the static
values.
NOTE: If you search for text in alerts, every alert property is searched, including the alert name,
resources, notification message, report options, message recipients, and post-processing options.
For more information about alerts, see the RapidResponse User Guide.
NOTE: If you search for a text string that includes multiple words, results are returned for the
complete phrase, and not for the individual words in the text string. For example, if you search for
'Ship Set Available', you get results only for columns or help entries that contain the full text string
'Ship Set Available', such as "Ship Set Available Date". This search does not match columns or help
that contain 'Ship', 'Set', or 'Available' individually.
NOTE: The Search Resource Settings dialog box does not support the Processes resource.
NOTE: When searching for a text string, you can specify that the search only review resources
based on a specific table by clicking the Only in resources based on table box. This type of search
only reviews expressions in workbooks, filters, hierarchies, and insert definitions.
NOTE: If you search for an automation task notification recipient, you must search for the user ID,
not the user's name.
NOTE: To search for a string in a macro expression, you must do a worksheet search in the
Macros worksheet of the Macros and Profile Variables system workbook. For more information,
see the RapidResponse User Guide.
TIP: To select all of the applicable types of resources, click Select All. To clear all selected resource
types, click Clear All.
▶Cancel a search
After you start searching for resources, you can cancel the search before it completes. A canceled search
returns a partial list of results.
NOTE: You also have the option to search for text included in an expression based on a specific
table. For more information, see "Search for a text string in resources" on page 155.
TIP: To select all of the applicable types of resources, click Select All. To deselect all resource types,
click Clear All.
▶Cancel a search
After you start searching for resources, you can cancel the search before it completes. A canceled search
returns a partial list of results.
l ForecastDetail
l HistoricalDemandActual
l HistoricalDemandSeriesDetail
l HistoricalSupplyActual
l HistoricalSupplySeriesDetail
For more information about these tables, see the RapidResponse Analytic and Data Model Guide.
Because vectors contain base key fields that are not modifiable, you should review worksheets that
automatically modify data to ensure that worksheets based on converted tables do not generate errors
by modifying data in key fields.
This search returns worksheets that have the Use this worksheet to check box selected in the
Automation tab of the Worksheet Properties dialog box, as shown in the following illustration.
Spreading A worksheet used to determine how records inserted in a crosstab worksheet are spread is
worksheet missing.
Spreading A variable used to determine the dates used in records inserted into a crosstab worksheet is
worksheet missing.
variable
If you search for resources that are compatible at a specific compatibility version, you can choose to
search only the workbooks that are valid at a lower compatibility level. This allows you to view only the
workbooks that might contain errors because of an upgrade.
TIP: Select Compatibility version if you have recently upgraded your system to a newer version of
RapidResponse. Select 2014.1 and later from the drop-down list to validate workbooks with the
most recent compatibility version. To validate only those workbooks that are valid at an earlier
compatibility level, select Limit search to workbooks valid at compatibility version as well. In all
other cases, select Compatibility settings for each workbook.
▶Cancel a search
After you start searching for resources, you can cancel the search before it completes. A canceled search
returns a partial list of results.
For more information, see "Query language compatibility and ambiguous syntax" on page 1244.
l Worksheet—For workbook results, shows you which worksheet the result is found in.
l Found In—Shows you where in the worksheet, filter, or hierarchy the result is found.
l Item—Shows you which column, variable, hierarchy level, and so on the result is found in.
An example of text string search results in the Search Resources window is shown in the following
illustration.
In the illustration above, the String 'OnTimeQuantity' was found in three worksheets in the Revenue
Opportunities workbook, with eleven occurrences of the string between the three worksheets. In two
of the worksheets, the string was found in multiple column expressions. In the other worksheet, the
search string was found in multiple column expressions and once in the worksheet filter expression.
From the search results, you can open resources or view their properties. You can also copy the result
list and then paste it into Microsoft Excel, or another program, to create and distribute the list of
resources. This allows you to retain a record of where a particular string was used in your workbooks, or
to create a list of tasks you need to do to update your resources.
1. In the list of results, click the arrow beside a resource to see each occurrence of the search
text, table, or error.
2. Click an occurrence.
3. On the Search Results toolbar, click Properties .
4. Modify the properties, as discussed in "Edit workbook properties" on page 240, "Edit a
worksheet" on page 262, or "Modify a filter" on page 196.
NOTE: When you open a resource's properties, it opens to the location where the search string
was found.
NOTE: After modifying a resource's properties, you should verify your changes are correct by
opening the workbook or using the filter or hierarchy in a workbook.
TIP: If you are modifying a workbook, you can navigate through all the results in that workbook.
For more information, see "Navigate workbook search results" on page 163.
▶Open a workbook
1. In the list of results, click the arrow beside a workbook to see each occurrence of the search
text or table.
2. Click an occurrence.
3. On the Search Results toolbar, click Open .
NOTE: If you open a workbook from the search results, it displays the worksheet containing the
occurrence you selected. If the worksheet containing the occurrence is hidden, you must activate
Design Mode to view the worksheet. For more information, see "Design mode for workbooks" on
page 241.
1. On the Search Results toolbar, click Copy search results to the Clipboard .
2. Paste the results into another application, such as Microsoft Excel or Microsoft Word.
▶Modify a search
1. In the Explorer pane, click the workbook you want to search, and then click Properties .
2. In the Workbook Properties dialog box, click the General tab, and then click Search.
3. In the Search This Workbook dialog box, type the text string you want to search for in the Find
box.
4. In the Look In area, select where in the workbook you want to search.
TIP: To view search results, double-click any entry in the Search Results dialog box.
1. In the Explorer pane, click the workbook you want to search, and then click Properties .
2. In the Workbook Properties dialog box, click the General tab, and then click Search.
3. In the Search This Workbook dialog box, select Errors in this workbook definition, and select
one of the following:
l Workbook compatibility version—Searches for errors in workbook query expressions using
the compatibility level defined in the workbook's current definition.
l Compatibility Version—Searches for errors in workbook query expressions using the
compatibility version you select from the drop-down list.
NOTE: The Search Results dialog box closes when you close the Workbook Properties dialog box.
NOTE: If you close the Search Results dialog box and want to view it again, you must close and
then re-open the workbook properties from the Search Resources window.
1. In the Search Results dialog box, double-click the result you want to view.
2. If you modified the worksheet, in the confirmation dialog box, click one of the following.
l Yes—Saves your changes and then moves to the next result.
l No—Undoes your changes and then moves to the next result.
l Cancel—Returns to the worksheet.
As a RapidResponse user with authoring permissions, you can search in resources to find any of the
following:
You can use rich text editing tools to enhance or support the help text you add to any of the following
resource types:
l Task flows
l Text widgets for dashboards
l Workbooks
l Worksheets
l Scorecards
With these tools, you can control fonts, color, symbols and formatting, and add graphics and links to web
sites. Advanced editing options include inserting and editing tables, spell-checking, and finding and
replacing text. You can also copy rich text from other applications like Microsoft Word or websites, and
paste it into the text editor box.
Managing images
In the help section for resources such as a task flow or widget, you can include images to enhance or
support the help text. You can also store and manage commonly used images in an image library.
1. Place the insertion point where you want to insert the image.
2. On the toolbar, click Insert Image .
3. To insert an image from the image library included with RapidResponse, click Image Library, and
then click one of the images in the list.
4. To insert an image located on your computer, click Local Image, and then click Browse. In the
Insert Image dialog box, locate the file you want to insert, and then click Insert.
Note that inserting an image this way does not add the image to the image library. For more
information, see "Manage images using the image library" on page 169.
5. To insert an image from a Web server or Web site, type the image's URL in the Address box.
Inserting an image this way does not add the image to the image library. For more information,
see "Manage images using the image library" on page 169.
6. Click OK.
NOTE: You can insert images in the following file format: BMP, GIF, animated GIF, JPEG, PNG, PNM,
and TIFF
NOTE: If you want to display a tool tip when the pointer is paused over the image, type the tool
tip text in the Alternative text box.
TIP: You can also paste an image into the text editor.
1. Double-click an image.
2. In the Size area, select the Specify size check box.
3. Type a value in the Width and Height boxes.
NOTE: If you do not want to maintain the height-to-width ratio, click to clear the Keep aspect
ratio check box before typing the values.
TIP: You can also resize an image by dragging its borders in the text editor.
TIP: It is a best practice to make size modifications in a graphics editing program before you insert
an image into RapidResponse.
1. Double-click an image.
2. In the Layout area, in the Border thickness box, type a value.
l This value is expressed in pixels.
1. Double-click an image.
2. In the Layout area, in the Alignment list, click the alignment you want for the image.
3. If you want to have a space between the image and the border, do the following:
l In the Horizontal spacing box type a value. This is the space between the border and the top
and bottom of the image.
l In the Vertical spacing box, type a value. This is the space between the border and the left
and right sides of the image.
1. Double-click an image.
2. Type the tool tip text in the Alternative text box.
NOTE: You can add the following file types: BMP, GIF, JPEG, JPG, and PNG.
NOTE: Images that are over 16 pixels high cannot be used in worksheet columns.
NOTE: Take caution when deleting images. If you delete an image that is used in a resource, a red
X will display in place of the image in some resources, such as task flows or workbook help. In
worksheets, the image is replaced with the data value that the images was mapped to.
Editing text
You can edit the text in a resource's help section, including inserting hyperlinks, symbols, and tables.
Check spelling
▶Fix spelling mistakes as you write
Incorrectly spelled words are automatically underlined with a red line. You can fix the spelling errors as
you work by doing the following:
1. Place the insertion point in the text editor, and then click Spelling .
2. In the Check Spelling dialog box, the first misspelled word displays in the Not in dictionary list.
You can resolve the error in the following ways:
l Click the correct word in the Suggestions list, and then click Change to change this instance
of the word, or click Change All to change the misspelled word each time it appears.
l In the Change to box, type the word you want to replace the incorrect word with, and then
click Change to change this instance of the word, or click Change All to change the misspelled
word each time it appears.
l If the word is correct, click Ignore to ignore this instance of the word, or click Ignore All to
ignore the word each time it appears.
l If the word is correct and used frequently, click Add to avoid it being marked as misspelled by
the spell checker in the future.
▶Find text
1. Place the insertion point in the text editor, and then click Find .
2. In the Find what box, type the text you want to find.
3. If you want to find words with a specific letter case, select the Match case check box.
4. If you want to omit word fragments that match your search criteria, select the Whole word only
check box.
5. Click Find Next.
1. Place the insertion point in the text editor, and then click Find .
2. In the Find what box, type the text you want to find.
3. In the Replace with box, type the replacement text.
4. If you want to replace words with a specific letter case, select the Match case check box.
5. If you want to omit word fragments that match your search criteria, select the Whole word only
check box.
6. Do any of the following:
l To find text, click Find Next.
l To replace one instance of the text, click Replace.
l To replace all instances of the text, click Replace All.
In a task flow, this replaces the text in the step currently being edited. To replace text in other
steps, you must select them in the Step list, and edit them.
NOTE: To customize the text that appears when you rest the pointer over the hyperlink, click
Screen Tip and then type the text that you want in the Screen tip text box. If you do not specify a
screen tip, the address of the file appears as the tip.
▶Edit a hyperlink
l In the text editor, right-click the hyperlink you want to edit, and then click Hyperlink Properties.
▶Remove a hyperlink
l In the text editor, right-click they hyperlink you want to remove, and then click Remove Hyperlink.
Insert a symbol
1. Place the insertion point where you want to insert the symbol (a non-alphanumeric character).
2. On the toolbar, click Insert Symbol .
3. Click a symbol to add it to the box.
4. Click OK.
NOTE: To remove the symbol that was most recently added to the box in the Insert Symbol dialog
box, click Clear.
1. Place the insertion point where you want to insert the table.
2. On the toolbar, click Insert Table , and then use your pointer to define the number of rows
and columns.
1. In the table, place the insertion point in the row above where you want to add a new row.
2. On the toolbar, click Insert Row .
1. In the table, place the insertion point in the column to the right of where want to add a new
column.
2. On the toolbar, click Insert Column .
1. In the table, place the insertion point in the row you want to delete.
2. On the toolbar, click Delete Row .
1. In the table, place the insertion point in the column you want to delete.
2. On the toolbar, click Delete Column .
Formatting text
You can format the appearance of text that displays in a resource's help section, including creating lists,
highlighting text, and modifying the appearance of the text.
To Do the following
Paragraph style In the Style list, click a paragraph style.
Specify the size of In the Font size list, click a font size.
text
Specify the color of Click Font Color , and then click a color on the color palette. If you want to choose form
text a wider selection of colors, click More Colors.
Align text
l In the text editor, select the text, and then click one of the following:
l Align Left
l Align Center
l Align Right .
▶Paste text
1. In the text editor, place the insertion point where you want to paste the text.
2. Click Paste .
If you don't want the text to retain its formatting, click Paste Special , select the Plain Text
option, and then click OK.
Highlight text
1. In the text editor, select the text.
2. On the toolbar, click Highlight .
3. Click a color on the color palette. If you want to choose from a wider selection of colors, click
More Colors.
4. If you want to specify a color different than those available in the color palette, you can adjust the
values on the HSB and RGB tabs.
▶Redo changes
If you have authoring permission for a resource, you can view resources that depend on the selected
resource and resources that use the selected resource. When you modify a resource, you can check
dependencies to see how other resources might be impacted by any modifications you make to the
resource.
Resource usage can be viewed for the following resource types:
l Alerts
l Automation chains
l Dashboards
l Forms
l Processes
l Scheduled tasks
l Scripts
l Task Flows
l Widgets
l Workbooks/worksheets
NOTE: Worksheet resource dependencies are accessed from the Workbook Properties or
Worksheet Properties dialog boxes.
NOTE: You can only view resource dependencies or resource usage for scorecards and task flows
if they are the dependent resource of a workbook, worksheet, process, dashboard, or widget.
Therefore, you cannot check resource usage for scorecards as you can only see scorecards as
resources used by other resources.
TIP: You can quickly show or hide all of a resource's dependents by clicking Expand or Collapse.
TIP: You can also right-click a resource in the Explorer and select Resource Usage to open the
Resource Usage dialog box.
1. In the Explorer pane, right-click the workbook that contains the worksheet you want to check
dependencies for.
2. Click Properties .
3. Click the Worksheets tab.
4. Select the worksheet to check dependencies for.
5. Click Usage.
NOTE: The Usage button is only enabled if the selected worksheet has a dependency.
NOTE: When you open the Worksheet Usage dialog box, the New Worksheet or Worksheet
Properties dialog box closes. If you had unsaved changes in the worksheet, you are prompted to
save them before the dialog box closes.
NOTE: If a column expression contains a string value that ends with an exclamation point (!), that
string might be interpreted as a worksheet reference. In this case, the string is displayed in the
Worksheet Usage dialog box with the red X icon . For more information about column
expressions, see "Add and remove columns" on page 358.
NOTE: Column, worksheet filter, and secondary filter expressions display as "Expression" in the
Worksheet Usage dialog box.
TIP: You can also open the worksheet’s properties and click Usage on the General tab to view the
resources the worksheet depends on or is used by.
l In the Resource Usage or Worksheet Usage dialog box, in the Show list, click the type of
dependency you want to see.
NOTE: You can select only a type of dependency that exists in the worksheet. For example, if the
worksheet contains component and LOOKUP expression dependencies, you can select only
Component or Expression in the Show list.
1. In the Resource Usage dialog box, select the resource you want to investigate.
2. Click Focus On.
The Resource Usage dialog box updates to display only the selected resource and its
dependencies.
Dependency types
Depending on the type of resource you are viewing, you will see different dependency types. You can
show all of the dependent resources for a selected item, or narrow your selection to display one of the
following dependency types:
Component A worksheet from which data is combined with other worksheets to display in a composite
worksheet worksheet. For more information, see "Creating composite worksheets" on page 467.
Drill to details A workbook that can have links defined to details worksheets in the workbook from the selected
workbook resource. For more information, see "Defining workbook dependencies" on page 245 and
"Creating drill dependencies and links" on page 663.
Expression A filter expression that references the selected resource. This expression can be a worksheet filter
expression, column expression, or a secondary filter expression. For more information, see
"Worksheet filtering" on page 386 and "Filter worksheets that display cached results" on page
331.
Form A form that allows you to open the form from a workbook command or from a drill link in a
worksheet in the selected workbook. For more information, see "Defining workbook
dependencies" on page 245.
Library A workbook that allows you to reuse content from its worksheets. For more information, see
workbook "Library workbooks" on page 254.
Linked A resource linked to a widget and accessed from the Actions button on the widget toolbar. A
resource linked resource can be a dashboard, workbook, scorecard, or task flow. For more information, see
"Set up linking to a resource from a widget" on page 888.
Monitored A resource monitored by an alert. For more information, see the RapidResponse User Guide.
resource
Parameter A resource used as an input parameter in a transformation worksheet function. For more
information, see "Creating transformation worksheets" on page 743.
Process An activity performed in a business process that you can link to the selected resource. For more
activity information, see "Authoring process and activity notifications" on page 1029.
Reference A workbook or script used by a script to modify data or perform additional tasks. For more
resource information, see the RapidResponse Scripting Guide.
Referenced A workbook that allows you to reuse its worksheets. For more information, see "Creating
workbook reference worksheets" on page 547.
Run script A script that a form executes. For more information, see "Authoring forms" on page 939.
Run script A script that runs from a workbook command. For more information, see "Create commands that
command run scripts" on page 738.
Script library A script that provides functions for another script. For more information, see the RapidResponse
Scripting Guide.
Source A resource that the selected scheduled task performs a process or data modification on. For more
resource information, see the RapidResponse User Guide.
Source A workbook that contains the worksheet that the selected worksheet widget is based on. For
workbook more information, see "Create a worksheet widget" on page 884.
Task Flow A resource opened in a task flow step. For more information, see "Authoring task flows" on page
<resource> 929.
Action
Widget A widget that displays on the selected dashboard. For more information, see "Widgets" on page
881.
1. In the Resource Usage or Worksheet Usage dialog box, select the resource you wish to view.
2. Select Relationship: Used By.
The resources that use the selected resource will display in the Resource window.
NOTE: The Used By button is only enabled if the selected resource is used by another resource.
TIP: You can also view resources that use that worksheet by clicking Used By on the General tab
in Worksheet Properties or on the Worksheets tab in Workbook Properties.
TIP: Click Expand or Collapse to quickly show or hide all of the resources used.
As you modify a workbook over time, some worksheets might no longer used. For more information, see
"Find unused worksheets" on page 188.
1. In the Worksheet Usage or Resource Usage dialog box, select a private resource.
2. Click Properties .
NOTE: You cannot view or modify the properties for linked resources on a widget.
1. In the Worksheet Usage or Resource Usage dialog box, select the dependent resource to
modify.
NOTE: You can modify the source workbooks to which you have authoring permission, although
you cannot view or modify the properties for linked resources.
NOTE: For information about modifying workbooks, see "Edit workbook properties" on page 240
and about modifying worksheets, see "Edit a worksheet" on page 262.
TIP: A dependent resource might be included in more than one resource. When you modify it, the
changes might affect other resources.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click Not Used.
1. In the Not Used dialog box, click the worksheet you want to modify.
2. Click Properties.
NOTE: For information about modifying worksheets, see "Edit a worksheet" on page 262.
1. In the Not Used dialog box, click the worksheet you want to delete.
2. Click Delete.
Filters specify conditions that restrict the data displayed in RapidResponse worksheets. When viewing a
worksheet, a user selects a filter to determine the data displayed in the worksheet. This is in addition to
any filtering included in the worksheet definition. For more information, see "Filters" on page 100 and
"Worksheet filtering" on page 386. By default, RapidResponse includes a number of standard filters (for
example, the Buy Parts filter returns only purchased parts). However, if your organization requires filtering
conditions beyond those provided in the standard filters, more can be created.
Depending on the permissions associated with your user account, you might be able to create filters. If
you have been granted basic filter authoring permissions, you can create the following types of filters:
l Static-value filters—Contains a list of values, which are the only values that are displayed in the
worksheet. For example, if you are responsible for a set of parts, you can create a filter that contains
only those parts. This type of filter can be created by typing in a list of items (for example, parts) to
be returned by the filter or copying values from a worksheet into the filter. For more information,
see the RapidResponse User Guide.
l BOM filters—Contains the parts indicated in a bill of material (BOM) structure. Only the parts in the
BOM are displayed in the worksheet. This type of filter can be created by selecting one or more bill
of material structures whose relationships and criteria are used to determine the parts returned by
the filter. For more information, see "Create a BOM filter" on page 193.
If you have been given full filter authoring permissions, you can create static-value and BOM filters, as well
as the following types of filters:
l Expression-based filters—Uses a query expression to determine which records are displayed in the
worksheet. This type of filter can be created by typing in a valid query expression or using
Expression Builder to define the items to be returned by the filter. These types of filters are typically
dynamic in nature (for example, you can create a filter that shows each buyer only those parts for
which he is responsible. For more information, see "Create an expression-based filter" on page 192.
l Site filters—Contains a list of sites, which are used to filter the worksheet. This type of filter can be
created by selecting one or more sites for which you want to analyze date (for example, you can
analyze data for a group of sites instead of a single site at a time). For more information, see "Create
a site filter" on page 198.
NOTE: Except for site filters, all filters are versioned and to modify the filter, it must be added,
check in, and checked out of the versioned repository.
1. On the File menu, point to New, and then click New Filter .
2. In the Filter name box, type a name for the filter.
3. In the Table list, click the table you want to base the filter on.
4. Optionally, add a description of the filter in the Author Notes box.
5. Click the Expression tab, and type a logical query expression in the box.
6. Click Validate Expression to determine if there are any errors in your expression.
NOTE: You can also add static values to your filter. Any values matching the expression or the
static values you enter are returned by the filter. For more information, see the RapidResponse User
Guide.
NOTE: Using profile variables, you can create a single filter that returns different records to
different users or groups. For example, a single filter could be built to return only those parts that
each individual buyer is responsible for. This would be more efficient than building a different filter
for each buyer. For more information, see "Profile variables" on page 1296.
TIP: You can also create a new filter by clicking New Resource on the RapidResponse toolbar,
or by right-clicking on a resource in the Explorer, and then clicking New.
TIP: You can also select fields, functions, and variables from a list in the Expression box. For more
information, see "Expression assistance and auto-completion" on page 1120.
TIP: You can also click Expression Builder to open the Expression Builder, which assists in adding
RapidResponse fields and operators to your expression. For more information about using
Expression Builder, see "Creating expressions with Expression Builder" on page 1117.
The following table contains examples that compare data values to strings of characters or numerical
values. For more information about the RapidResponse query language, see "Query language syntax"
on page 1115.
Displays all parts that contain the word 'wheel'. For example, wheel, wheels, Name like '*wheel*'
wheel cover, or steering wheel.
Displays all parts with a planner code that begins with 'Chris' and ends with a PlannerCode like
single character. For example, ChrisG or ChrisM. 'Chris?'
Displays all parts from the HQ, New York, or Germany sites. Site IN ('HQ', 'New
York', 'Germany')
Displays all parts with an ABC code value of 'A' from site HQ ABCCode = 'A' AND Site =
'HQ'
Displays all parts that do not have any on hand inventory. TotalNettableOnHand = 0
Displays all parts that have a lead time of five days or less. CumLeadTime <= 5
Displays all parts that have no supply and no on hand inventory, that is, the (TotalSupply +
sum of supply and inventory is zero. TotalNettableOnHand) = 0
Displays all parts that have a demand and supply mismatch, that is, if total TotalDemand <>
supply and total demand are not equal. TotalSupply
l Set A—set of parts to be used as the basis for the filter comparison. It is defined by selecting the
part(s) and site(s) whose BOM structures are to be evaluated by the filter.
l Set B—set of parts to be compared against the first set. It is similarly defined by selecting the part
(s) and site(s) whose BOM structures are to be evaluated by the filter. You can further specify only
parts whose BOM structures you specifically want excluded from the comparison (for example,
obsolete parts).
Once defined, the two sets of parts then have their BOM structures analyzed by the filter. If the filer is
set to return common parts, then only parts found within the BOM structures of both set “A” and set
“B” are returned. If the filter is set to return unique parts, then only parts found within the BOM
structures of set “A”, but not within the BOM structures of set “B” are returned.
NOTE: BOM filters are created by making a series of selections in the BOM Filter Settings dialog
box. These selections generate a query expression which can be seen on the Expression tab of the
Filter Properties dialog box. In certain advanced cases, you may want to copy some or all of this
expression for use elsewhere (however, you will then not to be able to see the selections which
generated the expression).
1. On the File menu, point to New, and then click New Filter.
2. Select the BOM filter check box, and then click Settings.
3. Click All parts in BOM.
4. In the A area, define the set of parts to be returned by the filter:
l From the Site list, select the site or site filter considered when this filter is applied.
l To return all parts belonging to a given BOM structure, click Part and then select a part from
the list.
1. On the File menu, point to New, and then click New Filter.
2. Select the BOM filter check box, and then click Settings.
3. Do one of the following:
l If you want the filter to return only parts found in the BOM(s) of both set “A” and set “B”, click
Common parts.
l If you want the filter to return only parts found in the BOM(s) of set “A”, but not in the BOM(s)
of set “B”, click Unique parts.
4. In the A area, define the first set of parts whose BOMs are used in the filter comparison:
l From the Site list, select the site, or site filter, for which parts are considered.
l To return all parts belonging to a given BOM structure, click Part and then select a part from
the list.
l To return all parts belonging to at least one in a group of BOM structures, click Parts in filter
and then select an appropriate filter from the list. For example, you might have a filter that
identifies all parts belonging to a specific product group.
5. In the B area, define the second set of parts whose BOMs are used in the filter comparison:
l From the Site list, select the site, or site filter, for which parts are considered.
l To return all parts belonging to a given BOM structure, click Part and then select a part from
the list.
l To return all parts belonging to at least one in a group of BOM structures, click Parts in filter
and then select an appropriate filter from the list.
l If you want certain parts excluded from this set, select the Exclude parts in filter check box
and then select a filter from the list. For example, you might have a filter that identifies all of
your company’s obsolete parts.
6. Set the effective date(s) for which BOM records are considered by the filter, by doing one of the
following:
l To use BOM records effective on a particular date, click On date, then click the down-arrow
and select a date from the calendar.
l To use BOM records effective over a range of dates, click From, then click the down-arrow and
from the calendar, select the start date of the range. in the To box, click the down-arrow and
from the calendar, select the end of the date range.
NOTE: If using the Exclude parts in filter option, you can click Confirm Excluded BOMs to verify
the number of BOMs excluded by that filter (as well as the total number of BOMs returned by the
selection from the Parts in filter list).
CAUTION: When defining an expression-based filter for subsequent use in a BOM filter, ensure it
does not include site references as these may lead to unexpected results (since sites are also
selected when creating a BOM filter).
Modify a filter
1. In the Explorer pane, select a filter to edit.
2. On the Actions menu, click one of the following:
l Edit if the filter is a private resource.
l Check Out and Edit if the filters is a public resource.
3. In the Filter Properties dialog box, do any of the following:
l On the General tab, you can rename the filter, change the table, or add author notes.
l On the Static Values tab, you can add or remove static values and if there is more than one
key field for the table, you can select a new value from the list.
l If you have permission to author all filter types, click the Expression tab, and then click add or
modify a logical expression. For more information, see "Create an expression-based filter" on
page 192.
l On the General tab, click the Settings button to modify the properties of a BOM filter. For
more information, see "Create a BOM filter" on page 193.
TIP: You can also open the Properties dialog for a filter by right-clicking on the filter in the
Explorer, or by selecting the filter and then pressing ALT + ENTER.
Each RapidResponse user must have access to at least one site to view data. Administrators control users’
access to data by granting permissions to sites. Sites are managed by RapidResponse data and system
administrators.
A user that has been given access to only one site does not have the option to change the Site setting in
a RapidResponse resource. In fact, the Site control does not display in the workbook toolbar. Here is an
example.
If the user has access to two or more sites, the Site control displays in the workbook toolbar. In this
example, the user has access to the Ottawa and Pittsburgh sites.
l United States
l Canada
l Mexico
l Japan
l China
You could create two site filters based on geography: North America (three sites) and Asia (two sites).
These two site filters could then be shared with every user in your organization.
However, a user having access to a site filter does not provide them with access to all the underlying
sites. Site filters respect RapidResponse data security settings. For example, a user might have access to
the United States and Canada sites. When the user applies the North American site filter, only United
States and Canada site-based data is returned. Data for the Mexico site is not returned.
1. On the File menu, point to New, and then click Site Filter .
2. In the Name box, type a name for the filter.
3. Click Add Sites.
4. In the Select Sites dialog box, select each site you want to add to the filter and then click Add.
5. Click OK.
6. Type descriptive notes about the filter in the Author Notes box.
TIP: You can also create a site filter by clicking New Resource on the RapidResponse toolbar,
or by right-clicking on a resource in the Explorer, and then selecting New.
TIP: You can search for a specific site by clicking inside the Sites box and typing the name of the
site you want to find. To close the search box that displays at the top of the dialog box, press ESC.
CAUTION: After saving a site filter with the shared check box selected, you cannot make the site
filter a private resource again.
1. In the Explorer, ensure that site filters are shown. You can do this by clicking to show
advanced filtering options, and then selecting Site Filters .
2. Select a site filter.
3. On the Actions menu, click Properties.
4. Add or remove sites from the filter as necessary. For more information, see "Create a site filter" on
page 198.
TIP: You can also modify a site filter by selecting it in the Explorer and then pressing ALT
+ ENTER.
Hierarchies are used to display data at different levels of detail within a workbook. For dashboard widgets
and scorecards, if the workbook they are based on has a hierarchy, then that hierarchy is accessible in the
widget or scorecard.
A hierarchy typically represents one aspect of your company’s data, such as product structures or
geographical regions. For example, you can create a product structure represented as a hierarchy with
levels for divisions of your company, product families, product lines, and individual parts. Any users with
access to this hierarchy can then use it to view data summarized by division, product family, and so on.
Each level in a hierarchy represents a field in the RapidResponse data model. The values in that field are
displayed in the hierarchy, listed under each higher-level entry that has a reference from that field to the
field representing the higher level. For example, consider the following hierarchy of product families.
Worksheet users can use the hierarchy to find and view only the information relevant to them. For
example, a demand manager can use the hierarchy to see summarized demand for the entire Product
division, the Brake product family, or each product line within the family.
Hierarchies are shown in the Explorer. After you create a hierarchy, you can share it with the users or
groups that require it. Those users and groups can then use the hierarchy in any workbook that
includes hierarchies.
For existing hierarchies, you can modify the name, description, order of levels, names of levels, or level
expressions. For more information, see "Create a hierarchy" on page 204.
Planning hierarchies
Before creating a hierarchy, you must determine the following:
To make the hierarchy applicable to your company’s data, you will likely require an administrator to
create custom tables and fields for you to use in the hierarchy. These fields might match the data in your
enterprise data source, or represent an internal process. For more information, contact your
RapidResponse administrator.
These custom tables define the divisions, product families, and product lines for each part. Expressions
that refer to these tables can be used to define the hierarchy levels. The custom fields and tables in this
example are created by using a reference from the ReferencePart table, which typically contains fewer
records than the Part table, and therefore consumes less memory. For a hierarchy based on the Part
table, each custom table can be reached by using a reference to the ReferencePart table.
For more information about your company’s custom tables, contact your RapidResponse administrator.
▶Create a hierarchy
TIP: You can also select fields, functions, and variables from a list in the Expression box. For more
information, see "Expression assistance and auto-completion" on page 1120.
▶Test a hierarchy
You can include the hierarchy panel in the workbook either when you are creating the workbook or by
modifying the workbook’s properties. For complete information about creating or modifying
workbooks, see "Authoring and managing workbooks" on page 215.
Some worksheets can include the selected hierarchy values as columns. For workbooks that contain
these worksheets, you can specify which hierarchies can be included as columns. You can specify that
only the first hierarchy in the workbook can provide columns, or every hierarchy. A hierarchy that inserts
columns into a worksheet can have only one value selected. For more information about using hierarchy
values in columns, see "Add columns based on a hierarchy" on page 285.
NOTE: If a workbook with the hierarchy panel is used without a hierarchy, the data displayed is
filtered only by the worksheet filter and other data viewing controls.
In the above example, the Reference Forecast row shows the reference forecast for the Cruiser product.
The values in this row are typically supplied by a sales or marketing team.
In the following example, the Reference Forecast row shows the reference forecast for all parts in the Off
Road product family that are supplied by the SOP supplier.
For more information about variables, see "System variables" on page 1301.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click New.
3. In the New Worksheet dialog box, in the Name box, type a name for the worksheet.
4. In the Table list, click ReferenceForecastDetail.
5. Click the Columns tab.
6. Click Add Fields, and then do the following:
l Select the Date field, and then click Add.
l Select the Quantity field, and then click Add.
l Click OK.
7. Click the Group tab.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click New.
3. In the New Worksheet dialog box, in the Name box, type a name for the worksheet.
4. In the Table list, click IndependentDemand.
5. Click the Columns tab.
6. Click Add Fields, and then do the following:
l Select the Due Date field, and then click Add.
l Select the Quantity field, and then click Add.
l Click OK.
7. Click the Group tab.
8. Select the Group data check box.
9. In the list of columns, specify the Group By grouping function for the Date column.
10. If the data in this worksheet is not intended to be editable, go to the next step.
Otherwise, click the Quantity column, click Data Editing, and then specify the editing properties
for this column. For more information, see "Enable editing for grouped data" on page 423.
11. Click the Filter tab.
12. Specify a filter expression that limits the worksheet to only the forecasts you want to display in
the worksheet.
13. Click OK.
14. Repeat this procedure for each forecast worksheet you want to use in the composite worksheet.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click the arrow beside the New button, and then click Composite Worksheet.
3. In the New Composite Worksheet dialog box, in the Name box, type a name for the worksheet.
4. Click Add, and then add the worksheets you created for the reference and other forecasts.
Workbooks serve as containers for groups of worksheets displaying related enterprise information. For
example, you might have a Customer Satisfaction workbook that has worksheets for all customer orders,
customer forecasts, late orders, and so on. Although RapidResponse includes a number of predefined
workbooks, these workbooks might need to be modified, or new workbooks created, to address your
company’s specific needs. If you have been granted the necessary permissions, you can create, modify,
import, and export workbooks.
Workbook Description
type
Standard A workbook used for everyday operations. These workbooks are typically used for displaying and
simulating changes to data, and can be made available to users who require them.
Library A workbook that contains component worksheets that are intended for reuse in other workbooks,
in the form of composite worksheets. Library workbooks can be linked to many workbooks, which
allows authors to update business logic in a library workbook and have that change proliferate to
all workbooks that are linked to the library workbook.
For more information, see "Library workbooks" on page 254.
Metric A workbook used by scorecards to calculate performance in specific areas of your company. Each
worksheet in a metric workbook defines a measurable area of your company’s business, and can
be reported in a scorecard.
For more information about metric workbooks, see "About metrics" on page 1077.
Data A workbook used to publish data to a data subscriber. You can create workbooks of this type only
Publish by copying an existing Data Publish workbook. These workbooks are applicable only if your
company has at least one subscriber defined. For more information, see the RapidResponse User
Guide.
You might need this type of workbook if your company started tracking responsibility in
Responsibility RapidResponse 2014.2 or earlier. For more information, visit help.kinaxis.com and view the
RapidResponse Administration Guide for RapidResponse version 2014.2.
Change A workbook that reports changes made to data in a monitored scenario. This option is available
data capture only to RapidResponse administrators. For more information, see the RapidResponse Web Services
Guide.
Step Description
Identify A workbook typically fulfills a specific business purpose. Once you determine what business
workbook purpose the workbook should fulfill, you must decide what type of workbook to create.
type Workbooks can be used for viewing, modifying, exporting, or importing data, or for comparing
data in scenarios. For more information, see "Workbook types" on page 216.
Workbooks used for importing data can be customized to receive data from Microsoft Excel, and
can be exported as Microsoft Excel files. These workbooks require special considerations at both
the workbook and worksheet level. For more information, see "Importing data" on page 685.
Create After you have determined what type of workbook is required, you can begin building the
workbook workbook.
For more information, see "Create a standard workbook" on page 218.
Add After you have created a workbook and added or created the appropriate worksheets, you can add
workbook to the it to the versioned repository. To make your private workbook publicly accessible to other
the users, it must first be added to the repository and then shared with users.
versioned For more information, see "Add a resource to the versioned repository" on page 108.
repository
Share Next, share the workbook with the users who require it.
workbook For more information, see "Share resources" on page 128.
Export If the workbook will be used to import data from Microsoft Excel, you can export it in Excel format.
workbook Data can then be entered into this Excel file, which can be imported into RapidResponse.
For more information, see "Export a workbook or worksheet to import Microsoft Excel data" on
page 689.
Creating workbooks
Standard workbooks are used to display and simulate changes to data. Used for everyday operations,
standard workbooks are shared with users and groups.
For more information on creating:
TIP: You can also create a workbook by clicking New Resource on the RapidResponse toolbar,
or right-clicking on a resource in Explorer and selecting New to open the list of resources you can
create.
1. In the New Workbook or Workbook Properties dialog box, click the General tab.
2. In the Scenarios area, select the Limit the available scenarios check box.
3. Click Scenarios.
4. In the Scenarios dialog box, do the following:
l To add scenarios to the scenarios available in this workbook area, select them from the list
on the left and click Add. Only shared scenarios are available; private scenarios cannot be
added to the scenarios available in this workbook.
l To remove scenarios, select them and click Remove.
5. When you are satisfied with the list of scenarios available in this workbook, click OK.
6. If you want users to also be able to use child scenarios of the selected scenarios available in the
workbook, select the Include child scenarios check box, and then select whether you want to
allow only the user's private scenarios, or both private and shared scenarios.
NOTE: Selecting the Limit the available scenarios check box does not limit the scenarios that you
can specify as comparison scenarios in multi-scenario worksheets. For example, you could make
only the Approved Actions scenario available in the workbook, and then specify Yesterday as the
comparison scenario. For information about selecting the comparison scenario, see "Select the
comparison scenario" on page 220.
NOTE: When you fix the number of scenarios for multi-scenario worksheets to exactly the number
of scenarios that you have made available, users will not be able to select the scenarios to use on
multi-scenario worksheets. However, they will be able to use the scenario controls to change the
order in which the scenarios display in the worksheet. For information about fixing the number of
scenarios, see "Select the comparison scenario" on page 220.
NOTE: Even if you hide the scenario controls, if the workbook includes a multi-scenario worksheet
that compares the available baseline scenario to a second scenario, the users will see the names of
both scenarios in the column headers of the worksheet.
1. In the New Workbook or Workbook Properties dialog box, click the General tab.
2. In the Scenario comparison area, click one of the following:
l Allow user to select scenarios—the users can add as many scenarios as they want to
compare.
l Compare user's selected scenario to—the user's selected scenario is compared to one other
scenario, which you specify.
3. If you clicked Allow user to select scenarios in step 2 and want to fix the number of scenarios
allowed in the worksheet, do the following:
l Select the Fix the number of scenarios to check box.
l In the box, type or select the number of scenarios to use in the workbook. If you have limited
the number of scenarios in this workbook, this number cannot be lower than the number of
scenarios that you have made available.
NOTE: For more information about scenario compare worksheets, see "Creating multi-scenario
worksheets" on page 265.
Option Description
Show Specifies whether the workbook help is displayed the first time a user opens the workbook. Help is
workbook displayed in a pane on the right side of the workbook, and users can choose to view either the help
help for the workbook or for the active worksheet. For more information, see "Adding help to
workbooks and worksheets" on page 333.
l To display workbook and worksheet help when a user opens the workbook, select the Show
workbook help check box.
Require user Specifies whether users are required to specify data settings when they open the workbook. This
to select allows the user to choose the worksheet, filter, and site they need to view data.
data If you do not prompt for data settings, the filter, site, and so on the user had selected previously is
settings used when they open the workbook.
l To prompt users to specify data settings when they open the workbook, select the Require user
to select data settings check box.
Hide single Specifies whether the worksheet name is displayed if the workbook contains only one worksheet in
worksheet its top pane. You can use this to create a simplified workbook and to maximize viewing space. An
tab example of a worksheet with a hidden tab is shown in the following illustration.
This option is available only if the workbook layout is locked and the setting only applies to
Standard, Responsibility, and Change Data Capture workbooks.
l To hide the name of a single worksheet in the top pane of the workbook, select the Hide single
worksheet tab check box.
Currency Specifies the currency used to calculate, insert, and display Money values in worksheets. If your
RapidResponse system supports more than one currency, you can specify a currency for the
workbook if you want to ensure all worksheets in the workbook display the same financial data,
and to reduce loss of precision from performing conversions between multiple currencies.
You can also specify different currencies for worksheet columns, and you can allow users to
specify a currency for inserting records.
If your RapidResponse system supports only one currency, only that currency and the user's
preference are available for the workbook currency. In this case, both options specify the same
currency. For more information, see "Specify the currency for a workbook" on page 224.
l To display each user's preferred currency in the worksheets, select User setting in this list.
Allow user Specifies if the user can change the default currency. When this option is selected, the currency
to choose the user select is also used in other workbooks the user opens. For more information, see "Specify
currency the currency for a workbook" on page 224.
l To allow users to change the default currency, select Allow user to choose the currency.
Warn users Specifies whether the users will be signaled to potential out of date data in a worksheet. Users
when should manually refresh the worksheet when they are warned that the data might be out of date.
worksheet For more information, see "Specify workbook refresh options" on page 243.
data might l To warn users or potentially outdated data, select Warn users when worksheet data might be
be out of out of date.
date
1. In the New Workbook or Workbook Properties dialog box, click the General tab.
2. In the Currency list, select the currency you want to use for calculating money values and
displaying money data.
TIP: To view information about the selected currency, click the button.
1. In the New Workbook or Workbook Properties dialog box, click the Filtering tab.
2. Ensure the Include the Filter control check box is selected.
NOTE: You can also specify that a workbook always open with a given filter selected.
1. In the New Workbook or Workbook Properties dialog box, click the Filtering tab.
2. Do any of the following:
l To specify a filter the workbook always opens with, select the Always open this workbook
with filter check box, and then select a filter from the list.
l To include an item control in the workbook, select the Include the item control (for
example, Part control) check box.
l To include the hierarchy panel in the workbook, select the Include the hierarchy panel check
box.
l To include the site control in the workbook, select the Include the Site control check box.
CAUTION: If you do not select the Include the Site control check box, users are able to view data
from sites they do not have access to. To ensure users can view only the data they should have
access to, select this check box.
NOTE: If the workbook always opens with a specific filter, ensure the filter is shared with all users
who have access to this workbook.
NOTE: If you select the Include the item control (for example, Part control) check box, the
Include the Site control check box is automatically selected for you.
1. In the New Workbook or Workbook Properties dialog box, click the Filtering tab.
2. Select the Show label check box.
1. In the New Workbook or Workbook Properties dialog box, click the Filtering tab.
2. Clear the Include the Filter control check box.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click the type of variable you want to create.
3. In the New Variable dialog box, do the following:
l In the Name box, type a name for the variable.
l In the Description box, type a description of what the variable represents.
l If you do not want users to be able to specify a value for this variable, clear the Available to
users check box.
l If you want the variable to be visible on the workbook toolbar, select the Add to workbook
toolbar check box.
This option is available only for List, Date, and Boolean variables.
l Optionally, to show the variable's label on the workbook toolbar, select the Show label on
toolbar check box.
This option is available only for List and Date variables.
4. Specify the minimum, maximum, and default values (for Quantity variables), the default value (for
Date or Text variables), the list values and default value (for List variables), or the true and false
values (for Boolean variables).
5. Click OK.
NOTE: For complete information about creating workbook variables, see "Workbook variables" on
page 1262.
NOTE: Boolean, List, and Data variables might display in the data settings pane of a dashboard if
they are added to the workbook toolbar.
▶Copy a variable
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Select the variable you want to copy.
3. Click Copy.
4. In the New Variable dialog box, specify a unique name for the new variable, and then specify its
values.
TIP: If there are already variables defined in another workbook that you want to use, you can copy
them to the current workbook by adding a copy of any worksheet that references them as
discussed in "Add a copy of a worksheet from another workbook" on page 234. The variables then
become available the current workbook's Variable tab and are available for use. If you
subsequently delete the copied worksheet, the variables are preserved.
▶Change the order of variables and action buttons on the workbook toolbar
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Drag the variables or action buttons up or down in the list.
The variable or action button at the top of the list appears first on the workbook toolbar.
▶Edit a variable
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the variable you want to edit, and then click Edit.
3. In the Variable Properties dialog box, make the required changes.
4. Click OK.
▶Rename a variable
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the variable you want to rename, and then click Rename.
3. In the Rename Variable dialog box, type the new name for the variable.
4. Click OK.
NOTE: When you rename the variable, the name is automatically updated in all expressions and
drill mappings that use the variable.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the variable you want to remove.
3. Click Delete.
If the variable is used in worksheets, you are given a list of worksheets that use the variable. You
must remove the variable from expressions in these worksheets, otherwise users will not be able
to view data in the worksheets.
4. Click OK.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the variable for which you want to view usage information.
3. Click Usage.
l Activity
l FlatBillDown
l FlatBillUp
l InventoryAnalysis
l InventoryCTPAnalysis
Variables you create for customizing analytic calculations must have names that match the analytic
parameters. These variables do not have to be used in worksheets. If you want the workbook to always
calculate the analytic using the same parameter values, you can choose to not allow users to modify the
value by making the variable unavailable to them.
For information about the parameter values and variable names required to configure calculations, see
"Configuring analytic calculations using parameters" in the RapidResponse Analytic and Data Model Guide.
For more information about creating variables, see "Workbook variables" on page 1262.
Boolean Select the variable's True or False value from the Value list.
Date Either type the date in the Value box or click the down arrow to select the date from the
calendar.
If you set a value in the button, but the variable is subsequently modified, any invalid values are marked
with the red X icon. For example, if you have specified a 'True' value for a Boolean value, but the
variable's values are modified to be 'Yes' and 'No', the 'True' value is no longer valid. You cannot save the
workbook with invalid values specified in an action button. Only variable types that are specified by
selecting a value are validated in the action button. For example, if you specify a value for a text variable,
that value is not validated.
If you rename a variable, it is automatically renamed in the button, however, if you delete a variable, you
must also manually remove it from the button.
For an example of using an action button to set variable values, see "Example: Hiding worksheets using
an action button" on page 1291.
NOTE: Action buttons are not compatible with metric worksheets. If you add a metric worksheet
to a workbook with an action button, the button is removed from the toolbar.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click Action Button.
3. In the Name box, type a name for the button.
4. In the Label box, optionally type a label to display on the button. If you do not specify a label, the
value you specified in the Name box is used.
5. In the Description box, type information about what the button does.
NOTE: The value you specify for the variable must be valid, otherwise it is not set when the button
is clicked. For example, a value for a quantity variable must be within the valid range specified in
the variable.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the action button you want to copy.
3. Click Copy.
4. In the New Action Button dialog box, in the Name box, change the name of the action button.
5. Modify any of the action button's properties.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the action button you want to edit.
3. Click Edit.
4. Do any of the following:
l In the Label box, change the button's label.
l In the Description box, change the button's description.
l In the Set variables list, modify the values for the variables.
l Click Add to add a new variable to the button.
5. Click Remove to remove the selected variable from the variables set by the button.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the action button you want to rename, and then click Rename.
3. In the Rename Action Button dialog box, type the new name for the action button.
4. Click OK.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click the action button you want to remove.
3. Click Delete.
l Table-based —The data displayed in the worksheet is obtained from a table in the
RapidResponse database.
l Composite —The data displayed in the worksheet is obtained from one or more other
worksheets.
l Transformation —The data displayed in the worksheet is calculated by a mathematical or
statistical function.
l Treemap — Displays a treemap visualization of data obtained from a source worksheet.
l Controller —Displays one of several potential other worksheets based on specified conditions
being met.
l Reference—Displays a worksheet based in a source workbook that has been added as a
referenced workbook dependency.
Worksheets can be specified as hidden, and either remain always hidden from users or be hidden only
some of the time, displaying to users under certain conditions. All types of hidden worksheets are visible
when you are creating or modifying a workbook. For more information about the different ways to hide
worksheets, see "Creating hidden worksheets" on page 271.
As of Version 9.2, the RapidResponse client hides all tables and fields associated with optional modules
that have not been enabled by your company. As such, workbook authors do not have access to tables
and fields that have not been enabled. Workbook authors cannot create a report based on a table that
has not been enabled or use a field that references a table that has not been enabled.
Worksheets based on tables that have not been enabled cannot be edited except for presentation
attributes such as column headers, sorting, grouping, worksheet help, and fonts. Column expressions
cannot be modified, and columns cannot be added or deleted.
For complete information about creating and formatting worksheets, see "Authoring worksheets" on
page 257.
NOTE: You can continue to use tables and fields that have not been enabled , and edit
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Do one of the following:
l To create a table-based worksheet, click New, and then click Worksheet (Table-based).
l To create a composite worksheet, click New, and then click Composite Worksheet.
You can create a composite worksheet only if the workbook contains at least one table-
based worksheet.
l To add a reference worksheet, see "Add a reference worksheet" on page 547.
l To create a transformation worksheet, click New, and then click Transformation Worksheet.
You can create a transformation worksheet only if the workbook contains at least one other
worksheet.
3. In the New Worksheet, New Composite Worksheet , or New Transformation Worksheet
dialog box, define the worksheet's properties. For more information, see "Create a table-based
worksheet" on page 347, "Create a composite crosstab worksheet" on page 486., or "Create a
transformation worksheet" on page 820.
NOTE: You can only add a reference worksheet if the workbook already has a referenced
workbook dependency. For more information, see "Add dependencies to workbooks" on page
247.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click the worksheet after which you want to insert the new pane.
3. Click New, and then click Tab Group.
NOTE: All worksheets located after the new pane display in that pane.
NOTE: You can insert only a horizontal pane. However, if the worksheet already contains a vertical
pane, the pane you insert will also be a vertical pane.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. In the worksheet list, click the worksheet you want to copy.
3. Click Copy, and then click Selected Worksheet.
4. In the Copy Selected Worksheet dialog box, type a name for the new worksheet, and then click
OK.
NOTE: The worksheet is always inserted immediately following the worksheet you copied.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. In the worksheet list, click the worksheet after which you want the new worksheet to be inserted.
3. Click Copy, and then click Worksheet from Other Workbook.
4. In the Copy Worksheets dialog box, select the worksheet you want to copy.
5. Click Copy.
6. Repeat steps 4 and 5 for any other worksheets you want to copy.
7. Click OK.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Ensure the first worksheet in each pane of the workbook is the one you want displayed each time
the workbook is opened.
3. Select the Always open the first worksheet check box.
NOTE: If a workbook with the Always open the first worksheet check box selected is shared with
other users, users can still re-order worksheets and create panes, however, they cannot save
these changes.
NOTE: If the first worksheet in the workbook is hidden, the first visible worksheet is opened.
▶Delete a worksheet
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Select a worksheet, and then click Delete.
NOTE: You can also change the order in which worksheets display in a workbook. For more
information, see "Format worksheet appearance" on page 301.
l Export data from multiple RapidResponse worksheets to one Microsoft Excel worksheet,
l Customize the worksheet names in the Microsoft Excel file.
l Customize the placement of data in the Microsoft Excel worksheets.
l Add charts, graphics, and so on to customize the appearance of the report
When creating a report template file, you must specify where in the Microsoft Excel worksheet the
RapidResponse data is exported. You can do this by naming a range to match the worksheet identifier
of the RapidResponse worksheet, as shown in the following illustration.
In this example, the RapidResponse worksheet with identifier 'MonthForecast' is exported into the
Microsoft Excel worksheet, with the top left cell of the RapidResponse worksheet placed in cell B3.
You can name additional ranges to export multiple RapidResponse worksheets into one Microsoft Excel
worksheet, and then add graphics, titles, charts, or other customizations to the template to create the
report. An example of a report created from a template is shown in the following illustration.
NOTE: For workbooks, you can only export data from worksheets that are always visible or
conditionally visible.
CAUTION: Do not create more than one named range on one row of the Microsoft Excel
worksheet. This can cause worksheet data to overwrite data from other worksheets. You must
create named ranges on different rows.
NOTE: When data is exported into the worksheets specified by the report template, the entire
worksheet is inserted. If the Microsoft Excel worksheet contains named ranges on different rows,
new rows are inserted to ensure the data from the second worksheet is inserted properly.
1. In the New Workbook or Workbook Properties dialog box, click the Exporting tab.
2. Click Attach Template.
3. Navigate to the location where you saved the report template file.
4. Click the report template file, and then click Open.
NOTE: Users can modify only the file name when they export data using the template.
1. In the New Workbook or Workbook Properties dialog box, click the Exporting tab.
2. Click Export Template.
3. Navigate to the location you want to save the report template file, and then click Save.
4. Do not close the New Workbook or Workbook Properties dialog box.
5. Open the template file in Microsoft Excel, and then make the modifications you want.
6. Save your changes, and then return to RapidResponse.
7. On the Exporting tab, click Attach Template.
8. Navigate to the location where you saved the report template file.
9. Click the report template file, and then click Open.
TIP: In Microsoft Excel, if you want to modify or delete a named range, press CTRL+F3 to open the
Name Manager dialog box.
1. In the New Workbook or Workbook Properties dialog box, click the Exporting tab.
2. Click Remove Template.
To add assumptions, the workbook's filter compatibility must be with a table that is compatible with one
of the assumption tables, such as one of the following:
l Constraint
l Part
l PartCustomer
l PartSource
The workbook must also include the filter control on the workbook toolbar and include the hierarchy
panel. For more information, see "Specify workbook filtering options" on page 225 and "Include the
hierarchy panel in a workbook" on page 205.
Allowing assumptions are part of the workbook's extended configuration, and is available only if the
workbook includes the filter control and the hierarchy panel. If the workbook is modified to not include
these, the assumptions are also removed.
For more information on how to create or review an assumption, see the RapidResponse Applications
Guide.
1. In the New Workbook or Workbook Properties dialog box, on the Filtering tab, ensure the
Include Filter control and Include hierarchy panel check boxes are both selected.
2. On the General tab, click Advanced.
3. Click the Extended Configuration tab.
4. Select the Allow assumptions check box.
5. Optionally, in the Limit records associated with a new assumption using filter expression box,
create an expression to control the records that the assumption can be created on.
6. Click Validate Expression to determine if there are any errors in your expression.
TIP: You can also click Expression Builder to open the Expression Builder, which assists in adding
RapidResponse fields and operators to your expression. For more information about using
Expression Builder, see "Creating expressions with Expression Builder" on page 1117.
Managing workbooks
You can modify many properties of your private workbooks and any public workbooks that you own
and have checked out from the versioned repository. You cannot edit public workbooks that were
created by other users, or workbooks that are defined to do automatic data modification.
If you have unsaved data changes in any worksheet in the workbook, you must save them before you
can modify the workbook properties or activate design mode.
If you have modified any of the worksheet display settings, such as selecting a filter or changing a
column’s width, you are prompted to save these changes in the workbook definition when you either
activate design mode, open the workbook’s properties, or save a copy of the workbook. You can choose
one of the following options:
l Yes—Saves all of your worksheet display customizations, such as column widths, data settings,
chart settings, and so on, in the workbook definition. Every workbook user will see these settings
in the workbook.
l No—Ignores your worksheet display customizations. Only you will see these settings in the
workbook.
l Cancel—Cancels the workbook modification and either exits design mode or does not save the
copy of the workbook.
If you are modifying a shared workbook, it is recommended that you first make a private copy of the
workbook (with the same name as the shared workbook), and make your changes there. If the
workbook contains linked workbooks, you should create a private copy of each linked workbook as well.
When you are satisfied with the changes, you can then share the modified workbook, which shares each
of the linked workbooks as well, and overwrite the previously shared version. For information about
linked workbooks, see "View workbook dependencies" on page 252.
If you are working in a RapidResponse system with version control turned on, different steps are
required to modify a public workbook. For more information, see "Editing a public resource" on page
111.
NOTE: You can also edit the workbook and then use the Save Workbook As command to save
the modified workbook with the same name, which creates a private copy of the workbook.
NOTE: If you edit a shared workbook, the users with access to the workbook do not see your
edits until they reset their workbook layout. You should contact the users and instruct them to
reset their workbook after you finish your edits.
TIP: You can also access the Workbook Properties dialog box by selecting a workbook in the
Explorer, and then either clicking Properties on the Actions menu or pressing ALT + ENTER.
However, changes made when accessing the Workbook Properties dialog box in this manner are
not visible until the next time the workbook is opened. This option is not available for any
workbook that is already open.
TIP: To save a workbook as you are editing it, press CTRL + S. It is recommended that after you
are finished your edits, return and add comments for the changes in the workbook's version
history.
Once you have made your changes to the resource, you need to save (or discard) them before exiting
design mode.
NOTE: You cannot activate design mode if you have unsaved data changes in any worksheets in
the open workbook.
NOTE: If you have re-ordered the columns in a workbook, the columns return to their default
order when you enter design mode. If you do not make any changes to the workbook, your
custom column order is restored when you exit design mode.
TIP: For an open workbook, you can click Design Mode on the workbook toolbar. If the
workbook is a public resource, you are asked if you want to check out the workbook to modify it.
Selecting yes automatically opens the private copy of the checked out public workbook.
l In the New Workbook or Workbook Properties dialog box, on the General tab, select Require
users to manually refresh worksheet data.
NOTE: When you have selected to have a worksheet automatically calculate as users move
between rows or cells, you cannot set the workbook to manually refresh if Automatically
calculate in all worksheets is selected. For more information, see "Automatically update
calculated fields" on page 396.
NOTE: You can only retrieve predefined workbooks if your administrator has granted you
permission to do so.
TIP: You can select multiple workbooks by holding CTRL and then clicking each workbook you
want to select, or by clicking the first workbook, then holding SHIFT and clicking the last
workbook you want to select.
NOTE: You can modify the workbook before saving a copy of it with a different name.
Modifications are saved in the new workbook and not in the original.
NOTE: If you use the Save Workbook As command with a shared workbook and do not type a
different name, a private copy of the shared workbook is created.
NOTE: The name of the new workbook must be unique. You cannot use the Save Workbook As
command to overwrite a private workbook.
l Drill to details workbook—allows you to define links from a column, variable, or workbook filter in
one worksheet to detailed records in another workbook. For more information, see "Creating drill
dependencies and links" on page 663.
l Referenced workbook—allows you to use a worksheet from a source workbook in other
workbooks. The reference worksheet is maintained in the source workbook and all instances of it
are updated when the worksheet is updated in its source workbook. For more information, see
"Creating reference worksheets" on page 547.
l Library workbook—allows you to reuse content from a worksheet in a library workbook. For more
information, see "Library workbooks" on page 254.
Using a workbook dependency can be part of a process flow where users follow drill to details links
starting from one workbook where they view data at a high level, and then drill down to worksheets in
other workbooks to access increasingly more detailed data.
For example, in the following illustration, a chart in a dashboard shows monthly gross margin data.
When a link is followed by clicking one of the bars in the chart, a new workbook opens with a treemap
worksheet showing specific customer and part-based margin data for the selected month. And, when a
link is followed from one of the sections in the treemap, a new workbook opens with a tabular
worksheet showing detailed margin data, filtered down to the relevant part and customer.
When you link a form to a workbook, you can then use that form in a workbook command or as a drill
link. For example, in the following illustration, a dependent workbook was used to create a drill link that
opens a form to edit a worksheet record.
1. In the New Workbook or Workbook Properties dialog box, click the Dependencies tab.
2. Click Add.
3. In the Add Dependency dialog box, select Form.
4. From the Form list, select the form you want to add as a dependent resource.
5. To make the dependency optional, clear the Required check box.
6. Optionally, edit the form link identifier in the Reference ID field.
7. To map controls from the dependent form to any workbook variables, select the Map controls in
the form to this workbook check box. For more information, see "Map form controls to workbook
variables" on page 251.
1. In the New Workbook or Workbook Properties dialog box, click the Dependencies tab.
2. Click Add.
3. In the Add Dependency dialog box, select Workbook.
4. Click the type of workbook dependency to add:
l Drill to details workbook
l Referenced workbook
l Library workbook
5. From the Workbook list, select the workbook you want to add as a dependent workbook.
6. To make the dependency optional, clear the Required check box.
7. Optionally, edit the workbook link identifier in the Reference ID field.
8. To map variables between the dependent workbook and the current workbook, select the Map
variables in the dependent workbook to this workbook check box. For more information, see
"Map variables between dependent workbooks" on page 249.
NOTE: You can only add drill to details, referenced, and library workbook dependencies that use
the same filter table.
NOTE: When you add a Drill to details or Library workbook dependency that uses a filter control
to a workbook that does not have a filter, data might not filter as expected when users view the
dependency. To prevent unexpected filtering, you can remove the filter from the dependent
workbook or remove the workbook dependency.
NOTE: Remove the filter in the dependent workbook to prevent the potential for unexpected
data filtering.
NOTE: Some workbooks upgraded from RapidResponse 2013.4 might display a linked workbook
dependency option. For more information, see "About linked workbooks" on page 253.
TIP: You can also make dependent workbooks optional or required by clearing or selecting the
check box in the Required column in the Dependencies tab.
TIP: Administrators can also configure the workbook link menu for worksheets that include part,
reference part, constraint, project, or work center columns. For more information, see
"Customizing the workbook link menu" in the RapidResponse Administration Guide.
1. On the Dependencies tab of the Workbook Properties dialog box, select the dependent
workbook whose variables you want to map.
You can only map form controls to workbook variables that are of a compatible data type. The table
below outlines the controls compatible with each type of workbook variable.
Number Quantity
Date Date
After you define the mapping between form controls and workbook variables, you can use the
dependent form in a workbook command or as a drill to details resource. For more information, see
"Create commands that open a form" on page 734 and "Creating drill dependencies and links" on page
663.
NOTE: Scenario and file controls cannot be mapped to any workbook variables.
1. On the Dependencies tab of the Workbook Properties dialog box, select the dependent form
you want to map controls from.
2. Click Edit.
3. Select the Map controls in the form to this workbook check box.
All controls in the form that can be mapped are listed. This list cannot be modified.
4. For each control you want to map, make a selection from the Variable in This Workbook list.
Only workbook variables of a data type compatible with the form control being mapped display in
the list.
If you have permission to modify these resources or are using them as a template to create new
workbooks, be aware that:
l Clearing Include workbooks with an incompatible filter table or Linked workbook and then
saving the workbook permanently removes that option from that workbook.
l Keeping Include workbooks with an incompatible filter table checked and selecting another
unrelated workbook retains that option for that workbook.
l Selecting another workbook to add as a linked workbook and saving the workbook will retain the
linked workbook option for that workbook.
Library workbooks contain worksheets that are intended for use in worksheets in other workbooks,
called target workbooks. Worksheets in library workbooks are not intended for direct use by
RapidResponse users; rather, they act as a source for business logic and calculations that can be used
across multiple target workbooks, in the form of table-based, composite, and transformation
worksheets. Library workbooks can only be opened by the workbook owner or a RapidResponse
administrator.
Unlike standard workbooks, when you update a worksheet in a library workbook, the change is applied
to all target workbooks that use a worksheet from the workbook. This eliminates the need to manually
reapply the change in each affected worksheet, and reduces the possibility of error.
For example, if you have a requirement for multiple workbooks in which forecast values are entered at
an aggregate level, and you want the same disaggregation rates applied to each workbook, you can
create a spreading worksheet in a library workbook that defines how inserted records are spread when
values are entered at the aggregate level. You can then use this worksheet in each forecast value
workbook.
Library workbooks can also be used to maintain one core worksheet that can be tailored to different
groups or users. For example, you can create a component worksheet in a library workbook that
displays demand orders with late supplies. You can then create a target workbook for demand planners
that uses this worksheet in a composite worksheet that also displays unit costs and part customers, and
NOTE: Once a library workbook has been added as a dependency to another workbook,
renaming or deleting the library workbook and changing the workbook type breaks the
dependency, resulting in an error when a workbook user attempts to view library worksheets in
the target workbook. When you make any of these changes to a library workbook that has been
added as a dependency, a warning message appears listing the affected target workbooks.
Worksheets are similar to spreadsheets and are used to view, and in some cases, edit data in the
RapidResponse database. Worksheets can be added to workbooks you created, or to any of the
predefined workbooks included with RapidResponse. For more information, see "Retrieve predefined
workbooks" on page 244.
Worksheets can be one of the following types:
l Table-based—The data displayed in the worksheet is obtained from a table in the RapidResponse
database. For more information, see "Creating table-based worksheets" on page 343.
l Composite—The data displayed in the worksheet is obtained from one or more other worksheets.
For more information, see "Creating composite worksheets" on page 467.
l Transformation—The data displayed in the worksheet is obtained from a mathematical or statistical
function. For more information, see "Creating transformation worksheets" on page 743.
l Treemap — Displays a treemap visualization of data from a source worksheet, which helps users
detect the root cause of problem areas in a hierarchical data set. For more information, see "About
treemap worksheets" on page 522.
l Controller—Used to display other, typically related, worksheets within a single worksheet view
where query expressions define the conditions that determine which worksheet displays at a given
time. For more information, see "Creating controller worksheets" on page 551.
l Reference—Displays a worksheet from a another workbook. The worksheet is maintained in its
source workbook and can be used in multiple standard workbooks. For more information, see
"Creating reference worksheets" on page 547.
Depending on the type of workbook you create, different types of worksheets are available to you.
Some worksheet types can be created only if you have created at least one other worksheet in the
workbook. For information about the types of workbooks you can create, see "Workbook types" on
page 216.
Transformation Standard, Metric, and Another worksheet exists to be used as input to the
Responsibility transformation function.
workbooks.
Treemap All workbook types. Another worksheet exists to be used as a source worksheet,
either in the same workbook or from a linked workbook.
Table-based, composite and transformation worksheets can provide a list of records, which can be
viewed either as a table or a form, or can provide a horizontal summary of data grouped by similar
criteria (such as dates), called a crosstab worksheet. For more information, see "Creating crosstab
worksheets" on page 399.
Worksheet processing
Data displayed in worksheets is taken from tables, processed, and then formatted for display. The order
of processing steps is provided below. You can use this information to determine when a particular
processing step is performed, and apply settings at the step where it has the most benefit.
Each step in this process either calculates data values or limits the number of records used in
calculations. By reducing the number of records, the calculations can be performed faster, improving
worksheet performance. If you intend your worksheet to display a limited set of records, you should use
the worksheet filter to remove the records you do not want. If you remove the unwanted records using
a worksheet search, all records are used to calculate the column values and then filtered out, which can
result in decreased performance from processing a large number of records.
l A brand owner who outsources manufacturing might need to see supply or demand data in
RapidResponse by either their part number or the contract manufacturers part number. In this
situation, the contract manufacturer may store their part numbers in the Part table and the brand
owners part numbers in the ReferencePart table, before publishing the data to the brand owner.
l Any manufacturer might want to cross-reference two or more parts to show they are really the
same part. For example, if company divisions have different part naming conventions.
l A worksheet author might want to remove the impact of the Site key from parts (that is, treat all
parts with the same value in the Name field as one part). This is accomplished by cross-referencing
all the identical Part name values to a single common value in the ReferencePart table.
If you want to display reference part data in a worksheet, ensure the following:
Edit a worksheet
You can edit the properties of worksheets and columns in your private workbooks, or worksheets and
columns in public workbooks that you own and have checked out. For example, you can add or remove
columns, or apply formatting to the data in a worksheet. You cannot edit a workbook that is defined to
do automatic data modifications.
l Yes—Saves all of your worksheet display customizations, such as column widths, data settings,
chart settings, and so on, in the workbook definition. Every workbook user will see these settings
in the worksheet.
l No—Ignores your worksheet display customizations. Only you will see these settings in the
worksheet.
l Cancel—Cancels the workbook modification and exits design mode.
When you edit a worksheet, it is important to view it's resource dependencies to understand the impact
editing the worksheet might have on other resources. For more information, see "View worksheet
dependencies" on page 341.
1. For a worksheet in a private workbook, continue to step 2. If the workbook is a public resource,
you must first check it out of the versioned repository, For more information, see "Check out a
resource from the versioned repository" on page 111.
2. Open a workbook, and select the worksheet you want to edit.
3. If necessary, save data changes in any worksheets.
4. Optionally, on the View menu, click Design Mode.
5. Do one of the following:
l On the File menu, point to Properties and then click Worksheet Properties.
l On the toolbar, click Workbook Properties , and then click Worksheet Properties.
6. In the Worksheet Properties dialog box, make any of the following changes:
l Rename the worksheet. For more information, see "Rename resources" on page 128.
l Add or remove columns. For more information, see "Add and remove columns" on page 358.
l Rename columns. For more information, see "Define column headers" on page 299.
l Sort column data. For more information, see "Sort columns" on page 370.
l Group column data. For more information, see "Group column data" on page 382.
l Add column totals. For more information, see "Add column totals and subtotals " on page
377.
l Modify worksheet filtering options. For more information, see "Worksheet filtering" on page
386.
l Show or hide the worksheet.For more information, see "Creating hidden worksheets" on
page 271.
l Format column data. For more information, see "Formatting worksheet and column data" on
page 291.
l Modify worksheet help or column help. For more information, see "Add worksheet help" on
page 335 and "Add column help" on page 339.
NOTE: You can also change aspects of the worksheet’s appearance. For more information, see
"Format worksheet appearance" on page 301.
NOTE: Administrators can edit the properties of worksheets in any shared workbook.
Settings for multi-scenario data happens at the workbook and worksheet levels. Access to scenarios is
determined at the workbook level, where you specify whether the worksheets display multiple scenarios
specified by the workbook user or just two different scenarios. When only two scenarios are specified
for the worksheet, data in one scenario, either the user's selected scenario or a scenario specified by the
author, is set as the baseline against which data in the other scenario is compared. For more
information, see "Specify comparison options in a workbook" on page 269.
The scenario specified in the workbook can be any scenario the user has access to, including the parent
of the user's selected scenario. For more information, see "Select the comparison scenario" on page 220.
At the worksheet level, data columns are set to display multi-scenario data. For each multi-scenario
column added to a worksheet, you can further specify how data in the comparison scenario is displayed
relative to the baseline scenario. For more information, see "Determine the records shown in a scenario
compare worksheet" on page 269.
The comparison scenario columns can show actual values, the differences between the baseline
scenario and the comparison scenario, or the percentage difference, as discussed in "Add and remove
columns" on page 358.
You can include all records in the worksheet, or only records that differ between scenarios. For example,
if users are simulating a response to a change they might want to see only new problems introduced by
a particular course of action. For more information, see "Specify options for multi-scenario worksheets"
on page 269.
You can use multi-scenario columns in both component and composite worksheets. For more
information, see "Create a composite worksheet" on page 483.
NOTE: You cannot sort a worksheet by a multi-scenario column. You should indicate which
columns cannot be sorted in the worksheet help.
Any worksheet that contains multi-scenario data is for display only, because it cannot be used to edit,
delete, or insert data.
If conditional formatting is applied to a multi-scenario column, the same formatting is applied to both
the baseline scenario and the comparison scenarios.
NOTE: In some cases, you might want a multi-scenario column to show only those records where
the difference between the baseline scenario and the comparison scenario is beyond a certain
level. This can be accomplished using a worksheet search as discussed in "Add a worksheet
search" on page 288.
NOTE: If you bring a multi-scenario column into a composite worksheet from a component
worksheet, the composite worksheet contains the same multi-scenario column. You can modify
the multi-scenario settings in the composite worksheet if you want the multi-scenario data
displayed differently. For more information, see "Specify multi-scenario columns in a composite
worksheet" on page 491.
NOTE: Multi-scenario columns can also be added to crosstab worksheets. For more information,
see "Create a multi-scenario crosstab worksheet" on page 403.
NOTE: For an introduction to creating multi-scenario columns in worksheets, see "Creating multi-
scenario worksheets" on page 265.
1. In the New Workbook or Workbook Properties dialog box, click the General tab.
2. In the Scenario comparison area, select the comparison scenario by clicking one of the following:
l Allow user to select scenarios—the users can add as many scenarios as they want to
compare.
l Compare user's selected scenario to—the user's selected scenario is compared to one other
scenario, which you specify.
3. If you clicked Allow user to select scenarios in step 2 and want to fix the number of scenarios
allowed in the worksheet, do the following:
l Select the Fix the number of scenarios to check box.
l In the box, type or select the number of scenarios to use in the workbook.
4. If you clicked Compare user's selected scenario to in step 2, select the comparison scenario by
clicking one of the following:
l Parent scenario—the user’s selected scenario is always compared against its parent.
NOTE: If a numeric value in a single-scenario column changes between scenarios, the sum of the
values displays in the column.
NOTE: For filter or column expressions, #0 is used to represent the baseline scenario and #1 is
used to represent the comparison scenario. For more information, see "Create a column based on
multi-scenario column results" on page 365.
When you specify a worksheet as hidden, it is recommended that you lock the workbook layout. For
more information, see "Specify workbook display options" on page 222.
Controller worksheets also display worksheets based on a condition, however, only one worksheet at a
time displays in the workbook. For more information, see "Creating controller worksheets" on page 551.
Worksheet icons
In Design Mode, all worksheets display to authors, including worksheets specified as hidden. Icons
identify how the worksheet is hidden. You can also view the hidden icons on the worksheet tabs in the
workbook when in Design Mode.
—Always hidden worksheet. This worksheet does not display to users. For more information, see
"Always hidden worksheets" on page 273.
—Conditionally hidden worksheet. This worksheet only displays to users under defined conditions,
when drilled to, or when functioning as a display worksheet. For more information, see "Conditionally
hidden worksheets" on page 274.
In the Workbook Properties dialog box, hover over the icon to display a tooltip with information about
the table, ID, and how the worksheet is hidden: always or sometimes (conditionally).
NOTE: Controller worksheets cannot display worksheets that are always hidden.
NOTE: Only worksheets that are always visible or conditionally hidden can be imported or
exported with a workbook.
NOTE: You cannot specify reference worksheets to be always hidden. For more information, see
"Defining properties for reference worksheets" on page 548.
TIP: It is recommended that reference worksheets from optional workbook dependencies should
be set to hidden unless drilled to.
1. In the New Worksheet or Worksheet Properties dialog box for the specific worksheet type, click
the General tab.
2. Select Hide worksheet.
CAUTION: You cannot specify every worksheet in a workbook as always hidden. At least one
worksheet must be visible to display data for users.
1. In the New Worksheet or Worksheet Properties dialog box for the specific worksheet type, click
the General tab.
2. Clear the Hide worksheet check box.
TIP: You can also show hidden worksheets by clicking Show in the Worksheets tab of the
Workbook Properties dialog box.
If a workbook has no visible worksheets, because worksheets are conditionally hidden, the workbook
will not open until a condition is met. It is important to ensure that if the worksheet uses values that
users cannot change, that users are still able to see the worksheet and open the workbook.
For display worksheets and worksheets that are a drill target, when you hide the worksheet, the Show
worksheet only on drill to details option is automatically selected.
NOTE: In Design Mode, conditionally hidden worksheets are always visible in the Worksheets tab
of the Workbook Properties, even when Show Hidden is cleared.
NOTE: In the Worksheets tab of the Workbook Properties dialog box, clicking Hide on a
conditionally hidden worksheet opens the worksheet's properties where you can view the details
about how it is hidden.
NOTE: Specific to display worksheets in a controller worksheet, the Show worksheet only on
drill to details option is selected but grayed out.
Or you can created a hidden worksheet that is hidden only from members of an external group. Such as
when you want those users only view worksheets they have permission for in a general-use workbook.
1. In the New Worksheet or Worksheet Properties dialog box for the specific worksheet type, click
the General tab.
2. Select the Hide worksheet check box.
3. Select Conditional.
4. Do one of the following:
l To hide the worksheet only when a specified condition is met, select Only hide when, and
then type the query expression that defines the condition that must be met to hide the
worksheet.
l To show the worksheet only when a specified condition is met, select Only show when, and
then type the query expression that defines the condition that must be met to show the
worksheet.
NOTE: Variables on the workbook toolbar that are used in conditionally hidden worksheets are
always visible, even for worksheets that do not use that variable.
NOTE: Fields, worksheet IDs, and column IDs are not available in Expression Builder to build query
expressions for hiding worksheets.
1. In the New Worksheet or Worksheet Properties dialog box for the specific worksheet type, click
the General tab.
2. Select Hide worksheet.
3. Select Show worksheet only on drill to details.
4. Set up the drill link in the source worksheet. For more information, see "Setting up drill links" on
page 666.
TIP: For a hidden worksheet that displays only when drilled to, clicking Hide in the Worksheet tab
of the Workbook Properties dialog box opens the worksheet's properties where you can view the
worksheet details and then decide whether to specify the worksheet as always hidden.
NOTE: If you hide a worksheet that is the target of a drill link, you are prompted to lock the
workbook layout. For more information, see "Create details worksheets" on page 680.
NOTE: The Drilled to label does not affect the Show worksheet only on drill to details check
box.
1. In the New Worksheet or Worksheet Properties dialog box for the table-based or composite
worksheet, click the General tab.
2. Select Hide worksheet.
3. Select Show worksheet only on drill to details.
Users can change the order of worksheets in the workbook to better suit their use of the workbook.
You can lock the workbook layout to prevent users from rearranging the worksheet tabs. When
worksheets in the workbook have drill links to hidden worksheets, making sure the worksheet tab
order stays fixed can help ensure that when drilling, the data flow and context remains clear for users.
For more information, see "Lock workbook layout" on page 223.
l Bucket settings
Users can change the date bucket settings in crosstab worksheets to explore and change their view of
the data. You can lock bucket settings for crosstab worksheets. For example, if users change the bucket
settings in the component worksheet for a composite worksheet, the composite worksheet might not
display data as expected. For more information, see "Lock bucket settings" on page 412.
l Chart appearance
Users can customize the appearance of a chart. For example, they can change colors, include or exclude
data series or indicators, or change date buckets. You can prevent users from changing the chart
appearance to keep the display focused on the default view you have provided. For more information,
see "Allow users to modify charts" on page 594.
l Column searches
Users can search in a column to focus on a certain set of records. You can prevent users from searching
in a column as one way to limit how they reorganize information in the worksheet. For more
information, see "Allow searching" on page 279.
l Column sorting
Users can sort the data in a worksheet to view the data in different ways. For example, they might sort a
quantity column to display records with the greatest quantity first. You can turn off sorting in a
worksheet if the sort order is important in understanding the data in the worksheet. For more
information, see "Allow sorting" on page 279.
l Hide/show columns
l Default view
Users can switch between table and form view of data, or show a worksheet chart by changing the
worksheet view. You can keep users on a fixed default view of the worksheet if you want to
communicate the data in a specific format. For example, you might want the worksheet data to always
display as a grid instead of a form because data trends don't display as well in the form. For more
information, see "Default view" on page 281.
l Column order
For some types of worksheets, such as crosstab worksheets, columns cannot be reordered. However for
other types, such as table-based or composite worksheets, users can reorder columns for comparative
purposes. For more information, see the RapidResponse User Guide.
l Column width
Users can resize the column to maximize how many columns display on their screen or to make column
data easier to view. For more information, see "Format column appearance" on page 297.
l Freeze/Unfreeze columns
Users can freeze columns so those columns remain visible as they scroll through the worksheet. When
you create the worksheet, you can specify frozen columns in the worksheet so it opens with those
settings. For more information, see "Freeze columns in a worksheet" on page 375.
l Zoom level
Users can zoom closer and farther from data in worksheet grids and in some worksheet charts to better
explore the data. For more information, see the RapidResponse User Guide.
NOTE: Some legacy workbooks might include columns formatted as check boxes or hyperlinks. In
these workbooks, formatting options for check boxes or hyperlinks are shown on the Data
Options tab.
Customizing a worksheet
For each worksheet you create, you can specify how it is displayed and the functions users can perform
to customize their personal view of the data. For example, you can determine if the worksheet displays
gridlines, if users can sort or search for data, and so on. The options you can specify are described in the
following table.
Allow Specifies whether users can sort the data in the worksheet. You should turn off sorting if the
sorting worksheet's sort order is important to understanding the data, or if the worksheet is grouped. An
example of a worksheet that does not allow sorting is shown in the following illustration.
Allow Specifies whether users can hide columns in the worksheet. You can turn off hiding if you want
hiding reports generated using the worksheet to be more consistent, or if viewing every column is essential
columns to the worksheet's function. An example of a worksheet that does not allow hiding columns is shown
in the following illustration.
Hide row Specifies whether the row numbers are displayed on the left side of the worksheet. You can hide the
numbers row numbers if you need extra space for data, or if the numbers do not apply to the data in the
worksheet. An example of a worksheet with no row numbers is shown in the following illustration.
Include This check box is available only when the Hide row numbers check box is selected. It displays the
row header row cells without the row numbers. You might want to display the header row cells if you
header want users to be able to delete records. An example of a worksheet with no row numbers but with the
cells row header cells displayed is shown in the following illustration.
Highlight Specifies whether the column header and row number (if visible) of the selected cell are displayed
selection with a different color. You can choose to not highlight the column headers if the worksheet is
column intended as a summary of data and users are not expected to click in cells. An example of a worksheet
header with no column header highlighting is shown in the following illustration.
Lock You can prevent users from changing the default view you specify. You might do this if you are
view creating a worksheet intended for viewing only a single record at a time or if you want users to always
see a chart view of the data. An example of a worksheet that cannot have its view changed is shown
in the following illustration.
For more information about Table and Form views, see the RapidResponse User Guide.
You can combine the options described above to create a worksheet that looks and performs the way
you want. For more information, see "Specify worksheet display options" on page 281.
1. In the New Worksheet or Worksheet Properties dialog box, click the General tab.
2. For some worksheet types, click the Settings sub-tab to display the worksheet options.
3. Select or clear the following check boxes to specify the options you want.
l Allow searching— Allow users to apply column searches in this worksheet.
l Allow sorting— Allow users to change the sort order of the columns using the Sort
Ascending and Sort Descending buttons on the RapidResponse toolbar.
l Allow hiding columns—Allow users to hide worksheet columns, unless you have specified
otherwise in a column's formatting options.
l Show gridlines—Show the gridlines that separate rows and columns in the worksheet.
l Color alternate rows—Shade alternate rows in the worksheet (also known as zebra-striping).
l Hide row numbers—Do not display the row numbers at the left of the worksheet grid.
l Include row header cells—If you have selected to hide row numbers, you can select this
option to include an empty row header cell for each row, which allows users to select the
entire row.
l Highlight selection column header—Highlight the column and row headers for the columns
and rows included in the user's current cell selection.
4. In the Default view area, do one of the following if you want to display either the worksheet or
the chart:
l Select the Worksheet check box and then click Table or Form
l Select the Chart check box.
5. If you want to display the worksheet and the chart, select the Worksheet check box and the
Chart check box.
6. To prevent users from changing the default view, select the Lock view check box.
NOTE: If you select only the Chart check box or you select the Lock view check box, the Chart
l Each level in the hierarchy—A column is inserted for every level in the hierarchy. If this option is
used, the hierarchy columns do not change if the user selects a different value in the hierarchy. For
example, the following illustration shows all hierarchy levels as columns.
l Each level to the level of the user's selection—A column is inserted for the user's selected level and
every level above it. For example, the following illustration shows only the levels up to and
including the selection as columns.
l Only the level of the user's selection—A single column is inserted for only the level the user has
selected. For example, the following illustration shows only the selected level as a column.
l Only the level below the user's selection—A single column is inserted for only the level below the
user's selection. For example, the following illustration shows only the level under the selection as
a column.
Worksheet Criteria
type
Composite l Hierarchy columns must be created on the component worksheets.
l All component worksheets require hierarchy columns.
l Component worksheets must use compatible hierarchy column settings, which all display the
same last (rightmost) hierarchy column.
All component worksheets must display either the user's selected column as the last hierarchy
column, or the level under the user's selected column as the last hierarchy column.
You can specify which levels of the hierarchy display as columns and the formatting of the hierarchy
columns in the composite or transformation worksheet. These settings override the settings specified in
the component or input worksheets.
If the worksheet is grouped, the hierarchy columns act as grouping columns. For more information, see
"Group column data" on page 382.
Information about the hierarchy columns is not automatically included in the worksheet's help. To
provide information about the columns, you should include an explanation of the hierarchy columns
and how they are used in the worksheet help. For more information, see "Add worksheet help" on page
335.
If you define summarization functions, such as a running sum, on columns in the worksheet, you can
choose to reset the summarization when the values in the hierarchy columns change. Only the right-
most hierarchy column is used for resetting the summarization, so if you want to show summarizations
for multiple hierarchy values, you should ensure a column is added for the level below the user's
selected level. For more information, see "Apply a summarization function to a column" on page 384.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Select the Include hierarchy columns check box.
3. Click Settings.
NOTE: Users can select only a single value in hierarchies that add columns to any worksheet in the
workbook.
NOTE: Users cannot change worksheet sorting in worksheets that contain hierarchy columns.
When you add hierarchy columns, the Allow sorting check box on the General tab is cleared. For
more information, see "Specify worksheet display options" on page 281.
NOTE: For more information about searching and search syntax, see the RapidResponse User Guide.
TIP: You can also save search conditions on a worksheet by typing them directly in a column’s
Search cell while in Design Mode.
NOTE: If the data in a column is view-only by default, you cannot make it editable. If you make a
view-only column conditionally editable, it appears editable in the worksheet. However, if a user
changes the value in a cell and then saves their changes, the cell reverts to its previous value.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
The column's data type is displayed in the Data type box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a column.
4. Click Reset Formatting.
The worksheet column now uses the default formats of each user who accesses it.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a column.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a numeric column.
4. In the Format as list, click Currency.
5. In the Symbol box, type or select the currency symbol to display on the column data.
6. In the Format list, select a currency format.
For information about the selected format, click the button.
7. In the Decimal places list, select the number of decimal places to display.
CAUTION: Changing the currency format associated with a column does not change or convert
the data in that column.
NOTE: For information about creating and formatting money columns, see "Format money
columns" on page 306.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a numeric column.
4. Select the Always display + symbol for positive numbers check box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a column.
4. Select the Hide zero values check box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a column.
4. Depending on the column’s data type, make a selection from the following lists:
l Date format—sets the format used for date values and the date portion of datetime values.
l Time format—sets the format used for time values and the time portion of datetime values.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a Boolean column.
4. Select the Format as check box check box.
NOTE: This formatting is available only for Boolean fields or expressions that return a 'Y' (Yes) or
'N' (No) value. Columns based on a Boolean variable cannot be formatted as check boxes. For
more information, see "Create a Boolean variable" on page 1273.
NOTE: When you select this check box, the Font style and Text color options are not available.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting sub-tab.
3. In the Columns in this worksheet box, select the Boolean column that has Format as check box
enabled.
4. Select Include check box in header.
5. Click OK twice.
NOTE: If the column cannot be edited, the Boolean check box in the header is unavailable.
Display as image
You can better convey trends or draw attention to critical information by adding images to worksheet
columns. For example, you might want to add images that visually indicate order status—green for on
time orders, yellow for orders late by a few days, and red for orders late by two weeks or more.
NOTE: If a data value does not have an image defined for it, that data value appears in the image
column. To prevent this, ensure every data value defined in your expression has an image defined.
NOTE: You can add the following file types for images: BMP, GIF, JPEG, JPG, and PNG.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting sub-tab.
3. In the Columns in this worksheet box, select a String column.
4. Select the Display as user name check box.
NOTE: If a worksheet with a column that is formatted to display user names appears in form view,
or in a worksheet widget on the RapidResponse mobile client, valid user IDs still display as user
names, but buttons are not displayed.
NOTE: When a column search is applied to a column that is formatted to display user names, the
visible text in the column is searched, rather than the underlying user IDs.
See also "Formatting worksheet and column data" on page 291 and "Format column appearance" on
page 297.
A column's default width is initially based on the column's data type. For example, a String column is
wider than a Quantity column. Column widths are represented by the number of standard-sized
characters the column can display, which might vary slightly depending on the type of data (for example,
upper or lower case characters, numerals, symbols, and so on). For example, a column 12 units wide can
display 12 standard-sized characters. The following table shows the default widths for each data type.
Date 8
DateTime 18
Money 9
Note 25
Quantity 9
QuantitySingle 9
String 12
Time 8
You can also define formats that apply to the column only when a certain condition is met. For example,
you could change the background color to red if the value in a Days Late column is greater than zero.
Conditional formats can be applied to any column, and the formatting applied according to criteria you
specify. For more information, see "Applying conditional formatting to worksheets" on page 317.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a column.
4. Select options from the following lists:
l Font style
l Text color
l Background
If you want to select a color not available from the Text color or Background list, click More
Colors, and then select the color you want.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a column.
4. In the Width box, type a value between 1 and 255.
The units in the Width box represent the number of standard-sized characters the column can
display.
NOTE: To ensure the column headers can be read by users, you should make the columns in your
worksheets wide enough to display the entire column header.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Formatting tab.
3. In the Columns in this worksheet box, select a column.
4. In the Alignment list, click one of the following:
l General
l Left
l Center
l Right
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Data tab.
3. In the Columns in this worksheet box, select a column.
4. Type a new column name in the Header box.
1. In the Columns in this worksheet box, select the first column you want to use as the spanning
column header.
2. In the Header box, add a pipe character (|) between the text you want to appear as the main
header and the text you want to appear as the sub-header.
3. For each subsequent column you want to inherit the main header, add double-quotes and a pipe
character (''|) before the sub-header text in the Header box.
NOTE: You can add more than two rows of column headings by adding additional pipe characters
(|).
NOTE: The | (pipe) character can only be used in a column header to span. It cannot be used as an
actual character. You cannot use an escape format with the pipe character.
To achieve this column header display, type text in the Header box as follows:
Crosstab worksheets can contain multi-tiered headings in rows. An example of these rows is shown in
the following illustration.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Data tab.
3. In the Columns in this worksheet box, select a column.
4. In the Header box, type the name of the variable you want to use as the header, preceded by the
$ symbol.
For example, $VariableName.
Change Description
Resize columns Column widths can be changed to better suit the data they display.
Reorder worksheets Worksheets can be dragged within a workbook to change the order in which
they appear.
NOTE: Before modifying the display of a worksheet in a shared workbook, enter Design mode.
This ensures your changes are saved as part of the workbook definition viewable to worksheet
users, instead of just your personal view. However, worksheet users can still change these settings
in their personal views of the worksheets you create.
NOTE: For more information on setting the display options discussed above, see the
RapidResponse User Guide.
Users can add new notes, and view and search existing notes in the Notes dialog box that opens when
they double-click a cell in the Notes column or select a cell with the notes indicator and then clicking
Add or view notes .
l Table-based
l Crosstab
l Composite
To enable notes on a worksheet, you must first add a Notes column to the worksheet. For crosstab and
composite worksheets, you can then select the notes indicator option in the Worksheet Properties
dialog box. There are five standard tables that contain a "Note" field that you can add to a worksheet to
create a Notes column:
l EngineeringChange
l ForecastParameter
l IndependentDemand
l MFG SupplyOrder
l ScheduledReceipt
l SupplyAllocation
l Task
Certain additional conditions must also be met to display notes in a composite worksheet:
NOTE: You can only access the EngineeringChange table if your company has enabled the
Engineering Change Manager module.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click Add Fields.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. If the Notes column is not hidden, select Hide column.
3. Then, select a column to enable notes for.
4. Click the Formatting sub-tab for that column.
5. Select the Display notes indicator check box.
6. Select the notes field in that table from the drop-down menu.
The drop-down menu is only available if the Display notes indicator check box is selected. If the
worksheet is based on a table that has more than one "Notes" field, you can select the field to
use from the drop-down menu.
NOTE: The Add or View Notes button is only enabled when the user clicks in a cell related to a
notes indicator column
NOTE: If a notes field no longer exists, the drop-down menu displays a red X icon .
Money data can be represented as a database field with the Money data type, or by an expression that
evaluates to a Money value. Money fields in the RapidResponse data model typically include 'Price' or
'Cost' in their names, such as the UnitSellingPrice field on the IndependentDemand table or the
LaborCost field on the PartSource table. For more information, see the RapidResponse Analytic and Data
Model Guide.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Select a Money column.
3. Click the Formatting tab.
4. In the Format as list, click Currency.
5. In the Format list, select the format to apply to the column.
For information about the selected format, click the button.
6. In the Decimal places list, select the number of digits to display after the decimal point.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Select a Money column.
3. Click the Formatting tab.
4. In the Format as list, click Number.
5. In the Format list, select the format to apply to the column.
For information about the selected format, click the button.
6. In the Decimal places list, select the number of digits to display after the decimal point.
NOTE: If you format Money values as numbers, you might want to include the currency symbol in
the column header so worksheet users know the column contains money values and the currency
those values are displayed in.
NOTE: For more information about number formatting, see "Formatting worksheet and column
data" on page 291.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Select a Money column.
3. Click the Formatting tab.
4. Select the Override currency symbol check box.
5. In the list, select or type the symbol to display in the column.
For example, if records are inserted using Canadian dollars, those records are converted in a workbook
that uses euros, and then converted again in a worksheet column that uses yen, as shown in the
following illustrations.
Calculated Money fields have an associated conversion date, which is used to convert all calculated
Money fields in the table. You can use a calculated field's associated date to convert other values. For
example, if you are creating a report to compare the purchase cost of a part to the possible revenue for
an order, you can convert the revenue values using the calculated purchase cost's conversion date.
You can specify the date to use for converting values as part of your column expression. This uses the
specified date to convert the record's currency to the workbook's currency. This conversion is done
using the CONVERTONDATE function. For more information, see "CONVERTONDATE" on page 1206.
If you change the workbook's currency, the values returned by calculated fields that are converted in
columns might not return the same values. Each calculated money field's associated conversion date
might be different for each currency. To ensure the columns based on calculated fields always return the
same converted values, you can use the CONVERTONDATE function to convert all values using the same
date.
You can add a column that returns the associated date from a calculated Money field, and then convert
the other values using the associated date. You can also return the associated conversion date for an
expression that returns a Money value. You might want to include these columns to verify the Money
values are being converted with the correct dates.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, click a Money column.
3. Click the Formatting tab.
4. In the Currency area, do one of the following:
l To display the workbook's currency in the column, click Workbook setting.
l To display another currency, click Other currency, and then in the list, select the currency you
want to display.
TIP: To view information about the selected currency, click the button.
TIP: If you display a currency other than the workbook setting, you should include the currency in
the column header. For more information, see "Define column headers" on page 299.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click New Column.
3. In the Header box, type a name for the column.
4. In the Expression box, type ASSOCIATEDDATE (field), where field is the calculated Money
field. For example:
TIP: You can also use the ASSOCIATEDDATE function to return the date used to convert a Money
column. In this case, you specify the column identifier instead of the calculated Money field name.
For example, ASSOCIATEDDATE (!Revenue) returns the date used to convert a column with
the identifier Revenue. For more information, see "ASSOCIATEDDATE" on page 1205.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click New Column.
3. In the Expression box, include the following function in the expression:
CONVERTONDATE(field, date)
where field is the database field you want to convert, and date is the date to use the
conversion rate from. You can specify a date, a date field, a date expression, or a calculated field's
associated date. For example:
NOTE: If you specify an undefined date, such as a Past date for a conversion table that does not
include a rate for Past or the Undefined date constant, the earliest conversion rate is used.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, add or select a column that contains a Quantity value.
3. In the Expression box, add the following expression:
MONEYVALUE (quantity)
where quantity is the Quantity value you want to convert to a Money value.
4. On the Formatting tab, specify the currency format you want to apply to the column. For more
information, see "Format money columns" on page 306.
NOTE: If you want to convert the Quantity value from a specific currency to the workbook
currency, specify the currency code after the Quantity value. For example,
MONEYVALUE (Quantity, 'EUR')
converts the value in the Quantity field from euros to the workbook currency. You can also specify
a conversion date for this operation. For example,
MONEYVALUE (Quantity, 'EUR', 01-02-12).
For more information about specifying conversion dates, see "Convert currency values" on page
307
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, add or select a column that contains a Money value.
3. In the Expression box, do one of the following:
l To add a constant to a Money field, add the following to the column expression:
+ MONEYVALUE (constant)
where constant is the value you want to add to the Money value.
l To subtract a constant from a Money column, add the following to the column expression:
1. In the New Worksheet or Worksheet Properties dialog box, click the Filtering tab.
2. In the Worksheet filter expression box, do one of the following:
l To compare a Quantity value and Money value, add an expression similar to the following:
Money_value comparison_operator MONEYVALUE(Quantity_value)
where Money_value is a Money field or expression, comparison_operator is the comparison
you want to perform, and Quantity_value is a Quantity field or expression. For information
about the comparisons you can perform, see "Comparison operators" on page 1132.
l To compare a Money value to zero, add an expression similar to the following:
Money_value comparison_operator 0
where Money_value is a Money field or expression and comparison_operator is the
comparison you want to perform. For information about the comparisons you can perform, see
"Comparison operators" on page 1132.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Select a Money column.
3. In the Expression box, add the following to the expression.
RAWVALUE (field)
where field is the Money field that defines the column.
NOTE: You can also use the RAWVALUE operator in worksheet filter expressions. For more
information, see "Worksheet filtering" on page 386.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click New Column.
3. In the Expression box, type Attribute<Currency>.
TIP: You can also add the currency attribute in Expression Builder by clicking Currency in the
Category list, and then double-clicking Attribute (Currency) in the Function list. For more
information about attributes, see "Attribute" on page 1226.
When you view the worksheet, the value you specify for the Conversion date variable determines the
date used to convert the Revenue values, which produces different results.
To export changes to the UnitSellingPrice field to your enterprise data source, apply the RAWVALUE
function to the expression.
Next, include a column that returns the currency used to store the UnitSellingPrice field values. The
expression for this column uses the Attribute function to return the currency.
You can now use this worksheet to export data and push any changes into your enterprise data
sources, and then import data back into a scenario. For more information, see "Creating workbooks for
importing data into scenarios" on page 704.
l A single column.
l Multiple columns.
l Every column in the worksheet. Conditions that apply to all columns can be used to format an
entire row of data.
l Columns added to a worksheet based on a user's selection in a hierarchy.
l Cells in a crosstab worksheet.
An example of a worksheet with this conditional formatting is shown in the following illustration.
In this example, if the value in the Revenue column is greater than or equal to 4,000,000, the cells are
formatted with a red background. If the value is less than 4,000,000 but greater than or equal to
2,500,000, the cells are formatted with a green background, and so on. An example of a worksheet with
this formatting is shown in the following illustration.
Because the condition is based on a pivoted crosstab row, the 'All columns' setting for the rules applies
to only the crosstab rows.
In this example, the orange italic format is applied to rows in which the value in the
Quantity column is greater than or equal to 50, and no other conditions are checked after
that format is applied. The blue background is applied to rows in which the revenue is
greater than $10,000, and no other conditions are checked after that format is applied.
The bold text is applied to rows in which the order is more than 10 days late.
An example of a worksheet with this formatting is shown in the following illustration.
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. On the Conditional Formatting tab, click New Rule.
3. In the New Rule dialog box, in the Applies to area, click one of the following:
l All columns—Applies the formatting to every column in the worksheet. Selecting this option
formats an entire worksheet row.
l Hierarchy columns—Available only if the worksheet contains columns added by the user's
selection in a hierarchy. Applies the formatting to each column added by selecting a value in a
hierarchy.
l Columns—Applies the formatting to the specified columns. For more information about
selecting columns, see "Specify which columns a rule applies to" on page 325.
4. If you want to base the condition on the value in another column, in the Condition area, select a
column and a comparison phrase.
If you want to base the condition on the value in the column or columns you selected in step 3, in
the Condition area, select Cell Value in the column list and a comparison phrase. You should use
this option if you want each column to be formatted separately.
5. Do one of the following:
l Click Value, and then type an appropriate value
l Click Value in column, and then select an appropriate column
If you select the is between or is not between comparison phrase, there are two Value options
and two Value in column options available, as illustrated in the image in step 6. You can compare
a value to a value in a column.
6. In the Format area, specify the formatting that is applied when the condition is true.
The following displays the New Rule dialog box. In the Applies to area, you select the columns
the rule applies to. In the Condition area, you specify the condition that must be met. In the
NOTE: The values you type in the Value boxes are validated and you are notified if they are found
to be invalid.
NOTE: If you specify values to compare to a Money column, after you click OK, those values are
formatted using the worksheet column's currency format.
1. In the New Rule or Edit Rule dialog box, in the Applies to area, click Columns.
2. Click Select.
3. In the Select Columns dialog box, in the Select from this list box, click the column you want the
rule applied to, and then click Add.
4. Repeat step 3 for each column you want the rule applied to.
5. To remove a column, select the column in the Rule applies to columns list, and then click
Remove.
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
NOTE: You can select the Stop If True check box for multiple rules. If you select it for every rule,
only one rule can be applied to a column.
1. Create a hidden column called Due in next week with the appropriate expression. In this case, it
could be
IF (DueDate - Today <=7 and DueDate - Today >=0, 1, 0)
This expression states that if the due date is within the next seven days, then the value in the
column is 1 (true). If not, then the value is 0 (false).
2. For the Order Number column, create a new rule. In the New Rule dialog box, in the Condition
area, specify that the data value in the Due in next week column equals 1. Then, in the Format
area, define the formatting that is applied when this condition is met.
This rule is shown in the following illustration.
An example of the rules for a specific column is shown in the following illustration.
You can modify any of the rules applied to a column, and also apply the formatting rules to other
columns. If a rule applies to multiple columns and you are focusing on one column, the changes you
make to the rule apply to every column the rule applies to. If you want one column to be formatted
differently, you can copy the rule and make the modifications you want to the copy.
If a rule is not needed, you can delete it. Deleting a rule removes the formatting from all columns that
the rule applied to.
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. In the Show rules for area, click All columns.
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. In the Show rules for area, click Column.
3. In the list, select the column you want to view rules for.
TIP: You can also view a column's conditions on the Formatting sub-tab of the Columns tab.
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. Locate a rule with a 'Multiple columns' value in the Applies to column.
3. Move the pointer over the 'Multiple columns' value to view the columns in a tooltip.
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. Optionally, in the Show rules for area click Column, and then select the column you want to
modify rules for.
3. In the list, drag the rules into the order you want.
▶Copy a rule
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. Select the rule you want to copy.
3. Click Copy Rule.
4. In the Edit Rule dialog box, modify the condition or format. For more information, see "Create a
conditional formatting rule" on page 323.
▶Modify a rule
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. Click the rule you want to modify.
3. Click Edit Rule.
4. Modify the condition, formats, or columns the rule applies to. For more information, see "Create a
conditional formatting rule" on page 323.
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. Click the rule you want to apply to different columns.
3. Click Apply to Columns.
4. In the Select Columns dialog box, do either or both of the following:
l To apply the rule to other columns, in the Select from this list box, select a column and then
click Add.
l To no longer apply the rule to a column, in the Rule applies to columns box, select a column
and then click Remove.
5. Repeat step 4 for each column you want the rule to apply or not apply to.
▶Delete a rule
1. In the New Worksheet or Worksheet Properties dialog box, click the Conditional Formatting
tab.
2. Click the rule you want to delete.
3. Click Delete Rule.
1. First the worksheet must be designed to meet the requirements to display cached results.
Worksheet authors are responsible for designing the worksheet to meet the requirements. For
more information, see "Create worksheets compatible with caching results" on page 330.
Worksheets designed and verified to display cached results display with the icon
2. Then, caching must be turned on in the worksheet. As caching results impacts RapidResponse
system memory, RapidResponse administrators are responsible for turning caching on or off in a
worksheet. For more information, see the RapidResponse Administration Guide.
Worksheets with results caching turned on display with the icon.
Authors are responsible for creating the worksheets that meet the requirements to display cached
results. For more information, see "Create worksheets compatible with caching results" on page 330.
l The first column sorted in the worksheet must be a reference column and must have Use as
reference selected. For more information, see "Add a table reference as a column" on page 360.
l The first column cannot reference a system table. For more information, see the RapidResponse
Analytic and Data Model Guide.
l Any summarized columns must specify a reset column. For more information, see "Apply a
summarization function to a column" on page 384.
l For worksheets based on a calculated table, the first column in the worksheet must be an “owner”
reference field. For more information, see "Filtering on calculated tables" on page 389.
l The worksheet cannot contain:
l Bucketing on the worksheet
l Hierarchy columns
l Multi-scenario columns
l Column or filter expressions that refer to “Today” or “Now”
l If the worksheet is grouped, the first column and any columns used in the worksheet filter must
have the Group By function applied.
l If a filter control has been added to the worksheet, the path to the field the filter control applies to
must start with the same field a reference column is based on.
l To create a composite worksheet that displays cached results, all of its components worksheets
must also be designed to display cached results.
l If applicable, the component worksheets must also have the same filter control settings and
secondary filter settings.
l For a composite worksheet that does not display cached results, all or some of its component
worksheets can be designed to display cached results. For more information, see "Group and
bucket data from component worksheets" on page 496.
l For component worksheets that display cached results, the component worksheets and the
composite worksheet cannot contain hierarchy columns.
1. Create or modify a worksheet to meet the requirements to display cached results. For more
information, see "Worksheet requirements to display cached results" on page 330.
2. Check that all of the worksheet requirements have been met. For more information, see "Verify
that a worksheet can display cached worksheet results" on page 331.
NOTE: Any filtering on the worksheet must be applied after the worksheet has been verified to
display cached worksheet results.
NOTE: If you are modifying an existing worksheet to display cached results, the worksheet filter
might have to be modified to meet the requirements. For more information, see "Filter worksheets
that display cached results" on page 331.
Worksheet filter
You can add a worksheet filter to refine the scope of the cached data displayed in the worksheet. The
filter cannot contain any elements that users can modify. For example, the worksheet filter expression
cannot include a workbook or profile variable. For more information, see "Define worksheet filtering" on
page 386.
To add filter elements to the worksheet that users can modify, add a secondary filter to the worksheet.
NOTE: You can include a variable in the worksheet filter expression if the variable will be hidden
from users and have a fixed value. Type the variable directly in the filter expression box. For
example, you can create a filter expression in a text variable and then use the text variable in the
worksheet filter. The variable must have a unique name and not be used in other workbooks.
Filter controls
You can make filter controls available to users. You must select the field the filter is applied to and the
path to the field must start with the same field that a reference column is based on. If the worksheet is
grouped, the reference column must be Group By. For more information, see "Specify worksheet
filtering controls" on page 388.
Secondary filter
You can add a secondary filter to the worksheet that includes elements that users can modify. The
secondary filter is applied after the worksheet results are cached, so the filter expression must be based
on columns in the worksheet. Fields from the underlying table cannot be used in the secondary filter
expression.
If you are adding a secondary filter to a worksheet, it is recommended that the $SelectedFilter be
applied to the first column sorted in the worksheet and if the worksheet is grouped, other $Selected
filters be applied to the other Group By columns. For more information, see "System variables included
with RapidResponse" on page 1301.
For composite worksheets that display cached results, a secondary filter can only be applied to the
component worksheets. All secondary filters applied to the component worksheets must be identical.
NOTE: The Fields tab in Expression Builder for a secondary filter displays the columns in the
current worksheet.
NOTE: When you search expressions in a workbook with worksheets designed to display cached
results, the secondary filter is the filter that is checked.
1. In the New Worksheet or Worksheet Properties dialog box, click the Filtering tab.
2. In the Secondary filter expression (user-specific filtering) box, type a logical expression.
3. Click Validate Expression to verify the syntax in your expression. RapidResponse does not allow
worksheets to be saved with invalid syntax.
NOTE: Secondary filters display as "Expression" in the Worksheet Usage dialog box. For more
information, see "View resource dependencies" on page 182.
For information about using workbook help, see "Accessing help and documentation" on page 29.
NOTE: Each of the predefined workbooks included with RapidResponse contains workbook,
worksheet, and column descriptions. If you modify any of these workbooks, you should update
the corresponding help.
l The workbook help is authored in the workbook properties and displayed on the Workbook Help
tab.
l The worksheet help is authored in the worksheet properties, and displayed in the Worksheet Help
tab.
l The column help is authored in the column properties. You can choose to display it on the
Worksheet Help tab.
l The data control table is included with RapidResponse, or could be defined when an author
creates variable-based controls for a workbook. You can choose to display it on the Workbook
Help tab or Worksheet Help tab.
1. In the New Workbook or Workbook Properties dialog box, click the Workbook Help tab.
2. Type the workbook help.
NOTE: For information about using the text editing tools, see "Using text editing tools" on page
167.
1. In the New Workbook or Workbook Properties dialog box, click the Workbook Help tab.
2. Place the insertion point where you want to insert the table.
3. Type <<Help for Data Controls>>.
To preview the table, click OK and view the help for this worksheet.
NOTE: Data controls available only from the Data Settings dialog box are also listed in the data
control table.
NOTE: The data control table text for the controls included with RapidResponse (for example the
Scenario and Site controls) is provided for you and cannot be changed. The text for controls
defined through workbook variables is typically written by the workbook author. For more
information, see "Define workbook variables" on page 226.
NOTE: This table contains the data controls visible when the user first opens the workbook. If the
user clicks a worksheet that displays different controls, the table is not updated to show those
controls.
1. In the New Worksheet or Worksheet Properties dialog box, click the Worksheet Help tab.
2. Type a description of the worksheet in the box provided.
1. In the New Worksheet or Worksheet Properties dialog box, click the Worksheet Help tab.
2. Place the insertion point where you want to insert the table.
3. Click Insert Help for Data Controls.
The text tag <<Help for Data Controls>> is inserted in place of the table. To preview the table,
click OK and view the help for this worksheet.
NOTE: Data controls available only from the Data Settings dialog box are also listed in the data
control table.
NOTE: The column help text is written as part of the column definition. For more information, see
"Add column help" on page 339.
1. In the New Worksheet or Worksheet Properties dialog box, click the Worksheet Help tab.
2. Delete the text tag for the table you want to remove.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet box, select the column to which you want to add help.
3. Click the Column Help tab.
4. Type a description of the column in the box provided.
1. In the New Workbook, Workbook Properties, New Worksheet, or Worksheet Properties dialog
box, click the Author Notes tab.
2. In the box, type the information you want to record.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, click the column you want to add a note for.
3. Click the Column Help and Notes tab.
4. In the Author notes box, type the information you want to convey to other authors.
1. Identify (or create) a set of records representing the records you expect to be included in the
worksheet, and a set of records representing those you expect to be filtered out. If possible, you
may want develop a filter returning only those records expected to be included in the worksheet.
2. Manually calculate the results you expect to be returned, and compare those to the data
returned in the worksheet.
3. If the data returned by a worksheet filter or column expression does not match the intended
results, consider the possible causes as outlined below.
Worksheets are similar to spreadsheets and are used to view, and in some cases edit, data from a table in
the RapidResponse data model, or from another worksheet. Worksheets can be added to workbooks you
created, or any of the predefined workbooks included with RapidResponse. For more information, see
"Retrieve predefined workbooks" on page 244.
The following illustration shows an example of a table-based worksheet.
CAUTION: Worksheets based on certain tables in the RapidResponse data model can return a
large number of records and potentially consume a significant amount of server memory. To help
limit the number of records returned, you should ensure that appropriate worksheet filter
expressions are created. For more information, see "Worksheet filtering" on page 386.
▶Create a worksheet
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the New Worksheet dialog box, click the General tab.
3. In the Name box, type a name for the worksheet. The name given to the worksheet must be
unique within the workbook.
4. Optionally, in the ID box, type a new identifier for the worksheet.
5. In the Table list, click the table to base the worksheet on.
NOTE: Each worksheet based on an Input table has an associated Insert definition through which
users can insert records. If necessary, you can specify that a different Insert definition be used in
any given worksheet. For more information, see "Customizing data insertion" on page 561.
NOTE: Identifiers can contain only letters, numbers, and the underscore character (_), and must
begin with a letter. When you type the worksheet's name, invalid characters are not included in
the identifier.
NOTE: You cannot create worksheets based on system tables. For more information about system
tables, see the RapidResponse Analytic and Data Model Guide.
TIP: For guidelines on selecting a worksheet’s table as well as descriptions of some of the
common tables used to build worksheets, see "Commonly used tables for building worksheets" on
page 344.
The following table outlines the automatically performed steps required to create the worksheet.
Enables the following in the worksheet Which provides the following in the Gantt
properties worksheet
On the General tab, sets the worksheet name in If you haven't typed a worksheet name, the worksheet name is
the Name box. automatically set to task. If you have provided a worksheet
name, it remains unchanged.
On the General tab, selects the Use enhanced Turns on enhanced task editing, which provides the following
task editing check box. functions:
l Adds a workbook toolbar for various task functions, such as
buttons to indent and outdent the tasks.
l Includes a column from which you can access the Task
Information dialog box.
l Allows users to modify data in specific calculated fields.
l Allows users to edit data and immediately see the
calculated results.
On the General tab, selects the Hide row Hides the row numbers but keeps the row header cells so that
numbers and Include row header cells check users can select and delete records.
boxes.
Adds the required columns Adds the following columns, with the column expressions
required for project management functionality:
l Project Name
l Project Site
l Task Name
l TaskPropertiesButton—the column includes an image that
opens the Task Properties dialog box when clicked.
l Task Duration
l Task StartDate
l Task FinishDate
l Task PercentComplete
l Task Predecessors
l Task Successors
l Links—users can use this column to add links to webpages.
When a link has been added, this columns includes an
image that, when clicked, opens the list of links defined for
the task.
Adds the following hidden columns:
l Task Summary
l Task PredecessorInfo
l Task PredecessorRows
l Task SuccessorInfo
l Task SuccessorRows
Creates a condition on the Conditional The condition specifies that if the value in the hidden Task
formatting tab Summary column is Y, then all of the visible columns in the
worksheet use bold formatting. This displays the summary
tasks in bold formatting so that they stand out.
On the Chart tab, selects the Include chart Creates the Gantt chart that displays in the worksheet, and
check box and selects the Gantt chart type. Also, sets the colors of the Gantt chart bars.
specifies the settings for the Gantt chart as
shown in the following image.
On the General tab, in the Chart position list, Places the Gantt chart on the right hand side of the
selects Right of the worksheet. worksheet.
1. Open the Worksheet Properties of a worksheet that is based on the Task table.
2. On the General tab, under Data editing, ensure that Allow enhanced task editing is selected.
3. Select Improve editing performance by limiting validation.
4. Click OK and save your changes to the workbook.
These features can also be useful if imported project data might contain circular predecessor
relationships.
You can implement the recommended setup by performing the following procedures in order.
1. Open the Workbook Properties of the workbook containing the worksheet in which you have
selected the Improve editing performance by limiting validation option.
2. On the Worksheets tab, click Copy and then select Worksheet from Other workbook.
The worksheet is conditionally hidden, and will only be displayed when it is drilled to.
5. Save your changes to the workbook.
▶Add a column that displays a red x if a task is involved in a circular predecessor relationship
1. Open the Worksheet Properties of the worksheet in which you have selected the Improve
editing performance by limiting validation option.
2. On the Columns tab, create a new column named x. Use the column expression IF (HAS
Predecessors [IsRecursive], 'x', ''). For information, see "Define a new column
using a query expression" on page 361.
3. For column x, go to the Formatting tab and select Display as image. Click Image and, for the
Data Value x, select the Error image. In the ToolTip column, type, Circular predecessor
relationship. For more information, see "Display as image" on page 294.
4. For column x, on the Formatting tab, set the Width to 4.0 and set the Alignment to Center.
5. For column x, go to the Drilling tab and click New, then select Drill to Worksheet.
6. In the Drill to workbook box, leave This Workbook selected, and in the Worksheet box, select
Circular Predecessor Relationships.
7. Under Condition, select Allow drilling to the worksheet if and set the condition x is exactly x.
▶Add conditional formatting and a drill link to the column that displays predecessors for tasks
1. Open the Worksheet Properties of the worksheet in which you have selected the Improve
editing performance by limiting validation option.
2. On the Conditional Formatting tab, click New Rule.
3. Under Applies to, select Columns, and then click Select and Add the column that displays tasks'
predecessors. Remove any other columns from the Rule applies to columns list, and then click
OK.
4. Set the Condition to x is exactly x.
5. In the Format area select Font style: Bold and Text color: , and then click OK.
6. Go to the Columns tab and select the column that displays tasks' predecessors.
7. On the Columns tab, click the Drilling tab and click New, then select Drill to Worksheet.
8. In the Drill to workbook box, leave This Workbook selected, and in the Worksheet box, select
Circular Predecessor Relationships.
9. Under Condition, select Allow drilling to the worksheet if and set the condition x is exactly x.
You want to use similar columns in a supply worksheet, so you make a copy of the worksheet and name
it Supply Orders.
l Base fields added directly from a worksheet’s table. For example, in a worksheet based on the
ScheduledReceipt table, you can add Quantity and DueDate fields.
l Reference fields added from any tables that a worksheet's table points to. For example, in a
worksheet based on the ScheduledReceipt table, you can add individual fields from the Part and
SupplyOrder tables. If building a component worksheet to be used as input into a composite
worksheet or a lookup worksheet to be used with a lookup expression, you can also add a full
table reference in a single column. This ensures that records can be grouped by the full set of key
field values on the referenced table and then combined with other component worksheets that
also include the same table reference. Table references also provide access to all field values on the
referenced table for subsequent use in the worksheet that contains the lookup expression or the
composite worksheet if required. For example, in a component worksheet based on the
ScheduledReceipt table, you can add a full reference to the Part table and all Part table fields would
then be available in any composite worksheets using that component. For an example of a column
with a full table reference used in a composite worksheet, see "Example: Creating a composite
worksheet by merging records (with use as reference)" on page 510. For more information about
lookup worksheets, see "LOOKUP" on page 1214.
l A calculated expression defined by the RapidResponse query language and any fields based on, or
referenced by, the worksheet’s table. These allow the display of data not otherwise stored by the
RapidResponse data model. For example, in a worksheet based on the IndependentDemand table,
you could calculate the revenue associated with an order by multiplying its quantity and selling
price. For more information, see "Query language syntax" on page 1115.
You can create columns that use the final result calculated in other columns. This uses the value in the
column after all sorting, filtering, and grouping rules have been applied. For example, if you have a
column that is grouped with the Sum function, you can use that sum in another column in the
worksheet. These columns must be to the right of the columns they depend on.
You can use these columns instead of creating a composite worksheet to perform specific operations
using the data from a single worksheet. For example, instead of creating a composite worksheet to
perform mathematical operations using grouped data, you could create a column that uses the results
of the grouped columns in the same worksheet. For more information, see "Creating composite
worksheets" on page 467.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click Add Fields.
3. In the Add Fields dialog box, select a field to add, and then click Add.
4. Repeat the previous step for each field you want to add.
CAUTION: Set fields cannot directly be displayed in a worksheet. They can only be included in an
expression using set operators. For more information, see "Fields" on page 1124 and "Set
operators" on page 1145.
NOTE: The column header for each field added is set to the name of the field (with spaces added
where appropriate). For example, a Part field column is named “Part”, and an OriginalQuantity
column is named “Original Quantity”. You can modify the column headers as necessary.
NOTE: Each field you add is, by default, set to be either view-only or modifiable. However, you can
set a column to be view-only. For more information, see "Specify if a column can be edited" on
page 289.
NOTE: Tables also contain set fields, which reference multiple records in another table. Set fields
are identified in the Add Fields dialog box with the icon, and are hidden by default. For more
information, see "Fields" on page 1124.
TIP: To show set fields, select the Show set fields check box. Showing set fields in the Add Fields
dialog box also shows them in Expression Builder.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click Add Fields.
3. In the Add Fields dialog box, click to expand a given table, select the field you want to add and
then click Add.
4. Click OK.
TIP: You can also select fields from a list in the Expression box. For more information, see
"Expression assistance and auto-completion" on page 1120.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click Add Fields.
3. In the Add Fields dialog box, select the referenced table you want to add a reference to and then
click Add. Ensure that only the table is referenced and not any of its fields. For example, the
column expression should read Part rather than Part.Name, or Customer rather than
Customer.Id.
4. Click Add.
5. Click the Data Options tab, and then select the Use as reference check box.
The newly added column displays on the worksheet as a delimited list of all key fields on the
referenced table (for example, C125|HQ|Actual|Default), and the full table reference is available for
any composite worksheets or lookup expressions which subsequently use this worksheet. It is
not recommended to display the key fields in this manner on worksheets intended to be viewed
by end users. For final display worksheets intended for users, the fields should be added and
displayed individually in their own columns.
NOTE: If grouping a worksheet, it is recommended that any columns being used as a reference
also use the "Group By" grouping function. Any other grouping functions might generate
unexpected results if used with columns that have the Use as reference check box selected. For
more information about grouping worksheets, see "Group column data" on page 382.
NOTE: If the referenced table contains multiple base key fields, you must select the Use as
reference check box. Otherwise, the worksheet cannot be used to view data.
NOTE: If you do not select the Use as reference check box, if the referenced table contains a
single base key field, that key field on the referenced table is returned. This behavior is intended to
provide backwards compatibility with how previous versions handled references, and its
continued usage is not recommended. If you only want a key field from the referenced table, it is
recommended to add that field value directly (for example, Part.Name). For more information, see
"Add a field from a referenced table as a column" on page 360.
NOTE: You cannot use a column as a reference if the worksheet contains a multi-scenario column.
For more information, see "Creating multi-scenario worksheets" on page 265.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click Add Key Fields, and then click one of the following:
l All Key Fields—Adds the key fields for the table the worksheet is based on and all tables it
references.
l Primary Key Fields—Adds the key fields for only the table the worksheet is based on.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, click the column you want to insert the new column after.
3. Click New Column.
4. In the Header box, type a display name for the new column.
5. In the Expression Box, type a valid column expression. For more information, see "Query
language syntax" on page 1115.
6. Click Validate Expression to verify the syntax in your expression. RapidResponse does not allow
worksheets to be saved with invalid syntax.
NOTE: If your column expression includes a String value that ends with an exclamation point, that
String might be interpreted as a worksheet reference. In this case, the worksheet is reported as a
missing dependency, but the worksheet continues to function. For more information, see "View
worksheet dependencies" on page 341.
NOTE: If your column expression uses a set field, the selected filter is not applied to the results of
the expression. To filter the expression results, you must specify the filter in the column
expression.
TIP: You can also click Expression Builder to open the Expression Builder, which assists in adding
RapidResponse fields and operators to your expression. For more information about using
Expression Builder, see "Creating expressions with Expression Builder" on page 1117.
TIP: You can also select fields, functions, variables, column identifiers, and worksheet identifiers
from a list in the Expression box. For more information, see "Expression assistance and auto-
completion" on page 1120.
TIP: If you want to save a worksheet without fixing the syntax errors found in a worksheet column
(for example, you want to fix them later), enclose the column expression in single quotes. The
expression is then treated as a valid string, and the worksheet can be saved.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet box, select the column you want to include in another column.
3. Take note of the value in the ID box.
4. Create a new column or select the column you want to include the other column's value in.
5. In the Expression box, type an expression that includes the other column's identifier, using the
syntax !ColumnID.
NOTE: You can perform operations using column values and fields in the RapidResponse
database, other column values, variables, or constant values.
TIP: You can also select column identifiers from a list in the Expression box. For more information,
see "Expression assistance and auto-completion" on page 1120.
▶Copy a column
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet box, select the column you want to copy.
3. Click Copy Column.
4. In the new column's Header box, type a unique header for the column.
NOTE: If the column you are copying has conditional formatting applied to it, the same
conditional formatting is applied to the copied column. For more information, see "Applying
conditional formatting to worksheets" on page 317.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Data tab.
3. In the Columns in this worksheet list, select a column.
The ID box displays the identifier value. By default, the identifier is the column header with spaces
removed. Column identifiers must begin with a letter.
4. In the ID box, type an identifier for the column.
CAUTION: If the column identifier is used in a column expression or in another worksheet, that
expression will fail and the worksheet will not be able to be displayed if the column identifier is
modified. If you do modify a column’s identifier, you must modify the identifier in every other
column and worksheet that references it.
NOTE: Identifiers can contain only letters, numbers, and underscore characters (_), and must
begin with a letter. When you type the column's header, invalid characters are not included in the
identifier.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, select a column and then drag it up or down to reposition
it within the worksheet column order.
▶Remove a column
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet box, select the column you want to remove, and then click
Delete Column.
NOTE: If you create a column that uses the final result from a column that is bucketed by date,
you must ensure that the worksheet does not include past or future date buckets, because this
can result in unexpected data in the calculated column. For more information, see "Define
worksheet date buckets" on page 405.
NOTE: You cannot sort a worksheet by a column that is based on another column's result. You
should indicate which columns cannot be sorted in the worksheet help.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click New Column, and then type a header for the column.
3. Select the Calculate using final results from other columns check box.
4. In the Expression box, type an expression that uses other columns.
TIP: You can also click Expression Builder to open the Expression Builder, which assists in adding
column identifiers and operators to your expression. For more information about using
Expression Builder, see "Creating expressions with Expression Builder" on page 1117.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click New Column, and then type a header for the column.
3. Select the Calculate using final results from other columns check box.
4. Select the Calculate using the result of searches on other columns check box.
5. In the Expression box, type an expression that uses other columns.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Select or create a column that is calculated using the result of other columns.
3. In the Expression box, type an expression similar to the following.
PREVIOUS (!column, initial)
where !column is the column to process, and initial is the value to use if there is no
previous record in the column
4. Optionally, you can reset the calculation based on the value in another column, using an
expression similar to the following.
PREVIOUS (!column, initial, !reset)
where !column is the column to process, initial is the value to use if there is no
previous record in the column, and !reset is the column used to reset the calculation
when the value in the column changes.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Create or select a column that is calculated using the result of other columns.
3. In the Expression box, type an expression similar to the following.
SetOperator By(!column) {expression}
where SetOperator is the set operator, !column is a column that determines the set
of result records the set operation is applied to, and expression defines the values the
set operator runs on. Depending on the set operator used, you can optionally include a
filter condition, surrounded by square brackets ([ ]) to limit the records processed by
the set operation. The filter expression must be between the column and expression.
For more information, see "Set operators" on page 1145.
You can also use the entire record set with the set operator by not specifying a column in
the By() syntax. For example,
SetOperator By() {expression}
TIP: You can also use a LOOKUP operator to find values within the set of results. For more
information, see "LOOKUP" on page 1214.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, click the multi-scenario column you want to view results
for.
3. Click New Column, and then type a header for the column.
4. On the Data sub-tab, select Calculate using final results from other columns.
5. In the Expression box, type an expression that uses other columns.
6. Add one of the following to the end of the column expression.
l #0—only the value in the baseline scenario is displayed in the column.
l #1—only the value in the comparison scenario is displayed in the column.
NOTE: If the workbook allows users to specify comparison scenarios, you can display the value in
each additional scenario by continuing the numbering for the scenario. For example, to use the
value in the third scenario (the second comparison scenario), add #2 to the end of the expression.
To use the value from the fourth scenario, add #3 to the expression, and so on.
Add a column to calculate the running total (cumulative total) of revenue for each customer. This value
is calculated by creating a Running Total Revenue column that uses the results from other columns, and
adds the previous value in the column to the value in the Revenue column, using the expression shown
in the following illustration.
Finally, add a column to calculate the total late revenue for each part, using the following expression.
For customer Berlin, a running total (cumulative total) of revenue for all orders is calculated, and the
total and average of order quantities is displayed for each part. For the Cruiser and Mountain parts, no
late revenue is calculated because no orders are late.
The final worksheet is shown in the following illustration. Only orders due before July 10 are displayed.
In this case, the total values for the orders for customer Berlin are calculated using only the orders due
before July 10, 2013. The value for the Orders Late Revenue column does not change, because the only
record used to calculate the result is still displayed in the worksheet.
Sort columns
Worksheet data is, by default, sorted according to column order (and the data in each column is sorted
in ascending order). However, you can also specify a custom sort order. When column data is sorted, a
large number of consecutive column cells often show the same value. To improve column readability,
you can suppress duplicate values (only the first occurrence of each value is shown).
1. In the New Worksheet or Worksheet Properties dialog box, click the Sort tab.
2. Click Sort data by column order.
1. In the New Worksheet or Worksheet Properties dialog box, click the Sort tab.
2. Click Custom sort order.
3. In the Sort by list, drag columns up or down to determine the order in which they are sorted.
4. For each column, select one of the following:
l Ascending—Sorts text strings from a-z, quantities from lowest to highest, and dates from
earliest to latest.
l Descending—Sorts text strings from z-a, quantities from highest to lowest, and dates from
latest to earliest.
NOTE: Records that begin with special characters are sorted ahead of other records. If a record
begins with a dash (-), the dash is ignored by the sorting process.
NOTE: If you apply a custom sort order and then add a column to the worksheet, the new column
is sorted last.
NOTE: Columns that use the final results of other columns have a sort order of None, and cannot
affect the worksheet sort order. For more information, see "Create a column based on the result of
other columns" on page 363.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet box, select the column.
3. Click the Formatting tab.
4. Select the Hide duplicate values check box.
NOTE: If you are hiding duplicate values in a crosstab worksheet, you should hide duplicates only
—Conditionally hidden column. This column displays to users when a specific condition is met.
For some worksheet chart types, you can specify hidden and conditionally hidden columns for different
chart properties. For more information, see "Hidden columns in charts" on page 609.
▶Hide a column
You can hide any worksheet column from displaying. For example, you might want a column to be used
as part of a worksheet’s sort order, but not be viewable by worksheet users.For more information, see
"Sort columns" on page 370.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, select the column to hide.
3. Select the Hide column check box.
NOTE: Fields, worksheet IDs, and column IDs are not available in Expression Builder to build query
expressions for hiding columns.
TIP: You can also hide a column by clicking Hide Column on the Data menu while in design mode.
For more information, see the RapidResponse User Guide.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet list, select a column and do the following:
Allow users to hide and show a column. Select the Allow users to hide and show column check
box.
Hide a column and prevent users from showing it. Select the Hide column check box and clear the Allow
users to hide and show column check box.
Hide a column but allow users to subsequently show Select the Hide column check box and the Allow users
it. to hide and show column check box.
Conditionally hide a column and prevent users from Select the Only hide column when check box and clear
showing it the Allow users to hide and show column check box.
Conditionally hide a column but allow users to show Select the Only hide column when check box and the
and hide the column when the condition is not met. Allow users to hide and show column check box.
NOTE: If you hide columns but allow users to subsequently display them, it is recommended that
you mention the columns in the worksheet help so that users are aware that they can be
displayed.
2. You want to initially hide the Revenue and Cost columns because they are not required by all
users of this worksheet. To provide a quick way of displaying the columns you create a Boolean
variable called ShowHide, that can be used in the worksheet expression for conditionally hiding
columns. The variable will display as a button on the workbook toolbar. The following displays
the variable settings.
4. The workbook toolbar now includes a button to show and hide columns. The following image
shows the initial view of the worksheet with the columns hidden.
CAUTION: Even if a column is hidden, the column expression associated with it is calculated each
time the worksheet is opened. This means a large number of hidden columns, particularly if they
contain complex expressions, might affect the time it takes a worksheet to display.
NOTE: You can show a hidden column at any time by clearing the Hide column check box.
▶Freeze a column
1. In the New Worksheet or Worksheet Properties dialog box, select the Columns tab.
2. Choose which column or columns you want to freeze.
3. Right-click on the column to the right of the column you want to freeze.
4. Click Freeze Columns .
A separator line appears between the frozen and unfrozen columns.
TIP: You can freeze a set of consecutive columns by right-clicking on the column to the right of
the last column you want to freeze.
l Click, drag, and drop the separator line after another column or set of columns in the Columns in
this worksheet list.
l Before all of the columns in the list -- no columns are selected to be frozen.
l After the last column in the list -- all the columns cannot be frozen.
l Before the first Group By column or after the last Group By column in a crosstab worksheet.
▶Unfreeze a column
TIP: You can also freeze or unfreeze columns directly on the worksheet by right-clicking and then
clicking Freeze Columns .
1. In the New Worksheet or Worksheet Properties dialog box, click the Subtotal tab.
2. In the On value change in column box, select the column for which to trigger the insertion of a
subtotal row.
3. In the Insert subtotals grid, for each column you want to include a subtotal, select one or more
of the following functions:
l Sum—returns a total value.
l Average—returns an average value.
l Count—returns the number of records.
l Minimum—returns the minimum value.
l Maximum—returns the minimum value.
l Running Total—returns a running total (cumulative total) for all records in the column.
CAUTION: Subtotals are connected to a worksheet’s sort order. If you change the sort order to
sort a column after the columns it summarizes, the subtotals for that column are removed. You
can add, delete, or move other columns without removing subtotals, except if you delete a column
with subtotals defined.
NOTE: If you want page breaks inserted after each set of subtotals when printing the worksheet,
select the Page break after subtotals check box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Subtotal tab.
2. In the On value change in column box, select Grand Totals.
3. In the Insert subtotals grid, for each column you want to add grand totals for, select one or
more of the following functions.
l Sum—returns a total value.
l Average—returns an average value.
l Count—returns the number of records.
l Minimum—returns the minimum value.
l Maximum—returns the minimum value.
Next, add a column that counts each record in the set, again resetting by site, as shown in the following
illustration.
In this example, there are seven records for part AC001 at site Direct and 17 records for part AC002 at
site 600.
Next, add a column that identifies the column where the record count matches the total of records in
that set, as shown in the following illustration.
To improve the worksheet's readability, hide the Site Count and Record Count columns. The final
worksheet is shown in the following illustration.
NOTE: Hiding the top row is not recommended for worksheets with only one column displayed
after the last Group By column unless the name of the top row is included in the worksheet name.
1. In the New Worksheet or Worksheet Properties dialog box, click the Group tab.
2. Select the Group data check box.
3. Select the Group by function for at least one column. If the last Group By column is a date, you
can also define date buckets for the data. For more information, see "Define worksheet date
buckets" on page 405.
4. For all other (data) columns, select one of the following grouping functions:
l Associate—returns a value based on the Minimum or Maximum summary value returned in
another column. If there are multiple Minimum or Maximum functions, the associate value is
NOTE: If you do not assign at least one Group by function, a grouped worksheet will return only a
single summary value.
NOTE: In some cases, the Associate function can return one of several potential values. For
example, suppose a worksheet grouped by Part with the Minimum function applied to a DueDate
column, and Associate applied to Order Number. If several orders share the earliest due date for a
given part, then the Associate function would randomly return one of these possible values.
NOTE: If you have upgraded from a version of RapidResponse prior to 9.2, you might have
worksheets that use a post-query filter expression to filter grouped data. These worksheets
cannot have worksheets based on them, and to modify the filter settings you must edit the post-
query filter expression.
NOTE: Columns that use the final results of other columns have a grouping rule of None, and
cannot be grouped or affect the grouping of other columns. For more information, see "Create a
column based on the result of other columns" on page 363. These columns cannot be used to
modify data, but can drill to a details worksheet or a form. For more information, see "Creating drill
dependencies and links" on page 663.
NOTE: For crosstab worksheets that are bucketed, you can hide column headers for both the top
row and for calendar names.
You can also use summarization functions in place of set operations. For example, you can use a
summarization function to calculate the average of values for a part instead of using the AVERAGE
operator. For more information, see "Set operators" on page 1145. Set operators are typically used to
summarize values from tables other than the one the worksheet is based on, so you can use the
summarization function in a composite worksheet that displays data from multiple tables. For more
information, see "Creating composite worksheets" on page 467. Using summarization functions instead
of set operators can improve worksheet performance.
If you are also grouping the data in the worksheet, you cannot group the data by a column that you
have defined a summarization function for. You must either remove the summarization function or
group the worksheet by a different column. For more information, see "Group column data" on page
382.
NOTE: Running sums are calculated before worksheet searches are applied.
NOTE: If you choose to group columns, the summarization function is applied after the grouping
functions. Running sums on grouped columns do not reset when a value changes.
NOTE: If you choose to reset on a change in the hierarchy columns and a worksheet user does
not select a hierarchy value, the summarization does not reset.
NOTE: Summarizations are calculated after the final result of the column is produced. If a column
is calculated using the final result of a column that has a summarization applied to it, the
summarization is not included in that result. For more information, see "Create a column based on
the result of other columns" on page 363.
Worksheet filtering
You can limit the scope of data that displays in a worksheet by adding a worksheet filter. A worksheet
filter is a logical expression specifying conditions that data in the worksheet’s table must meet in order
to be shown in the worksheet. This ensures a more focused and manageable set of records. For
example, instead of showing all records from the ScheduledReceipt table, a worksheet could show only
purchase orders.
NOTE: When creating worksheets based on calculated tables, item-filtering controls should
1. In the New Worksheet or Worksheet Properties dialog box, click the Filtering tab.
2. In the Worksheet filter expression box, type a logical expression.
3. Click Validate Expression to verify the syntax in your expression. RapidResponse does not allow
worksheets to be saved with invalid syntax.
NOTE: If you require filtering beyond the worksheet filter expression, you can create a composite
worksheet and apply a filter expression to it. For more information, see "Filter data from a
component worksheet" on page 496.
TIP: You can also click Expression Builder to open the Expression Builder, which assists in adding
RapidResponse fields and operators to your expression. For more information about using
Expression Builder, see "Creating expressions with Expression Builder" on page 1117.
TIP: If the expression you want already exists in a filter, you can reference that filter in your logical
expression instead of typing in the expression again.
In some cases there may be two filters with the name specified in the query expression. That is, there
may be both a public filter and a given user’s private filter having the same name. A RapidResponse
query expression will first look for and use a user’s private filter with the specified name and, if not
found, will then look for and use a public filter with the specified name. If necessary, however, you can
specify that RapidResponse looks for and uses only a named private filter or only a named public filter as
outlined below.
To use Syntax
Only the named private filter. private s'filterName'
For example, suppose a filter called “My Parts” is based on the Part table and returns only the parts
“Cruiser”, “ProCruiser”, and “Racer”. The following table shows examples of calling this filter from a
worksheet filter expression.
CAUTION: Users receive an error message if they attempt to open a worksheet calling a filter to
which they do not have access.
1. In the New Worksheet or Worksheet Properties dialog box, click the Filtering tab.
2. Depending on the controls you want available to worksheet users, select any of the following
check boxes:
l Use the Filter control—allows worksheet users to select a filter from the Filter control.
Available only if the Include the filter control option was selected when the workbook was
created, and the worksheet is based on a table that has some connection to the workbook’s
table.
l Use the Site control—allows worksheet users to select a site from the Site control. Available
only when there is at least one path to a site field from the table on which the worksheet is
based.
l Use the Model control—allows worksheets users to select a model from the Model control.
Available only if your company has enabled the Model-Unit Effectivity module, and the
worksheet is based on a table that has some connection to the Model table.
l Use the Pool control—allows worksheets users to select an inventory pool from the Pool
control. Available only if the worksheet is based on a table that has some connection to the
Pool table.
3. For each check box selected in the previous step, make a selection from the Apply to field list to
specify the field the corresponding control is applied to (only necessary if there are multiple fields
to which the control can be applied). For example, in a worksheet based on the
IndependentDemand table, you can specify that part-based filters are applied to either the Part
or GatingPart fields.
4. If you selected the Use the Model control or Use the Pool control check boxes, in the Apply the
Model and Pool settings area, click one of the following:
l Always—The selections you make in the Use the Model control and Use the Pool control
areas are always applied to the worksheet data.
l Only if they affect part netting—The selections you make in the Use the Model control and
Use the Pool control areas are only applied if they affect Netting for a given part. If the table
the worksheet is based on has multiple paths to the Part table, you must select one of these
in the Part field list.
5. If the worksheet contains multi-scenario columns, in the Scenario comparison area, click one of
the following.
NOTE: Depending on the table the worksheet is based on and how the columns are defined, the
field the worksheet controls apply to might not produce the intended results. In this case, you
should ensure the field in the Apply to field list for each control matches the field used in the
column definition.
NOTE: If the worksheet is bucketed by date, you cannot show only records with differences
between scenarios. For more information, see "Define worksheet date buckets" on page 405.
NOTE: If you have applied controls to specific fields and then modify the worksheet, you should
ensure the fields you have selected can still be reached. If the path to a specified field is not valid, it
is displayed with the red X icon .
NOTE: Fields and references other than the owner can be used in worksheet filter expressions to
ensure the worksheet's intended scope of records is displayed. However, only filter controls or
worksheet filter expressions made on or through the owner reference impact the worksheet
processing time attributable to analytic calculations.
NOTE: To understand how long a worksheet is taking to load as well the number of records
processed and the table/field paths taken by worksheet calculations to access those records, the
worksheet performance tool can be used. For more information, see "Analyzing worksheet
performance and processing times" on page 857.
Examples
The WhereConsumedForSupply table is populated by full-level pegging calculations and is used to
report all component supplies, across all levels, that are required to fill a given production order
(scheduled receipt, planned order, and so on). This table contains several references to the Part table,
including the DriverPart field which is the owner reference and indicates the top-level part that is
ultimately driving the supply allotment reported on a given record. If building a worksheet based on the
WhereConsumedForSupply table, Part and Site filters should be applied through the DriverPart
AvailableToPromise Part
BillOfMaterialFeatureRule BillOfMaterial
BlowThroughNewAllocation Part
BlowThroughPlannedAllocation Part
BOM_MUECUMLead BillOfMaterial
CoByProductSupply Part
Conflict Project
ConsensusForecast Part
ConsensusForecastDetail Part
ConstraintSpreadLoad Constraint
CostOfGoodsSold Part
CostRollUp Part
CriticalPath Project
CTPActivity Part
CTPCoByProductSupply Part
CTPForecast Part
CTPForecastCost Part
CTPPlannedOrder Part
CTPSubstituteSupply Part
Demand Part
DemandException Part
DependentConsensusForecast Part
DependentDemand Part
DirectComponent Part
DisaggregationRateByPartCustomer PartCustomer
FeatureBOMForIndependentDemand IndependentDemand
FlatBillDown Part
FlatBillUp Part
FlatComponent Part
FlatConstraint Part
FLPConstraint Constraint
Forecast Part
ForecastConsumption Part
ForecastItemParametersActual ForecastItemParameter
IndependentDemandByFeature Part
IndependentDemandCost IndependentDemand
IndependentDemandFeature IndependentDemand
IndependentDemandFeatureSummary Part
InventoryAnalysis Part
InventoryCTPAnalysis Part
InventorySummary Part
LateSupply IndependentDemand
LoadDailyCurrent WorkCenter
LoadDailyPlanned WorkCenter
LoadDetailCurrent WorkCenter
LoadDetailPlanned WorkCenter
LoadFLPPlanned Operation
LoadOperationNewOrderPlanned Routing
LoadOperationReceiptsCurrent Routing
LoadOperationsReceiptsPlanned Routing
LoadWeeklyCurrent WorkCenter
LoadWeeklyPlanned WorkCenter
MaximumInventoryResult Part
MEIODriverPart Part
MEIOParentPart Part
MEIOStage Part
MEIOStageLink Part
MEIOStageResult Part
MEIOStageHistoricalDemand Part
MEIOStageHistoricalForecast Part
MEIOStageTimePhasedResult Part
NewAllocation BillOfMaterial
NewTransferAllocation PartSource
Part_MUECumLead Part
Part_MUEPoolValidation Part
PartSourceCTPPlannedOrder PartSource
PartSourcePlannedOrder PlannedOrder
PeriodConstraintLoad Constraint
PeriodsOfCoverage Part
PeriodsOfCTPCoverage Part
PlannedAllocation BillOfMaterial
PlannedOrder Part
PlannedTransferAllocation PartSource
ResourceDataByDate Resource
ResourceLoad Resource
SafetyStockHistoricalDemand SafetyStockItem
SafetyStockHistoricalForecast SafetyStockItem
SafetyStockHistoricalSupply SafetyStockItem
SafetyStockResult Part
SafetyStockTimePhasedResult Part
ScheduledReceiptCost ScheduledReceipt
StatisticalForecast ForecastItemParameters
StatisticalForecastDetail ForecastItemParameters
StatisticalForecastDisaggregationRate ForecastItemParameters
StatisticalForecastFitOutput ForecastItemParameters
StatisticalForecastPredictActual ForecastItemParameters
SubstituteSupply Part
Supply Part
SupplyDemand Part
ValidatePlannedOrder Part
WhereConsumed Part
WhereConsumedForDemand IndependentDemand
WhereConsumedToHighVolumeOrder Part
1. In the New Worksheet or Worksheet Properties dialog box, click the General tab.
2. Ensure the Allow inserting records check box is selected and then do one of the following:
l To use the default insert definition defined for the table, click Default insert definition.
l To use another insert definition already defined for the table, click Insert definition and then
click a definition from the list.
l To define an insert definition for this worksheet only, click Custom insert definition, click
Settings, and then specify the fields and default values for the definition. For information
about creating an insert definition, see "Create an insert definition" on page 565.
NOTE: A custom definition is automatically exported and imported with the workbook when you
export and import the workbook. For more information, see "Import and export resources" on
page 133.
1. In the New Worksheet or Worksheet Properties dialog box, click the General tab.
2. In the Data editing area, click to clear the Allow inserting records check box.
NOTE: Inserting is not available for worksheets in a metric workbook or for worksheets based on
a calculated table.
NOTE: You can also allow users to insert records by modifying data in a grouped or crosstab
worksheet using a custom insert definition. If you enable inserting through editing grouped data,
users can always insert, even if you clear the Allow inserting records check box. For more
information, see "Enable editing for grouped data" on page 423.
1. In the New Worksheet or Worksheet Properties dialog box, on the General tab, select
Automatically calculate when moving between.
2. Select on of the following options:
l Rows—updates calculated fields when a user moves to a different row after editing a value.
l Cells—updates calculated fields when a user moves to a different cell after editing a value.
This option can impact performance more significantly than if you select to calculate when a
user moves to a different row and should be used carefully.
3. To show the impact of data changes in all other worksheets, select Automatically calculate in all
worksheets.
NOTE: When you select Automatically calculate in all worksheets, you can only edit one
worksheet at a time. To edit in another worksheet, you must first save your data changes.
NOTE: You cannot set the workbook to manually refresh if Automatically calculate in all
worksheets is selected. For more information, see "Specify workbook refresh options" on page
243.
NOTE: If the Use enhanced task editing option is selected in a worksheet's properties,
Automatically calculate is unavailable.
NOTE: If a worksheet is set to automatically calculate results, deleted records disappear from view
immediately rather than being marked in blue on the worksheet. Users can still recover the
deleted records until they save their changes.
When inventory transfers are enabled on a worksheet, the Transfer Inventory button is added to the
worksheet toolbar, and provides access to the Transfer Inventory dialog box. This dialog box is used to
l In the New Worksheet or Worksheet Properties dialog box, select the Allow inventory transfer
check box.
NOTE: The Allow inventory transfer check box is inactive on worksheets based on tables that do
not have a path to the Part table. For example, this check box is not available if you are creating a
worksheet based on the Constraint table.
Editing records
You can allow users with appropriate permissions (such as permissions to edit data and access to a
scenario the user can modify) to edit records in a worksheet, by either deleting the records or splitting
records.
1. In the New Worksheet or Worksheet Properties dialog box, click the General tab.
2. Select the Allow deleting records check box.
NOTE: Deleting is not available for worksheets in a metric workbook, grouped worksheets, or
worksheets based on calculated tables, and if this worksheet is intended to be used in a
composite worksheet, deleting is allowed in the composite worksheet only if you selected the
Allow deleting records check box on this worksheet.
NOTE: Only RapidResponse administrators can modify the Warn if any referencing records will
also be deleted check box.
1. In the New Worksheet or Worksheet Properties dialog box, click the General tab.
2. Select the Allow record splitting check box.
NOTE: You cannot allow record splitting if the worksheet data is grouped or the worksheet
Crosstab worksheets let you display summarized and grouped data in a horizontal bucketed layout that
is typically date-based. The buckets are populated with data, such as supply, demand, or balance
quantities. In RapidResponse, you can create multi-dimensional crosstabs with multiple data columns.
The following show examples of crosstabs created in RapidResponse.
NOTE: Because crosstab worksheets show summarized and bucketed data, some standard
worksheet features might not be available. For example, users cannot delete or sort data
displayed in a crosstab worksheet, and can only edit data if the crosstab has editable data
1. In the Worksheet Properties dialog box, click the Columns tab and add columns using the
following guidelines:
l Add the columns that you want to use as crosstab dimensions first. The dimension column
that you want to pivot in the crosstab worksheet must be the last dimension column
displayed (typically, this is a date column).
l Add the data columns used to populate the crosstab worksheet after the dimension columns.
2. On the Sort tab, ensure the specified sort order is the Sort data by column order sort option.
For more information, see "Sort columns" on page 370.
The sort and display order of the columns must be identical.
3. On the Group tab, select the Group data check box, and then do the following:
l Apply the Group By function to all dimension columns. The last Group By column is pivoted
to create the crosstab view.
l Apply the desired grouping functions to all data columns. For more information, see "Group
column data" on page 382.
l Select the Crosstab view check box.
NOTE: For complete information about creating worksheets, see "Create a table-based
worksheet" on page 347 and "Create a composite worksheet" on page 483. For complete
information about making grouped data editable, see "Enable editing for grouped data" on page
423.
NOTE: You can resize crosstab columns and column headers by hovering your pointer over the
border of the column header and clicking and dragging it to the desired size. The pivoted bucket
columns resize together. You can resize data columns and all other columns individually.
NOTE: Users cannot sort columns in a crosstab worksheet. When you select the Bucket data by
date or Crosstab view check boxes, the Allow sorting check box on the General tab is cleared.
For more information, see "Specify worksheet display options" on page 281.
TIP: To improve worksheet readability, you can hide duplicate values. On the Columns tab, click
the Formatting tab and select the Hide duplicate values check box for all dimension columns up
to the last Group By column (the column you want to pivot in the crosstab).
For workbooks that allow users to specify comparison scenarios, each scenario adds a row to the
worksheet. For example, the following illustration shows a crosstab worksheet that displays demand
data in the Yesterday, Demand Increase, and Demand Decrease scenarios.
For more information about multi-scenario worksheets, see "Creating multi-scenario worksheets" on
page 265.
NOTE: For information about creating multi-scenario worksheets, see "Add multi-scenario
columns" on page 267.
The Today The first date in the bucket that contains the Today date constant is used as the anchor date.
date For example, in a scorecard that shows results for weekly buckets, if today is July 10, the anchor
constant date is July 7, the beginning of the week.
One of the Any of the above dates can have a number of calendar periods added to or subtracted from it. This
above dates offsets the date by the specified number of periods, and can be used to report data from the
with an middle or end of a calendar period.
offset For example, if your company reports forecasts or revenue on Wednesdays, but the week begins
on Monday, you can define the anchor date as the beginning of the current week plus two work
days..
By default, each date-bucketed worksheet has 2 weekly buckets displayed before the anchor date, and
13 weekly buckets after the anchor date. If necessary, you can modify the buckets that display in a
worksheet. For example, if you are doing longer term planning you might want to add more buckets to
be displayed after the anchor date. You can also use different bucket units within the same worksheet.
For example, if you require more detailed data in the short term, you can initially use weekly buckets,
and then switch to monthly or quarterly buckets after a specified period of time.
Regardless of what you select as the anchor date, you can choose to highlight the bucket that contains
either the planning date or Today. This bucket is marked with a black triangle marker in the top right
corner of the column header. You can use this highlight to show where the current date is in relation to
the anchor date. For example, if you set the anchor date as the beginning of the current quarter, all
buckets will be defined from that point. As the quarter progresses, the anchor date moves farther into
A bucket marked with a marker in the top right corner does not contain the expected amount of data.
The bucket could contain data for more than one period, such as the last bucket in a calendar period
with additional periods after it. These additional periods come after the last bucket but before the next
bucket, and their data is displayed in the last bucket of that period. For example, if you have buckets for
weeks and months, you might have multiple weeks of data displayed in the last weekly bucket, as shown
in the following illustration.
To prevent a bucket from containing more than one period of data, you can automatically add buckets
to ensure that transitions between calendars always display the correct data for each period.
The bucket could also contain data for less than a full period, such as the last bucket in a calendar
period with dates that overlap the first period of the next bucket size. For example, if you have buckets
If your company has defined labels for buckets, you can show those labels in the worksheet instead of
the dates. For example, if the dates in your Month calendar use the month name and year as labels, your
worksheet will show 'August 2008' instead of '08-01-08' for a monthly bucket for August. For more
information, contact your RapidResponse administrator.
Worksheet users can apply their own bucket settings to worksheets you create. However, if you do not
want the buckets to be modified, you can choose to not allow users to change the buckets you specify.
If the worksheet is used as the base of an editable composite crosstab worksheet, you can specify the
range of dates to be used in the composite worksheet by not allowing the buckets to be changed. For
more information, see "Group and bucket data from component worksheets" on page 496.
Worksheet users can also switch between worksheet-specific buckets or use buckets for the entire
workbook. To allow users to switch, both the worksheet and workbook buckets must use advanced
bucketing. For more information, see "Define advanced bucketing for a worksheet or workbook" on
page 411.
NOTE: To restore the workbook’s bucket settings to the worksheet, click Workbook bucket
settings from within the Bucket Settings dialog box.
NOTE: The calendars (bucket sizes) available in your RapidResponse system are specified by data
administrators. Calendars can be defined to be excluded from the Bucket Settings dialog box. For
more information, see the Calendar.PlanningOnly field in the RapidResponse Analytic and Data Model
Guide. This is available to resource authors and administrators.
NOTE: To restore the workbook’s bucket settings to the worksheet, click Workbook bucket
settings from within the Bucket Settings dialog box.
NOTE: If you automatically add buckets when changing calendars, your worksheet will typically
contain partial buckets at the end of each calendar period.
NOTE: The calendars (bucket sizes) available in your RapidResponse system are specified by data
administrators. Calendars can be defined to be excluded from the Bucket Settings dialog box. For
more information, see the Calendars.PlanningOnly field in the RapidResponse Analytic and Data
Model Guide. This is available to resource authors and administrators.
TIP: You can also specify the number and size of buckets by clicking the Worksheet Settings
button on the toolbar while in Design mode.
If you did not insert buckets between calendar transitions, splitting a bucket with a subtotal counts as
two buckets against the number you have specified. For example, if your worksheet contains six weekly
buckets, splitting a bucket with a subtotal will show five weeks of data in six buckets. You can prevent
subtotals from splitting buckets by always using calendars with coordinating start and end dates, such
as a fiscal calendar. In this type of calendar, every week, month, quarter, and so on ends on the same
date, so buckets are never split to insert a subtotal.
If you define subtotals for any bucket, worksheet users will only be able to modify the number of
buckets they can see in their personal bucket settings.
When you define subtotals, you can choose whether the subtotals are calculated using only the values
displayed in the worksheet, or all values for the period regardless of whether they are included in the
worksheet. For example, if your worksheet displays data for two months and you add a quarterly
subtotal, you can include the values from all three months of the quarter in the subtotal, as shown in
the following illustration.
However, only rows that calculate a sum of the values in the period can be used with calendar-to-date
totals. If the subtotals for a row show the first or last value in the period, the calendar-to-date subtotal
for that row is blank.
1. In the New Worksheet or Worksheet Properties dialog box, click the Group tab.
2. Click Bucket Settings.
3. In the Bucket Settings dialog box, click Advanced.
4. In the first subtotal column, select the calendar to be used for subtotals.
This calendar must contain periods longer than the smallest bucket. For example, if the smallest
bucket size in the worksheet is monthly, you cannot add a weekly subtotal.
5. Select the check box for each bucket size you want this subtotal to apply to.
6. Repeat steps 4 and 5 for the rest of the subtotal columns.
For each successive subtotal you add, only calendars with periods longer than the preceding
subtotal's calendar are available.
NOTE: Bucketed subtotals do not affect subtotals added through the Subtotal tab of the
7. To include the remainder for the calendar, in the Include remainder bucket list, click Yes, and
then in the Remainder bucket label box, type a name for the remainder bucket.
NOTE: The date specified for the calendar to date subtotal must be within the worksheet's
buckets. Otherwise, the calendar to date subtotal is not displayed in the worksheet.
NOTE: The Bucket label and Remainder bucket label boxes define a single column header level,
and cannot contain quotation marks (") or pipe characters (|).
NOTE: The values you specify in the Bucket label and Remainder bucket label boxes must be
unique, and cannot match other subtotal calendars.
1. In the New Worksheet or Worksheet Properties dialog box, click the Group tab.
2. For each row, click the value in the Bucket Subtotals column, and then click one of the following:
l Sum—The subtotal columns are calculated using the row's grouping rule. For example, the
subtotal for a row grouped by Sum contains the sum of all values in the period. The subtotal
for a row grouped by Average contains the average of all values in the period.
l Last bucket—The subtotal columns contain the value from the last bucket in the period.
Calendar-to-date subtotal columns do not contain a value.
l First bucket—The subtotal columns contain the value from the first bucket in the period.
Calendar-to-date subtotal columns do not contain a value.
l None—The subtotal columns do not contain a value.
NOTE: The Bucket Subtotals column is visible only if the worksheet has bucketed subtotals
defined.
Subtotals as columns
In a multi-dimensional crosstab worksheet, subtotals are shown as columns for the second to last
Group By dimension column. For example, in a three dimensional crosstab worksheet, you can add
column subtotals for only the second dimension column. Each type of subtotal that you set results in a
subtotal column at the end of the worksheet columns.
The following illustration shows settings that display subtotals as columns for a three-dimensional
crosstab and the resulting worksheet.
The hierarchy columns in this example display only the level below the user's selected level, which
displays every value underneath the selected level and ensures multiple values are present in the
hierarchy columns. For example, if the selected level was displayed instead, the hierarchy column would
contain only the 'Mfg' value. Displaying the level under the selected level is the recommended setting for
these worksheets.
1. In the New Workbook or Workbook Properties dialog box for a workbook that contains a
hierarchy panel, click the Worksheets tab.
2. Click New, and then click the type of worksheet you want to create.
3. Click the Columns tab.
4. Add the column to group the worksheet data by.
5. Add the data columns, and apply summarizations to the columns that require them. For more
information about the summarization functions, see "Add column totals and subtotals " on page
377.
6. Select the Include hierarchy columns check box, and then click Settings.
7. In the Hierarchy Column Settings dialog box, do the following:
l Click the display option you want to use for adding hierarchy columns. For more information,
see "Add columns based on a hierarchy" on page 285.
NOTE: If the summarizations reset on a value change in the hierarchy columns, selecting the
When computing column data summarizations calculate across the hierarchy columnscheck
box causes the summarizations to reset in each row. To prevent this, you should select a different
column to reset the summarizations. For more information, see "Apply a summarization function
to a column" on page 384.
You can also create a drill link on a crosstab worksheet that opens a form. For some grouped, crosstab
worksheets, you can drill to details from a column header. For more information, see "Set up drill links
from a column header" on page 677.
For example, in a worksheet based on the IndependentDemand table, a Quantity column or a column
that calculates revenues from quantities and selling prices can be made editable, but a Days Late column
or a column that calculates the difference between the effective demand and on time quantity cannot.
NOTE: You cannot enable editing if the worksheet is grouped using an expression-based column.
1. In the New Worksheet or Worksheet Properties dialog box, click the Group tab.
2. Ensure the Bucket data by date check box is selected.
3. For the data column you want to make editable, change the grouping function to Sum or
Average.
4. Click Data Editing.
5. In the Data Editing dialog box, on the General tab, select the Allow data editing check box.
6. If the column you are making editable contains an expression instead of a field name, you must
choose the field to apply the data edits to. For example, you can modify revenue values (Quantity
multiplied by UnitSellingPrice) by applying the edits to the Quantity field. To do so, on the
General tab, in the Apply data edits to field list, click the field the edits are applied to.
When data in this column is edited, the value in the editable field is modified to produce the
desired result. Changes made in columns defined by mathematical expressions can only be
spread across the records in the bucket, and cannot insert new records.
NOTE: All numeric fields in the table are listed in the Apply data edits to field list. When you
select a field, ensure you select the editable field that is used in the column expression, and test
the worksheet to ensure modifying the values in the column produces the correct results.
NOTE: Data columns that can be made editable are identified with a “Yes” or “No” in the Editable?
column on the Worksheet Properties dialog box’s Group tab. All grouped columns are by default
not editable. Columns that cannot be made editable, such as ones not using the Sum or Average
grouping functions or ones that are calculated with non-editable fields, have nothing in the
Editable? column.
▶Specify if negative values are allowed in a grouped column and detail records
You can allow users to insert negative values into a grouped column. You can also allow for negative
values to be inserted into the detailed records that are summarized in the edited bucket.
1. In the Data Editing dialog box, on the General tab, select the Allow negative data values check
box if you want users to be able to insert negative values into the grouped column.
2. If you want to create new negative detail records or change current positive values of detail
records to negative values on a change in the bucket, select the Allow negative data values in
detail records check box.
1. To spread the increase across all records in the bucket, in the Data Editing dialog box, on the
Modifying Data tab, in the Increase area, click one of the following:
l Spread increase across all records in bucket, and then click either Proportionally or
Equally—adds a portion of the increase to every quantity in the bucket.
If you clicked Proportionally, records with higher data values are assigned a larger portion of the
increase. A record that has a zero quantity is not increased, except if every record in the bucket
has a zero quantity, in which case the increase is spread evenly across the bucket. If all records in
the bucket have the same quantity, the increase is spread evenly.
If you clicked Equally, the increase is spread evenly across the bucket.
l If you want to insert a new record when there are no records in the bucket, click Insert a new
record.
l If you do not want empty buckets to be edited, click Do not allow editing.
2. To always insert a new record with a quantity equal to the difference between the old value in the
cell and the new one, click Always insert a new record. The record is inserted using the insert
definition specified on the New Records tab. This option is not available if the column you are
making editable is defined by a mathematical expression.
3. If you selected Always insert a new record in step 1 or Insert a new record in step 2, specify how
the new records are inserted.
NOTE: If the workbook includes the hierarchy panel, it is recommended you choose the Spread
increase across all records in bucket and Do not allow editing options. This ensures that when
records are inserted, the worksheet user must use the Insert Record dialog box and provide the
correct context for the new records.
NOTE: A record is inserted only if the bucket does not contain any records. If the bucket contains
records, but every record contains zero values, those values are modified. If you enable records to
be inserted, you should include a note in the worksheet help indicating the situations in which a
record will be inserted.
NOTE: If your company has a policy for numbering orders or lines, you should choose the Spread
increase across all records in bucket option to ensure additional records are not inserted.
l In the Data Editing dialog box, on the Modifying Data tab, in the Decrease area, click one of the
following:
l Spread decrease across all records in bucket—subtracts a portion of the decrease from every
quantity in the bucket. Click Proportionally to subtract larger portion of the decrease from
records with higher data values. Click Equally to subtract an equal portion from all records.
l Decrease from beginning of bucket—quantities are reduced starting with records on the first
day of the bucket. If the first record is reduced to zero and further decreases are required, the
next record in the bucket is decreased, and so on.
l Decrease from end of bucket—quantities are reduced starting with records on the last day of
the bucket. If the last record in the bucket is reduced to zero and further decreases are
required, the previous record in the bucket is decreased, and so on.
NOTE: The value in a cell cannot be negative unless you allowed negative values.
▶Specify how decreases are handled for a grouped column when negative values in detail records
are allowed
If you have selected the Allow negative data values in detail records check box, follow this procedure
for specifying how decreases are handled.
1. To spread the decrease across all records in the bucket, in the Data Editing dialog box, on the
Modifying Data tab, in the Decrease area, click one of the following:
l Spread decrease across all records in bucket, and then click either Proportionally or
Equally—subtracts a portion of the decrease to every quantity in the bucket.
If you clicked Proportionally, records with higher data values are assigned a larger portion of the
decrease. A record that has a zero quantity is not decreased, except if every record in the bucket
has a zero quantity, in which case the decrease is spread evenly across the bucket. If all records in
the bucket have the same quantity, the decrease is spread evenly.
If you clicked Equally, the decrease is spread evenly across the bucket.
l If you want to insert a new record when there are no records in the bucket, click Insert a new
record.
l If you do not want empty buckets to be edited, click Do not allow editing.
2. To always insert a new record with a quantity equal to the difference between the old value in the
cell and the new one, click Always insert a new record. The record is inserted using the insert
definition specified on the New Records tab. This option is not available if the column you are
making editable is defined by a mathematical expression.
3. If you selected Always insert a new record in step 1 or Insert a new record in step 2, specify how
the new records are inserted.
NOTE: If the workbook includes the hierarchy panel, it is recommended you choose the Spread
decrease across all records in bucket and Do not allow editing options. This ensures that when
records are inserted, the worksheet user must use the Insert Record dialog box and provide the
correct context for the new records.
NOTE: If your company has a policy for numbering orders or lines, you should choose the Spread
decrease across all records in bucket option to ensure additional records are not inserted.
l In the Data Editing dialog box, on the Modifying Data tab, select the Delete records with zero
value after change check box.
CAUTION: Deleting a record with a zero value removes all records associated with that record
from tables that reference the deleted record. Record deletion cannot be undone.
NOTE: Records that had zero values before the decrease are not deleted.
NOTE: This option applies to the amount by which each record in the bucket is increased or
decreased. If decimal values are not allowed, the amount by which to increase or decrease the
values in the bucket is calculated so no decimal values are added or subtracted. If a decimal value
is entered in the editable worksheet, it is modified so no records in the bucket are increased or
decreased to a decimal value.
NOTE: If you do not allow decimal values, the amount each record is modified by might be
rounded up or down. This might cause the total value in the bucket to not match the value
entered in the cell.
▶Protect a record
You can designate some records in a worksheet as protected, which means they cannot be modified by
changes in the grouped worksheet. You can specify the criteria for protecting records. For example, you
can protect records in particular date buckets or orders from specific customers. Records are protected
only in the worksheet that you specified the protection criteria for, and can be modified in other
worksheets.
NOTE: If the worksheet is based on the IndependentDemand table, the expression that defines
protected records automatically includes the phrase ProtectQuantity = 'Y'. However, you can
allow these records to be edited by removing this phrase from the expression. For more
information about the ProtectQuantity field, see the RapidResponse Analytic and Data Model Guide.
NOTE: You cannot close the Advanced Editing dialog box with an invalid expression.
You only want forecast information to be displayed, so on the Filtering tab you add a filter expression to
include only orders whose type is “Forecast”.
After specifying the grouping settings, you define the date buckets for the worksheet. Because you
want the worksheet to display 12 months of forecast demand, you specify 12 monthly buckets after the
planning date, and no others. You also do not allow users to modify the buckets, so that 12 months of
data is always displayed in the worksheet.
To make the Quantity editable, you select it and then click the Data Editing button. In the Data Editing
dialog box, you decide to have increases and decreases spread across the forecast records in the
bucket, to insert a record if the bucket being edited is empty, and to not allow any decimal values in the
forecast records.
You then define the values that inserted records will use. The Line value is incremented with every record
that is inserted, and you define a value of 1 for it. You define a value of “NewForecast” for the Order ID
field and “Forecast” for the Order Type field, and use the value determined by RapidResponse for the
Order Site field.
The worksheet displays the forecasted quantities for each part over the next 12 months.
l Whether or not you allow decimal values depends on the worksheet's intended use. If the
worksheet is being used to create comparable ratios, then you can allow decimals values if desired.
If the worksheet is being used to edit quantities or revenues in whole values, and the number of
detail records is not important, you should prevent the use of decimal values.
l If you choose to not allow decimal values, it is recommended that you allow zero values. If neither
decimals or zeros are allowed, then it is possible that an aggregate value could be rounded down
to zero, which will then be deleted. This would change the overall number of records, which in turn
would change the average of the detail record values.
l If you allow detail records with zero values to be deleted as the result of a modification, the rest of
the values are recalculated to maintain the same average.
For more information, see "Enable editing for grouped data" on page 423.
l The worksheet must contain only one group-by column, and it must be the date column that is
being bucketed.
l The worksheet must contain hierarchy columns.
1. In "Enable editing for grouped data" on page 423, complete the steps in the Make a data column
editable procedure.
NOTE: When selecting a default source worksheet for editing in percentages, you should ensure
that it does not cause performance issues at runtime. Every time the worksheet user opens the
crosstab worksheet, the default source worksheet also opens. The time required for the default
source worksheet to open is added to the time it takes for the crosstab worksheet to open; if the
default worksheet takes an average of 30 seconds to load, this can result in a frustrating
experience for the worksheet user.
l Equally over the new records: The records in the spreading worksheet determine the data values
used to insert the records with an equal amount of the quantity assigned to each record. The
spreading worksheet in this case should not contain date or quantity columns.
l According to a defined ratio: The records in the spreading worksheet determine the ratio of
quantities inserted for each record. The spreading worksheet must contain a quantity column.
l Across different dates in the bucket: The records in the spreading worksheet determine the dates
assigned to each record. The spreading worksheet must contain a date column.
l Across different dates in the bucket and according to a defined ratio: The records in the spreading
worksheet determine the ratio of quantities and the dates assigned to each record. The spreading
worksheet must contain date and quantity columns.
NOTE: When you insert records using date spreading, the date values and bucket size (using
either values from the crosstab worksheet or date and calendar variables) are passed to the
spreading worksheet, and the result used to define the time period for inserting records. These
values are not reflected in the data displayed in the spreading worksheet. If you want to test the
spreading worksheet, you must insert records, and then use a detail worksheet to view the values
that were inserted. For more information, see "Creating drill dependencies and links" on page 663.
Spreading examples
The best way to learn about enabling the insertion of multiple records is to review the following
examples of the different spreading methods:
Examples of worksheets that perform each type of spreading are available for download from the
Kinaxis Supply Chain Expert Community. Click the following link to download the workbook that
contains these examples:
https://community.kinaxis.com/docs/DOC-6572
Inserting records using references provides similar results to spreading using key field values. For an
example of creating a worksheet that spreads values using references, see "Example: Using reference
fields for spreading" on page 454.
1. In Enable editing for grouped data, complete the steps in the Make a data column editable
procedure. For more information, see "Enable editing for grouped data" on page 423.
2. On the Modifying Data tab, do either of the following:
l If you want to insert new records only when no records exist in the bucket, click Spread
Increase across all records in bucket, and then click Insert a new record.
l If you want to always insert new records, click Always insert a new record.
3. On the New Records tab, click Insert multiple records.
4. In the Bucketing date area, click one of the following:
l Bucket date—inserts the record using the first date in the bucket.
l Bucket date adjusted by—inserts the record using the date calculated using the number of
periods and the period length you specify.
l Last in bucket—inserts the record using the last period you specify in the bucket.
l Get date values from spreading worksheet—inserts the records using the data values from
a spreading worksheet you specify.
5. If you selected Bucket date adjusted by in step 4, specify the number of periods, and then in the
list, click the calendar that specifies the length of the periods.
If you selected Last in bucket in step 4, in the list, click the calendar that specifies the period to
insert the record on.
6. In the Spreading worksheet list, click a worksheet that you want to use to define the values that
are inserted for each record.
If the spreading worksheet is in a library workbook, you must first select the library workbook
from the Workbook list. This list is only visible if a link to a library workbook has been defined. For
more information about library workbooks, see "Library workbooks" on page 254.
7. In the Field column click the button in the Field column to map the Column ID to a field.
8. In the Select Field dialog box, click the field you want to map the column to, and then click OK.
9. In the Field value definitions area, choose an insert definition. For more information, see
"Enable editing for grouped data" on page 423.
1. In Enable editing for grouped data, complete the steps in the Make a data column editable
procedure. For more information, see "Enable editing for grouped data" on page 423.
2. On the Modifying Data tab, do either of the following:
l If you want to insert new records only when no records exist in the bucket, click Spread
Increase across all records in bucket, and then click Insert a new record.
l If you want to always insert new records, click Always insert a new record.
3. On the New Records tab, click Insert multiple records.
4. In the Bucketing date area, click one of the following:
l Bucket date—inserts the record using the first date in the bucket.
l Bucket date adjusted by—inserts the record using the date calculated using the number of
periods and the period length you specify.
l Last in bucket—inserts the record using the last period you specify in the bucket.
l Get date values from spreading worksheet—inserts the records using the data values from
a spreading worksheet you specify.
5. If you selected Bucket date adjusted by in step 4, specify the number of periods, and then in the
list, click the calendar that specifies the length of the periods.
If you selected Last in bucket in step 4, in the list, click the calendar that specifies the period to
insert the record on.
6. In the Spreading worksheet list, click a worksheet that you want to use to define the values that
are inserted for each record.
If the spreading worksheet is in a library workbook, you must first select the library workbook
from the Workbook list. This list is only visible if a link to a library workbook has been defined. For
more information about library workbooks, see "Library workbooks" on page 254.
7. Select the Allow mappings using references check box.
8. In the Field column click the button in the Field column to map the Column ID to a field.
For the columns that identify records, only reference fields are available.
9. In the Field value definitions area, click Settings.
10. In the Insert Definition Settings dialog box, add any reference fields the insert requires.
If you add a reference field, you cannot subsequently add any other fields from that table.
11. If necessary, remove any of the key fields from the referenced tables.
12. Add any additional fields the insert requires, and optionally, specify the value to be provided for
that field.
Equal spreading
The most basic way to insert multiple records into a crosstab worksheet is using equal spreading. Equal
spreading spreads the new quantity across all new records and uses the bucket date. The following is
an example of how to set up equal spreading.
Ratio spreading
When inserting multiple records into a crosstab worksheet you might want to spread the new quantity
according to a ratio. For example, you can use the quantities of records in another table to define how
the quantities of the new records are spread.
Date spreading
You can define date spreading when inserting records into a crosstab worksheet. This is useful for users
who need to insert multiple records with different dates that span the bucket being edited. For
example, when inserting records within a monthly bucket you might want to insert a record for every
week within the month.
The spreading worksheet for date spreading can be based on any worksheet with a Date field. However,
to ensure the calendar reference can be passed to a variable, it is recommended the worksheet be
based on the CalendarDate table. You can add a worksheet filter expression to display only dates from
the specified calendar, and display only dates in the range of start and end dates specified in the
variables. A record is inserted for all dates in the range that are defined in that calendar.
To enable date spreading, you must map the date field being bucketed to a column from a spreading
worksheet. You can use workbook variables to map the start date, end date, and bucket calendar to the
spreading worksheet. Variables are used to limit the dates displayed in the spreading worksheet. Using
workbook variables on the spreading worksheet also ensures optimum performance for users. The
workbook variable can also be used for testing the insert before you make the workbook available to
users. The following example uses workbook variables.
1. Create workbook variables to store the bucket start date (date variable), bucket end date (date
variable), and bucket calendar (text variable).
2. Create the crosstab worksheet that will be edited.
3. Create a spreading worksheet that includes the variables that define the bucket being edited and
the start and end date of the bucket. Also, create a worksheet filter expression so that only one
calendar and values within the buckets start and end dates are displayed in the worksheet.
In this example, the date spreading worksheet is based on the CalendarDate table.
3. Select the Set worksheet variables using the bucket date check box, and then click Set
Variables.
4. In the Set Worksheet Variables dialog box, map the bucket values to the variables you created in
step 1.
1. If you want to map variables to dates, create workbook variables to store the bucket start date
(date variable), bucket end date (date variable), and bucket calendar (text variable)
2. Create the crosstab worksheet that will be edited.
3. Create a spreading worksheet that contains the dates and ratios used to spread values. Whether
this is a composite worksheet that merges the calculated ratios for spreading quantities with
calendar dates, is a bucketed worksheet, or uses workbook variables to define the dates used to
insert records depends on your business requirements.
For example, the spreading worksheet in the following illustrations is a composite worksheet
that merges a worksheet based on the HistoricalDemandActual table with a worksheet based on
the CalendarDate table. This example combines each historical demand record with each calendar
date, and when data is edited, uses only the values in the specified date range.
4. Make the crosstab worksheet editable. In the Data Editing dialog box, on the New Records tab,
click Insert multiple records.
5. Click Get date values from spreading worksheet. Then, map the columns as shown in the
following illustration. You must map the Quantity and Value columns to enable ratio and date
spreading respectively.
6. If you are mapping variables to dates, select the Set worksheet variables using the bucket date
check box, and then click Set Variables.
7. In the Set Worksheet Variables dialog box, map the bucket values to the variables you created in
step 1.
For example, the variable mappings for the spreading worksheet are shown in the following
illustration.
1. In the Data Editing dialog box, click the New Records tab.
2. Ensure Insert multiple records is selected and the spreading worksheet columns are mapped.
3. Click Advanced.
4. To specify which worksheet's hierarchy columns are used, in the Use hierarchy column settings
from area, click one of the following:
l Editing worksheet—The hierarchy column setting from the worksheet you modify data in is
used to determine values for the inserted records.
l Spreading worksheet—The hierarchy column setting from the spreading worksheet is used
to determine values for the inserted records.
5. To specify how date buckets are handled, select any of the following:
l Use each bucket's date range for spreading—If selected, when multiple buckets are
modified, the start and end dates for each bucket are used to insert the records in the bucket.
If cleared, the start and end dates for the entire edited bucket range are used to insert
records over the entire period.
l Allow editing only if all buckets are the same size—If selected, when multiple buckets are
modified, the edited buckets must all be the same size. If cleared, the selected buckets can be
different sizes.
6. If the spreading worksheet values do not depend on the editing worksheet values, select the Use
same spreading worksheet values for all edits check box to reuse the spreading worksheet
result for all edits, instead of re-calculating the worksheet for every edit.
Hierarchy The editing worksheet and spreading l In the Use hierarchy column settings
column setting worksheets both include hierarchy columns, from area, click Editing worksheet.
and the spreading worksheet's hierarchy l Select the Use same spreading worksheet
columns are used for inserting records. values for all edits check box if the
spreading worksheet values do not relate
to the editing worksheet values.
Mapped group The editing worksheet's group by columns are l Add columns to the spreading worksheet
by columns not mapped in the spreading worksheet. and map them to the editing worksheet's
This warning is also displayed if the editing group by columns.
worksheet uses an expression in a group by l Remove the unmapped columns from the
column. editing worksheet.
l Select the Use same spreading worksheet
values for all edits check box if the
spreading worksheet values do not relate
to the editing worksheet values.
Bucket date The start and end bucket dates are mapped to l Clear the Use each bucket's date range
range variables used in the spreading worksheet and for spreading check box.
the worksheet is configured to insert into each
edited bucket.
Bucket field The start and end bucket dates are mapped to l Add a column to the spreading worksheet
not mapped variables used in the spreading worksheet and to map the bucket dates.
the bucket field is not mapped to a column in l Select the Use same spreading worksheet
the editing worksheet. values for all edits check box if the
spreading worksheet values do not relate
to the editing worksheet values.
Bucket size The bucket calendar is mapped to a variable l Select the Allow editing only if all buckets
used in the spreading worksheet. are the same size check box.
Worksheets can report multiple performance issues. Depending on your data requirements, you might
not be able to correct them.
The values passed to the View the spreading worksheet, and then use the error message displayed in the
spreading worksheet cause an worksheet to determine which column contains the error.
error. If the worksheet does not return an error, you can modify worksheet values
and variable values to simulate a record insertion. You can then determine
which value causes the error, and correct the appropriate expression.
The values returned from a Verify that all fields included in the column expression contain non-zero
spreading worksheet result in a values and the spreading worksheet does not return a zero value.
calculated zero value. Also, ensure the worksheet's filter expression is not too restrictive, the table
records do not contain zero values, and the worksheet column expressions are
defined properly.
The worksheet does not allow Modify the spreading worksheet column to remove the negative value.
negative values, but the If the values in the column are calculated, modify the calculation so a negative
spreading worksheet contains a value is not produced. You can also review which field edits are applied to,
negative value. and then modify the column expression to ensure a negative value is never
required.
For more information about correcting issues in worksheets, see "Edit a worksheet" on page 262.
Next, edit the crosstab worksheet to make the quantity rows editable, and insert records. To insert
multiple records, set the historical demand worksheet as the spreading worksheet, allow mapping by
reference, and then map the reference columns to the ForecastDetail table's header reference fields. To
spread the records by ratio, map the Quantity column as well.
To show the records that are summarized in the crosstab worksheet, create another worksheet based
on the ForecastDetail table, do not group it, and establish a drill to detail link from the crosstab
worksheet.
When you edit a value in the Forecasts worksheet, the part you enter the value against is used to
determine which forecast headers are defined for that part and the ratio of quantities for those
headers, and the quantity split accordingly. In this example, the quantity for the Cell-Phones part is
edited as shown, and forecasts are inserted for the customers and categories displayed in the detail
worksheet.
To convert this worksheet to use references, copy the historical demands worksheet, and convert the
Part Name and Site columns with a Part reference.
Insert 9500 into the Cruisers product group for the 05-01-14 bucket.
A composite worksheet displays combined date from one or more worksheets, called component
worksheets. You specify how the data is combined, and which records and columns display in the
composite worksheet. The merged data can be used to create new column expressions, including
expressions that perform operations with data from two or more different tables.
You can create composite worksheets when you want to view data from multiple tables in the same
worksheet, or when you want to apply a worksheet filter or another level of grouping to grouped data.
For example, you can display supply and demand for a part in the same worksheet, or display only date
buckets that have demand quantities greater than zero.
The relationship between the component and composite worksheets is shown in the following
illustration.
These worksheets can be appended because they both have the same number of columns, with the
same data types. When you append the records, you get the following composite worksheet.
NOTE: Depending on the workbook's query compatibility level, zero values in Quantity and Money
fields might be considered equivalent. However, Money and Quantity fields in component
worksheets cannot be appended, regardless of the values they contain. For more information, see
"Query language compatibility and ambiguous syntax" on page 1244 and "Displaying money data
in worksheets" on page 305.
Combining data based on hierarchy columns and one or more Group By columns
You can combine data records from component worksheets by merging hierarchy columns and a
specified number of columns. The component worksheets do not need to have hierarchy columns.
The specified columns must contain data of the same type in each component worksheet. Otherwise,
the values in those columns cannot be merged. For more information, see "Merging worksheet data by
a specified number of columns" on page 477.
NOTE: In RapidResponse versions prior to 10.1, it was possible to combine two worksheets where
one was grouped by a reference (for example, Part) and the other was grouped by the base key
field on that referenced table (for example, Part.Name). To combine values in this way,
RapidResponse would downgrade the reference value to the string data type and return the
referenced table's base key field. This ensured compatibility between the worksheets as both part
values were set as strings, but didn't always allow the expected results were returned (because the
full set of key values on the reference were no longer being considered). This functionality is not
supported at the latest compatibility level, but it can be maintained in workbooks sets to use
earlier compatibility levels. However, this is not a recommended practice. For more information, see
"Query language compatibility and ambiguous syntax" on page 1244.
NOTE: Each additional worksheet you add to the first component worksheet must have the same
number or fewer grouping columns as the first worksheet.
For example, you have two component worksheets with part records. The first worksheet is based on
the ScheduledReceipt table and displays total firm order quantities grouped by Part Reference.
The second component worksheet is based on the PlannedOrder table and shows total planned order
quantities grouped by Part reference.
For more information, see "Example: Creating a composite worksheet by combining all columns" on
page 499.
For more information, see "Example: Creating a composite worksheet by merging specific columns" on
page 506.
You can create a composite worksheet that combines all of the columns from both worksheets,
including the Supplier Group and Supplier hierarchy columns.
Hierarchy columns
In workbooks that contain a hierarchy panel, you can include columns based on the user's selection in
the hierarchy to the composite worksheet. If you are combining data records from component
worksheets that include these columns and are grouped or have a specified number of columns, each
component worksheet you add must also have the hierarchy columns. Any formatting you apply to the
hierarchy columns is taken from the first component worksheet you add. For more information, see
"Add columns based on a hierarchy" on page 285 and "Include the hierarchy panel in a workbook" on
page 205.
If any data values in the composite worksheet are calculated by macros, analytics, or set operators, you
should define the columns that use the calculations in a component worksheet. This allows the value to
be calculated once in the component worksheet, and then brought into the composite worksheet,
where it can be used in multiple columns. If the calculation is used in columns defined in the composite
worksheet, it must be calculated for every column it is used in. If the calculation is complex, this can
cause the worksheet to be very slow to open. For more information about using macros in column
expressions, see "Macros" on page 1305
Money columns
If the component worksheets contain Money columns, columns can be combined regardless of the
currency displayed in the columns. When the worksheets are combined, all money calculations are
performed using the workbook's currency, and are then converted to the column's currency, if specified.
For each composite worksheet, the currencies specified in the columns from the first component
worksheet are carried through to the composite worksheet. You can modify the currencies the
composite worksheet columns display. Currencies specified in other worksheets are ignored when the
worksheets are combined.
Money columns cannot be combined with Quantity columns, so you must ensure each component
worksheet contains the correct column types. However, if the Quantity column contains only zero
values, you can combine the Quantity column with a Money column. You might want to include a zero-
value column if your composite worksheet combines all columns from the component worksheets, and
one component contains a Money column and the other a Quantity column. You can add a zero-value
column to each worksheet.
Reference fields
If you are grouping by reference fields in your component worksheets, ensure that each reference can
uniquely identify all records in the referenced table through its key field(s). For example, if a worksheet
based on the IndependentDemand table referenced and grouped Part table records just by the
Part.Name field, then all Part records would be used without a site context and Part records from
multiple sites would be grouped into a single record. This would likely result in unexpected grouping
and sorting results in the composite worksheet. Instead, if both Part.Name and Part.Site fields were
included, then all Part table values could be uniquely identified based on these key field values.
The recommended process for using reference fields in composite worksheets is to add a single
reference to the table (for example, the column expression should contain just Part and not Part.Name)
in the component worksheets and then enable the Use as reference setting. This ensures the full table
reference and all key fields from that table are carried through to the composite worksheet, and ensures
expected grouping and comparison results. It also provides access to all fields on the referenced table.
In the final composite worksheet intended for display to users, you should then specify the individual
fields you want to display to the users (for example, add separate columns for both Part.Name and
Part.Site instead of the single Part reference that strings these values together). For an example of
building a composite worksheet based on components that use this setting, see "Example: Creating a
composite worksheet by merging records (with use as reference)" on page 510.
Formatting
Any formatting applied to the columns in a component worksheet are applied to the same columns in
the composite worksheet. For example, if you define a Quantity column that is formatted to hide zero
values in a component worksheet, the zero values in that column in the composite worksheet are also
hidden. For more information, see "Create a table-based worksheet" on page 347 or "Create a crosstab
worksheet" on page 401.
If the first component worksheet you base the worksheet on includes conditional formatting, the
formatting rules are copied into the composite worksheet. However, only rules from the first worksheet
are added, and all additional worksheets you add include only the formatting defined directly in the
column, not the conditional formatting. For more information, see "Applying conditional formatting to
worksheets" on page 317.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click New, and then click Composite worksheet.
3. In the New Composite Worksheet dialog box, click the General tab.
4. Type a name for the worksheet in the Name text box.
5. Optionally, in the ID text box, change the worksheet identifier.
6. In the Components sub-tab, click Add.
7. In the Add Component Worksheet dialog box, click the worksheet you want to add, and then
click OK.
8. To add the next component worksheet, click Add again and do one of the following:
l Select a worksheet from the list.
l Click the Show all worksheets check box and then select a worksheet from the list.
9. Select how to combine the data from the component worksheets by clicking one of the following:
l Merge data records (JOIN)
l Append all records from all component worksheets (UNION)
10. If you selected Merge data records (JOIN), select how the records will be included in the
composite worksheet:
l Only records in the first worksheet (LEFT JOIN)—The records that are in the first
component worksheet are the only records included in the composite worksheet.
l Only records that are in all component worksheets (INNER JOIN)—The records that are in
every component worksheet are the only records included in the composite worksheet.
l All records in all component worksheets (OUTER JOIN)—All records from the component
worksheets are included in the composite worksheet.
11. Then, in the Combine records based on: area, select how to combine the data records in the
composite worksheet:
l Hierarchy columns and Group By columns—data records from the component worksheets
are combined by their Group By columns and by any hierarchy columns that are the same.
l Hierarchy columns and the next ___ columns—data records from the component
worksheets are combined by creating combinations of values based on the specified number
of columns and any hierarchy columns that are the same. After selecting this option, you must
specify how many columns are used to combine the records.
l No columns—data records from component worksheets with no columns that are the same
are combined. All of the data records display in the composite worksheet. This option can
result in a very large number of records, and can impact system performance.
12. Click OK.
13. If required, click Add to add another component worksheet. You cannot change any of the data
combination options now because the options you specified in steps 7-10 have already
NOTE: Identifiers can contain only letters, numbers, and underscore characters (_), and must
begin with a letter. When you type the worksheet's name, invalid characters are not included in
the identifier.
NOTE: Depending on which type of data record combination option you select, you might see
worksheets display or disappear from the Worksheets list.
NOTE: If you selected Hierarchy columns and the next __ columns and the first component
worksheet is grouped, you are prompted to turn grouping off in the composite worksheet
NOTE: For an example of creating a composite worksheet, see "Example: Creating a composite
worksheet by appending records" on page 516.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
General tab.
2. In the Content list, click one of the following:
l Only records in the first worksheet—The records that are returned by the first component
worksheet are the only records included in the composite worksheet.
l Only records that are in all component worksheets—The records that are returned by every
component worksheet are the only records included in the composite worksheet.
1. To see every worksheet in the Worksheets list, select the Show all worksheets check box.
Selecting this check box adds a Valid? column to the Worksheets list. A worksheet with a 'Yes'
value in this column can be added to the composite worksheet.
3. Click the worksheet you want to add, and then click Add.
4. Read the error message to determine why the worksheet cannot be added to the composite
worksheet.
NOTE: You can modify the worksheet to make it compatible with the first component worksheet.
For more information, see "Edit a worksheet" on page 262.
In this example, data in the Supply row is taken from a worksheet based on the ScheduledReceipt table,
and data in the Demand row is taken from a worksheet based on the IndependentDemand table.
If one or more component worksheets drill to details, the composite crosstab worksheet does not
automatically drill to the same detail worksheet as the component worksheets. You must enable the
composite worksheet to drill to details. If you have several detail worksheets that you want to drill to,
you can create a new composite worksheet to combine the detail worksheets, and modify the drill to
details links in your composite worksheet to link to the new composite worksheet.
If one or more component worksheets can be used to import data, you can also allow importing in the
composite worksheet. When data is imported, data values for each editable row in the composite
crosstab worksheet are modified. The importing options specified in the component worksheet are
used for the composite worksheet. For more information, see "Create a crosstab worksheet for
importing data" on page 703.
For an example of creating a composite crosstab worksheet, see "Example: Creating a composite
worksheet by combining all columns" on page 499.
1. In the New Composite Worksheet dialog box, on the General tab, add the worksheets that
contain the data you want to display in the crosstab, using the following guidelines:
l If no worksheets have been added, the first worksheet contains the grouping rules other
worksheets must match or the columns other worksheets must match.
l When you add a second worksheet, you must choose either to merge records with similar
Group By fields (each worksheet you add provides additional data columns, with the same
Group By columns) or to append records with the same columns (each worksheet you add
provides additional rows of data in the columns defined by the first worksheet). For more
information, see "Designing component worksheets" on page 481.
l If you merge records, you must choose whether the composite worksheet displays only the
records from the first worksheet, only the records that are common to all worksheets, or all
the records from all the worksheets.
2. On the Columns tab, remove any columns you do not want to be displayed in the crosstab
worksheet.
NOTE: For more information about crosstab worksheets, including adding charts and subtotal
rows, see "Create a crosstab worksheet" on page 401.
NOTE: For more information about creating composite worksheets, see "Create a composite
worksheet" on page 483.
NOTE: Composite crosstab worksheets can also contain multi-scenario rows, which compare
values from different scenarios. For more information, see "Create a multi-scenario crosstab
worksheet" on page 403.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
General tab.
2. On the Settings sub-tab, select the Allow importing data check box.
You can also apply a summary function, such as a running sum or average, to the columns you add to a
composite worksheet. If you are summarizing a column, you should perform all summarizations in the
top level composite worksheet. If you summarize the columns in component worksheets, the
summarizations are performed multiple times. For more information, see "Apply a summarization
function to a column" on page 384.
If a column is no longer required, it can be removed from the worksheet.
CAUTION: If you modify a column identifier in a component worksheet, you must also edit the
identifier in the composite worksheet. If the column identifiers do not match, the composite
worksheet cannot be displayed.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Columns tab.
2. In the Columns in this worksheet list, click the column you want to insert the new column after.
3. Click Add.
The Add Columns and Fields dialog box displays a list of columns in the component worksheets.
If the worksheet merges records with similar Group By columns, you can add columns from any
component worksheet. If the worksheet adds records with similar columns, you can add columns
only from the first component worksheet. Columns with a + beside them allow you add fields
from the table that column references.
4. In the Add Columns and Fields dialog box, click a column or field, and then click Add.
5. Repeat the previous step for each column or field you want to add.
6. Click OK.
CAUTION: If the composite worksheet adds records with similar columns and you add a field that
references another table, you must ensure that each table the composite worksheet is based on
references the same table through that field. For example, the Type field on the
IndependentDemand table references the DemandType table, and the Type field on the
ScheduledReceipt table references the SupplyType table. If your composite worksheet is based on
IndependentDemand and ScheduledReceipt, adding the Type field causes an error when you view
the worksheet.
TIP: To see which component worksheet a column comes from, move the pointer over the column
to see a tooltip with the component worksheet and column header.
▶Create a column
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Columns tab.
2. In the Columns in this worksheet list, click the column you want to insert the new column after.
3. Click New Column.
4. In the Column Header text box, type a name for the column.
5. Optionally, in the ID text box, change the column’s identifier.
6. In the Expression area, type an expression for the new column.
You can use columns from component worksheets by referring to them by their worksheet and
column identifiers, separated by an exclamation point. For example, worksheetID!columnID.
Columns from component worksheets in a library workbook must also include the Workbook
Reference ID. For example, workbookID!worksheetID!columnID.
NOTE: If you include a multi-scenario column in the expression, the column you create is also
multi-scenario. For more information about multi-scenario columns, see "Specify multi-scenario
columns in a composite worksheet" on page 491 or "Add multi-scenario columns" on page 267.
▶Copy a column
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. In the Columns in this worksheet box, select the column you want to copy.
3. Click Copy Column.
4. In the new column's Header box, type a unique header for the column.
NOTE: If the column you are copying has conditional formatting applied to it, the same
conditional formatting is applied to the copy. For more information, see "Applying conditional
formatting to worksheets" on page 317.
▶Remove a column
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Columns tab.
2. In the Columns in this worksheet list, select a column.
3. Click Delete Column.
NOTE: Removing a column that comes from another worksheet does not remove it from that
worksheet. If the column was created for the composite worksheet, it is deleted.
l Display multi-scenario columns. For more information, see "Specify multi-scenario columns in a
composite worksheet" on page 491.
l Filter the data displayed in the composite worksheet. For more information, see "Filter data from a
component worksheet" on page 496.
l Group the data displayed in a composite worksheet different from the component worksheet. For
more information, see "Group and bucket data from component worksheets" on page 496.
l Specify that users can edit data in the worksheet. For more information, see "Enable data editing
in a composite worksheet" on page 498.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Columns tab.
2. Click Add.
3. In the Add Columns and Fields dialog box, select a multi-scenario column.
Multi-scenario columns are identified with the icon.
4. Click Add.
5. Repeat steps 3 and 4 for each multi-scenario column you want to add.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Columns tab.
2. In the Columns in this worksheet list, click the multi-scenario column you want to modify.
3. Click the Data Options tab.
4. In the Scenario comparison area, in the Show area, click one of the following:
l Actual value—for each record, the actual data value in the baseline scenario and the
comparison scenario scenarios is shown.
l Difference—for each record, the difference between the data value in the baseline scenario
and the corresponding value in the comparison scenario is shown (for example, +5). This
option is available only for columns that contain quantity or integer values.
l % Difference—for each record, the percentage difference between the data value in the
baseline scenario and the corresponding value in the comparison scenario is shown (for
example, +2%). This option is available only for columns that contain quantity or integer
values.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Columns tab.
2. In the Columns in this worksheet list, click the multi-scenario column you want to view results
for.
3. Click New Column, and then type a header for the column.
4. On the Data sub-tab, select Calculate using final results from other columns.
5. In the Expression box, type an expression that uses other columns.
6. Add one of the following to the end of the column expression.
l #0—only the value in the baseline scenario is displayed in the column.
l #1—only the value in the comparison scenario is displayed in the column.
NOTE: If the workbook allows users to specify comparison scenarios, you can display the value in
each additional scenario by continuing the numbering for the scenario. For example, to use the
value in the third scenario (the second comparison scenario), add #2 to the end of the expression.
To use the value from the fourth scenario, add #3 to the expression, and so on.
NOTE: If you use the value from additional comparison scenarios, the number of scenarios used in
the workbook is fixed to the number you specify. For example, if you use the value from the second
comparison scenario, the workbook is fixed to three scenarios. For more information, see "Select
the comparison scenario" on page 220.
NOTE: You can also use the value from one scenario in filter expressions of multi-scenario
worksheets. This filters the data only in the scenario specified. For example, the expression
'Component!DaysLate#0 > 2' returns only records that are more than two days late in the
baseline scenario. Using a single scenario from a multi-scenario column in a filter expression does
not remove the multi-scenario property for the column. For more information about worksheet
filtering, see "Filter data from a component worksheet" on page 496.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Filtering tab.
2. In the Worksheet filter expression box, type a logical expression.
3. Click Validate Expression to verify the syntax in your expression. RapidResponse does not allow
worksheets to be saved with invalid syntax.
4. If the worksheet contains multi-scenario columns, in the Scenario comparison area, click one of
the following.
l All records—Every record is shown in the worksheet.
l Only records with different comparison values—Only the records that have different values
in the scenarios are shown in the worksheet.
TIP: You can also click Expression Builder to open the Expression Builder, which assists in adding
RapidResponse fields and operators to your expression. For more information about using
Expression Builder, see "Creating expressions with Expression Builder" on page 1117.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Group tab.
2. Ensure the Group data check box is selected.
3. For each column you want to group differently, change the grouping rules. For more information,
see "Group column data" on page 382.
NOTE: Grouped columns cannot be made editable in this worksheet. Editable grouped columns
must be specified in the component worksheet. For more information, see "Enable editing for
grouped data" on page 423.
NOTE: If you want to filter a grouped worksheet, you must create a composite worksheet based
on the grouped worksheet, and then filter the data in the composite worksheet.
1. In the New Composite Worksheet or Composite Worksheet Properties dialog box, click the
Group tab.
NOTE: For more information, see "Create a composite crosstab worksheet" on page 486.
1. Create one component worksheet, with the columns that other worksheets will use for grouping.
Do not group this worksheet.
2. Create the other component worksheets with the following settings:
l Create the worksheets with the same first columns as the first component worksheet you
created.
l Group the worksheets by the first columns.
3. Create a composite worksheet with the ungrouped worksheet as the first worksheet.
4. Add the other component worksheets, merging records by the first columns.
NOTE: If the component worksheets are grouped by a different number of columns than the
worksheets are merged using, multiple composite rows might be returned for each record, which
NOTE: For more information, see "Merging worksheet data by a specified number of columns" on
page 477.
You want to filter this worksheet by order type, but to ensure the records in both composite
worksheets can be merged, the values in the grouping columns must be the same. To configure this,
you can remove the Order Type column, and then filter the worksheet using the value in the Order Type
column from the Demand Order Base worksheet.
After adding the worksheet, you edit its properties. When you copied the Forecast Demand Orders
worksheet, you also copied its worksheet filter, which you change on the Filtering tab to only allow
actual orders.
In the New Composite Worksheet dialog box, you give the worksheet a name, in this case Demand
Order Comparison, click Add, and then add the Forecast Demand Orders worksheet.
Any other worksheet you add now must match at least one of the grouping columns specified in the
Forecast Demand Orders worksheet. Because the only other worksheet you are adding is a copy of this
worksheet, you do not have to worry about incompatibility. You click Add, and then select the Actual
Demand Orders worksheet. Because you want the composite worksheet to display the order quantities
for parts that are being forecasted, you choose to merge all records that exist in the first component
worksheet.
The Quantity columns taken from the component worksheets have the same column header, and the
same column identifier. You decide to change the column headers to reflect what type of quantity they
are reporting, and you change both column identifiers to make them unique.
You want to display a year of data in the worksheet, so you specify 12 monthly buckets and 4 quarterly
buckets, and users can choose which bucket size they want to view.
The columns used in the expression use the identifiers they have in the component worksheets. This
expression subtracts the summarized values for each date bucket.
The forecast quantities from the Forecast Demand Orders worksheet and actual demand quantities
from the Actual Demand Orders worksheet are displayed together, and the Difference column calculates
the difference between forecasted and actual demand for each bucket.
After creating these worksheets, you can create a composite worksheet that merges by specific
columns. This worksheet matches the total supply for the period to each demand record, which you can
use to calculate how much supply to allocate to each demand.
For the demands, you create two worksheets, one table-based and one composite based on it. The
table-based worksheet contains each demand record, and is not grouped so all it displays all demands
for each part. The composite worksheet contains the same columns, but is grouped and sums the
demand quantities. To calculate the values in each period, you set up the date columns to show all the
You then add a column to calculate the percentage of the total each demand record represents.
The composite worksheet combines the demand records and percentages of totals with the total
supply for each part. Because the Demands worksheet shows the total demand for the period, the new
composite worksheet also includes these values. You do not want these values in the final composite, so
you delete the Quantity Total column. You also decide to delete the Percentage of Total column, and
therefore show only the demand for each order and the total supply in the composite worksheet.
You then add a column to calculate the amount of supply to allocate to the demands. Depending on
how you want to allocate, the expression in this column can be different. However, to estimate
allocations, you decide to use the percentage of total demand to determine how much supply should be
allocated. For example, if a demand represents 10% of the demand, it should be allocated 10% of the
supply.
Because the total supply is not sufficient for the demands in the period, each demand is allocated only a
portion of what is required. The demands that represent a greater percentage of the total demand are
allocated more of the supply.
Next, you add three columns to the worksheet. The first is the Part reference field for which you enable
the Use as reference setting. This ensures that part values can be grouped and compared by the full set
of key fields on each referenced record (that is, both part name and site), and also allows for the
possibility of adding other Part table fields to composite worksheets where this component gets used.
You also add the DueDate field which you will later use to bucket data, and the Quantity field to report
the size of each order (and you name this column Planned Quantity so that it can be distinguished from
firm order quantities).
And finally you enable grouping, and define the same grouping columns and functions as you did for
the first component worksheet.
You also create a new calculated column in this worksheet to sum each part's planned and firm order
quantities together.
You then decide to bucket this final worksheet data by week, with monthly subtotals applied, and
display this data in a crosstab view.
You then add the columns you want, and modify the headers so they are easier to read.
You then filter the worksheet so only orders due in the next month are displayed.
After creating the Scheduled worksheet, you create the other component worksheet. You name this
worksheet Planned, and base it on the PlannedOrder table. You decide to hide this worksheet as well.
You define the columns and filter for this worksheet to match the Scheduled worksheet.
Next, you add the Planned worksheet. You want to see the records from both tables listed in the
composite worksheet, so you choose to append records from the component worksheets.
The following table outlines the basic steps for creating a treemap worksheet and provides links to more
information about each step.
Step Description
Create a source When adding a treemap worksheet to a workbook, you must first add a source worksheet to the
worksheet workbook. The source worksheet provides the data required to generate the treemap, from
hierarchy or Group By columns. For more information, see "Create a source worksheet for a
treemap" on page 525.
In addition, the organization in the source worksheet determines the drill down paths for the
treemap. For more information, see "Set up drill down paths" on page 537.
Create a Define the name and ID for the treemap worksheet and select the source data worksheet to base
treemap the treemap on from a list.
worksheet Optionally you can make the worksheet hidden unless it is conditionally hidden.
For more information, see "Create a treemap worksheet" on page 527 and "Conditionally hidden
worksheets" on page 274.
Add color and Color and size is used in a treemap to help users detect patterns and outliers in large data sets.
size measures to Add size and color measures, selecting metrics from columns in the source worksheet.
the treemap For more information, see "Set up color and size measures" on page 527.
worksheet
Set dimensions Select two dimensions (default metrics) that determine what type of data will be represented by
for the treemap the rectangles. For more information, see "Set up default treemap dimensions" on page 533.
worksheet
Modify the You can customize the appearance of your treemap by modifying the treemap style or effect and
appearance of by modifying label properties for dimensions. For more information, see "Customize the
the treemap appearance of a treemap" on page 539.
worksheet
Users can drill down to data that is filtered in the treemap by clicking on the bars, rectangles, or clicking
on values in the hierarchy. Depending on what Group By dimensions were selected, users might drill
linearly along a set of defined columns from the worksheet or through ranked levels of data from the
hierarchy. For more information, see "Set up drill down paths" on page 537.
Breadcrumb navigation at the top of the hierarchy rectangles helps users keep track of the filter layers
being applied to the treemap data as they drill down. The breadcrumbs are automatically generated as a
user drills down in the treemap. For more information about breadcrumbs, see the RapidResponse User
Guide.
NOTE: Drilling to details and drilling down in a treemap are two different operations. Drilling to
details opens a details worksheet with additional data that displays with the same data context.
Drilling down in a treemap is adding filter layers over the data. For more information, see "Set up
drill down paths" on page 537.
Circular treemaps
You can also create circular treemaps, which organizes data into container and nested circles. The same
logic is applied to circular treemaps; the color and size of the circles are determined by measures that
you assign.
For example, in the source data worksheet below, the Product Family, Part, Item, Item Location,
Customer, and Customer Location columns are grouped columns, and can be used as data sources for
the rectangle Group By categories in the treemap. The source data worksheet also contains non-
grouped summed columns, such as Total Demand, Total Revenue, Actual Quantity, and Actual Revenue,
which contain quantities that can be used to determine the size and color of the rectangles.
When creating a source worksheet, it is recommended that grouped columns be located in a logical
order. By default, the drill path for treemaps follows the order of grouped columns in the worksheet.
You can specify a different drill path for the treemap by creating a custom column order. For more
information, see "Set up drill down paths" on page 537.
Hierarchy columns display in the hierarchy pane when a user has selected a hierarchy. However,
hierarchies can only be selected in the Group By lists when the Hierarchy Column Settings are set to
Each level in the hierarchy in the source worksheet. For more information, see "Add columns based on
a hierarchy" on page 285.
When you add a treemap worksheet to a workbook, you must select the source worksheet from a list of
worksheets that have been added to the workbook. For more information, see "Create a treemap
worksheet" on page 527.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Treemap Worksheet.
2. In the New Treemap Worksheet dialog box, select the General tab.
3. In the Name box, type a name for the treemap worksheet. This name must be unique within the
workbook.
4. Optionally, in the ID box, type a unique identifier for the treemap worksheet.
5. In the Source data worksheet list, click the worksheet on which to base the treemap.
6. Optionally, you can specify whether the worksheet displays to users. For more information, see
"Creating hidden worksheets" on page 271.
7. Next, click the Treemap tab and add measures and dimensions to the treemap. For more
information, see "Set up color and size measures" on page 527 and "Set up default treemap
dimensions" on page 533.
NOTE: You must add the source worksheet to the workbook before you create the treemap
worksheet.
1. In the Treemap Worksheet Properties or New Treemap Worksheet Properties dialog box,
select the Treemap tab.
2. Click New.
3. In the Name box, type a name for the measure. This name will appear to users beside the Size
and Color boxes.
4. In the Value area, select one of the following options:
l To use a single numeric column from the source worksheet, select the option button beside
the first list and then select a numeric column from the list. This option is recommended for
adding size measures.
l To compare two numeric columns from the source worksheet, select Calculate by dividing,
and then select a numeric column from each list. The metric will be calculated by dividing the
value from the first list by the value from the second list. This option is recommended for
adding color measures.
If you select a Quantity column in the first list, only other Quantity columns are available in the
second list. If you select a Money column in the first list, both Money and Quantity columns are
available in the second list. For more information about performing mathematical operations
with different data types, see "Arithmetic operators" on page 1129.
5. If you selected Calculate by Dividing in the previous step, you must specify an alternative divisor
value to use when the specified divisor column provides a value of 0. Select one of the following
options:
l To specify an alternate divisor column, select the From column option and select a column
from the list.
l To specify a divisor value, select the second option and type the value in the text field. You
must provide a numeric value with a maximum of four characters.
1. In the New Treemap Worksheet or Treemap Worksheet Properties dialog box, do one of the
following:
l Select the measure you want to define help for, and then click Edit.
l Click New, and then specify the measure properties as described in "Add a measure" on page
530.
1. In the New Treemap Worksheet or Treemap Worksheet Properties dialog box, do one of the
following:
l Select the measure you want to define help for, and then click Edit.
l Click New, and then specify the measure properties as described in "Add a measure" on page
530.
2. To display a + symbol for positive values, in the Formatting area, select Always display + symbol
for positive numbers.
3. To display values as a percentage, select Display as %.
4. To scale values, select Scaling and then select a scaling unit from the list.
5. To display values as a currency, select Currency in the Format as list. Then in the Symbol list,
select a currency symbol.
6. In the Format list, select the format to apply to the measure. To use each user's number format,
select User setting from this list.
For information about the selected format, click the button.
7. To specify the number of decimal places to display, click the Decimal places list to select a
number from the list.
1. In the New Treemap Worksheet or Treemap Worksheet Properties dialog box, do one of the
following:
l Select the measure you want to define help for, and then click Edit.
l Click New, and then specify the measure properties as described in "Add a measure" on page
530.
2. In the Formatting area, in the Format as list, click Currency.
3. In the Format list, select the format to apply to the measure. To use each user's currency format,
select User setting from this list.
For information about the selected format, click the button.
▶Edit a measure
1. In the New Treemap Worksheet or Treemap Worksheet Properties dialog box, select the
Treemap tab.
2. Select a measure in the Measures area.
3. Click Edit.
4. Make your changes to the measure and click OK.
▶Delete a measure
1. In the New Treemap Worksheet or Treemap Worksheet Properties dialog box, select the
Treemap tab.
2. Select a measure in the Measures area.
3. Click Delete.
1. In the New Treemap Worksheet or Treemap Worksheet Properties dialog box, select the
Treemap tab.
2. To designate a color measure, in the Measures area, select a measure in the list and then in the
Color column select the check box.
3. To designate a size measure, in the Measures area, select a measure in the list and then in the
Size column select the check box.
4. Repeat steps 3 and 4 until all size and color measures have been designated.
5. To set a default size and color measure, select each measure in the list and click Set as Default.
1. In the New Treemap Worksheet or Treemap Worksheet Properties dialog box, select the
Treemap tab.
2. In the Measures area, select a color measure.
3. By default, RapidResponse applies three colors to a color measure. If you want only two colors, in
the Colors for selected measure area, select one of the colors and click Remove.
4. Click the first color in the Colors for selected measure list, and click the down arrow to select a
color from the color palette.
5. Repeat step 5 for the remaining colors, to a maximum of seven color measures.
6. To set the color boundaries, in the Boundary column, click in a color row and type a number that
represents the maximum display quantity for the color. Depending on the metric for this color
NOTE: If you select a Money measure for the colors, the measure's currency is displayed. The
values specified for the measure are not converted if the currency is changed. For example, if you
specify 5,000 as a color boundary for a measure that displays the user's preferred currency, the
measure changes colors at 5,000 in whichever currency is used to view the treemap. In this case,
users with different preferred currencies see different results in the treemap.
l The left Group By list defines the categories, represented as the larger, container rectangles.
l The right Group By list defines the subcategories, represented as the smaller, nested rectangles
within the container rectangles.
Treemap users can select metrics from the two Group By lists, which combined provide unique
perspectives of the same data set. For example, the user can select "Item" from the first list, and then
"Customer" from the second list, to generate a treemap view of each item subdivided into associated
customers.
When the treemap user selects a new subcategory from the second Group By list, the treemap is
dynamically updated to display the new view of the data. For example, if the user selects "Customer
Location" from the second list, the treemap updates to show a view of each item subdivided into the
location for each customer for that item.
1. In the Treemap Worksheet Properties or New Treemap Worksheet Properties dialog box,
select the Treemap tab.
2. In the Dimensions area, for either Dimension 1 or Dimension 2, select a value from the Default
value list. The values in this list are automatically populated with metrics from the source data
worksheet. Selecting None prompts the treemap user to select a category or subcategory to
display.
NOTE: You can also set border and label display properties for dimensions. For more information,
see "Customize the appearance of a treemap" on page 539.
1. In the Treemap Worksheet Properties or New Treemap Worksheet Properties dialog box,
select the Treemap tab.
NOTE: You can only add drill to details links to columns used for color measures.
NOTE: You must add the detail worksheets to the workbook before you can drill to details. For
more information about setting up drilling to details, see "Creating drill dependencies and links"
on page 663.
1. In the Treemap Worksheet Properties or new Treemap Worksheet Properties dialog box, click
the Treemap tab.
2. Select Customize group by drill path.
All the Group By columns from the source worksheet display in the Group By box.
3. To change the order of the columns, select a column and drag it below or above another listed
column.
4. To add a new Group By column, click Add and select the new column from the drop down list.
5. To remove a Group By column, select the column and click Remove.
You can set label display properties, such as font, size, and color, to make labels easier for the treemap
users to read. For container rectangle labels, you can also add a glow or shadow outline to labels to
further differentiate container labels from nested labels.
For the first dimension, you can maximize the container labels to the size of the rectangle or circle to
display the largest label possible. Maximized labels are transparent and appear as an overlay over the
container area. You can also choose to make the treemap cells appear three-dimensional.
1. In the Treemap Worksheet Properties or New Treemap Worksheet Properties dialog box,
select the Treemap tab.
2. In the Style area, select one of the following container shapes:
l Rectangular
l Circular
3. In the Effect area, select one of the following visual effects:
l Flat - colors are flat, creating a two-dimensional effect.
l Raised - colors are darkened around the edges of the rectangles or circles, creating a three-
dimensional effect.
NOTE: When the Raised effect is selected, borders do not appear around nested rectangles.
1. In the Treemap Worksheet Properties or New Treemap Worksheet Properties dialog box,
select the Treemap tab.
NOTE: The Bar position is only available for Dimension 1 and circular treemaps cannot display
bars.
NOTE: You cannot add a glow or shadow outline to container rectangle labels that have been
maximized to fill container spaces.
Selecting colors
When you assign colors to a treemap, it is essential that the colors provide a meaningful visualization of
outliers and problem areas in the data set. By default, RapidResponse sets three colors for a
treemap: green, white, and orange. This three color setup is best suited when the color is measuring
both positive and negative values, or for measuring values in which there is an ideal middle range. For
example, in the treemap below, color measures the percentage difference between actual revenue and
targeted revenue. Green has been assigned to values between 90 and 100, orange to values 60 and
below, and white to a range between 80 and 90.
Color is best suited as a measure of performance, change, or as the percentage of difference between
two metrics. For example, when you assign a color measure, you can calculate the value by dividing the
metrics from one column in the source data worksheet by the metrics from another column.
The following tips provide some additional best practices for assigning colors in a treemap:
l Avoid using red and green color combinations, as color-blind people might not be able to discern
the difference.
l Ensure that there is sufficient contrast between each color in the treemap.
l If using dark colors, select a light color for rectangle borders and labels.
For more information on setting color measures, see "Set up color and size measures" on page 527.
l Select a wider, darker border for container rectangles, and a thinner, lighter border for nested
rectangles.
l Apply a larger font size to label container rectangles, and a smaller font size to label nested
rectangles.
l Set Dimension 1 to display as bars, clearly distinguishing between the container and nested
rectangle labels.
NOTE: Border width for container rectangles is not applied in circular treemaps.
Reference worksheets are worksheets defined in a source workbook that can be reused multiple times in
other workbooks. The source workbook is added as a referenced workbook dependency and any
worksheet in it that is not hidden or is itself a reference worksheet from another workbook can be used
as a reference worksheet. For more information, see "Add dependencies to workbooks" on page 247.
The reference worksheet is maintained in its source workbook and all instances of the worksheet are
updated when a change is made in the source workbook. Users can edit data in reference worksheets
since data is maintained in scenarios, not worksheets. Any local changes a user makes to a referenced
worksheet, such as changing column widths, are restricted to the current workbook. For more
information, see "Add a reference worksheet" on page 547.
Referenced workbooks are similar to library workbooks in that the reuse of worksheets promotes
consistency and reduces the possibility of errors. Library worksheets can only be used as component
worksheets, referenced in an IN or LOOKUP expression, or be referenced in a spreading worksheet.
Reference worksheets can be used independently in any other standard workbook.
When you add a reference worksheet to a workbook, you can make the worksheet a drill to details target
or display it as another worksheet in that workbook. Using a reference worksheet as a drill to details
target can maintain the flow of context for a user as they drill to details in the workbook. Reference
worksheets can display as always shown, or hidden based on a condition or only when drilled to. For
more information, see "Defining properties for reference worksheets" on page 548.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Reference Worksheet.
2. In the Add a New Reference Worksheet dialog box, click on a workbook to open its worksheet
list.
Only dependent workbooks defined as referenced workbooks display in this list.
3. Select the worksheet and click Add.
4. Repeat steps 2-3 for each reference worksheet you want to add.
5. Click OK.
NOTE: You cannot reference a worksheet more than once in the current workbook.
NOTE: Reference worksheets cannot be used as source worksheets for widgets or as component
worksheets in a composite worksheet.
TIP: You can also double-click on the worksheet in the Add a New Reference Worksheet dialog
box to add it to the current workbook.
You can use the hide settings and variables defined for the reference worksheet in its source workbook,
or you can specify custom settings that apply only to the reference worksheet when it is used in the
current workbook. Custom settings include both the new hide settings you specify and the workbook
variables used in the current workbook. By default, all referenced worksheets use the settings defined in
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, select the
reference worksheet.
2. Click Propertiesand click the General tab.
3. Optionally, type a new worksheet name or ID.
4. To specify custom Hide settings, click Use settings specified in: This worksheet.
5. Do one of the following:
l To define the worksheet as always visible, ensure the Hide worksheet check box is cleared.
l To define the worksheet as hidden until drilled to from another worksheet in the current
workbook, select the Hide worksheet and Show worksheet only on drill to details check
boxes.
l To define the worksheet as conditionally hidden or shown, select the Hide worksheet and
Conditional check boxes. Click Only hide when or Only show when and type the query
expression in the box. For more information, see "Conditionally hidden worksheets" on page
274.
6. Optionally, click Expression Builder to help in constructing the query expressions.
7. Optionally, click Validate Expressionto ensure the expression is valid.
NOTE: If you specify custom Hide settings, variables in the source workbook cannot be used in
the reference worksheet.
NOTE: If you change the worksheet name or ID of a reference worksheet, it still displays any
changes made to it in the source workbook.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, select the
reference worksheet.
2. Click Propertiesand click the Author Notes tab.
3. In the box, type the information you want to record.
For more information, see "Add author notes" on page 339
A controller worksheet provides a switchable view of multiple worksheets within a single workspace.
Unlike other worksheet types, controller worksheets are not based on tables in the RapidResponse data
model, nor do they contain column definitions. Instead, as shown in the following illustration, each
controller worksheet is associated with two or more other worksheets. The controller worksheet then
has conditions defined on it to indicate when each of those display worksheets should be shown.
Typically, these conditions are set by user actions (for example, by making a selection from a control on
the workbook toolbar).
Providing the user with a single switchable worksheet can make for a better, more simplified experience
than having them navigate between a large number of similar worksheet tabs. Controller worksheets
might typically be used to display multiple different views into the same data, or to show different but
related data within a single workspace. For example, a controller worksheet might provide the option to
show sales data in terms of either revenue or units, or in either a detailed or summarized view. Similarly, a
controller worksheet might show different types of data errors, or different groups of inputs into a
forecast.
When you are creating a controller worksheet, all display worksheets are set to be conditionally hidden.
Whether the worksheet is shown or hidden in the controller worksheet is determined by the condition
specified when the display worksheet is added to the controller. For more information, see "Specifying
controller display worksheets as conditionally hidden" on page 276 and "Create a controller worksheet"
on page 552.
1. On the Worksheets tab in the Workbook Properties, click New and then Controller Worksheet.
2. In the Name box, type a name for this worksheet.
3. Optionally, in the ID box, type a unique identifier for the controller worksheet.
4. In the Show name of area, click one of the following options to define the text on the worksheet
title bar:
l This worksheet— the value provided in the Name box is displayed.
l Display worksheet—the name of the display worksheet being shown by the controller is
displayed.
5. Click the Add button.
6. In the Add Display Worksheet dialog box, select a worksheet you want associated with this
controller worksheet and then click Add(you can add any worksheet defined within the current
workbook). Repeat until all required worksheets have been added and then click OK.
7. In the Display worksheets area, do the following for each worksheet to set the conditions that
determines when it is displayed by the controller.
l In the Condition box, type a valid RapidResponse query expression that defines the
condition or conditions that must be satisfied for the worksheet to display. Your expression
TIP: You can also click at the far-right of the Condition box to launch Expression
Builder which provides access to all RapidResponse functions and operators, as well as
the variables that can be used in the current workbook. Expression Builder also gives
you the ability to define new variables if the ones you require have not already been
created. For more information, see "Query language syntax" on page 1115.
l Drag the worksheet up or down to set the sort order in which you want the worksheet's
conditions to be evaluated. The first worksheet in the sort order whose condition is satisfied
at any given time is the one displayed by the controller. The last worksheet in the sort order is
set as the default worksheet and displayed when none of the other worksheet's conditions
are satisfied (regardless of any conditions explicitly defined on it).
8. If you want to add help for this worksheet, click Worksheet Help and type the content.
Worksheet help displays for any of the display worksheets that do not have their own help
defined; otherwise the help from the display worksheet is shown.
NOTE: By default, the controller worksheet help displays for all worksheets. If there is no
worksheet help for the controller worksheet, the individual worksheet help for display worksheets
is used.
NOTE: If there are any visible display worksheets in the controller worksheet, you are prompted to
hide those worksheets. For more information, see "Specifying controller display worksheets as
conditionally hidden" on page 276.
NOTE: All display worksheets as well as the controller can still be seen individually in design mode
as in the following illustration.
Provided they have the required permissions, users can insert records into worksheets based on any
input or control tables in RapidResponse. The fields the user must fill in to insert the records are defined
in an insert definition, which displays in the Insert Record dialog box.
1. Present reference fields as lists unless the list will be so long as to cause performance issues.
Longer lists take longer to load.
2. If you do not want to provide a default value for a list, set its default value to =Select=.
3. Put shorter lists before longer lists for easier filtering. The user's selection in each list filters the
values available in the following lists.
For more information, see "Create an insert definition" on page 565 and "Display reference field values as
lists" on page 571.
1. On the Tools menu, click Manage Insert Definitions, or in the Worksheet Properties dialog box,
General tab, click Manage Insert Definitions.
2. In the Manage Insert Definitions dialog box, in the Table list, select the table for which you want
to create an insert definition, and then click New.
NOTE: All of the table’s key fields are automatically included in the definition and cannot be
removed.
NOTE: The fields in the definition display in the order in which they are listed in the Fields box.
You can change the order of the fields by dragging them.
NOTE: If a key field was automatically generated from the RapidResponse Data Model, it is marked
as automatically generated and is hidden in the insert definition. The field cannot be altered from
the Insert Definitions Settings dialog box.
NOTE: The Manage Insert Definitions button displays on the Worksheet Properties, General
tab only if you have the correct permission.
NOTE: Insert definitions created by accessing the Manage Insert Definitions dialog box from the
Worksheet Properties dialog box are saved even if you click Cancel when exiting the Worksheet
Properties and Workbook Properties dialog boxes.
NOTE: If you do not immediately use a newly created custom insert definition, it is deleted when
you close the Workbook Properties.
TIP: You can also create an insert definition by copying an existing one. Select the definition you
want to copy in the Insert definitions list, and then click Copy.
1. In the Insert Definition Settings dialog box, select a field in the Fields box.
2. In the Label box, type the label for the field as you want it to appear.
NOTE: If the Display as % option is selected (only available with Quantity and QuantitySingle
fields), the field label should indicate to type a percentage value. For example, (%)
TIP: You can indent the field labels by including spaces before the label text. Spaces following the
text are removed.
▶Hide a field
You might want to hide a field if you have specified a default value for it.
1. In the Insert Definition Settings dialog box, select a field in the Fields box.
2. Select the Hide field check box.
NOTE: You can hide a base key field only if either the Always generate a unique value for base
key field check box is selected, or if the field is configured to always take a set value using one of
the options available in the Data value area (for example, it might be set to always have a blank
value).
NOTE: These options are unavailable if you selected the Automatically generate all required
data values and reference records check box. In this case, reference records are created using
automatically-generated data values.
l In the Insert Definition Settings dialog box, select the Allow users to choose the currency for
Money fields check box.
NOTE: If the table uses a specific field to determine the record currency, the Allow users to
choose the currency for Money fields check box is selected automatically. If you clear this check
box, the currency for the record is obtained from the worksheet's currency. If the worksheet
contains a Currency data control, the user must specify their currency before inserting records. For
more information, see "Specify the currency for a workbook" on page 224.
NOTE: The Allow users to choose the currency for money fields check box is not present if you
are creating a custom insert definition from the Data Editing dialog box. For more information,
see "Insert records into crosstab worksheets" on page 577.
After you choose a component to add to the String, you might need to specify the formatting applied to
that component. For example, if you add the date the record is inserted on, you must specify the date
format for that date. If you specify the value in a field, you must select the format for the value. For
example, if you select a Quantity field, you must specify the number format applied to the value in that
field.
As you construct the value, you can see an example of a String that is created by the components you
specified.
If the String you are constructing a value for is the table's only String key field and you specified that a
unique value is always generated for that field, you should ensure the String does not end with a
number. Otherwise, that number might be incremented when a record is inserted, which can cause
unexpected results in the String values constructed for the field. For example, if the String ends with a
date value, that date will be incremented when another record is inserted on the same day, resulting in
the wrong date being applied to the record.
If your insert definition contains fields that copy values from other fields, either directly or as part of a
constructed String, the fields cannot copy values from each other. This type of reference is not valid,
because it cannot produce a data value. You must ensure one of the fields either obtains its value from
the RapidResponse database or constructs a valid String.
1. In the Insert Definition Settings dialog box, select a field in the Fields box.
2. In the Data value area, click one of the following:
l Use value determined by RapidResponse—automatically determines a value.
l Data value—the specified value is used as the default. This option is not available for
reference fields.
l Same value as field—the value from the specified field is used as the default.
l Construct value—the specified expression defines a default value. This option is available only
for String fields.
3. If you clicked Data value in step 2, type the default value in the Data value text box. The value
specified must match the field’s data type.
If you clicked Same value as field in step 2, click the field in the list from which you want to copy a
value. You can specify only fields in the Fields list that have the same data type.
If you clicked Construct value in step 2, specify the Strings to be concatenated into a default
value.
NOTE: If the default value is invalid, it displays as a in the Insert Record dialog box, and the
user is required to select a valid value.
NOTE: If you specify a default value for the table's only String key field and have selected the
Always generate a unique value for the key field check box, the value you specify will be
incremented to ensure the inserted value is always unique. For more information, see "Create an
insert definition" on page 565.
1. In the Insert Definition Settings dialog box, in the Construct value area, click Details.
2. In the Construct Value dialog box, click Add.
3. In the Add Component dialog box, click one of the following:
l User ID—the user Id of the user inserting a record.
l Text—any text String.
l Value in field—the value contained in the selected field.
l Workbook variable—any workbook variable, including ones not visible to users.
l Current date—the date the record is being inserted.
l Current time—the time the record is being inserted.
4. Do one of the following:
l If you clicked Text in step 3, type a value in the box.
l If you clicked Value in field in step 3, click a field in the list.
5. If required, in the Format area, do one of the following:
l If you clicked Current date in step 3 or specified a Date field in step 4, in the Date format list,
click the format you want to apply to the date.
l If you clicked Current time in step 3, in the Time format list, click the format you want to
apply to the time.
l If you specified a DateTime field in step 4, in the Date format and Time format lists, click the
formats you want to apply to the DateTime values.
NOTE: An example of a String that the selected components create is shown in the Sample box.
The sample cannot be modified.
1. In the Insert Definition Settings dialog box, select a field in the Fields box.
2. In the List area, select Show list of values.
NOTE: If you do not select Show list of values, the field displays as a text box in the Insert Record
dialog box.
NOTE: If Same value as field or Construct value are selected in the Data value area, or if the
Hide field check box is selected, the Show list of values option is unavailable. For more
information, see "Define default values for fields" on page 568.
NOTE: If you are creating a custom insert definition from the Data Editing dialog box, the List
area is not present in the Insert Definition Settings dialog box. For more information, see "Insert
records into crosstab worksheets" on page 577.
NOTE: The Show list of values check box is selected or cleared based on the Show list of values
in worksheets selection for the relevant table in the RapidResponse Data Model.
NOTE: If blank values are allowed for non-key reference fields, the blank value automatically
appears first in the list and is not affected by list filtering.
1. In the Insert Definition Settings dialog box, select a field in the Fields box.
2. In the List area, select the Limit list content based on other field values check box.
NOTE: Site controls can automatically filter other controls, even if those controls display above
the Site control. Because of this, it is best to place the Site control before controls that it filters. If
you are upgrading to RapidResponse 11.0 from an earlier version, you might need to manually
update your existing insert definitions to ensure that the Site control appears before controls that
it filters. This will make the insert definition easier to use.
NOTE: If there are no fields in the same path listed above the selected field in the Fields list, the
Limit list content based on other field values check box is not available.
TIP: To have all reference field values display, clear the Limit list content based on other field
values check box.
1. In the Insert Definition Settings dialog box, select a field in the Fields box.
2. In the List area, select Show list of values, and click Details.
3. In the List Details dialog box, select Data values to have all reference field data values included in
the list.
4. To change the display values in the list, select Display values generated by expression, and type
an expression into the text area, or click Expression Builder and select Display Values.
5. To filter the values displayed in the list, type an expression in the Filter expression area, or click
Expression Builder and select Filter Expression.
NOTE: If Limit list content based on other field values is selected in the Insert Definition
Settings dialog box, the lists are filtered based on previous list selections as well as the filter
expression.
TIP: You can also select fields, functions, and variables from a list in the expression boxes. For
more information, see "Expression assistance and auto-completion" on page 1120.
NOTE: If the insert definition contains a field used to define the record currency, you cannot
remove this field.
1. On the Tools menu, click Manage Insert Definitions or, in the Worksheet Properties dialog box,
General tab, click Manage Insert Definitions.
2. In the Table list, select a table.
3. In the Insert definitions list, select an insert definition and then click Edit.
4. In the Insert Definition Settings dialog box, make the changes you want.
NOTE: The Manage Insert Definitions button displays on the Worksheet Properties General tab
only if you have the correct permission.
NOTE: The Manage Insert Definitions button is also located in the Data Editing dialog box, New
Records tab.
1. In the Worksheet Properties, General tab, Data editing area, select Custom insert definition.
2. Click Settings.
3. In the Insert Definition Settings dialog box, click Copy From.
4. In the Copy Settings From dialog box, select the insert definition you want to copy from the
Insert definition list.
The list of insert definitions includes all insert definitions from the same table, excluding the
System insert definition which cannot be altered.
5. In the Insert Definition Settings dialog box, change any settings required to customize the new
custom insert definition.
NOTE: The Insert Definition Settings dialog box can also be accessed from the Data Editing
dialog box, New Records tab.
NOTE: The Copy From button is unavailable if there are no valid insert definitions to be copied.
1. Create the custom insert definition. For more information, see "Create an insert definition" on
page 565.
2. In the Worksheet Properties dialog box, General tab, Data editing area, select Custom insert
definition.
3. Click Save As.
4. In the Name box, type a new name for the insert definition.
5. If you do not want the custom insert definition used in the current worksheet, clear the Use this
insert definition for this worksheet check box.
NOTE: The Save As button displays on the Worksheet Properties General tab only if you have the
correct permission.
Some examples of modified bucket dates are shown in the following table.
If you choose to adjust the date of inserted records or to insert the records in the last period in a
bucket, you must be careful to specify a period that is smaller than the buckets in the worksheet. For
example, if the worksheet contains weekly buckets and you specify that the records are inserted in the
last month in the bucket, the records will be inserted in a different bucket than expected, which might
be confusing for users.
If you specify a date for inserting records, you should not allow users to modify the bucket settings. For
more information, see "Define worksheet date buckets" on page 405.
1. In the New Worksheet or Worksheet Properties dialog box, click the Group tab.
2. Ensure the Bucket data by date check box is selected.
3. Select the column you want to make editable, and click Data Editing.
4. In the Data Editing dialog box, click the New Records tab.
5. In the Bucketing date field area, click one of the following:
l Bucket date—inserts the record using the first date in the bucket.
l Bucket date adjusted by—inserts the record using the date calculated using the number of
periods and the period length you specify.
l Last in bucket—inserts the record using the last period you specify in the bucket.
6. If you selected Bucket date adjusted by in step 5, specify the number of periods, and then in the
list, click the calendar that specifies the length of the periods.
If you selected Last in bucket in step 5, in the list, click the calendar that specifies the period to
insert the record on.
7. In the Field value definitions section, click one of the following:
l Custom insert definition—uses an insert definition for which you specify fields and defaults.
If you select this option, you must specify the default values the insert definition uses when
inserting records.
This option is recommended if you do not have an insert definition for inserting records in this
manner.
l Insert definition—uses the specified insert definition. This option is recommended if you have
an insert definition for inserting records in this manner.
l Worksheet insert definition—uses the same insert definition as the worksheet. Typically, the
worksheet’s insert definition would not be suitable for inserting records by editing empty
buckets. This option is not recommended.
This option is unavailable if the worksheet does not allow record insertion. For more
information, see "Specify the insert definition for inserting data for a worksheet" on page 395.
8. If you selected Insert definition in step 7, click an insert definition in the list.
If you selected Custom insert definition in step 7, click Settings, and then specify the fields and
default values for the insert definition. For more information, see "Create an insert definition" on
page 565.
NOTE: You can create or edit an insert definition by clicking Manage Insert Definitions on the
Worksheet Properties General tab.
For more information about creating and specifying default values for fields in insert definitions, see
"Create an insert definition" on page 565. For information about editing an insert definition, see "Edit
insert definitions" on page 575.
For information about editing grouped data, see "Enable editing for grouped data" on page 423.
NOTE: If the name of an imported insert definition conflicts with an existing insert definition, you
can choose to exclude, replace, or rename the imported insert definition if you have the correct
permission. If you rename the insert definition, all references to the definition are updated to
reflect the new name.
You can display data in a worksheet table or as a chart in a report (dashboard, workbook, or scorecard),
providing a quick and compact view of data for users. Tabular data is best for displaying precise and
individual values whereas charted data allows for easy identification of data trends, patterns, and
exceptions. Creating charts to display in scorecards is covered in another chapter, for more information,
see "Add charts to a scorecard" on page 1057.
When you include a chart in a worksheet, it can be displayed in both a worksheet and a widget. In the
worksheet, you can display the data as both a worksheet grid and a chart, as displayed in the following
image.
Line Chart
Use this chart type to
track changes over time,
especially in cases where
changes are incremental.
For example, track the
changes for monthly
sales forecast over time
between two different
scenarios.
Combination chart
Use this chart to display
data as any combination
of bar, line, or area types
of data series. For
example, compare
difference in quantity
and shipped quantity to
the unit selling price for a
specific part.
Scatter chart
Use this chart type to
explore the relationship
between two related
variables. For example,
examine the relationship
between demand volume
and the coefficient of
demand variation.
Gauge chart
Use this chart type to
compare data on a
performance scale.
Similar to bullet charts,
gauge charts are often
used to compare
scenarios against targets.
For example, compare
revenue in two different
scenarios on a scale of
acceptable to critical
ranges.
Pie Chart
Use this chart type to
display data as parts of a
whole. For example,
display what fraction of
total revenue each family
of products represents.
Gantt chart
Use this chart type to
display data in bar format
for a project schedule
with tasks and
dependencies. Gantt
charts can only be used
in project management
with the Task table.
l The worksheet must be a grouped crosstab worksheet. Line, bar, and area charts typically plot the
changes in one or more data series over time; the date buckets in a crosstab worksheet are used
to plot the time periods on the base axis.
l The worksheet must contain one or more numeric columns, which provide the data for each data
series. Each data series is separately plotted as either a line, bar, or area.You can choose to display
data series for bar and area charts as stacked data points.
For more information, see "About bar, line, or area charts" on page 610.
l The worksheet must be a grouped crosstab worksheet with at least two Group By columns. One
Group By column provides the series labels for the chart.
l The worksheet must contain one or more numeric columns, which provide the data values.
l Worksheets that contain more than two Group By columns will display different charts for the
additional Group By columns.
For more information, see "Create a summarized bar, line, or area chart" on page 621.
l The worksheet must contain numeric columns. The needles in a gauge chart are based on numeric
columns; if you want to add a gauge chart with multiple needles, the worksheet must contain
numeric columns for each gauge needle. The example of a gauge chart below displays some chart
elements that are based on numeric columns.
l You can begin to create the gauge chart before adding the required worksheet columns, but you
will not be able to save the worksheet until you have created the worksheet columns.
l If you select hidden columns for gauge needle values, at least one non-conditionally hidden
column must be included for data to display in the chart. For more information, see "Hidden
columns in charts" on page 609.
l The worksheet must contain at least one numeric column, which provides the data for the pie
slices. The numeric column must only contain positive values.
Creating charts
To create a chart, you must select that it be included on a worksheet in that worksheet's properties.
RapidResponse provides multiple chart types to select from. For help on deciding which chart type best
meets your user's needs, see "Chart types in RapidResponse" on page 583.
As charts are a property of worksheets, you must have workbook authoring permission to create a
chart on a worksheet.
After selecting the type of chart to create, you must select from predefined styles that determine the
display settings for the chart. The charts below display the same data, but with different style settings.
The axis, labels, colors, fonts, and backgrounds are some of the different display settings you can
How a chart displays data is also dependent on the worksheet columns selected to display in the chart.
Multi-scenario columns can be displayed as multi-scenario data series in certain chart types, such as a
bar chart. For more information, see "Display multi-scenario data in charts" on page 595.
Charts using worksheet columns that are defined as drill columns also transfer that property to the data
series on the chart. Instead of clicking on a worksheet cell, users click on specific data points on the
chart to drill to a details worksheet or a form. For more information, see "Drilling from a chart" on page
597.
You can define how a chart will display on the worksheet, such as if the worksheet displays the
worksheet grid and chart side by side. For more information, see "Select chart position and size in
worksheets" on page 592.
By default, charts allow users can modify certain chart elements. You can turn off this permission. For
more information, see "Allow users to modify charts" on page 594.
Chart styles
When you add a chart to a worksheet, you first select a predefined chart style that provides the display
settings for your new chart.
NOTE: When you have included a chart on a worksheet and selected a style, then return to the
Columns tab and add a new column, the new column might not display with your selected style. It
is recommended that you configure all your columns before you include the chart and select a
chart style.
You can also display the chart on a separate worksheet tab, which is recommended for charts that are
intended for display in a dashboard widget. For more information, see "Create a worksheet widget" on
page 884. The image below shows a chart displayed on a separate worksheet tab where the default view
is set to just "Chart".
1. In the New Worksheet or Worksheet Properties dialog box, click the General tab.
2. In the Display area, select one of the following from the Chart position list:
l Below worksheet
l Above worksheet
l Right of the worksheet
l Left of the worksheet
TIP: For users that traditionally read from left to right, it might be beneficial to have the chart
display to the left of the worksheet.
1. In the New Worksheet or Worksheet Properties dialog box, click the General tab.
2. In the Display area:
l To display the worksheet grid and worksheet chart, select both Worksheet and Chart.
l To display only the worksheet grid, select Worksheet.
Users have to actively select to view the chart by clicking Chart .
l To display only the chart, select Chart.
TIP: If the worksheet grid is not displayed with the chart, then you should include only one row in
the worksheet. Bar, line, and area charts can only display information for one worksheet row at a
time. If the worksheet is not displayed and it contains more than one row, then the chart will only
display information from the first row in the worksheet. If the worksheet user changes the filtering
controls, the data presented in the chart will no longer match the first row in the worksheet.
1. With the worksheet active, on the View menu, click Design Mode .
2. If the chart is not displayed, on the workbook toolbar, click Chart and select Show Chart.
3. Depending on the chart position, do one of the following:
l If the chart is positioned above or below the worksheet, change the chart height by dragging
the horizontal border up or down.
l If the chart is positioned to the left or right of the worksheet, change the chart width by
dragging the vertical border to the left or right.
4. On the File menu, click Save Workbook.
5. On the View menu, click Design Mode.
NOTE: The worksheet will automatically resize itself in the window as the chart's size is changed.
1. In the Workbook Properties, copy the worksheet you want to display as a chart.
2. Open the Worksheet Properties for the copied worksheet and click the General tab.
3. In the Display area, by Default View, select the Chart check box and clear the Worksheet check
box.
Scatter Users can add and remove data series from the chart, and change the data series colors.
Gantt Users can show or hide bar text and dependency relationships.
Users can change colors for the bar and for the percentage complete indicator.
Users can highlight today's date and change the line color used to display it.
Bullet Users can add and remove indicators from the chart, and change the indicator colors.
NOTE: For some charts, you can select hidden columns for different chart properties. For more
information, see "Hidden columns in charts" on page 609.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Clear the Allow users to configure chart check box.
For crosstab worksheets that contain multi-scenario columns, you can select multiple colors that will
represent each scenario charted. If you allow the worksheet user to add scenarios, RapidResponse will
automatically assign colors to scenarios that the user adds. In order to add colors for multi-scenario
columns, you must first set up the multi-scenario crosstab worksheet. For more information, see
"Creating multi-scenario worksheets" on page 265.
To create a chart in which the scenarios are each assigned a different data series type, you must create a
composite worksheet and then create separate data columns that each display the value from only one
scenario, as illustrated in the chart below.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Data
Series tab.
2. In the Data Series list, select the multi-scenario data column.
NOTE: You must apply a solid fill to multi-scenario data series that are plotted as bars or areas.
1. Create a crosstab worksheet with a multi-scenario column. For more information, see "Create a
multi-scenario crosstab worksheet" on page 403.
2. Add a composite worksheet to the same workbook, and add the multi-scenario column to the
composite worksheet. For more information, see "Create a composite worksheet" on page 483.
3. Create data columns that each display data for only one scenario. For more information, see
"Specify multi-scenario columns in a composite worksheet" on page 491.
4. Add a bar, line, or area chart to the composite worksheet. On the Data Series sub-tab, each
scenario is listed as a separate data column. Reassign data series types to the scenario columns
as needed.
NOTE: The Scenario only label option is only available when you have multi-scenario columns.
NOTE: It is recommended that you add markers to area and line data series if you are enabling
drill links for the chart. Markers provide users with a visual cue for clicking on a data point in the
data series.
Format text ● ● ● ● ● ●
See "Add a chart title and format
text" on page 599.
1. In the New Worksheet or Worksheet Properties dialog box, Chart tab, click the Chart Settings
sub-tab.
2. In the Title area:
l In the Chart title box, type a title for the chart.
l From the Font style list, select a font style for the chart title.
l From the Font size list, select a size for the chart title font.
l From the Font color palette, select a color for the chart title.
3. In the Font area, select a font from the list.
TIP: If the chart is intended to be displayed in a dashboard widget, you might not want to provide
a name for the chart, as widgets include title bars for this purpose.
1. To set font properties, in the Label, Axis values, or Text areas, select the following:
l From the Font style list, select a font treatment.
l From the Font size list, select a font size for the title.
l From the Font color list, click the down arrow and select a title color from the palette.
2. If the option is available, select a font from the Font list.
You can hide or show an axis, set line properties for the axis, and add axis labels and tick marks. If you
choose to display axis values you can adjust the angle and font of the values. For bar, line, area, or
combination charts, you can select from two options what the minimum start value is for the primary
axis. For scatter charts, you can also choose the start and end values of the axes.
In bar, line, area, and combination charts you can display up to three types of axis:
l Base axis
l Primary axis
l Secondary axes
l Horizontal
l Vertical
Primary/Vertical The primary Y axis, which is by default the left vertical axis. You can change the chart
orientation to move the primary axis to the bottom of the chart.
Secondary The secondary Y axis, which is the right vertical axis. This axis is optional, depending on the
number and type of data series plotted in the chart. This axis is only available for vertical charts
and by default it is hidden.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and click one of
the following sub-tabs:
l Base and Primary axis
l Secondary axis
l Horizontal and Vertical Axis
2. To show the axis, clear Hide axis.
3. To hide the axis, select Hide axis.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and click one of
the following sub-tabs:
l Base and Primary axis
l Secondary axis
l Horizontal and Vertical Axis
2. In the Color list, click the down arrow and select a color for the axis from the color palette.
3. In the Width box, type a width for the axis line.
NOTE: If the axis is hidden, you cannot modify the axis color or width.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click one of the following tabs:
l Base Axis and Primary Axis
l Secondary Axis
l Horizontal and Vertical Axis
l Axis
3. In the Tick marks area, select Major tick marks and/or Minor tick marks.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click one of the following tabs:
l Base Axis and Primary Axis
l Secondary Axis
l Horizontal and Vertical Axis
l Axis
3. In the Text box, type text for the label.
4. To modify label font properties, see "Set font properties for titles and labels" on page 600.
NOTE: For a bullet chart, the axis label is applied only to the numeric axis.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click one of the following tabs:
l Base Axis and Primary Axis
l Secondary Axis
l Horizontal and Vertical Axis
l Axis
3. To modify label font properties, see "Set font properties for titles and labels" on page 600.
4. In the Angle box, provide the angle for the axis values.
l to display labels horizontally, set the axis value to 0 degrees
l to display labels vertically, set the angle to 90 degrees
▶Set the minimum axis origin for bar, line, area, and combination charts
You can choose to start the primary axis with zero or with a value automatically generated by
RapidResponse based on the data being charted.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click the Base and Primary Axis tab.
3. In the Origin area, select one of the following options:
l Zero
l Automatic
NOTE: Bar data series can only have an origin starting at zero because both the bar distribution
along the base axis and the bar height or length are needed to provide context for the data.
NOTE: For the Origin, Automatic is calculated from the data series. For example, if the smallest
data value is 500,000, Automatic will start the axis at a higher value than zero.
NOTE: When using Values in columns, any data values that are greater than or less than the
chosen start and end values are not charted.
Gridlines are lines that are aligned with axis values to help users read a chart. When you create a chart,
gridlines display according to the chart style you applied. Some chart styles include horizontal and
vertical gridlines, while others include only gridlines that are parallel to the X axis. You can add and
remove gridlines from a chart, and you can display minor gridlines, which can make the chart easier to
read when the major gridlines are spaced far apart. Minor gridlines are typically lighter in color than the
major gridlines, and are spaced evenly between the major gridlines. The zero gridline is set at the same
color and visibility as the base axis. This is visible on charts that display values below zero and if the base
axis is hidden, the zero gridline will also be hidden.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click the Gridlines tab.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click the Chart Settings tab, and in the Orientation area, select one of the following:
l Vertical
l Horizontal
NOTE: For more information on chart axes, see "Define axis properties" on page 600.
NOTE: For vertical bullet chats, it is recommended that you display the chart to the left or right of
the worksheet. For more information, see "Select the chart position" on page 593.
NOTE: Depending on the orientation of your chart, and where it displays in relation to the
worksheet, you might want to change the legend position.
You can edit the chart and plot area properties for the following chart types:
NOTE: You can only modify the chart area background on a pie chart.
1. On the Chart tab of the New Worksheet or Worksheet Properties dialog box, select the Chart
Settings sub-tab.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click the Chart Settings tab.
3. In either the Chart area or Plot area section, select the Border check box.
l To change the border color, click the down arrow on the Fill color palette and select a color.
l To change the border width, type the width in the Border width box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click the Chart Settings tab.
3. In the Plot area section, select the Highlight a section of the plot area check box.
4. Click Highlight Area.
5. In the Highlight Area dialog box, in the Date range area, in the Start date list, click one of the
following:
l Past
l Today
l Beginning of current, and then select a calendar period from the list.
l Planning Date
l Anchor Date
6. If you want to offset the start date, do the following:
l Select the Adjust by check box.
l In the Adjust by box, type the number of calendar units to adjust the start date by.
l In the list, select the calendar to use to adjust the start date.
l For example, type 2 in the Adjust by box and then select Workday from the list to move the
anchor forward by two work days, or type -1 in the Adjust by box and then select Week from
the list to move the start date back one week. For more information about adding and
subtracting dates, see "Date calculations" on page 1255.
TIP: You can insert a line into a chart, instead of highlighting an entire area. To insert a line, set
the start and end dates to the same date. From the Fill list, choose None, and select the Border
check box.
Chart transparency
To create a layered effect on a chart, you can apply transparency values to chart area, plot area, and
other chart elements such as markers. Similar to sheets of colored glass, each layer of transparency will
produce a different visual effect. Transparency settings for the chart area, plot area, and other chart
options are set at the chart level when you create or modify the chart in the Worksheet Properties
dialog box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Click the Chart Settings tab.
3. In the Transparency box, type a percentage value to make the plot or chart areas transparent.
4. On the File menu, click Save Chart.
5. From the Files of type menu, select to save as a PNG or JPEG.
You can now export the chart and it will carry all or almost all of its set transparency levels.
NOTE: For more information on exporting a chart, see "Import and export resources" on page
133.
You can customize the legend properties by selecting which data series display in the legend and where
the legend is located on the chart. You can also remove a legend from a chart and format the legend
text.
For combination charts, you can format the text for both the legend and the Group By label, and remove
the Group By label from a chart. Multi-scenario columns in combination charts can display scenario
names. For more information about multi-scenario columns, see "Display multi-scenario data in charts"
on page 595.
For more information about formatting legend text and Group by labels, see "Add a chart title and
format text" on page 599.
Some legend options are specific to combination charts. For more information, see "Create a
combination chart" on page 627.
NOTE: Legends are not required for pie charts because they typically include a title and labels to
describe the data being measured by the chart.
NOTE: Irrespective of the legend position you specified, on mobile devices with smaller screens,
such as a mobile phone, all chart legends display at the bottom of the chart.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. The Chart tab opens to the Data Series sub-tab.
3. Select the data series to display in the Data Series area.
4. Check the Include in legend box.
NOTE: This setting is unavailable if the legend is removed from the chart.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Legend
sub-tab.
2. Clear Legend.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Legend
sub-tab.
2. Click the Position list and then select a position for the legend.
Chart Type User can hide Conditionally When column is At least one column is
or show hidden hidden, the chart is not conditionally
column column hidden hidden
Bar, line, or area ● ● ●
Summarized bar, ● ● ●
line, or area
Combination ● ● ●
Gauge - needle ● ● ● ●
values
Gauge - range ● ●
values
Scatter - axis, ● ●
tooltip, and
quadrant values
Bullet - indicator ● ● ● ●
values
Bullet - range ● ●
values
Calendar ● ●
Gantt ● ●
l The worksheet must be a grouped crosstab worksheet. Line, bar, and area charts typically plot the
changes in one or more data series over time; the date buckets in a crosstab worksheet are used
to plot the time periods on the base axis.
l In a crosstab worksheet that contains multi-scenario columns, you can assign a data series type to
each scenario column to compare the scenarios over time. For more information, see "Creating
multi-scenario worksheets" on page 265.
l The worksheet must contain one or more numeric columns, which provide the data for each data
series. Each data series is separately plotted as either a line, bar, or area.You can choose to display
data series for bar and area charts as stacked data points.
l The number of rows in the worksheet affects how the chart is displayed. If the chart is intended for
use in a widget, or if the worksheet grid is not displayed with the chart, then you should include
only one row in the worksheet. Bar, line, and area charts can only display information for one row
at a time. If the worksheet is not displayed and it contains more than one row, then the chart will
only display information from the first row in the worksheet. If the worksheet user changes the
filtering controls, the data presented in the chart will no longer match the first row in the
worksheet.
l The worksheet should contain at least one non-numeric column, which is used to group data. The
grouped columns provide meaning and context for the numeric columns. For more information on
grouped columns, see "Group column data" on page 382.
l If you select hidden columns for any data series, at least one non-conditionally hidden column
must be included for data to display in the chart. For more information, see "Hidden columns in
charts" on page 609.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, select Bar , and select a bar chart style. There are five chart
styles available: clean, enhanced, standard, basic, and 3-D.
4. In the Data Series area, select the check box beside each worksheet column you want to plot in
the chart.
5. In the Series type list, select Bar.
NOTE: When adding shadows to data series, you should apply a shadow to all the bar, area, and
line data series in the chart. If you do not, the data series with the shadow applied will appear in
front blocking the view of the other data series.
In a three-dimensional chart, all data columns are displayed with a three-dimensional top to illustrate
width, as shown in the following illustration.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Chart Settings tab.
2. In the Bar charts area, select the 3-D check box.
3. To increase or decrease the perception of depth, type a number in the Depth box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Chart Settings tab.
2. In the Bar Charts area, select one of the following shape options:
l Rectangle
l Cylinder
3. To change the spacing between the bars, type a numeric value in the Gap box. The gap is
calculated as a percentage of the space available for the bar. For example, a gap value of 20
means that 20% of the space available for the bar is used for the gap. The maximum value for a
gap is 99.
4. To change the spacing between bars in a group, for example for multi-scenario columns, type a
numeric value in the Series separation box. The series separation is calculated as a percentage of
the space available for the bar group.
l The worksheet must be a grouped crosstab worksheet. Line, bar, and area charts typically plot the
changes in one or more data series over time; the date buckets in a crosstab worksheet are used
to plot the time periods on the base axis.
l In a crosstab worksheet that contains multi-scenario columns, you can assign a data series type to
each scenario column to compare the scenarios over time. For more information, see "Creating
multi-scenario worksheets" on page 265.
l The worksheet must contain one or more numeric columns, which provide the data for each data
series. Each data series is separately plotted as either a line, bar, or area.You can choose to display
data series for bar and area charts as stacked data points.
l The number of rows in the worksheet affects how the chart is displayed. If the chart is intended for
use in a widget, or if the worksheet grid is not displayed with the chart, then you should include
only one row in the worksheet. Bar, line, and area charts can only display information for one row
at a time. If the worksheet is not displayed and it contains more than one row, then the chart will
only display information from the first row in the worksheet. If the worksheet user changes the
filtering controls, the data presented in the chart will no longer match the first row in the
worksheet.
l The worksheet should contain at least one non-numeric column, which is used to group data. The
grouped columns provide meaning and context for the numeric columns. For more information on
grouped columns, see "Group column data" on page 382.
l If you select hidden columns for any data series, at least one non-conditionally hidden column
must be included for data to display in the chart. For more information, see "Hidden columns in
charts" on page 609.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, select Line , and select a line chart style. There are four chart
styles available: basic, enhanced, standard, and basic.
4. In the Data Series area, select the check box beside each worksheet column you want to plot in
the chart.
5. In the Series type list, select Line.
6. In the Axis list, select which axis to plot the data series on.
7. In the Line Appearance area, set the following properties:
l To change the line color, click the down arrow on the Color palette and select a color.
l To change the line width, type the width in the Width box.
l To change the line style, select a style in the Style list.
8. To add a shadow to the line, select the Shadow check box.
9. To add markers to the plotted line points, in the Markers area, select the Markers check box.
l To change the marker shape, select a shape in the Style list.
l To change the marker size, type the size in the Size box.
l To add a border around the marker, select the Border check box. To change the border color,
click the down arrow on the Color palette and select a color. To change the border width,
type the width in the Width box.
10. Repeat steps 5 - 10 for each worksheet column you want to add to the chart. To create a
combination chart, select at least one of the data series as a bar or area series type. For more
information, see "Create a combination chart" on page 627.
NOTE: Selecting None from the Style list hides the line on the chart and displays only the plotted
points. If you select this line style, you must select the Markers check box to display the points.
NOTE: When adding shadows to data series, you should apply a shadow to all the bar, area, and
line data series in the chart. If you do not, the data series with the shadow applied will appear in
front blocking the view of the other data series.
TIP: It is recommended that you add markers to line data series if you are enabling drill links for
the chart. Markers provide users with a visual cue for clicking on a data point in a line data series.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Chart Settings tab.
2. In the Line Charts area, select Smoothed line.
l The worksheet must be a grouped crosstab worksheet. Line, bar, and area charts typically plot the
changes in one or more data series over time; the date buckets in a crosstab worksheet are used
to plot the time periods on the base axis.
l In a crosstab worksheet that contains multi-scenario columns, you can assign a data series type to
each scenario column to compare the scenarios over time. For more information, see "Creating
multi-scenario worksheets" on page 265.
l The worksheet must contain one or more numeric columns, which provide the data for each data
series. Each data series is separately plotted as either a line, bar, or area.You can choose to display
data series for bar and area charts as stacked data points.
l The number of rows in the worksheet affects how the chart is displayed. If the chart is intended for
use in a widget, or if the worksheet grid is not displayed with the chart, then you should include
only one row in the worksheet. Bar, line, and area charts can only display information for one row
at a time. If the worksheet is not displayed and it contains more than one row, then the chart will
only display information from the first row in the worksheet. If the worksheet user changes the
filtering controls, the data presented in the chart will no longer match the first row in the
worksheet.
l The worksheet should contain at least one non-numeric column, which is used to group data. The
grouped columns provide meaning and context for the numeric columns. For more information on
grouped columns, see "Group column data" on page 382.
l If you select hidden columns for any data series, at least one non-conditionally hidden column
must be included for data to display in the chart. For more information, see "Hidden columns in
charts" on page 609.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, select Area , and select a scatter chart style. There are four
chart styles available: clean, enhanced, standard, and basic.
4. In the Data Series area, select the check box beside each worksheet column you want to plot in
the chart.
5. In the Series type list, select Area.
6. To display the series as stacked, select the Stack check box. For more information, see "Create a
stacked chart" on page 625.
7. In the Axis list, select which axis to plot the data series on.
8. In the Fill area, from the Fill list choose one of the following fill types:
l Solid
l Gradient
9. Depending on your selection from the Fill list, the properties available for the fill will vary:
l If you chose Solid, click the down arrow on the Fill color palette and select a color. Optionally,
you can apply a transparency value to the fill in the Transparency box. Transparencies are
applied as a percentage value, with 0 being opaque and 100 being completely transparent.
l If you chose Gradient, click the down arrows in the Start color and End color palettes to
select start and end colors for the gradient fill. Optionally, you can apply a transparency value
to the fill in the Transparency box. In the Direction list, select a direction for the gradient fill.
10. To add a border to the area, select the Border check box.
l To change the border color, click the down arrow on the Color palette and select a color.
l To change the border width, type the width in the Width box.
11. To add a gray shadow to the area, select the Shadow check box.
12. To add markers to an area data series, in the Markers area, select the Markers check box.
l To change the marker shape, select a shape in the Style list.
l To change the marker size, type the size in the Size box.
l To add a border around the marker, select the Border check box. To change the marker
border color, click the down arrow on the Color palette and select a color. To change the
border width, type the width in the Width box.
13. Repeat steps 5 - 12 for each worksheet column you want to add to the chart. To create a
combination chart, select at least one of the data series as a bar or line series type. For more
information, see "Create a combination chart" on page 627.
NOTE: When adding shadows to data series, you should apply a shadow to all the bar, area, and
line data series in the chart. If you do not, the data series with the shadow applied will appear in
front blocking the view of the other data series.
TIP: You can use an area chart to create a distribution map effect if you add a secondary axis to
the chart and set the Fill transparency to 100%.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Chart Settings tab.
2. In the Area Charts area, select Smoothed edge.
You can exclude all zero values from a chart. Zero values in the middle of a line chart are shown as a
break in the line. A chart with zero values displayed as gaps is shown in the following illustration.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Data
Series tab.
2. In the Data Series area, select a data series.
NOTE: The Zero Values area is unavailable for stacked area series.
l Stacked charts group data by displaying data series one on top of another. For more information,
see "Create a stacked chart" on page 625.
l Summarized charts display grouped data for multiple rows of worksheet data. You can also stack
summarized data series. For more information, see "Create a summarized bar, line, or area chart"
on page 621.
l Combination charts display data as two or more different data series types. For more information,
see "Create a combination chart" on page 627.
l The worksheet must be a grouped crosstab worksheet with at least two Group By columns. One
Group By column provides the series labels for the chart.
l The worksheet must contain one or more numeric columns, which provide the data values.
l Worksheets that contain more than two Group By columns will display different charts for the
additional Group By columns.
To create a summarized chart, you must have at least two Group By columns in your crosstab
worksheet. One of the columns provides the series labels and the other provides the data series. On a
worksheet with more than two Group By columns, the Group By column at the farthest right will select
the series labels. Additional Group By columns will display on the chart legend. For more information,
see "Data requirements for building charts" on page 586.
The following illustrations show summarized bar charts with two Group By columns, and more than two
Group By columns.
CAUTION: Axis labels for summarized charts do not change when the user changes the value for
the displayed data column. If you include axis labels on your summarized chart, it is a good
practice to note the unchanging axis labels for users in the worksheet help.
The following illustrations show the two summarized bar charts for the Part Demand summary
worksheet, one displaying the Quantity of parts and the other the Unit Selling Price of parts over time.
1. Select the type and style of chart to create on the Chart tab on the New Worksheet or
Worksheet Properties dialog box.
2. Select Chart all summary (Group By) rows.
The Data Series controls will change for summary charts.
3. Select a value to chart as a data series from the Values list.
4. Set the bar, line, or area properties for the data series.
5. Repeat steps 3 to 4 for each data series.
6. On the Legend tab, select Show summary (Group By) label to display labels for each Group By
set.
7. Other chart settings will depend on the type of chart you selected. For more information, see
"About bar, line, or area charts" on page 610.
NOTE: You can add and remove colors for all data series in the Colors pane.
NOTE: The Include in legend and Scenario only label options are unavailable for summary
charts.
NOTE: A maximum of twelve data series at a time can be displayed on a summary chart.
NOTE: Multiple scenarios cannot be charted on a summary chart; only the baseline scenario will
be displayed.
NOTE: You cannot display hidden columns in a summarized line, bar, or area chart.
l On the Data Series tab, select the transparency level in the Transparency box.
1. Select the type and style of chart to create on the Chart tab on the New Worksheet or
Worksheet Properties dialog box.
2. On the Data Series sub-tab, select the data series you want to stack
3. Select Stacked.
4. Set the bar or area properties for the data series.
5. Repeat steps 3 to 4 for each data series.
6. Other chart settings will depend on the type of chart you selected. For more information, see
"Create a bar chart" on page 612 and "Create an area chart" on page 617.
You can only create bar, line, and area charts on grouped crosstab worksheets with one or more
numeric columns. As the charts typically plot the changes in one or more data series over time, the data
buckets in the crosstab worksheet are used to plot the time periods on the chart's base axis. Each
numeric column is charted separately as a bar, line, or area data series. The non-numeric column(s)
provide meaning and context for the numeric columns. If the crosstab worksheet contains multi-
scenario columns, you can chart each scenario column to compare the scenarios over time. For more
information, see "Display multi-scenario data in charts" on page 595.
When you create a combination chart, you must have at least two data series of different types in the
chart. In addition, you can choose which data series are displayed in the legend and display Group By
labels as part of the legend. You can also display scenario names in the legend for multi-scenario data.
For more information about multi-scenario charts, see "Display multi-scenario data in charts" on page
595.
You can use hidden columns in your chart as long as one of the columns in the chart is always visible.
Otherwise no data with show in the chart. When users unhide any hidden columns, they will display on
the chart. If this chart will be displayed in a widget, do not include any hidden columns because users do
not have the option of displaying hidden columns in a widget.
1. Select bar, line, or area on the Chart tab on the New Worksheet or Worksheet Properties dialog
box.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Legend
sub-tab.
2. Clear Group By Label.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. The Chart tab opens to the Data Series sub-tab.
3. Select the data series to only display the scenario name for in the Data Series area.
4. Check the Scenario only label box.
NOTE: This setting can only be applied to multi-scenario columns in combined bar, line, and area
charts. If the column changes from multi-scenario to single-scenario, this setting will be cleared
automatically and will be unavailable to select.
NOTE: Only the scenario name, and not the column name, will be displayed in the legend.
NOTE: When you create a scatter chart using columns with drill links, the drill capability is not
transferred to the data series in the chart because each data point represents two corresponding
data values.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, point to Scatter , and select a scatter chart style. There are
three chart styles available: clean, enhanced, and basic.
NOTE: The Clean scatter chart and Enhanced scatter chart styles include a grid background,
while the Basic scatter chart style does not.
1. In the New Worksheet or Worksheet Properties dialog box, Chart tab, click the Data Series sub-
tab.
2. In the Series name field, type a name for the data series.
3. In the Data Values area:
l From the Horizontal axis value list, select a worksheet column that contains the data for the
horizontal axis.
l From the Vertical axis value list, select a worksheet column that contains the data for the
vertical axis.
4. In the Markers area, select a Style, Size, Color and Transparency level for the data point marker.
NOTE: New scatter charts automatically include one data series. To add additional data series,
click Add, and follow the above steps.
NOTE: Multi-scenario data cannot display in a scatter chart. If a multi-scenario column is selected,
only the data from the baseline scenario is charted.
NOTE: You can select hidden columns for tooltips, quadrants lines, and for the start and end
points of axis lines. However, hidden columns cannot be specified for horizontal and vertical axis
value lists. For more information, see "Hidden columns in charts" on page 609.
TIP: Data series are plotted in the order in which they are added to the chart and listed on the
Data Series sub-tab. This means that data series near the top of the list could potentially be
obscured by subsequent data series. To prevent data points from being obscured, apply a
transparency level to subsequent data series.
TIP: Data series can be dragged and dropped within the data series list to ensure that particular
series are plotted before others.
1. In the New Worksheet or Worksheet Properties dialog box, Chart tab, click the Data Series sub-
tab.
2. In the data series list, clear the check box for that data series.
TIP: You can also select the data series and click Delete.
For more information, see "Customize the appearance of a scatter chart" on page 631.
1. In the New Worksheet or Worksheet Properties dialog box, on the Chart tab, click the Chart
Settings sub-tab.
2. In the Tooltips area, select the Show tooltips for data points check box.
3. From the Text list, select a worksheet column to provide the tooltip text. Only columns with text
data are available.
4. To display numerical values in the tooltips, select the Show data values check box. Data values
from both columns used to plot the data series will display in the tooltip.
1. In the New Worksheet or Worksheet Properties dialog box, Chart tab, click the Chart Settings
sub-tab.
2. In the Quadrant lines area, select the Horizontal line or Vertical line check box.
3. Select a Color from the palette.
4. Select a Width for the line by clicking the up or down arrow, or type a value in the box.
5. From the First value in column list, select a column whose first value will determine location of
the quadrant line.
The location of the horizontal quadrant line is the point at which it crosses the vertical axis.
The location of the vertical quadrant line is the point at which it crosses the horizontal axis.
Tiled bullet charts display different metrics in multiple bullet charts, allowing users to compare across
metrics. Each row in the worksheet is charted as a separate bullet chart and each of those charts can
display multiple scenarios. For example, in the tiled bullet chart below, Each row in the worksheet is
charted as a separate bullet on the same scale. For more information, see "Create a tiled bullet chart" on
page 636.
You can also create bullet charts that display information for a single row of data. For more information,
see "Create a bullet chart" on page 634.
By default, bullet charts are set to be tiled bullet charts. You can create a single bullet chart that displays
the one row of data in the worksheet.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, point to Bullet , and select a bullet chart style. There are two
chart styles available: clean and basic.
4. On the Indicators sub-tab, select a data column to chart as the featured indicator from the drop-
down menu.
5. Next, if you want to select a specific color for the indicator, select a color from the color palette.
6. Select the indicator type from the Appearance section. There are three appearance types
available: bar, line, and triangle. For the featured indicator, it is recommended that you select ‘bar’
for the indicator type.
7. Type the indicator’s width or length, and transparency level. For more information, see
"Customize a bullet chart" on page 639.
8. Click Add to insert another data column to use as a comparative indicator.
NOTE: You can chart a multi-scenario column as an indicator and select multi-scenario colors for
the indicator border. To change the scenario colors, click in the color to open the Multi-scenario
Colors dialog box and change or add the colors as needed. For more information, see "Display
multi-scenario data in charts" on page 595.
NOTE: You can select hidden columns for indicators if you have at least one indicator based on a
column that is not hidden to ensure that data will display in the bullet chart. Columns that are
hidden will not display on the chart until unhidden. For more information, see "Hidden columns in
charts" on page 609.
NOTE: If you select the triangle style for the indicator, you will also have the option of changing
the length and placement of the triangular indicator.
NOTE: The maximum number of indicators you can add to a bullet chart is 20.
NOTE: You can change the color for the Maximum range.
NOTE: You cannot chart a multi-scenario column as a range. Only indicators can be based on a
multi-scenario column.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. On the Chart Settings sub-tab, in the Layout area, select Tiling.
3. Select the bullet chart indicators. For more information, see "Select indicators for bullet chart
indicators" on page 634.
4. Add ranges to the chart. For more information, see "Add ranges to a bullet chart" on page 635.
NOTE: The default layout orientation for tiled bullet charts is horizontal.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. On the Axis tab, in the Axis Layout area, select Shared Axis.
NOTE: When the axis is shared, the length and width controls for the axis are unavailable and you
cannot modify the tick mark width for the charts.
NOTE: The placement of the axis is not affected when Shared Axis is selected. Tiled bullet charts
can display with the axis on the top or on the bottom of the chart.
1. After selecting a data column to chart as an indicator, you can customize the display properties of
each individual indicator in a bullet chart by selecting the indicator and then modifying its
appearance.
2. In the New Worksheet or Worksheet Properties dialog box, Chart tab, click the Chart Settings
sub-tab.
3. On the Indicators sub-tab, select the data column you want to modify.
4. To modify the width of an indicator, select a percent value for the indicator in the Width box
using the up and down arrows or by typing in a new value.
5. To modify the length of an indicator, select a percent value for the indicator in the Length box
using the up and down arrows or by typing in a new value.
6. To add a level of transparency to the indicator, select a percent value for the transparency level in
the Transparency box using the up and down arrows or by typing in a new value
7. To modify the direction and placement of a triangle indicator, click Indicator placement an select
one of the four options.
8. To add a border to the indicator, select the Border check box.
l To change the border color, click the down arrow on the Color palette and select a color.
l To change the border width, type the width in the Width box.
NOTE: On the mobile client, widgets displaying bullet charts align indicator labels differently than
they might display on the RapidResponse desktop client. For example, if you set the placement of
the label to be above or below the indicator, on mobile devices, it might display in the center
instead.
1. In the New Worksheet or Worksheet Properties dialog box, Chart tab, click the Chart Settings
sub-tab.
2. In the Bullet label area, click the Label drop-down list to select from the list of available non-
numeric columns.
NOTE: If you leave the Label box blank, no label text displays.
NOTE: For tiled bullet charts with a shared axis, the label displays along the non-numeric axis.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab and click the Axis
sub-tab.
2. For Placement, select one of the following:
For horizontal bullet charts
l Bottom
l Top
For vertical bullet charts
l Left
l Right
Gauge Description
Chart
Element
Gauge The needle represents a metric, for example revenue or number of units sold, or a scenario
needle comparison.
Scale Area The scale area displays the values that the needle metric is measured against. You can define how
scale values are displayed in a gauge chart.
Target The target range provides a visualization of whether the metric is in an acceptable, warning, or
Range critical range, for example. The values for the target range are based on data columns in the source
worksheet.
Legend The legend provides information about each needle in the gauge chart.
l The worksheet must contain numeric columns. The needles in a gauge chart are based on numeric
columns; if you want to add a gauge chart with multiple needles, the worksheet must contain
numeric columns for each gauge needle. The example of a gauge chart below displays some chart
elements that are based on numeric columns.
l The worksheet should contain at least one non-numeric column, which is used for grouping. The
grouped columns provide meaning and context for the numeric columns. For more information on
grouped columns, see "Group column data" on page 382.
l Because gauge needles are based on a single row, the worksheet cannot be a crosstab worksheet,
which summarizes data from multiple rows.
l The number of rows in the worksheet affects how the gauge chart is displayed. If the gauge chart
is intended for use in a widget, or if the worksheet grid is not displayed with the gauge chart, then
you should add only one row in the worksheet. Gauge charts can only display information for one
row at a time; if the worksheet is not displayed and it contains more than one row, then the gauge
chart will only display information from the first row in the worksheet. If the worksheet user
changes the filtering controls, the data presented in the gauge chart will no longer match the first
row in the worksheet.
However, if you intend to display both the worksheet and the gauge chart, the worksheet user can
scroll through the data rows and the gauge chart will update with each selected row's data.
l You can begin to create the gauge chart before adding the required worksheet columns, but you
will not be able to save the worksheet until you have created the worksheet columns.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, point to Gauge , and select a gauge chart style. There are four
chart styles available: clean, 360, 180, and 90.
4. Click the Gauge Needles sub-tab.
5. In the Data sources area, click Add.
6. Click the new entry in the Data Column column, and select the worksheet column that provides
the data for this needle.
7. Optionally, click in the Color column and then click the arrow to select a different color for the
gauge needle.
8. Repeat steps 5 to 6 until you have added all of the needles for the gauge chart.
9. To display transparent gauge needles, select the transparency level in the Transparency box. This
setting is applied to all of the needles.
NOTE: You can chart a multi-scenario column as a gauge needle and select multi-scenario colors
for the border. To change the scenario colors, click in the color to open the Multi-scenario Colors
dialog box and change or add the colors as needed. For more information, see "Display multi-
scenario data in charts" on page 595.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Gauge Needles sub-tab.
2. Select a gauge needle entry in the Data sources area and then click Remove.
l Including target color ranges to visually measure a scenario's performance. For more information,
see "Define target color ranges for a gauge chart" on page 646.
l Defining where scale areas start and end. For more information, see "Define target color ranges for
a gauge chart" on page 646.
l Changing the position and orientation of scale values. For more information, see "Define gauge
scale value properties" on page 649.
l Changing the style for gauge needles, the gauge chart cap, and the shape of the gauge. For more
information, see "Edit the style and shape of a gauge chart" on page 644.
For more information about general chart customizations you can apply to a gauge chart, see
"Customizing your chart" on page 598.
When you define a shape that is not a circle or a semicircle, you must provide start and end points for
the scale area to ensure that it is contained within the gauge. In the example above, the start and end
points for the scale area were set to 50 degrees and 310 degrees, respectively. If the start and end
points for the scale area are not contained within the start and end points for the gauge shape, you will
receive an error message and you will not be able to save your changes. For more information on
customizing the scale area, see "Define scale area start and end points for gauge charts" on page 648.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab and then click the
Gauge Needles tab.
2. In the Appearance area, select one of the following from the Point style list:
l Round
l Flat
l Triangular
3. In the Point width box, type a width for the needle point. The width is determined as a
percentage of the gauge radius.
4. In the Base width box, type a width for the base of the needle. The width is determined as a
percentage of the gauge radius.
5. To select the needle length, select one of the following:
l Automatic—automatically sets the needle length.
l %—the needle length is set to the percentage of the gauge radius that you select. To define
the length of the gauge needles as a percentage of the radius, type a number in the box.
6. To add a shadow to the needles, select the Shadow check box.
7. To apply transparency to gauge needles, in the Transparency box, type a value. Transparency
values are calculated as a percentage, with 0 being opaque and 100 being completely
transparent.
8. To apply a border to gauge needles, select the Border check box. In the Width box, provide a
border width.
9. To select a border color for a gauge needle, in the Data Sources list, in the Border column, click
the border color and select a new color from the palette.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab and then click the
Gauge Needles tab.
2. In the Cap area, select the Cap check box to display a cap.
3. To change the cap color, click the Color list and select a color from the palette.
4. In the Radius box, type a number to indicate the radius of the cap.
TIP: It is recommended that you make the cap radius large enough to cover the width of the
needle base.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Chart Settings sub-tab.
2. In the Shape area, under Gauge Appearance, select one of the following gauge shapes:
l Circle—the gauge chart is changed to a full circle.
l Semicircle—the gauge chart is changed to the top half of a circle.
l Other—the gauge chart is changed to a shape with start and end points that you select. To
define the start and end points, provide a number, in degrees, in the Start angle and End
angle boxes.
You can also select hidden columns for target range values. For more information, see "Hidden columns
in charts" on page 609.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Scale Area
tab.
2. In the Colored sections area, click Add.
3. Click in the Color column for the new entry and select a color from the palette.
4. Click in the End Value column to select the worksheet column that provides the end value for this
color range.
5. Repeat steps 2 to 4 until you have added all of the target ranges to the gauge chart. For the
maximum target range, in the End Value column, select Maximum instead of a worksheet
column.
6. To display transparent ranges, select the transparency level in the Transparency box. This setting
is applied to all of the ranges.
7. To display the ranges in the chart legend, select Show ranges in legend.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Scale Area
tab.
2. In the Inner edge box, type a number to indicate the percentage of the gauge radius for the
inner edge of the color range.
3. In the Outer edge box, type a number to indicate the percentage of the gauge radius for the
outer edge of the color range.
4. Select the Border check box to add a border around the color range.
l To select a border color, in the Color list, click the arrow and select a color from the palette.
l To select a border width, type a number in the Width box.
Define scale area start and end points for gauge charts
You can define where the scale area will start and end on a gauge chart. For example, if the values in the
scale area appear too closely together, you can change the start and end points of the scale area to
increase the space between scale values. For gauge charts with a custom shape, you must define the
scale value start and end points to be within the gauge chart start and end points. For more
information, see "Customize the appearance of a gauge chart" on page 643.
The start and end points of a gauge chart are specified in degrees, as shown below:
The picture below is an example of a scale area with customized start and end points:
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Scale Area sub-tab.
2. In the Position area, in the Start angle box, type a number that represents the degree angle for
the scale area start point.
3. In the End angle box, type a number that represents the degree angle for the scale area end
point.
NOTE: You must define the scale values to display when setting custom start and end points. For
more information, see "Define gauge scale value properties" on page 649.
NOTE: You can also select hidden columns for start and end point values. For more information,
see "Hidden columns in charts" on page 609.
For more information on defining the shape of a gauge chart, see "Change the gauge chart shape" on
page 645.
You can also set the font size and font treatment of scale vales. The font size you select depends on the
gauge chart's intended use:
l If the gauge chart is intended for use in a worksheet, select any font size you prefer.
l If the gauge chart is intended for use in a dashboard widget, select a font size of 6 or smaller.
Because widgets are smaller than worksheets, a larger font size might overlap the gauge scale.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Scale Values sub-tab.
2. In the Position area, click one of the following:
l Below scale area— the scale values are displayed within the gauge chart, below the tick
marks.
l %— the scale values are displayed at a percentage of the gauge radius that you define. To
define the location of scale values as a percentage of the radius, type a number in the box.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Scale Values sub-tab.
2. In the Start and end values area, click one of the following:
l Automatic— scans all data columns used in the chart to find the minimum and maximum
values, and then adds a 5% buffer to each.
l Values in columns— applies the minimum and maximum values from worksheet columns
that you select. To define the start and end values, select data columns from the lists.
3. To set the direction in which values increase on the gauge scale, in the Direction of increasing
values area, select either Clockwise or Counterclockwise.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Scale Values sub-tab.
2. In the Text area, select options from the following lists:
l Font style
l Font size
l Font color
NOTE: You can select the font for all text in a gauge chart, including the scale values, in the Chart
Settings tab.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Scale Area sub-tab.
2. In the Background area, select one of the following fills for the scale area from the Fill list:
l None
l Solid
l Gradient
3. Depending on your selection from the Fill list, the properties available will vary:
l If you chose None, you do not have any properties to select.
l If you chose Solid, click the down arrow on the Color palette and select a color.
l If you chose Gradient, click the down arrows in the Start color and End color palettes to
select start and end colors for the gradient fill. In the Direction list, select a direction for the
gradient fill.
4. To add a transparency to the fill, type a number in the Transparency box. Transparency values are
calculated as a percentage, with 0 being opaque and 100 being completely transparent.
5. In the Inner edge box, type a number to indicate the percentage of the gauge radius for the
inner edge of the scale area.
6. In the Outer edge box, type a number to indicate the percentage of the gauge radius for the
outer edge of the scale area.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab, and then click
the Scale Area sub-tab.
2. To display tick marks, in the Tick marks area, select the Major tick marks and Minor tick marks
check boxes.
3. To select the tick mark position, from the Position list select one of the following:
l Inside—tick marks begin at the inner edge of the scale area and project inwards.
l Outside—tick marks begin at the outer edge of the scale area and project outwards.
l Across—tick marks begin at the outer edge of the scale area and project inwards.
4. To select a tick mark color, click the arrow in the Color list and select a color from the palette.
5. To define the tick mark length, type a number in the Length box.
6. To define the tick mark width, type a number in the Width box.
The actual values for each pie slice can be seen by hovering the pointer over a slice in a tooltip.
Optionally, you can display values beside the pie slice.
NOTE: Pie charts are best used to portray a high-level view of data; pie charts are not ideal for
comparing categories of data with similar quantities.
To create a pie chart, the worksheet must meet the following requirements:
l The worksheet must contain at least one numeric column, which provides the data for the pie
slices. The numeric column must only contain positive values.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, point to Pie , and then select a style on which to base the pie
chart.
TIP: There are two available pie chart styles from the Apply Type and Style list. One style creates a
raised pie chart, and the other style creates a flat pie chart. For more information, see "Customize
the appearance of a pie chart" on page 655.
1. In the New Worksheet or Worksheet Properties dialog box, in the Chart tab, click the Pie
Settings sub-tab.
2. In the Category list, select the worksheet column that provides the categories of the data values.
3. In the Value list, select the worksheet column that provides the data values for the pie chart.
1. In the New Worksheet or Worksheet Properties dialog box, on the Chart tab, click the Pie
Settings sub-tab.
2. In the Labels section, define font properties for the labels. For more information, see "Add a chart
title and format text" on page 599.
3. To include the data values in the labels, select the Show data values check box.
4. To set the line color for labels, click the down arrow and select a Line Color from the palette.
TIP: If data values are too long to include in the labels, they are always available in a tooltip if
needed.
1. In the New Worksheet or Worksheet Properties dialog box, on the Chart tab, click the Pie
Settings sub-tab.
2. In the Colors list, click on a color you want to change.
3. Click the down arrow to access the color palette, and select a different color.
4. Repeat steps 2 and 3 for the remaining colors you want to change.
5. To add a color to the Colors list, click Add and select a color from the palette.
By default, 12 colors are provided. It is not recommended to include more than 10 slices in a pie
1. In the New Worksheet or Worksheet Properties dialog box, on the Chart tab, click the Pie
Settings sub-tab.
2. In the Appearance area, select one of the following surface effects:
l Flat
l Raised
l 3-D
3. To add a shadow around the pie chart, select the Shadow check box.
1. In the New Worksheet or Worksheet Properties dialog box, on the Chart tab, click the Pie
Settings sub-tab.
2. In the Appearance area, select the Outline check box.
3. Click the down arrow in the Color list and select a border color from the palette.
4. In the Width box, type a width for the border.
You can also include an image in the calendar chart if the worksheet on which the chart is based
contains an image column.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply Type and Style list, point to Calendar , and then click the calendar style.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. In the Calendar Content area, in the What list, click the column that contains the information you
want to display in the calendar.
3. In the Calendar Content area, in the When list, click the date on which you want to display the
information. For example, if you are displaying independent demands in the calendar, you might
want to show them on their due dates or available dates.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. In the Calendar Content area, in the Image list, click the column that contains the image you
want to display in the calendar.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. In the Legend area, select the Image legend check box.
3. In the Legend position list, click where you want the legend to be displayed.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. In the Appearance area, click the down arrow in the Gridlines list to access the color palette.
3. On the color palette, click the color you want, or click More Colors to access additional colors.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. In the Appearance area, click one of the following:
l Day—shows the information for one day.
l 4 day—shows the information over 4 days.
l Weekly—shows the information over a week.
l Monthly—shows the information over a month.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Include chart check box.
3. In the Apply style list, point to Gantt , and then select a style on which to base the gauge
chart.
4. In the Gantt chart area, do the following:
l In the Tooltip text list, select the column that will be used to provide the name for the bars in
the Gantt chart. This name is used in the tooltip that displays when you pause the mouse
pointer over the a bar.
l In the Start date list, select the column that defines the start dates for the Gantt chart bars.
l In the End date list, select the column that defines the end dates for the Gantt chart bars.
l In the Duration list, select the column that defines the length of the Gantt chart bars.
l In the Percent complete list, select the column that is used to show the percentage by which
a task is complete.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. In the Bar format area, select or clear the Show bar text check box.
3. In the list, select the column that you want to use for displaying the text.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. In the Dependencies area, select or clear the Show dependency relationships check box.
3. In the Predecessor list, click the column that contains the predecessor information.
4. In the Successor list, click the column that contains the successor information.
1. In the New Worksheet or Worksheet Properties dialog box, click the Chart tab.
2. Select the Highlight today check box.
3. In the Line color list, select a color for the line.
You can provide users with the ability to drill to more detailed records associated with data values in a
worksheet, or open a form directly from a worksheet cell. Drill links can be created for grouped and non-
grouped standard worksheets, including crosstab, treemap, reference, and most chart worksheets.
Depending on how you define the drill links, users drill from worksheet cells or on a worksheet column
header. You can also create drill links to hidden worksheets in the same workbook. Referenced
worksheets are typically hidden until drilled to. For more information, see "Setting up drill links" on page
666.
A worksheet can provide drill links in any of its data columns. If necessary, multiple data columns can link
to the same details worksheet or form, and you can define multiple drill links for the same data column.
When a user clicks in a column with multiple drill links defined, a pop up menu displays for them to select
which details worksheet or form to open.
NOTE: Scatter charts cannot display drill links. For more information, see "Create a scatter chart "
on page 630.
If you have not done so, you must first create the required details worksheets as described in "Create
details worksheets" on page 680.
If the details worksheet is contained in a different workbook, or you are linking to a form, the workbook
or form must be added as a dependent resource as described in "Add dependencies to workbooks" on
page 247.
You can add one or more drill links to a column. The order of links in the Drilling sub-tab determine how
the links display to users. You can reorder the links by dragging and dropping the links in the sub-tab.
You can also create mappings between worksheets or between worksheets and forms to pass context
from the worksheet to the drill resource. For more information, see "Mapping drill links to details or
reference worksheets" on page 669 and "Mapping drill links to forms" on page 672.
NOTE: When mapping columns for a drill to details worksheet definition, the details worksheet
must allow searching. If searching is not allowed, the Mapping area in the New Drill to Worksheet
dialog box is unavailable.
NOTE: For hidden details worksheets, the drill link will not work if the Show worksheet only on
drill to details check box is not selected.
NOTE: You can only create drill links to reference worksheets that are in the same workbook.
l Columns
l Variables
l Workbook filter controls
l Bucket dates
Only mapping elements with applicable paths between the two worksheets display in the drop-down
lists and, depending on the design of the worksheet, different elements might display. For example,
date buckets only display for bucketed worksheets and for crosstab worksheets, the only mapping
elements available are the Group By columns.
Variable ● ● ●
Date Bucket ● ●
(date column) (date variable)
If you map values between numeric columns, you can map Quantity and Money values to each other. If a
Money column is formatted to display the user's preferred currency, the details might not match the
values displayed in the source worksheet. To ensure the details display properly, you can specify the
currency displayed in the column you drill from. For more information, see "Convert currency values" on
page 307.
The steps for setting up drill links depends on whether you are adding links from a standard worksheet
column (tabular, chart, crosstab, reference, or composite worksheet) or from a treemap worksheet
measure. For more information on creating drill links for a treemap measure, see "Set up drill to details
links for a treemap worksheet" on page 535.
When you define a drill link for a variable in a dependent workbook, this mapping overrides any variable
mapping defined for the workbook dependency. To view details for a dependent workbook you are
drilling to, click View Details to display details for the dependency between the workbooks. For more
information, see "Add dependencies to workbooks" on page 247.
When you enable a drill link to a worksheet on a grouped column, the worksheet’s Group By columns
are applied as search conditions against the corresponding columns in the details worksheet. This
ensures the details worksheet opens with the proper data context (for example, showing data for the
same part(s) or date range as the value that was linked from. For example, if a worksheet is grouped by
Part and Site columns in the current worksheet and associated with a Part and Site columns in the
detailed worksheet, then when a link is followed to the detailed worksheet it will open filtered down to
the relevant part and site values. If the Part and Site columns aren't associated with columns in the
detailed worksheet, then the link opens showing data for all part and site values that satisfy the
selected item controls.
NOTE: When you set up a drill link from a crosstab worksheet, only the Group By columns display
as mapping elements. You cannot drill from a non-Group By column.
NOTE: A filter variable in the current worksheet can only be mapped to a workbook filter control
in the details worksheet.
NOTE: Multi-scenario columns cannot be mapped and do not display as a mapping element in the
drop-down lists.
NOTE: When a variable is renamed, all drill links that use the variable are also updated with the
new name. For more information, see "Rename a variable" on page 228.
NOTE: When you copy a worksheet, all of its drill links are also copied. You can modify or delete
the links. For more information, see "Copy resources" on page 127.
NOTE: If you map bucket dates with workbook variable, the drill link always displays on the cells
because the details worksheet displays data filtered to the start and end dates of the buckets.
This method of mapping date ranges ensures that users do not inadvertently drill to a blank details
worksheet, which can occur when the details worksheet includes workbook date variables that override
the drill to date column that was mapped from the grouped worksheet. For more information on
creating workbook date variables, see "Create a date variable" on page 1270.
String l Text
l Multi-Line Text
l Data List
l Fixed List
l Check Box
Boolean l Text
l Multi-Line Text
l Data List
l Fixed List
l Check Box
Quantity l Number
Date l Date
When you define a drills link for a workbook variable, this mapping overrides any variable mapping
defined for the form dependency. To view details for a dependent form you are drilling to, click View
Details to display details for the dependency. For more information, see "Add dependencies to
workbooks" on page 247.
NOTE: When you set up a drill link from a crosstab worksheet, only the Group By columns display
as mapping elements. You cannot drill from a non-Group By column.
NOTE: Multi-scenario columns cannot be mapped and do not display as a mapping element in the
This Worksheet list.
NOTE: When a variable is renamed, all drill links that use the variable are also updated with the
new name. For more information, see "Rename a variable" on page 228.
NOTE: When you copy a worksheet, all of its drill links are also copied. You can modify or delete
the links. For more information, see "Copy resources" on page 127.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Drilling sub-tab.
3. Select the data column you want to drill from, and then click New.
4. Select Drill to form.
5. From the Drill to form list, select the form to drill to. Only dependent forms display in this list.
6. To view details about the form dependency, click . For more information, see "Add
dependencies to workbooks" on page 247.
7. Select the label to display when multiple drill links are defined:
l Form name.
l A name you type.
8. To specify a condition for the drill definition, do the following:
l Select the Allow drilling to the form if check box.
l Select a column from the list, and in the is exactly text box, type the text string that must be in
the column for the drill link to display.
9. In the Mapping area, click Add.
10. Click = Select = in the This Worksheet column and select a column or variable.
11. Click = Select = in the Form column and select a corresponding control to map to.
12. Optionally, map other columns by repeating steps 9 - 11 for those columns.
13. Click OK.
14. Repeat steps 3 - 11 for each drill to form definition you want to add.
NOTE: Click the drop-down list once to select the field, then click again to display the drop-down
list.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Drilling sub-tab.
3. Select the data column you want to drill from, and then click New.
4. Select Drill to worksheet.
NOTE: Click the drop-down list once to select the field, then click again to display the drop-down
list.
NOTE: Only hidden worksheets in the workbook you adding the drill definition to display in the
Worksheet list. You cannot create a drill definition to a hidden worksheet in another workbook.
NOTE: To create a drill definition to a hidden worksheet, you must first hide the worksheet.
NOTE: For grouped, crosstab worksheets with more than one visible pivoted column, drill links in
the worksheet cells do not display filtered views of data in the details worksheet. It is
recommended that you place the drill link on the column header instead.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Drilling sub-tab.
3. Select the data column you want to drill from, and then click New.
4. Select Drill to form.
5. From the Drill to form list, select the form to drill to. Only dependent forms display in this list.
6. To view details about the form dependency, click . For more information, see "Add
dependencies to workbooks" on page 247.
7. Select the label to display when multiple drill links are defined:
l Form name
l A name you type.
8. To specify a condition for the drill definition, do the following:
l Select the Allow drilling to the form if check box.
l Select a column from the list, and in the is exactly text box, type the text string that must be in
the column for the drill link to display.
9. In the Mapping area, click Add.
10. Click = Select = in the This Worksheet column and select a column or variable.
11. Click = Select = in the Form column and select a corresponding control to map to.
Only applicable elements that can be mapped between the worksheets display in the drop-down
lists. For more information, see "Mapping drill links to forms" on page 672.
NOTE: Click the drop-down list once to select the field, then click again to display the drop-down
list.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click the Drilling sub-tab.
3. Select the data column you want to drill to details, and then click New.
4. Select Drill to worksheet.
5. From the Drill to workbook list, select the workbook containing the worksheet to drill to. You
can select the current workbook or any of its dependent drill to details workbooks.
6. For any dependent workbooks, click to view details about the dependency. For more
information, see "Add dependencies to workbooks" on page 247
7. To display all worksheets from the workbook, including hidden worksheets, select the Show
hidden worksheets check box.
8. If the workbook in which you are adding the drill definition has no hidden worksheets, this check
box is unavailable.
9. From the Worksheet list, select the worksheet containing the detailed data you want the
selected column to drill to.
10. Select the label to display when multiple drill links are defined:
l Worksheet name
l A name you type.
11. To specify a condition for the drill definition, do the following:
l Select the Allow drilling to the worksheet if check box.
l Select a column from the list, and in the is exactly text box, type the text string that must be
in the column for the drill link to display.
12. In the Mapping area, click Add.
13. Click = Select = in the This Worksheet column and select a column or variable.
14. Click = Select = in the Details Worksheetcolumn and select a corresponding column or variable
to map to.
Only applicable elements that can be mapped between the worksheets display in the drop-down
lists. For more information, see "Mapping drill links to details or reference worksheets" on page
669.
15. Click OK.
16. Repeat steps 9 - 11 for each drill definition you want to add.
NOTE: Reference worksheets in the workbook display in the current workbook list.
NOTE: Click the drop-down list once to select the field, then click again to display the drop-down
list.
NOTE: To create a drill definition to a hidden worksheet, you must first hide the worksheet.
NOTE: When a drill link is followed from a summarized data column, the associated Group By
column values are applied as search conditions to the corresponding columns in the details
worksheet. If you do not want a given Group By column's value to be applied as a search condition
in the detailed worksheet, do not add that column to the Mapping list.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet. For clarity, the worksheet should have the same
name as the data column it provides details for.
3. In the Table list, click a table to base the worksheet on. Typically, it is recommended you base the
details worksheet on the same table as the worksheet linking to it.
4. Click the Columns tab.
5. Click Add Fields.
6. In the Add Fields dialog box, add a field for the columns in the worksheet you want to link to this
worksheet.
If you based the detail worksheet on the same table as the grouped worksheet, you should add
the fields the Group By columns are based on.
7. In the Add Fields dialog box, add other fields to display relevant details.
For example, if the worksheet provides details for a Quantity data column in the crosstab
worksheet, you should add a Quantity field or column to the detail worksheet.
NOTE: If the grouped worksheet contains date buckets that will map to a workbook date variable
in the details worksheet, you must create the variable in the New Workbook or Workbook
Properties dialog box. For more information, see "Create a date variable" on page 1270.
1. Create component worksheets, ensuring that each worksheet has columns with the same data
type in the same order. These worksheets should be hidden. For more information, see "Create a
composite worksheet" on page 483 and "Always hidden worksheets" on page 273.
2. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Composite worksheet.
3. In the New Composite Worksheet dialog box, in the Name box, type a name for the worksheet.
4. Click Add.
5. In the Select Component Worksheet dialog box, click one of the worksheets you created in step
1, and then click OK.
6. Repeat steps 4 and 5 for each other worksheet you created in step 1.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click the worksheet after which you want to insert the new group.
3. Click New, and then click Tab Group.
4. If necessary, drag worksheets up or down in the worksheet list to move them between the
groups.
5. Click OK.
If the user then clicks the link in the On Time row, the On Time Shipments worksheet opens and displays
shipping information about the on-time orders in the bucket, as shown in the following illustration. This
worksheet was not visible before the user clicked the link.
When you include a chart in a worksheet, it can be displayed in both a worksheet and a widget. In the
worksheet, you can display the data as both a worksheet grid and a chart, as displayed in the following
image.
You can import records into the RapidResponse database from a Microsoft Excel file or a tab-delimited
text file. For example, you might import new customer orders or updated forecast records. You might also
export a workbook to a Microsoft Excel file, modify the data in the Excel file, and then import the modified
Excel file into RapidResponse.
When you import into RapidResponse, records can be inserted, modified, or deleted in the
RapidResponse database. Depending on the format of your data, you can import records into a
workbook or into a scenario.
NOTE: Data from tab-delimited text files can only be imported into a worksheet in a workbook.
l Import new records and replace existing records with the imported data. You might select this
option if you want to bring in new records and modify existing records, such as adding new orders
and updating forecast quantities.
l Import only new records and reject duplicate records in the imported data. You might select this
option if you want to only bring in new records but not update other records, such as adding
actual orders without modifying existing orders.
l Reject new records and only replace existing records in the imported data. You might select this
option is you want to only update records, such as updating order due dates without adding new
orders.
If these options are not available, duplicate records in the imported data always replace the records in
the RapidResponse database. Regardless of the option you select, if the import file defines records to be
deleted, those records are deleted before the records are inserted or modified.
Any data required by, but not included in, the Microsoft Excel file can be automatically created during
the import. If your RapidResponse administrator has enabled automatic record creation, the records
required to support the data in the Microsoft Excel file are created as the record that needs them is
imported. For more information, contact your RapidResponse administrator.
When you import data, you must always specify the scenario the data is imported into. This can be either
the active scenario in a worksheet, or the scenario you specify to import data into. You can import data
into a private scenario, or a shared scenario that you have permission to modify.
You can also import data directly into a scenario. For more information, see "Creating workbooks for
importing data into scenarios" on page 704.
A summary of the options for importing data is shown in the following table. When you import data, you
must always specify the scenario the data is imported into. This can be either the active scenario in a
worksheet, or the scenario you specify to import data into. You can import data into a private scenario,
or a shared scenario that you have permission to modify.
To import Import
Records for a single table l From a tab-delimited file into a worksheet
l From a Microsoft Excel file into a worksheet
l From a Microsoft Excel file into a scenario
Records for multiple tables or crosstab worksheets l From a Microsoft Excel file into every worksheet in a
This includes cases where data in one worksheet of the workbook
import file depends on, or references, the records in l From a Microsoft Excel file into a scenario
another worksheet, and cases where your customer or
suppliers send you Microsoft Excel files with order or
forecast information.
When you import data from an Excel file, the worksheet must exist in both Microsoft Excel and
RapidResponse. Both worksheets must have the same column order. When you import data from
NOTE: For workbooks, you can only import data from worksheets that are always visible or are
visible based on a condition.
NOTE: You can create different worksheets in a workbook that perform a different import option.
NOTE: Reference worksheets cannot import data and do not display in the list of worksheets that
data can be imported into.
l Vertical worksheets must contain all key fields, or define values for key fields not displayed in the
worksheet.
l Crosstab worksheets must contain at least one editable row.
l If the workbook contains multiple worksheets, each worksheet must have the same name in both
RapidResponse and Microsoft Excel.
For more information about worksheets designed for importing data, see "Create a vertical worksheet
to import records" on page 691 and "Create a crosstab worksheet for importing data" on page 703.
When data is imported into multiple worksheets, the worksheets are read and imported from left to
right. If any worksheet contains records that depend on the records in another worksheet, the
worksheet with the dependency must be to the right of the worksheet it depends on. For example, if
you are importing orders and parts, the worksheet with the part data should be to the left of the
worksheet with the order data. This ensures the parts are imported before the orders. Otherwise, the
part records required by the orders will not exist in RapidResponse, and errors might occur, such as
duplicate records being reported if the part records are automatically created.
For example, assume you have three Microsoft Excel worksheets to import. The first, Parts, supplies new
part information. The second, Orders, contains order numbers. The third, Demand Orders, contains line
items for the orders defined in the Orders worksheet, for the parts in the Parts worksheet. These
worksheets are shown in the following illustration.
Depending on your data, you might not use all of the tables listed above. You should include
worksheets based only on the tables your company uses.
Quantity 0.0
Money 0.0
Time 12:00AM
Date Undefined
Datetime Past
String blank
NOTE: Any vertical worksheets that do not contain or do not specify values for all of their table’s
key fields and key fields of referenced tables cannot be used to import data. For more information,
see "Specify default values for imported data" on page 692.
NOTE: If the RapidResponse workbook and the Microsoft Excel file both contain a single
worksheet, the names do not have to match, and the data is imported into the worksheet's table.
TIP: To prevent users from importing duplicate records, you can either filter the worksheets to
return no records, or open the exported workbook in Microsoft Excel and delete the records.
1. With the crosstab worksheet active, specify the scenario, filter, site, and so on that specifies the
records you want to import values for.
The records displayed in the worksheet are the only ones that users are able to import values for.
2. On the Data menu, click Export Data.
3. In the Export Data dialog box, navigate to the location you want to save the data.
4. In the File name box, type a name for the exported file.
5. In the Files of type list, click one of the following:
l Microsoft Excel Workbook (*.xlsx) - Mac OS only (Version 2008-2016)
l Microsoft Excel Workbook (*.xlsx) - Windows only (Version 2007-2016)
l Microsoft Excel 97-2004 Workbook (*.xls) - Mac OS only
l Microsoft Excel 97-2003 Workbook (*.xls) - Windows only
6. Ensure the Include column headers check box is selected.
7. If you formatted the editable rows, ensure the Include formatting check box is selected.
NOTE: For complete information about exporting data, see "Exporting data" in the RapidResponse
User Guide.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
NOTE: If you require field values that you do not want to include as columns in the worksheet,
you can specify values for fields and columns. This also allows you to specify a default value for a
field if no value is included in the import file. For more information, see "Specify default values for
imported data" on page 692.
NOTE: You can only import data from worksheets that are always visible or conditionally visible in
a workbook.
NOTE: If the worksheet is based on a table that contains vector data, the Log data changes check
box is not available. For more information about vectors, see the RapidResponse Analytic and Data
Model Guide.
TIP: You can add all key fields for the worksheet’s table and referenced tables by clicking Add Key
Fields on the Columns tab and then clicking All Key Fields.
1. In the New Worksheet or Worksheet Properties dialog box, on the General tab, select the
Assign values to fields check box.
2. Click Field Values.
3. If the table contains a single String key field, to ensure the values generated for that field are
unique, select the Always generate a unique value for the key field check box.
If you construct a value for this key field, you might not need to select this check box to generate
a unique value.
4. If you will be inserting records in referenced tables, select the Automatically generate all
required reference records check box.
5. Add or remove fields by doing any of the following.
l To add specific fields, click Add Field, and then select the field or fields you want to add.
l To add every field from the table, click Add All Fields.
l If you want to remove a field from this list, select the field and then click Remove Field. You
cannot remove the worksheet columns.
l To remove every field from the table, click Remove All Fields. The worksheet columns are not
removed.
6. Specify the value for each column or field.
NOTE: If you do not select the Assign a value if not provided in file check box, a blank value is
used if the value is not included in the import file.
NOTE: If you do not select the Assign a value if not provided in file check box or do not select
one of the options in the Apply to area, a blank value is used if the value is not included in the
import file.
NOTE: If you select the Assign a value if not provided in file check box, you must select at least
one option in the Apply in area.
NOTE: If you do not select an operation in the Apply to area, a blank value is used if the value is
not included in the import file.
Next, specify the value to be used. This example constructs a String value consisting of the values from
the Source Supplier and Part columns. However, you could construct a value by combining the user ID
and current date.
Next, select the Assign values to fields check box, and then customize the field values.
Add the Timestamp field, and construct a value that consists of the current date and current time.
When data is imported into a crosstab worksheet, the values in each editable row are modified using
the row's data editing rules. For example, if editing the row spreads increases across all records in a
bucket, each value imported from Microsoft Excel is spread over the records in the bucket. For more
information, see "Enable editing for grouped data" on page 423.
If not all rows in the crosstab are editable, you should provide an indication to show which rows can be
edited. The RapidResponse pencil icons on editable rows are not exported with the worksheet data,
so to show editable columns you can use a background color, or define row headers that indicate
whether each row is editable. When data is imported using the worksheet, values for non-editable rows
are ignored.
Importable crosstab worksheets can only modify data, not insert or delete. When you specify the
crosstab setting, any import options you selected are modified to allow only modifications. For more
information, see "Create a vertical worksheet to import records" on page 691.
The buckets in the worksheets must use the same calendar, and both must contain only one calendar.
However, the dates do not need to match exactly. For buckets that are in the Microsoft Excel worksheet
and not in the RapidResponse worksheet, the values are still inserted, but are not displayed in the
crosstab worksheet unless the user changes the number of buckets displayed. These values are inserted
only if the buckets in the Microsoft Excel worksheet correspond to calendar markers in RapidResponse.
For example, if the crosstab worksheet begins with the 15/08/11 bucket and the Microsoft Excel
worksheet begins with the 08/08/11 bucket, the value is imported because the date corresponds to the
start of a week bucket. However, if the date was 09/08/11, the value is not imported.
Any hidden columns in the crosstab worksheet are ignored when data is imported. If a column is
present in the Microsoft Excel file and hidden in RapidResponse, the import fails.
To provide your customers or suppliers with the Microsoft Excel file they can provide values for, you can
export the crosstab worksheet, filtered to show the required records. Worksheet searches are ignored
during the import and export process, so you must filter the worksheet using a filter expression or by
specifying filtering settings (such as the filter, site, hierarchy, and part).
1. In the New Worksheet or Worksheet Properties dialog box, on the General tab, ensure the
Allow importing data check box is selected.
2. Optionally, select the check boxes for each importing option you want the worksheet to support.
3. Click the Columns tab.
4. Add the columns that define the data for the worksheet.
5. Click the Group tab.
6. Select the Group data, Bucket data by date, and Crosstab view check boxes.
7. Click Bucket Settings, and then do the following:
l In the Bucket Settings dialog box, specify the anchor date for the worksheet.
l In the Bucket area, click Basic.
l Specify the calendars and number of buckets for each calendar.
l Click OK.
For more information, see "Define worksheet date buckets" on page 405.
8. For each row you want to make editable, click the value in the Editable? column, and then click
Data Editing.
9. In the Data Editing dialog box, select the Allow data editing check box, and then specify the
editing options for the row. For more information, see "Enable editing for grouped data" on page
423.
10. Optionally, click the Filtering tab, and then in the Worksheet filter expression box, type an
expression to limit the records displayed in the worksheet. For more information, see "Worksheet
filtering" on page 386.
11. Click the Worksheet Help tab, and then provide instructions for users to export and import data
using this worksheet. For more information, see "Add worksheet help" on page 335.
TIP: If you want to provide values for a new record using a crosstab worksheet, you can import
two worksheets: one vertical worksheet that inserts the new records, and the other a crosstab
worksheet that provides values for those records. For more information about worksheets for
importing data, see "Create a vertical worksheet to import records" on page 691.
An example of the process for exporting data for customers and suppliers is shown in the following
illustration. You export the data in a workbook to Microsoft Excel, and then send the file to your
customer or supplier. They update the data in the Microsoft Excel file, and then send it to you. When you
receive the file, you import it into a scenario or include it in the data import process. Over time, users
might modify the customer’s data, or you might need to change your requirements and commitments.
You then export the updated data to Microsoft Excel, and the process continues.
For each crosstab worksheet in the report template, you must add a Settings worksheet to the report
template to define how the data in the crosstab is imported into RapidResponse. A Settings sheet
defines how the data in the crosstab worksheet maps to the tables and fields in the RapidResponse
database. For more information, see "Customizing data imported into a scenario" in the RapidResponse
User Guide.
You can also use a report template to define formatting, charts, graphics, and other aspects of the
report. For more information about formatting exported data using a report template, see "Customize a
workbook to export a report" on page 234.
If the RapidResponse worksheets contain Money values, you must display the unconverted (raw) value
for each Money value. Because this data could be processed automatically or used to replicate changes
from your enterprise data sources, the actual value for the Money field is required. A Microsoft Excel file
used to import data into a scenario does not include the currencies used in worksheets, and no
conversions are performed. For more information, see "Display unconverted money values" on page 312.
1. Create the RapidResponse workbook that will be used to define the data to be exported. For
more information, see "Create and export the RapidResponse workbook (steps 1-3)" on page
707.
2. Open the workbook, and specify the data settings that define the data you want to export.
3. Export data in every worksheet in the workbook to Microsoft Excel. For more information, see
"Configure the file used for importing data into a scenario (step 4)" on page 709.
1. If the workbook is not open, in the Explorer, double-click the workbook you want to export.
2. If required, specify the data settings that define the data you want to export.
3. On the Data menu, click Export data.
4. In the Export Data dialog box, navigate to the location you want to save the file.
5. If necessary, in the Export area, click All worksheets in the workbook.
6. In the File name box, type a name for the exported file.
7. In the File type list, click one of the following:
l Microsoft Excel Workbook (*.xlsx) - Mac OS only (Versions 2008-2016)
l Microsoft Excel Workbook (*.xlsx) - Windows only (Versions 2007-2016)
▶Copy a Settings worksheet from the sample importable file into the Microsoft Excel file
1. In Microsoft Excel, open both the file you exported and the SampleImportableSpreadsheet.xls
file.
2. Ensure the SampleImportableSpreadsheet.xls file is active.
3. Right-click the Settings worksheet tab, and then click Move or Copy.
4. In the Move or Copy dialog box, in the Workbook list, click the file you exported.
5. In the Before sheet list, click where you want to insert the Settings worksheet.
6. Select the Create a copy check box, and then click OK.
1. In the SheetType section, specify whether the Settings worksheet processes Crosstab or Tabular
worksheets.
2. If you specified Crosstab in step 1, in column B, specify whether the data is imported into the
ScheduledReceipt or IndependentDemand table. You must also specify the namespace these
tables exist in. For example, specify Mfg::IndpendentDemand to import into the
IndependentDemand table in the Mfg namespace.
3. In the SheetsToProcess section, specify the Data worksheet this Settings worksheet processes.
4. If you specified Tabular in step 1, in column B, specify the namespace and table the worksheet
imports data into. For example, specify Mfg::IndpendentDemand to import into the
IndependentDemand table in the Mfg namespace.
5. If you want to enable the worksheet to delete records before importing, in column C of the
SheetsToProcess section, type the expression that defines the records that can be deleted.
You can also refer to the DeletionScope or WhereClause named ranges to insert the expression.
These ranges are automatically created in the Settings_Variables worksheet. The expression
defined in these ranges identifies the records you exported into this file.
If you specified Tabular in step 1, go to step 14.
1. In the Confirm Changes dialog box, verify the numbers in the Inserted, Modified, and Deleted
columns for each table look correct, and then click Yes.
2. If it is not already open, in the Explorer, double-click the workbook you created for exporting the
data.
3. In the Scenario list, click the scenario you imported the data into.
4. Verify the records in the workbook are what you expected.
5. If the records are not correct, modify the configuration sections in the Settings worksheets, as
described in "Configure the file used for importing data into a scenario (step 4)" on page 709.
Otherwise, attach the template file containing the final Settings sheets to the workbook, as
described in "Finalize the template and workbook used for exporting data (steps 7-8)" on page
712.
CAUTION: If you delete the cell data instead of clearing contents, you delete the named ranges in
the worksheet as well as the data values. Clearing contents removes only the data values.
TIP: You can also remove formatting from the worksheet by selecting the rows and then clicking
Clear Formats.
1. In the Explorer, click the workbook you created for exporting the data.
2. On the File menu, click Properties.
3. In the Workbook Properties dialog box, click the Exporting tab.
4. Click Attach Template.
5. Navigate to the location you saved the report template file.
6. Click the report template file, and then click Open.
7. Select the Configure the exported file for importing data to a scenario check box.
8. Clear the Include the Settings worksheets in the exported file check box.
If your RapidResponse administrator has granted you the appropriate permissions, you can create
worksheets and workbooks that can automate parts of your business processes. For example, you might
have a process that users follow to import customer forecast data from Microsoft Excel, and then modify
the imported records to use your company’s order types and status codes. Instead of users performing
these modifications, you can automatically modify the data.
You define automatic data modifications in a workbook. Each modification uses the operations defined in
worksheets in that workbook to modify the data. You can allow users to run the modification or schedule
it to run automatically, or you can specify it to run automatically when a user opens the workbook or
saves data in a worksheet.
The following operations can be used to automatically modify data:
l Delete records—Deletes records. This operation can be used to delete the records that are no
longer required, such as demand orders that have been canceled. For more information, see "Create
worksheets for deleting records" on page 726.
l Modify records—Changes values in records. This operation can be used to replace values in
imported records with the values your company uses, such as changing an order status code in an
imported record. For more information, see "Create worksheets for modifying records" on page 721.
l Update records—Modifies a set of records so they match another set of records. This operation can
be used to insert, modify, or delete records. For more information, see "Create worksheets for
updating records" on page 716.
l Insert records—Inserts records. This operation can be used to copy records between database
tables, such as moving supply records into inventory. For more information, see "Create worksheets
for inserting records" on page 723.
These operations are defined using worksheets. Worksheets are used to automatically modify data
specify the operation they perform, and the data the operations runs on. For example, to modify a set of
1. If required, create the worksheets required for each operation or add the form dependency to
the workbook.
2. Test the operations to ensure any worksheets are defined correctly.
3. Create the workbook commands.
4. Optionally, create data modification scheduled tasks to run the commands. For more
information, see the RapidResponse User Guide.
5. Share the workbook with users who require the commands.
NOTE: You cannot use worksheets that contain grouped data to automate business processes.
For more information, see "Group column data" on page 382.
For example, assume you receive updated forecasts from a customer. After importing these records, the
line numbers in the imported data indicate the date the data was imported, and the new forecast status
values are “New_Forecast”, which is a value that is not considered in planning. In addition, the imported
orders use an older forecast priority value, which your company is phasing out.
You can convert these orders to be included in planning, change the order priorities, and delete the old
forecast records with an update operation that modifies and deletes data.
You create two worksheets, based on the IndependentDemand table, with one showing the new
orders, and the other set up to display the new order numbers with the status and priority values you
want to apply. You specify that the update operation performs the modify and delete operations.
The worksheet that displays the imported records is shown in the following illustration. This is the
destination worksheet for the update operation.
You can create this worksheet either by basing it on the IndependentDemand table or by creating a
composite worksheet. For more information, see "Create a composite worksheet" on page 483.
When the update data operation runs, the records in the destination worksheet are updated with the
values in the source worksheet. Both worksheets contain records with the same key field values (same
order numbers, line numbers, types, and sites in this case), the values that are different (the status and
priority values) are modified in the destination worksheet. The records in the destination worksheet
that do not have a matching record in the source worksheet (in this case, the forecasts that do not have
a date in the Line column) are deleted.
When you create the worksheets for updating data, the order in which you create the worksheets does
not matter. You can create the source worksheet or the destination worksheet first. However, the
source worksheet must exist before you can enable the automatic data modification in the destination
worksheet. If you create the destination worksheet first, you can modify it to enable the automatic data
modifications after you create the source worksheet.
After you create the worksheet, you should test it to ensure the automatic data modification performs
the correct function and returns the correct data. For more information, see "Test an operation" on
page 727.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
If you have already created the destination worksheet, you can create a worksheet that contains
the same columns. Select the destination worksheet, click Copy, click Selected worksheet, and
then click Properties to modify the copied worksheet.
2. In the New Worksheet dialog box, click the General tab.
3. In the Name box, type a name for the worksheet. The name given to the worksheet must be
unique within the workbook.
4. In the Table list, click the table to base the worksheet on.
5. On the Columns tab, add columns based on the fields in the table. The columns must have the
same data types as the columns in the destination worksheet.
These columns must contain the values you want to copy into the destination worksheet. You
can create column expressions to provide the values. For more information, see "Add and remove
columns" on page 358.
6. To limit the number of records returned by the worksheet, on the Filtering tab, type a logical
expression in the Worksheet filter expression box.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
If you have already created the source worksheet, you can create a worksheet that contains the
same columns. Select the source worksheet, click Copy, click Selected worksheet, and then click
Properties to modify the copied worksheet.
2. In the New Worksheet dialog box, click the General tab.
3. In the Name box, type a name for the worksheet. The name given to the worksheet must be
unique within the workbook.
4. In the Table list, click the table to base the worksheet on.
5. Ensure the Allow inserting records and Allow deleting records check boxes are selected.
6. If you have already created the source worksheet, click the Automation tab.
Otherwise, go to step 11.
7. Select the Use this worksheet to check box, and then in the list click Update data.
8. In the Get source data from list, select the source worksheet.
9. In the Perform operations area, select the operations you want to perform or clear the
operations you want to exclude.
10. To automatically insert any missing reference records, select the Automatically generate all
required reference records check box.
11. In the If an excluded operation is required section, click one of the following:
l Ignore—If a record that would require an operation that you have excluded is found in the
source or destination worksheet, that record is ignored.
l Fail—If a record that would require an operation that you have excluded is found in the
source or destination worksheet, the operation fails and no data is modified.
12. Do one of the following:
l If the update operation should fail when the first error occurs, select the Fail when the first
error is detected check box.
NOTE: When you select the Use this worksheet to check box, any default column searches are
cleared and searching in the worksheet is automatically disabled.
If you clear the Use this worksheet to check box, searching is not automatically enabled again.
You must select the Allow searching check box to allow users to search the worksheet. You must
also retype any default column searches that you want to use.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click the
worksheet you want to modify, and then click Properties.
2. In the Worksheet Properties dialog box, click the General tab.
3. Ensure the Allow inserting records and Allow deleting records check boxes are selected.
4. Click the Automation tab.
5. Select the Use this worksheet to check box, and then in the list click Update data.
6. In the Get source data from list, click the source worksheet.
7. In the Perform operations area, select the operations you want to perform or clear the
operations you want to exclude.
8. To automatically insert any missing reference records, select the Automatically generate all
required reference records check box.
9. In the If an excluded operation is required section, click one of the following:
l Ignore—If a record that would require an operation that you have excluded is found in the
source or destination worksheet, that record is ignored.
l Fail—If a record that would require an operation that you have excluded is found in the
source or destination worksheet, the operation fails and no data is modified.
10. Do one of the following:
l If the update operation should fail when the first error occurs, select the Fail when the first
error is detected check box.
l To set an error limit for the update operation, select the Fail when the number of errors is
greater than check box. Specify the error limit as the number of records or the percentage of
records in the worksheet that can return errors before the action fails.
11. Click OK.
Worksheets for modifying records can contain as many modifiable columns as you require. You should
include a pair of columns for each value you want to modify. Data is not copied into columns that data
has been copied from, if they are modifiable.
Any columns based on reference fields that are key fields for the table typically cannot be modified.
However, if you have upgraded from RapidResponse 2015.3 (or earlier) to RapidResponse 2016.2 (or
later), your RapidResponse administrator might have enabled these fields to be modified. In this case,
you must ensure the reference key fields are not modifiable unless necessary.
Worksheets created to change data must use the default sort order.
For example, assume your company has a process for increasing the order priority for orders from
specific customers. You can create a worksheet that identifies these demand orders and then create a
pair of columns that modify the priorities. This worksheet is shown in the following illustration.
The Part and Order columns in this example are not required by the modification and are included to
ensure the correct records are modified.
When the modification operation runs, the data in the Priority column is replaced by the data in the New
Priority column. After the operation is complete, the orders in this worksheet have the new priority.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the New Worksheet dialog box, click the General tab.
3. In the Name box, type a name for the worksheet. The name given to the worksheet must be
unique within the workbook.
4. In the Table list, select the table to base the worksheet on.
5. Click the Automation tab.
6. Select the Use this worksheet to check box, and then in the list click Modify records.
7. Do one of the following:
l If the modification operation should fail when the first error occurs, select the Fail when the
first error is detected check box.
l To set an error limit for the modification operation, select the Fail when the number of
errors is greater than check box. Specify the error limit as the number of records or the
percentage of records in the worksheet that can return errors before the action fails.
8. On the Columns tab, add columns based on the fields in the table that you want to be modified.
Ensure that each column you want changed is followed immediately by the column you want the
data to come from. Modifiable columns must be based on fields in the table the worksheet is
based on. Columns that data is copied from can be constant values, based on fields in the table
the worksheet is based on, or calculated using the RapidResponse Query language. For more
information, see "Add and remove columns" on page 358.
9. For each column that you do not want to be modified, do the following:
l In the Columns in this worksheet list, click the column.
l Click the Data Options tab.
l Select the Override default data editing permission check box, and then select the View-
only check box.
10. To limit the number of records returned by the worksheet, on the Filtering tab, type a logical
expression in the Worksheet filter expression box.
NOTE: When you select the Use this worksheet to check box, any default column searches are
cleared and searching in the worksheet is automatically disabled.
If you clear the Use this worksheet to check box, searching is not automatically enabled again.
You must select the Allow searching check box to allow users to search the worksheet. You must
also retype any default column searches that you want to use.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click the
worksheet you want to modify, and then click Properties.
2. In the Worksheet Properties dialog box, click the General tab.
l The destination worksheet requires key fields and must allow records to be inserted.
The destination worksheet must contain all of its table’s key fields. If default records have been
defined for tables referenced by fields in the table, you do not have to include those fields in the
worksheet.
For example, assume you want all supply orders that have been received in a day to be converted to on
hand inventory. You can create two worksheets, the source worksheet based on the ScheduledReceipt
table and the destination worksheet based on the OnHand table. The records in the source worksheet
are inserted into destination worksheet. You must filter the source worksheet so only the records that
represent orders that were received into inventory are returned.
To insert records this way, the destination worksheet must contain all key fields that uniquely identify
records. You can add fields with extra information, such as the Quantity and Date fields on the OnHand
table, as shown in the following illustration.
If any of the tables referenced by the columns in the example above have a default value defined, you do
not have to include them in this worksheet. For example, if the Warehouse table has a default record,
you do not have to include the Warehouse column in this worksheet.
The records that are inserted into this worksheet are taken from the source worksheet, which has
columns of the same data type in the same order. This worksheet is filtered so only the orders due on
the current date are displayed, as shown in the following illustration.
In this example, the column headers are similar in both worksheets. The headers can be different as long
as the data types in each column are the same in both worksheets. After the insert operation is finished,
you can delete the records from the ScheduledReceipt table using a Delete operation defined for this
worksheet. For more information, see "Create worksheets for deleting records" on page 726.
When you create the worksheets for inserting records, the order in which you create the worksheets
does not matter. You can create the source worksheet or the destination worksheet first. However, the
source worksheet must exist before you can enable the automatic data modification in the destination
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the New Worksheet dialog box, click the General tab.
3. In the Name box, type a name for the worksheet. The name given to the worksheet must be
unique within the workbook.
4. In the Table list, click the table to base the worksheet on.
5. On the Columns tab, add columns that match the data types in the destination worksheet.
Columns can be based on the fields in the table or calculated using a query expression.
6. If you have already created the destination worksheet, drag fields up or down in the Columns in
this worksheet list, so that the columns match the order and data type of the destination
worksheet.
7. To limit the number of records returned by the worksheet, on the Filtering tab, type a logical
expression in the Worksheet filter expression box.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the New Worksheet dialog box, click the General tab.
3. In the Name box, type a name for the worksheet. The name given to the worksheet must be
unique within the workbook.
4. In the Table list, click the table to base the worksheet on.
5. Ensure the Allow inserting records check box is selected.
6. Click the Automation tab.
7. Select the Use this worksheet to check box, and then in the list click Insert records.
8. In the Get source data from list, click the worksheet you created to provide the records.
9. To automatically insert any missing reference records, select the Automatically generate all
required reference records check box.
10. Do one of the following:
l If the insert operation should fail when the first error occurs, select the Fail when the first
error is detected check box.
l To set an error limit for the insert operation, select the Fail when the number of errors is
greater than check box. Specify the error limit as the number of records or the percentage of
records in the worksheet that can return errors before the operation fails.
11. On the Columns tab, click Add Key Fields, and then select Primary Key Fields.
12. If the table does not contain key fields, do the following:
l Drag the columns that identify the records to the top of the Columns in this worksheet list.
l Click a column that identifies the record, and then click the Data Options tab.
l Select the Override default data editing permission check box, and then click View only.
13. If desired, click Add Fields, and then add any fields that you want to display additional data.
NOTE: When you select the Use this worksheet to check box, any default column searches are
cleared and searching in the worksheet is automatically disabled.
If you clear the Use this worksheet to check box, searching is not automatically enabled again.
You must select the Allow searching check box to allow users to search the worksheet. You must
also retype any default column searches that you want to use.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click the
worksheet you want to modify, and then click Properties.
2. In the Worksheet Properties dialog box, click the General tab.
3. Ensure the Allow inserting records check box is selected.
4. Click the Automation tab.
5. Select the Use this worksheet to check box, and then in the list, click Insert records.
6. In the Get source data from list, click the worksheet you created to provide the records.
7. Do one of the following:
l If the Insert operation should fail when the first error occurs, select the Fail when the first
error is detected check box.
l To set an error limit for the insert operation, select the Fail when the number of errors is
greater than check box. Specify the error limit as the number of records or the percentage of
records in the worksheet that can return errors before the action fails.
8. Click OK.
After you create the worksheet, you should test it to ensure the automatic data modification performs
correctly. For more information, see "Test an operation" on page 727.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
NOTE: When you select the Use this worksheet to check box, any default column searches are
cleared and searching in the worksheet is automatically disabled.
If you clear the Use this worksheet to check box, searching is not automatically enabled again.
You must select the Allow searching check box to allow users to search the worksheet. You must
also retype any default column searches that you want to use.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click the
worksheet you want to modify, and then click Properties.
2. In the Worksheet Properties dialog box, click the General tab.
3. Select the Allow deleting records check box.
4. Click the Automation tab.
5. Select the Use this worksheet to check box, and then in the list, click Delete records.
6. Click OK.
Test an operation
After you create worksheets to automatically modify data, you can test the worksheet to ensure it
modifies the records correctly. Testing a worksheet performs the modification specified in the
worksheet, and allows you to view the results of the modifications. To test a worksheet, you must be
viewing the worksheet. For update and insert operations, you must be viewing the destination
worksheet.
You should always test the operation in a private scenario, which allows you to save the changes and
examine them to ensure the correct changes were made.
If the worksheet's operation completes successfully, you can see the number of records that are
modified, inserted, or deleted by the operation and the number of errors that occurred in the Confirm
Changes dialog box. Records can return errors as long as the number of errors does not exceed the
error limit set for the action. For more information about setting the error limit, see "Create workbook
commands that modify data" on page 730.
In the Confirm Changes dialog box, you can choose to apply the changes or cancel the operation. If
some errors were returned, the Confirm changes dialog box lists a maximum of ten records that are not
valid. You can click Cancel and View Error Log to cancel the operation and open the Automation Details
If the operation fails, you are presented with the Error dialog box, which lists a maximum of ten records
that are not valid. To view all the errors that were returned by the operation, click the View Error Log
button to open the Automation Details and Log workbook, which displays the Workbook Command
Log and Error Details worksheets. These worksheets log information about commands and data
modification operation tests that are run interactively. You can use the Error Details worksheet to
investigate errors that occur when command actions are performed and to fix the errors.
For more information about the Workbook Command Log, Data Modification Details, and Error Details
worksheets, see the RapidResponse User Guide.
You can test operations only in workbooks you own.
▶Test an operation
NOTE: Changes made by testing an operation are not shown in the Scenario Properties tab.
You can also create commands that take a set of records from a scenario and make the modifications in
a child scenario, similar to updating only those records and not every record from the parent scenario.
If this limit is not exceeded, the command can complete successfully. No error limit is set when records
are deleted.
If the error limit for an action is exceeded, the command stops and a dialog box that describes which
operation failed is displayed. No data is modified in this case. Users can click the View Error Log button
from this dialog box to open the Workbook Command Log and Error Details worksheets in the
Automation Details and Log workbook to investigate the cause of the errors.
1. In the New Workbook or Workbook Properties dialog box, click the Commands tab.
2. Click New, and then click Modify Worksheet Data Command.
3. In the New Command - Modify Worksheet Data dialog box, in the Name box, type a name for
the command.
4. If you want to hide the command, clear the Accessible by users from check box.
Otherwise, click one of the following:
l All worksheets in this workbook—The command is available in any worksheet.
l Worksheets—The command is only available in worksheets you specify. Users must have
access to the worksheets to use the command.
5. If you clicked Worksheets in step 4, do the following:
l Click Select.
l In the Select Worksheets dialog box, select the worksheet you want the command to be
available in and then click Add.
l Add any additional worksheets you want the command to be available in.
l Click OK.
6. If you do not want the users to confirm the changes the command makes, clear the Allow users
to confirm changes check box.
If you want the command to run when the workbook is opened or data is saved, you should clear
this check box.
7. In the Description box, type instructions for the user to specify the correct data settings for the
command and describe the resources a user needs to ensure the command runs on the intended
set of records.
8. If you want the changes made by this command to be shown in the Scenario Properties tab,
Pending Commits tab, select the Log data changes check box.
9. Click the Actions tab.
10. In the Modify data in section, click one of the following:
l User’s selected scenario—The command modifies data in the scenario the user has selected
or, if the command is scheduled, the scenario specified in the scheduled task.
NOTE: If a user does not have access to the scenario specified in the command or an action, or
does not have Modify permission to the scenario the command modifies data in, that user cannot
run the command.
NOTE: You can use reference worksheets in workbook commands. For more information, see
"Creating reference worksheets" on page 547.
NOTE: For information about scheduling commands, see the RapidResponse User Guide.
1. In the New Workbook or Workbook Properties dialog box, click the Commands tab.
2. Click New, and then select Open Form Command.
3. In the New Command - Open Form dialog box, select the form that the command opens.
4. To view variable mappings between form controls and variables in the current workbook, select
.
5. In the Access from list, select Standard Run Command toolbar button.
6. Click a label to display for the command:
l Form name
l A name you type in the Name box.
7. To add mappings between the workbook and the form, in the Mapping area, click Add.
8. Click = Select = in the Workbook Variable column and select a variable.
9. Click = Select = in the Form Control column and select a corresponding control on the form to
map to.
10. Optionally, map any other workbook variables to controls on the form by repeating steps 8 - 10
for those variables.
11. To define where users can access the command from, click one of the following:
l All worksheets in this workbook—The command is available in any worksheet in the
workbook.
l Worksheets—The command is only available in worksheets you specify. Users must have
access to the worksheets to use the command.
12. If you click Worksheets, do the following:
l Click Select.
l In the Select Worksheets dialog box, select the worksheet you want the command to be
available in and then click Add.
l Add any additional worksheets you want the command to be available in.
l Click OK.
13. Click OK.
1. In the New Workbook or Workbook Properties dialog box, click the Commands tab.
2. Click New, and then select Open Form Command.
3. In the New Command - Open Form dialog box, select the form that the command opens.
4. To view variable mappings between form controls and variables in the current workbook, select
.
5. In the Access from list, select Custom toolbar button.
NOTE: If a user does not have access to the worksheet the command is available in, that user
cannot run the command.
NOTE: Custom toolbar buttons must have an image specified. Adding text to the button is
optional.
NOTE: For information about scheduling commands, see the the RapidResponse User Guide.
1. In the New Workbook or Workbook Properties dialog box, click the Commands tab.
2. Click New, and then select Run Script Command.
3. In the New Command - Run Script dialog box, in the Name box, type a name for the command.
4. If you want to hide the command, clear the Accessible to users from check box.
Otherwise, click one of the following:
l All worksheets in this workbook—The command is available in any worksheet.
l Worksheets—The command is only available in worksheets you specify. Users must have
access to the worksheets to use the command.
5. If you clicked Worksheets in step 4, do the following:
l Click Select.
l In the Select Worksheets dialog box, select the worksheet you want the command to be
available in and click Add.
l Add any additional worksheets you want the command to be available in.
l Click OK.
6. In the Command help area, do one of the following:
l To provide a description of the command, click Description, and then in the Description box,
type instructions for the user to specify values for the script arguments.
l To display the script's help when the user runs the command, click Script help.
7. Click the Script tab.
8. In the Script list, select the script you want to run.
NOTE: When you share a workbook that runs a script, the script is also shared with the user.
However, the script is a linked resource, so the recipient does not see it in their Explorer. If you do
not own the script, you might require assistance from your RapidResponse administrator to share
the workbook. For more information, see "Share resources" on page 128.
NOTE: For information about scheduling commands, see the RapidResponse User Guide.
1. In the New Workbook or Workbook Properties dialog box, click the Commands tab.
2. Select the On opening this workbook run command check box.
3. In the list, click the command you want to run.
1. In the New Workbook or Workbook Properties dialog box, on the Commands tab, select the
command you want to edit.
2. Click Edit.
3. Modify the properties on the General or Actions tabs.
4. Delete operations that are no longer required by doing the following:
l Click the Actions tab.
l Select the operation you want to remove.
l Click Delete.
1. In the New Workbook or Workbook Properties dialog box, on the Commands tab, select the
command you want to edit.
2. Click Edit.
3. Modify the properties in the Edit Command - Open Form dialog box.
1. In the New Workbook or Workbook Properties dialog box, on the Commands tab, select the
command you want to edit.
2. Click Edit.
3. Modify the properties on the General or Script tabs.
▶Delete a command
1. In the New Workbook or Workbook Properties dialog box, on the Commands tab, select the
command that you want to remove.
2. Click Delete.
A transformation worksheet uses a RapidResponse function to produce results. You can use
transformation worksheets to perform calculations that cannot be done using the RapidResponse query
language, such as determining how many calendar periods a supply can cover, or statistical functions
such as determining the standard deviation of a set of quantities. A transformation worksheet is similar
to a composite worksheet, and if the function the transformation worksheet uses requires multiple input
worksheets, each worksheet must meet composite worksheet requirements. For more information, see
"Create a composite worksheet" on page 483.
The function uses the data in an input worksheet, which must be in the same workbook as the
transformation worksheet. This worksheet can be a table-based or composite worksheet, and must meet
specific criteria depending on the function. For more information, see "Creating input worksheets for
functions" on page 762.
The relationship between the input worksheet, function, and transformation worksheet is shown in the
following illustration.
When you create a transformation worksheet, you specify the function, the input worksheet, and other
input parameters specific to the function you selected.
Step Description
Determine Before creating the worksheet, decide what information you want to convey. This decision
transformation affects which worksheet function you need to use, and the format of the input worksheet.
worksheet For information about the functions available to you, see "Functions for transformation
function worksheets" on page 744.
Create the Create the worksheet that provides input data for the function. Each function has specific data
input and formatting requirements.
worksheet All input worksheets must uniquely identify the data records the function uses. These could be
parts, customers, suppliers, or individual orders, depending on the worksheet's purpose.
For example, an input worksheet for the Periods Forward Coverage function can be grouped by
part, site, and date, and contain total demand and supply quantities for each part and site
combination. An input worksheet for the STDEVP function can provide all order quantities from
a particular customer.
For more information, see "Creating input worksheets for functions" on page 762.
Create the Specify the function being used, and then specify the input worksheet as an input parameter for
transformation the function.
worksheet If the function requires additional parameters, specify a value for each parameter.
For more information, see "Create a transformation worksheet" on page 820.
Format the The columns in the transformation worksheet, by default, consist of the same identifier columns
transformation from the input worksheet, and the output of the function.
worksheet The columns that provided the data the function required to run, such as the quantities for the
STDEV function, are removed and replaced by the output.
Depending on the worksheet's purpose, you can remove output columns you do not need, or
add additional columns to provide additional information. You can add columns based on any
field from the table the input worksheet is based on, or, if the input worksheet is a composite
worksheet, any field from a table referenced by a component worksheet column.
Autocorrelation Calculates the autocorrelation function for time periods within a set of data points. For more
information, see "Autocorrelation function" on page 747.
Bucket Actuals Groups historical actual order quantities into buckets, for use in other statistical functions. For
more information, see "Bucket Actuals function" on page 747.
Check Forecast Determines if a forecast item has been defined for any part and customer combinations that
Item should not be forecasted for that part and customer, or finds parts and customer combinations
that no forecast items have been defined for. For more information, see "Check Forecast Item
function" on page 748.
Coefficient of Calculates the variability of a set of values relative to its mean. For more information, see
Variation "Coefficient of Variation function" on page 748.
Disaggregation Calculates the dates and quantity ratios that are used to disaggregate a forecast. The number of
Default Rates dates used depends on the period the forecast is aggregated over. For more information, see
"Disaggregation Default Rates function" on page 749.
Fit Calculates the statistical model parameters that are used to calculate a statistical forecast. For
more information, see "Fit function" on page 750.
Histogram Calculates the sample frequency distribution of a set of data points. For more information, see
"Histogram function" on page 750.
Insert Buckets Inserts zero quantities into buckets that do not contain records, which ensures rolling average
and standard deviation calculations have a complete set of values. For more information, see
"Insert Buckets function" on page 751.
Kurtosis Determines how peaked or flat the distribution of a set of data points is. For more information,
see "Kurtosis function" on page 751.
Mean Absolute Calculates the average deviation from the mean of forecast quantities for each forecast period.
Percentage This function provides a measure of how dispersed the quantities are. For more information, see
Deviation "Mean Absolute Percentage Deviation function" on page 752.
Median Calculates the median value of a set of data points. For more information, see "Median
function" on page 752.
Mode Multiple Calculates the mode of data sets. Depending on the values in the data set, several values might
be equally common in the set. In this case, each value is presented as a mode of the data set.
For more information, see "Mode Multiple function" on page 752.
Mode Single Calculates a single mode of a set of data. If the data set contains multiple modes, this function
returns the smallest mode. For more information, see "Mode Single function" on page 753.
Periods Reports the number of calendar periods that can be covered by supply of a part. For more
Forward information, see "Periods Forward Coverage function" on page 753.
Coverage
Predict Calculates a statistical forecast using the results of the Fit function. For more information, see
"Predict function" on page 754.
Predict Actuals Uses the statistical forecasting parameters determined by the Fit function to determine
historical actual values that fit the statistical forecast. You can use this function to determine
the accuracy of the statistical forecast. For more information, see "Predict Actuals function" on
page 754.
Rolling Average Calculates the average of values based on the average of a number of previous periods, which
highlights trends in the data and smoothes out fluctuations. For more information, see "Rolling
Average function" on page 756.
Safety Stock Calculates a recommended safety stock and associated reorder point based on a specified
service level and other input parameters. For more information, see "Safety Stock function" on
page 756.
Skew Determines whether a set of data values trends toward negative or positive values. For more
information, see "Skew function" on page 757.
Standard Calculates the standard deviation of percentage errors for a forecast, as compared to a series of
Deviations of historical forecasts. This value can be used to determine the confidence interval of a forecast.
Errors For more information, see "Standard Deviations of Errors function" on page 757.
Statistical Errors Compares historical actual values and historical forecast values to determine the forecast
accuracy. For more information, see "Statistical Errors function" on page 758.
Statistical Errors Compares historical actual values and historical forecast values for a specified period to
by Date determine how the forecast accuracy changes over time. For more information, see "Statistical
Errors by Date function" on page 758.
STDEV Estimates the standard deviation of an incomplete set of values, which measures how widely
the values are dispersed from the average of the values. This function is similar to the STDEV
function in Microsoft Excel. For more information, see "STDEV function" on page 759.
STDEV With Calculates the standard deviation of an incomplete set of values. This function allows you to
Dates determine the standard deviation based on the same worksheet you use for other calculations,
using quantity and date values. For more information, see "STDEV With Dates function" on page
760.
STDEVP Calculates the standard deviation of a set of values, which measures how widely the values are
dispersed from the average of the values. This function is similar to the STDEVP function in
Microsoft Excel. For more information, see "STDEVP function" on page 760.
STDEVP With Calculates the standard deviation of a set of values. This function allows you to determine the
Dates standard deviation based on the same worksheet you use for other calculations, using quantity
and date values. For more information, see "STDEVP With Dates function" on page 761.
TREND Estimates a trend based on past performance, using date and quantity values to predict future
quantities. This function is similar to the TREND function in Microsoft Excel. For more
information, see "TREND function" on page 761.
Time Calculates a time-phased safety stock and associated reorder point values based on a specified
Phased Safety service level and other parameters such as historical demand variability. For more information,
Stock see "Create a worksheet using the Time Phased Safety Stock function" on page 835.
For more information about the input worksheets for this function, see "Input worksheets for the ATP
To Demand Match function" on page 770. For information about using this function in a transformation
worksheet, see "Create a worksheet using the ATP To Demand Match function" on page 821.
Note: This function is used within the standard Customer Orders and Initialize Orders worksheets that
are part of the Order Fulfillment application available with RapidResponse.
Autocorrelation function
The Autocorrelation function calculates the repetitiveness of a series of data values by comparing the
series to a time-shifted version of itself. The Autocorrelation function takes the data series over the
specified time periods, and reports the correlation value of the series in each time period.
This function requires an input worksheet that contains the date and quantity pairs that are used to
calculate the correlation values.
For more information about the input worksheet for this function, see "Input worksheet for the
Autocorrelation function" on page 772. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Autocorrelation function" on page 821.
For more information about the input worksheets for this function, see "Input worksheets for statistical
forecasting functions" on page 762. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Bucket Actuals function" on page 822.
For more information about the input worksheets for this function, see "Input worksheet for the Check
Forecast Item function" on page 773. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Check Forecast Item function" on page 822.
For more information about the input worksheet for this function, see "Input worksheet for the
Coefficient of Variation function" on page 776. For information about using this function in a
transformation worksheet, see "Create a worksheet using the Coefficient of Variation function" on page
823.
For more information about the input worksheets for this function, see "Input worksheets for the
Disaggregation Default Rates function" on page 776. For information about using this function in a
transformation worksheet, see "Create a worksheet using the Disaggregation Default Rates function"
on page 823.
Fit function
The Fit function determines how a statistical forecast is calculated. This function determines the
statistical model that the forecast conforms to. This is intended to be used as input to the Predict or
Predict Actual function to calculate the forecast values.
You can specify which forecasting model is used to determine the forecast values, or you can use the
best fit, which calculates the data points using each forecast model and then selects the one that has
the lowest calculated error margin. For information about the forecast models available to you, see
"Statistical forecasting models" on page 804.
This function requires an input worksheet that contains common statistical inputs, including the
forecast model and the seasonal intervals. This input worksheet is intended to be used for all statistical
functions.
You can also specify forecast parameters that are can be used as input to the Fit function, which allows
you to override the values calculated by the function, and to customize the forecast.
For more information about the input worksheets for this function, see "Input worksheets for statistical
forecasting functions" on page 762. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Fit function" on page 824.
Histogram function
The Histogram function calculates a histogram , or sample frequency distribution, for a set of data. You
can use this result to view the frequency of how data values are used in your data.
This function requires an input worksheet that contains the set of data to analyze, and optionally, the
number of bins used to perform the distribution calculation. This allows you to customize the
granularity of the histogram.
For more information about the input worksheet for this function, see "Input worksheet for the
Histogram function" on page 778. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Histogram function" on page 824.
For more information about the input worksheets for this function, see "Input worksheets for the Insert
Buckets function" on page 779. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Insert Buckets function" on page 825.
Kurtosis function
The Kurtosis function calculates how peaked or flat the distribution of a set of data values is, compared
to the normal distribution. A positive value for this function indicates the distribution is peaked, and a
negative value indicates the distribution is flat.
This function requires one input worksheet, which contains the distribution of data points to calculate
kurtosis.
For more information about the input worksheet for this function, see "Input worksheet for the Mean
Absolute Percentage Deviation function" on page 781. For information about using this function in a
transformation worksheet, see "Create a worksheet using the Mean Absolute Percentage Deviation
function" on page 826.
Median function
The Median function calculates the median of a set of data values. This value can be either the value in
the middle of the set or a calculated value, depending on the data in the set. If the median is calculated,
the value returned might require decimal places to display the value properly.
This function requires an input worksheet that provides the data values to find the median of.
For more information about the input worksheet for this function, see "Input worksheet for median and
mode functions" on page 770. For information about using this function in a transformation worksheet,
see "Create a worksheet using the Median function" on page 826.
For more information about the input worksheet for this function, see "Input worksheet for median and
mode functions" on page 770. For information about using this function in a transformation worksheet,
see "Create a worksheet using the Mode Multiple function" on page 827.
For more information about the input worksheet for this function, see "Input worksheet for median and
mode functions" on page 770. For information about using this function in a transformation worksheet,
see "Create a worksheet using the Mode Single function" on page 827.
For more information about the input worksheet for this function, see "Input worksheet for the Periods
Forward Coverage function" on page 781. For information about using this function in a transformation
worksheet, see "Create a worksheet using Periods Forward Coverage function" on page 828.
Predict function
The Predict function calculates the statistical forecast values using the output of the Fit function. This
function calculates values for the number of periods specified in the input.
This function requires an input worksheet that contains common statistical inputs, including the
forecast model and the seasonal intervals. This input worksheet is intended to be used for all statistical
functions, but only a subset of the columns is used in the Predict function.
For more information about the input worksheets for this function, see "Input worksheets for statistical
forecasting functions" on page 762. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Predict function" on page 828.
For more information about the input worksheets for this function, see "Input worksheets for statistical
forecasting functions" on page 762. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Predict Actuals function" on page 829.
For more information about the input worksheet for this function, see "Input worksheet for the Rolling
Average function" on page 785. For information about using this function in a transformation
worksheet, see "Create a worksheet using the Rolling Average function" on page 830.
For more information about the input worksheets for this function, see "Input worksheets for the Safety
Stock function" on page 786. For information about using this function in a transformation worksheet,
see "Create a worksheet using the Safety Stock function" on page 831.
Skew function
The Skew function determines how symmetric a set of data is around its mean. A larger number for a
skew result indicates the set is asymmetric, and whether the skew is positive or negative determines
whether the values trend toward positive or negative values.
This function requires a single input worksheet that contains the set of quantities the skew is calculated
for.
For more information about the input worksheet for this function, see "Input worksheet for the Skew
function" on page 791. For information about using this function in a transformation worksheet, see
"Create a worksheet using the Skew function" on page 832.
For more information about the input worksheets for this function, see "Input worksheets for the
Standard Deviations of Errors function" on page 791. For more information about using this function in
a transformation worksheet, see "Create a worksheet using the Standard Deviations of Errors function"
on page 832.
For more information about the input worksheets for this function, see "Input worksheets for statistical
error functions" on page 793. For information about using this function in a transformation worksheet,
see "Create a worksheet using the Statistical Errors function" on page 833.
For more information about the input worksheets for this function, see "Input worksheets for statistical
error functions" on page 793. For information about using this function in a transformation worksheet,
see "Create a worksheet using the Statistical Errors by Date function" on page 833.
STDEV function
STDEV function
The STDEV function estimates the standard deviation for a sample of a set of data. The standard
deviation calculates how widely values are dispersed from the average (mean) of the set of values. This is
typically used for statistical analysis, such as determining whether forecast quantities tend to be
consistent (low standard deviation) or whether they vary (large standard deviation).
The following formula is used to estimate the standard deviation from a sample set of data:
where x is each value in the sample, x̅ is the sample mean, and n is the number of values in the sample.
To account for a possible error in the calculation due to using a sample, the sum of the squared values is
divided by one less than the number of values in the sample.
If you have a complete data set and want to calculate the exact standard deviation of the set, you
should use the STDEVP function.
The STDEV function requires an input worksheet that contains the set of values the standard deviation
is calculated for. This worksheet must contain multiple quantity or money values for each set of
identifying columns, such as a number of order quantities for a single part.
For more information about the input worksheet for this function, see "Input worksheet for standard
deviation functions" on page 794. For information about using this function in a transformation
worksheet, see "Create a worksheet using the STDEV or STDEVP function" on page 834.
STDEVP function
The STDEVP function calculates the standard deviation of a complete set of values. The standard
deviation calculates how widely values are dispersed from the average (mean) of the set of values. This is
typically used for statistical analysis, such as determining whether forecast quantities tend to be
consistent (low standard deviation) or whether they vary (large standard deviation).
The following formula is used to calculate the exact standard deviation of a complete data set:
where x is each value in the data set, x̅ is the data set mean, and n is the number of values in the data set.
Because the data set is complete, the sum of the squared values is divided by the number of values in
the set.
If you want to estimate the standard deviation from a sample of the data set, you should use the STDEV
function.
The STDEVP function requires an input worksheet that contains the set of values the standard deviation
is calculated for. This worksheet must contain multiple quantity or money values for each set of
identifying columns, such as a number of order quantities for a single part.
For more information about the input worksheet for this function, see "Input worksheet for standard
deviation functions" on page 794. For information about using this function in a transformation
worksheet, see "Create a worksheet using the STDEV or STDEVP function" on page 834.
For more information about the input worksheet for this function, see "Input worksheet for standard
deviation functions" on page 794. For information about using this function in a transformation
worksheet, see "Create a worksheet using the STDEV or STDEVP function" on page 834.
TREND function
The TREND function estimates quantities based on past performance. The function calculates a trend
line using quantity or money values in an input worksheet, which you can use to estimate values in
future periods.
This function requires an input worksheet that contains the set of values used to estimate the future
performance, as well as the calendar used to determine the length of each historical period, the date to
start analyzing history, and the number of periods to estimate the trend for.
For more information about the input worksheet for this function, see "Input worksheet for the TREND
function" on page 802. For information about using this function in a transformation worksheet, see
"Create a worksheet using the TREND function" on page 838.
Parameters String Whether statistical forecast points are calculated or taken from another input worksheet.
Valid values are:
l Calculate—statistical forecast values are calculated using the provided input data
points and specified forecast model.
l Use—statistical forecast values are taken from an additional input worksheet.
Fit String If you are using the BestFit forecast model, specifies the accuracy measure used to
Measure determine which forecast model is the best fit for the input data. For a complete list of
the measures you can specify here, see "Accuracy and error measures in statistical
forecasts" on page 810.
Interval String The calendar used for bucketing the forecast values.
Calendar
Historical Quantity How many periods of historical actual values to use for calculating the statistical
Interval forecast.
Count
These functions also require worksheets that provide the data used to calculate the statistical forecast
and predict forecast and actual values. However, these worksheets are different depending on the
function being used.
For an example of using these functions to calculate statistical forecasts, see "Example: Creating
transformation worksheets to calculate a statistical forecast" on page 841.
NOTE: If you have upgraded from RapidResponse 10.0 or earlier and have created worksheets
using these functions, the function has "10 0" added to the end, for example, "Predict 10 0". These
are the functions as they were defined in RapidResponse 10.0 and earlier, and do not require the
Moving Average Interval Count column in the input worksheet. These functions appear in the
Worksheet Properties dialog box with a red X icon . If you do not modify the worksheet, this
function continues to work, however, you should update your worksheets to use the most recent
version of the function.
Include step-wise DifferenceLevel must be greater than or equal to zero, blank values must be specified for the
ARIMA in the AutoRegressiveTerms and MovingAverageTerms parameters, and '0' must be specified for
BestFit model the IncludeConstant parameter.
NOTE: Although IncludeConstant is set to '0', a constant is included if the step-wise ARIMA
calculation determines a constant is required to produce the best result.
For example, you could create a worksheet based on the HistoricalDemandActual table that reports
order quantities for a part, as shown in the following illustration.
This worksheet should not be grouped, because the function groups and buckets the data using the
calendar and number of intervals taken from the forecast parameters input worksheet.
For information about using the Bucket Actuals function in a transformation worksheet, see "Create a
worksheet using the Bucket Actuals function" on page 822.
Name String The constant the value is provided for. Depending on the model, this column should contain
either "alpha", "beta", "gamma", "mu", "phi", or "theta", according to the following models:
l ARIMA—requires mu (if a constant is included in the ARIMA calculation), phi, and theta.
Phi and theta values must be provided for each auto-regressive and moving average lag
included in the ARIMA calculation. Each phi or theta value must include the lag it is used
for, using the syntax '_x' where x is the lag number. For example, phi_1 specifies the value
for the first auto-regressive lag and theta_2 specifies the value for the second moving
average lag.
l ExponentialSmoothing—requires alpha.
l DoubleExponentialSmoothing—requires alpha and gamma.
l HoltWintersMethod—requires alpha, beta, and gamma.
l CrostonsMethod—requires alpha.
Value String The value to be used as the constant in the statistical forecast calculations. For alpha, beta, or
gamma, this value must be between zero and one.
For more information about the constants and forecast models, see "Statistical forecasting models" on
page 804.
For information about using the Fit function in a transformation function, see "Create a worksheet
using the Fit function" on page 824.
For information about using the Predict function in a transformation worksheet, see "Create a
worksheet using the Predict function" on page 828.
Name String The constant the value is provided for. Depending on the model, this column should contain
either "alpha", "beta", "gamma", "mu", "phi", or "theta", according to the following models:
l ARIMA—requires mu (if a constant is included in the ARIMA calculation), phi, and theta.
Phi and theta values must be provided for each auto-regressive and moving average lag
included in the ARIMA calculation. Each phi or theta value must include the lag it is used
for, using the syntax '_x' where x is the lag number. For example, phi_1 specifies the value
for the first auto-regressive lag and theta_2 specifies the value for the second moving
average lag.
l ExponentialSmoothing—requires alpha.
l DoubleExponentialSmoothing—requires alpha and gamma.
l HoltWintersMethod—requires alpha, beta, and gamma.
l CrostonsMethod—requires alpha.
Value String The value to be used as the constant in the statistical forecast calculations. For alpha, beta, or
gamma, this value must be between zero and one.
If the output of the Fit function is used, the Fit function returns any errors that affect the values to be
passed to the Predict function. The following values can be returned for the FitError forecast parameter.
For information about using the Predict Actuals function in a transformation worksheet, see "Create a
worksheet using the Predict Actuals function" on page 829.
NOTE: As of RapidResponse 2014.4, analytics can be used to calculate the statistical forecast
instead of transformation worksheets. Analytics calculations are more efficient, yet simpler to
The values in the input worksheet can be any quantity or money values, including order quantities,
forecasted quantities, statistical forecasts, revenues, gross margins, and so on. You can use the output
of any function that produces a quantity or money column as the input to these functions, which allows
you to determine the median or mode of your result sets.
▶Create an input worksheet for the Median, Mode Multiple, or Mode Single function
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab, and then do the following:
l Add the columns that uniquely identify the records in the worksheet. For example, part names
and sites, customer names, supplier names, and so on.
l Add the Quantity or Money column required by the function to calculate the median or mode.
Demand worksheet
The second input worksheet is meant to provide demand information and should be a series of
sorted/prioritized customer demands, with date and quantity values, over time. This worksheet should
identify the part the demand is for, and must have the following as its last columns.
Column Description
type
String A single string value identifying the demand. For example, this might be a concatenation of the
fields that uniquely identify each demand.
NOTE: Within a given priority level, demands receive available-to-promise based on the order in
which they are sorted in this worksheet.
PromiseZones worksheet
The third input worksheet is meant to define order promising zones. This worksheet should identify a
frozen horizon date, before which orders should never be promised to request, and an auto-commit
horizon date, after which orders can always be promised to request.
Column Description
type
Date The frozen horizon date. This date marks the end of the frozen horizon and if a demand is requested
within this horizon, it is promised at the latter of the supply available date or the frozen horizon date.
Date The auto-commit horizon date. This date marks the beginning of the auto-commit zone and if a
demand is requested within this horizon, it is promised to the requested date.
NOTE: Implicit between the two dates defined in the table above is the slushy zone. If a demand is
requested within this zone, it is promised to the latter of the available date on the supply , the
demand request date, or the auto-commit horizon date.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the table to base the worksheet on. Typically, this might be the CTPActivity
table.
4. Click the Columns tab, and then do the following:
l Add the columns that uniquely identify part the ATP in the worksheet is for. For example, part
name and part site.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the table to base the worksheet on. Typically, this might be the
IndependentDemand table.
4. Click the Columns tab, and then do the following:
l Add the columns that uniquely identify the part the demand is for. For example, part name
and part.
l Add a string that identifies the demand the part is for. For example, this might concatenate
values such as Order.Id, Order.Site, Order.Type, and Line.
l Add the date and quantity columns required by the function to the date supply is needed to
satisfy the order and the amount of the order. For example, this might be RequestDate and
Quantity.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the table to base the worksheet on. For example, this might be a table that
allows defining order promising horizon values; such as, the PartSolution or PartCustomer table.
4. Click the Columns tab, and then do the following:
l Add the date column that defines the frozen horizon date. For example, this is typically
calculated by adding a frozen horizon value to the date on which the order is created.
l Add the date column that defines the auto-commit horizon date. For example, this is typically
calculated by adding an auto-commit horizon value to the date on which the order is created.
Quantity or Money Provides the data points the autocorrelation function runs on.
The values in the input worksheet can be any Quantity or Money values for any series of dates.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab, and then do the following:
l Add the columns that uniquely identify the records in the worksheet. For example, part names
and sites, customer names, supplier names, and so on.
l Add the Date and Quantity or Money columns required by the function to calculate the
autocorrelation.
The following table describes the data that should be in each column.
Path String The expression that defines the hierarchy path to the forecast item, as described in the
Expression forecast tree. This can be the value in the Forecasttem.PathExpression field.
Path String The calculated path to the forecast item. This column is required for the output of the
Calculated function, and no value is required in the input.
Filter String The expression that is used to filter the forecast tree. This can be the value in the
Expression ForecastItem.FilterExpression field.
Filter String The expression that is used to filter the forecast tree. This column is required for the output
Expression of the function, and no value is required in the input.
True
▶Create an input worksheet that shows part customer records with forecast items
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the PartCustomer table.
4. Click the Columns tab, and then do the following:
5. Click Add Fields, and then add the following fields to the worksheet:
l BaseKey
l Part
l Part.Site
l Customer
l Customer.Site
l ForecastItem.PathExpression
l ForecastItem.Path
l ForecastItem.FilterExpression
6. Select the Forecast Item Path column, click New Column, and in the Expression box type a blank
String ('').
7. Select the Forecast Item Filter Expression column, click New Column, and then in the
Expression box type a blank String ('').
8. Optionally, rename the columns.
9. Click the Filtering tab.
10. In the Worksheet filter expression box, type ForecastItem.Path <> ''.
▶Create a component worksheet that shows part customer records with no forecast item
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the PartCustomer table.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the ForecastItem table.
4. Click the Columns tab, click Add Fields, and then add the following fields to the worksheet:
l Path
l PathExpression
l FilterExpression
5. Click the Filtering tab.
6. In the Worksheet filter expression box, type Path <> ''.
▶Create a worksheet that returns combinations of part customer records and forecast items
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Composite worksheet.
2. In the Name box, type a name for the worksheet.
3. Click Add.
4. In the Add Component Worksheets dialog box, select the component worksheet based on the
PartCustomer table, and then click OK.
5. Click Add.
6. In the Add Component Worksheet dialog box, do the following:
l Click Merge data records.
l In the Include in composite worksheet list, click Only records in the first worksheet.
l In the Combine records by area, click The first columns.
The quantity or money values passed to the Coefficient of Variation function should belong to a set,
such as quantities for a group of orders for a part. However, any quantity or money values can be used,
such as order quantities, supply quantities, revenues, and so on.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab, and then do the following:
l If necessary, add the columns that uniquely identify the records in the worksheet. For
example, part names and sites, customer names, supplier names, and so on.
l Add the Quantity or Money column required by the function to calculate the coefficient of
variation.
Outer String The calendar that defines the period over which the forecast is disaggregated.
Calendar
Historical Quantity The number of historical periods to use to calculate the disaggregation rates.
Interval
Count
Start Date Date The first date used in calculating disaggregation rates.
End Date Date The last date used in calculating disaggregation rates.
The second input worksheet defines the historical data points that define the ratios for disaggregating.
This worksheet must contain the following columns.
Quantity or The first set of quantities or money values used to determine ratios. For example, this set could
Money be units.
Quantity or The second set of quantities or money values used to determine ratios. For example, this set
Money could be revenue.
For information about using the Disaggregation Default Rates function in a transformation worksheet,
see "Create a worksheet using the Disaggregation Default Rates function" on page 823.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the ForecastDisaggregationParameters table.
4. Click the Columns tab, and then do the following:
l Click Add Fields.
l In the Add Fields dialog box, add the InnerCalendar, OuterCalendar, and
HistoricalIntervalCount fields.
l Click New Column, and then in the Expression box, type a date that represents the start
date.
l Click New Column, and then in the Expression box, type a date that represents the end date.
These dates must use the d' syntax to ensure they are interpreted as Date values and not Strings.
For example,
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the HistoricalDemandActual table.
4. Click the Columns tab, and then do the following:
5. Click Add Fields, and then add the following fields:
l Date
l Quantity
6. To create a revenue series, select the Quantity column, click Copy Column, and then in the
Expression box type * UnitPrice to multiply the quantity by the unit price.
The values used to calculate the histogram should not be grouped, which ensures the Histogram
function can calculate the correct frequency of values. You can also use the output of another function
as the input worksheet to view the frequency of values generated by that function.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
End Date Date The last date for bucketing. The bucket date immediately preceding this date defines the last
bucket to be inserted into. This date and later dates are ignored.
The worksheet that provides the data points must have the following as the last columns in the
worksheet.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based)
2. In the New Worksheet dialog box, in the Name box, type a name for the worksheet.
3. In the Table list, select the table the worksheet is based on.
4. Click the Columns tab.
5. On the Columns tab, add the columns that identify the items you are adding buckets for.
6. Add columns to define the following:
l Start Date
l End date
l Calendar
7. On the Group tab, select the Group data check box.
8. For all columns, change the Grouping Function to Group By.
9. Click the Filtering tab.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based)
2. In the New Worksheet dialog box, in the Name box, type a name for the worksheet.
3. In the Table list, select the table the worksheet is based on.
4. Click the Columns tab.
5. On the Columns tab, add the columns that identify the items you are adding buckets for. These
columns should match the columns you defined for the date bucket worksheet.
6. Add columns to define the following:
l Date
l Quantity
7. On the Group tab, select the Group data check box.
8. For all columns except the Quantity column, change the Grouping Function to Group by.
9. Click the Filtering tab.
10. Add a filter expression to limit the records returned by the worksheet to only those you want to
insert bucket values for.
The quantity or money values passed to the Kurtosis function should belong to a set, such as quantities
for a group of orders for a part. However, any quantity or money values can be used, such as order
quantities, supply quantities, revenues, and so on.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab, and then do the following:
The worksheet used for the Mean Absolute Percentage Deviation function can be a composite
worksheet based on the output of any of the statistical functions, with a Date column inserted between
the calculated forecast dates and quantities, or it can be based on a table or constructed using static
values.
The worksheet should not be grouped, because each individual value is required to determine the
average over a period and to calculate how the value differs from the mean of all forecasts. The number
of periods used in the calculation is determined from the dates in the worksheet, which can be limited
by filtering the worksheet.
For information about using the Mean Absolute Percentage Deviation function in a transformation
worksheet, see "Create a worksheet using the Mean Absolute Percentage Deviation function" on page
826.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. Click Add, and then add the component worksheet that contains the date and quantity columns.
4. Click the Columns tab.
5. Select the Date column.
6. Add a column containing the date the forecasts were calculated.
For example, you could create a composite worksheet that merges order quantities and scheduled
receipt quantities for a specific part. You could also create a worksheet based on the Part table, and
then add columns for the part name and site, first needed supply date, total demand, and total supply.
Regardless of how you create the input worksheet, you can use it to calculate the periods of coverage
for the parts in the input worksheet.
The range of dates displayed in the input worksheet determines the periods that coverage is calculated
for. For example, a worksheet that contains three monthly buckets calculates coverage for those three
months. If supply covers more than the three months, then it is not consumed.
The following illustration shows a composite worksheet that summarizes the demand order quantities
and scheduled receipt quantities due in the week of June 7th for all parts. Because this worksheet
contains only one weekly bucket, the coverage is calculated for only that one week.
For information about using an input worksheet in a transformation worksheet, see "Create a
worksheet using Periods Forward Coverage function" on page 828.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab., and then do the following:
After String Whether values are calculated after the last profile period. Valid values are:
Profile l None—Values after the last profile point are not calculated.
End Rule
l FromReference—Values after the last profile point are calculated using the quantities
specified in this worksheet or from a referenced forecast. The last profile point is used to
determine the value for all points after the end of the profile period.
Interval String The calendar used to determine the dates used to calculate the forecast points.
Calendar
Forecast Quantity The number of forecast intervals used in calculating the forecast. This value is used only if
Interval the value in the Quantity column is greater than zero. Otherwise, the periods in the
Count reference forecast are used.
Forecast Date The date the forecast period begins. This is the same date as the last profile point.
Start Date
The worksheet that defines the profile points should be based on the ProfilePoints table. The following
columns must be the last columns in the worksheet.
The worksheet that contains the reference forecast data points. This worksheet is required only if the
value in the Quantity column in the parameters worksheet is zero. This worksheet can contain any
forecast values, including a reference forecast, the output of the Predict function, or a consensus
forecast. The following columns must be the last columns in the worksheet.
For information about using the Predict Override function in a transformation worksheet, see "Create a
worksheet using the Predict Overrides function" on page 830.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the StatisticalForecastOverride table.
4. Click the Columns tab, and then do the following:
5. Click Add Fields, and then add the fields that uniquely identify the parameter values, if required.
6. Add the following fields:
l Type.BeforeStartDate
l Type.AfterProfileEnd
l ItemParameters.Type.IntervalsCalendar
l ItemParameters.ForecastIntervalCount
l Multiplier
NOTE: You can also create this worksheet by creating columns that contain static values.
NOTE: You can create parameter worksheets that display cached results. For more information,
see "Caching worksheet results" on page 329.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the ProfilePoints table.
4. Click the Columns tab, and then do the following:
5. Click Add Fields, and then add the fields that uniquely identify the profile, if required.
6. Add the following fields:
l Index
l Quantity
7. Click the Filtering tab.
8. In the Worksheet filter expression box, type an expression that limits the worksheet to
displaying only the profile you want to use for calculating the forecast overrides.
The values in the input worksheet can be any quantities or money values, including order quantities,
forecasted quantities, statistical forecasts, revenues, gross margins, and so on. For example, you could
use the output of the Predict function as the input to the Rolling Average function to determine the
average of forecasted values at each date. You could also use the output of an Insert Buckets function
to ensure the rolling average is calculated using a complete set of values.
For information about using the Rolling Average function in a transformation worksheet, see "Create a
worksheet using the Rolling Average function" on page 830.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab, and then do the following:
l Add the columns that uniquely identify the records in the worksheet. For example, part names
and sites, customer names, supplier names, and so on.
l Add the Date and Quantity columns required by the function to calculate the rolling average.
5. Click the Filtering tab.
6. In the Filter Expression box, type an expression to limit the input to only the records you want
the function to calculate the rolling average for. For more information, see "Worksheet filtering"
on page 386.
String A concatenated list of all required safety stock parameter names and their associated values.
The following should be kept in mind when defining this parameter.
l Each item in this concatenated string should be a name/value pair in the format
parameterName=parameterValue.
l Semi-colons are used to separate each parameter name/value pair.
l Plus signs (+) are used to concatenate the name/value pairs.
l All values passed to the parameter should be strings. Thus, use of the TEXT operator is required to
format non-string values.
The required parameters for this function are as follows:
l ServiceLevel—the service level for the part as taken from the ServiceLevel field.
l LeadTime—the standard lead time for the part as taken from the LeadTime field.
l AverageDemandRule—a value of Mean, Median, or Mode as taken from the
Type.AverageDemandRule reference.
l StandardDeviationDemandRule—a value of StandardDeviation, LinearRegression,
ExponentialSmoothing, DoubleExponentialSmoothing, CrostonsMethod, HoltWintersMethod, or
Manual as taken from the Type.StandardDeviationDeviationRule reference.
l RollingLeadTimeDemandRule—a value of Use or Ignore as taken from the
Type.UseRollingLeadTimeDemand reference.
l StandardDeviationDemand—a manually inputted standard deviation of demand for the part as
taken from the StandardDeviationDemand field.
l StandardDeviationLeadTime—a manually inputted standard deviation of demand for the part as
taken from the StandardDeviationLeadTime field.
l SafetyStockProcessingRule—a value of SingleEchelon or MultiEchelon as taken from the
ProcessingRule field.
l AverageDemand—a manually inputted average of demand for the part as taken from the
AverageDemand field.
l SupplyVariabilityRule—a value of Use, Manual, or Ignore as taken from the
Type.SupplyVariabilityRule reference.
l ServiceLevelRule—a value of Cycle or FillRate as taken from the Type.ServiceLevelRule reference.
l OrderQuantity—minimum order quantity used with fill rate calculation as taken from the
OrderQuantity field.
l PeriodCalendar—the period calendar for the part as taken from the Type.PeriodCalendar reference
(nullable).
l PeriodsPerCycle—the number of periods in a full seasonal cycle as taken from the PeriodsPerCycle
field.
l IntervalsCalendar—the intervals calendar for the part as taken from the Type.IntervalsCalendar
reference.
l IntervalsPerPeriod—the number of intervals in a period as taken from the IntervalsPerPeriod field.
l HistoricalAverageDemandProfiile—comma-delimited list of values that define the profile to use
(if any) for calculating historical average demands as taken from the Offset, Multiplier, and
Extended fields on the HistoricalAverageDemandProfile reference (nullable)
l FutureAverageDemandProfile—comma-delimited list of values that define the profile to use (if
any) for calculating future average demands as taken from the Offset, Multiplier, and Extended
fields on the FutureAverageDemandProfile reference (nullable)
For an example of the expression used to define this string, see "Create the worksheet to define safety
stock parameters" on page 788.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockItem table.
4. Click the Columns tab.
5. Click New Column, and then do the following:
l In the Name box, type a name for the column.
l in the Expression box, type Self.
6. Click Data Options, and then select the Use as reference check box.
7. Click the Columns tab.
8. Click New Column, and then do the following:
l In the Name box, type a name for the column.
l in the Expression box, type a string that provides all required safety stock item parameters as
described in "Safety stock parameters worksheet" on page 786. For example, the expression
might look similar to the following:
'ServiceLevel=' + TEXT(ServiceLevel, 9) + ';' +
'ServiceLevelRule=' + Type.ServiceLevelRule + ';' +
'LeadTime=' + TEXT(LeadTime, 9) + ';' +
'AverageDemandRule=' + Type.AverageDemandRule + ';' +
'StandardDeviationDemandRule=' + Type.StandardDeviationDemandRule +
';' +
'RollingLeadTimeDemandRule=' + Type.UseRollingLeadTimeDemand + ';' +
'SupplyVariabilityRule=' + Type.SupplyVariabilityRule +
IF( ISNULL(HistoricalAverageDemandProfile) , '' ,
'OrderQuantity=' + TEXT(OrderQuantity, 9) + ';' +
'SafetyStockProcessingRule=' + ProcessingRule + ';' +
';HistoricalAverageDemandProfile=(' +
TEXT(HistoricalAverageDemandProfile.Offset, 0) + ',' +
TEXT(HistoricalAverageDemandProfile.Multiplier, 0) + ',' +
TEXT(HistoricalAverageDemandProfile.Extend, 0) +
')' ) +
IF( ISNULL(FutureAverageDemandProfile) , '' ,
';FutureAverageDemandProfile=(' +
TEXT(FutureAverageDemandProfile.Offset, 0) + ',' +
TEXT(FutureAverageDemandProfile.Multiplier, 0) + ',' +
TEXT(FutureAverageDemandProfile.Extend, 0) +
')' )
9. Click OK.
Quantity The rolling lead time quantity of historical demands on this date. Should be based on the
RollingLeadTimeQuantity field.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockHistoricalDemand table.
4. Click the Columns tab.
5. Click Add Fields, and then add the following fields in order:
l Item
l Date
l OriginalQuantity
l Quantity
l RollingLeadTimeQuantity
6. With the Item column selected, click Data Options and then select the Use as reference check
box.
7. Click OK.
Data Description
type
Reference A reference to the safety stock item itself. A column expression of Item can be used for this purpose
(and the Use as reference option enabled).
Date The date of the bucketed future demands for the item. Should be based on the Date field.
Quantity The quantity of future demands on this date. Should be based on the Quantity field.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockItemFutureDemand table.
4. Click the Columns tab.
5. Click Add Fields, and then add the following fields in order:
l Item
l Date
l Quantity
6. With the Item column selected, click Data Options and then select the Use as reference check
box.
7. Click OK.
Data Description
type
Reference A reference to the safety stock item itself. A column expression of Item can be used for this purpose
(and the Use as reference option enabled).
Date The date of a historical supply for the item. Should be based on the Date field.
Quantity The lead time for the historical supply on this date. Should be based on the LeadTime field.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockItemHistoricalSupply table.
4. Click the Columns tab, and then do the following:
5. Click Add Fields, and then add the following fields:
l Item
l Date
l LeadTime
6. With the Item column selected, click Data Options and then select the Use as reference check
box.
7. Click OK.
The quantity or money values passed to the Skew function should belong to a set, such as quantities for
a group of orders for a part. However, any quantity or money values can be used, such as order
quantities, supply quantities, revenues, and so on.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab, and then do the following:
l Add the columns that uniquely identify the records in the worksheet. For example, part names
and sites, customer names, supplier names, and so on.
l Add the Quantity or Money column required by the function to calculate the skew.
For information about using the Standard Deviations of Errors function in a transformation worksheet,
see "Create a worksheet using the Standard Deviations of Errors function" on page 832.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the HistoricalDemandActual table.
4. Click the Columns tab, and then do the following:
l Add the columns that identify the records. For example, part, customer, supplier, and so on.
l Add the Date and Quantity columns required by the function.
5. Click the Filtering tab.
6. In the Worksheet filter expression box, type an expression that limits the worksheet to the type
of quantities or specific records you want to display.
7. Click the Group tab
8. Select the Group data and Bucket data by date check boxes.
9. Group the worksheet by the columns that identify records and the Date column.
10. Click Bucket Settings, and then specify the periods you want the worksheet to display. For more
information, see "Define worksheet date buckets" on page 405.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the HistoricalDemandSeriesDetail table.
4. Click the Columns tab, and then do the following:
l Add the columns that identify the records. For example, part, customer, supplier, and so on.
l Add the two Date columns and the Quantity column required by the function. The first Date
column must contain the Series As Of Date field.
5. Click the Filtering tab.
6. In the Worksheet filter expression box, type an expression that limits the worksheet to the
demand series you want to display.
7. Click the Group tab
8. Select the Group data and Bucket data by date check boxes.
9. Group the worksheet by the columns that identify records, the Series As Of Date column, and
the Date column.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the ForecastDetail table.
4. Click the Columns tab, and then do the following:
l Add the columns that identify the records. For example, part, customer, supplier, and so on.
l Add the Date and Quantity columns required by the function.
5. Click the Filtering tab.
6. In the Worksheet filter expression box, type an expression that limits the worksheet to the type
of quantities or specific records you want to display.
7. Click the Group tab
8. Select the Group data and Bucket data by date check boxes.
9. Group the worksheet by the columns that identify records and the Date column.
10. Click Bucket Settings, and then specify the periods you want the worksheet to display. For more
information, see "Define worksheet date buckets" on page 405.
If you are comparing two sets of quantities, you can create one input worksheet, then copy it and
change the filtering to obtain the second set of quantities. You should also group and bucket the
worksheets, which ensures only one value is returned for each period, and any periods with zero
quantities are still included in the worksheet. Otherwise the zero quantity would be excluded, and the
periods in both worksheets might not match.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the table you want to base the worksheet on.
4. Click the Columns tab, and then do the following:
l Add the columns that identify the records. For example, part, customer, supplier, and so on.
l Add the Date and Quantity columns required by the function.
5. Click the Filtering tab.
6. In the Worksheet filter expression box, type an expression that limits the worksheet to the type
of quantities you want to display.
7. Click the Group tab
8. Select the Group data and Bucket data by date check boxes.
9. Click Bucket Settings, and then specify the periods you want the worksheet to display. For more
information, see "Define worksheet date buckets" on page 405.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, select the
worksheet you created to provide the actual values.
2. Click Copy, and then click Selected Worksheet.
3. In the Copy Worksheet dialog box, specify a name for the new worksheet.
4. Click Properties, and then in the Worksheet Properties dialog box, click the Filtering tab.
5. In the Worksheet filter expression box, modify the expression to limit the worksheet to the type
of quantities you want to display.
Input worksheets for the STDEV With Dates or STDEVP With Dates must also have a Date column before
the final Quantity or Money column. You can create this worksheet, or you can use the output of an
Insert Buckets function, which ensures the standard deviation is calculated using a complete set of
values. For more information, see "Create a worksheet using the Insert Buckets function" on page 825.
For example, you could create a worksheet based on the IndependentDemand table and use it to
calculate the standard deviation of forecast quantities from each customer. For this input worksheet,
The worksheet shown above includes all forecast order quantities from customer eBikes.
For information about using an input worksheet in a transformation worksheet, see "Create a
worksheet using the STDEV or STDEVP function" on page 834 or "Create a worksheet using the STDEV
With Dates or STDEVP With Dates function" on page 835.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
▶Create an input worksheet for the STDEV With Dates or STDEVP With Dates functions
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockItem table.
4. Click the Columns tab.
5. Click New Column, and then do the following:
l In the Name box, type a name for the column.
l in the Expression box, type Self.
6. Click Data Options, and then select the Use as reference check box.
7. Click the Columns tab.
8. Click New Column, and then do the following:
l In the Name box, type a name for the column.
l in the Expression box, type a string that provides all required safety stock item parameters as
described in "Safety stock parameters worksheet" on page 796. For example, the expression
might look similar to the following:
'TimePhasedProcessingRule=' + Type.TimePhasedProcessingRule + ';' +
'NonStationaryDemandRule=' + Type.NonStationaryDemandRule + ';' +
'CycleCalendar=' + Type.CycleCalendar + ';' +
'PeriodCalendar=' + Type.PeriodCalendar + ';' +
'IntervalsCalendar=' + Type.IntervalsCalendar + ';'
'PeriodsPerCycle=' + TEXT(PeriodsPerCycle, 0) + ';' +
'IntervalsPerPeriod=' + TEXT(IntervalsPerPeriod, 0) + ';' +
'ServiceLevel=' + TEXT(ServiceLevel, 9) + ';' +
'LeadTime=' + TEXT(LeadTime, 9) + ';' +
'AverageDemandRule=' + Type.AverageDemandRule + ';' +
'AverageDemand=' + TEXT(AverageDemand, 9) + ';' +
'OrderQuantity=' + TEXT(OrderQuantity, 9) + ';' +
'SafetyStockProcessingRule=' + ProcessingRule + ';' +
'StandardDeviationDemandRule=' + Type.StandardDeviationDemandRule +
';' +
'StandardDeviationDemand=' + TEXT(StandardDeviationDemand, 9) + ';' +
'RollingLeadTimeDemandRule=' + Type.UseRollingLeadTimeDemand + ';' +
'SupplyVariabilityRule=' + Type.SupplyVariabilityRule +
'ServiceLevelRule=' + Type.ServiceLevelRule + ';' +
'RunDate=' + TEXT(Part.PlanningCalendars.RunDate.FirstDate,
'yyyyMMdd') + ';' +
Data Description
type
Reference A reference to the safety stock item itself. A column expression of Item can be used for this purpose
(and the Use as reference option enabled).
Date The date of the bucketed historical demands for the item. Should be based on the Date field.
Quantity The original quantity of historical demands on this date (includes cleansing for causal factors) .
Should be based on the OriginalQuantity field.
Quantity The quantity of historical demands on this date (includes any adjustments for outliers). Should be
based on the Quantity field.
Quantity The rolling lead time quantity of historical demands on this date. Should be based on the
RollingLeadTimeQuantity field.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockHistoricalDemand table.
Data Description
type
Reference A reference to the safety stock item itself. A column expression of Item can be used for this purpose
(and the Use as reference option enabled).
Date The date of the bucketed future demands for the item. Should be based on the Date field.
Quantity The quantity of future demands on this date. Should be based on the Quantity field.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockItemFutureDemand table.
4. Click the Columns tab.
5. Click Add Fields, and then add the following fields in order:
l Item
l Date
l Quantity
6. With the Item column selected, click Data Options and then select the Use as reference check
box.
7. Click OK.
Data Description
type
Reference A reference to the safety stock item itself. A column expression of Item can be used for this purpose
(and the Use as reference option enabled).
Date The date of a historical supply for the item. Should be based on the Date field.
Quantity The lead time for the historical supply on this date. Should be based on the LeadTime field.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based).
2. In the Name box, type a name for the worksheet.
3. In the Table list, click the SafetyStockItemHistoricalSupply table.
4. Click the Columns tab, and then do the following:
5. Click Add Fields, and then add the following fields:
l Item
l Date
l LeadTime
6. With the Item column selected, click Data Options and then select the Use as reference check
box.
7. Click OK.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Worksheet (Table-based) or Composite Worksheet.
2. In the Name box, type a name for the worksheet.
3. If you are creating a table-based worksheet, in the Table list, click the table to base the
worksheet on.
Otherwise, add the component worksheets.
4. Click the Columns tab, and then do the following:
l Add the columns that uniquely identify the records in the worksheet. For example, part names
and sites, customer names, supplier names, and so on.
l Add the Date and Quantity or Money columns required by the function to calculate the
trend line that is used to predict the future quantities.
5. Optionally, on the Group tab, do the following:
l Select the Group data check box.
l Select the Bucket data by date check box, and then specify the date buckets to display in the
worksheet. For more information, see "Define worksheet date buckets" on page 405.
l In the Grouping Function column, click Group By for the identifier columns and Date column.
l Ensure the value in the Grouping Function column for the Quantity or Money column is Sum.
6. Click the Filtering tab.
7. In the Filter Expression box, type an expression to limit the input to only the records you want to
estimate trends for. For more information, see "Worksheet filtering" on page 386.
NOTE: As of RapidResponse 2014.4, analytics can be used to calculate the statistical forecast
instead of transformation worksheets. Analytics calculations are more efficient, yet simpler to
produce than transformation worksheet calculations, and the calculated data is easier to
maintain. RapidResponse still supports the use of transformation worksheets to calculate
statistical forecasts. For more information, see the RapidResponse Analytic and Data Model Guide.
The ARIMA calculation considers auto-regressive and moving average values for each lag. Depending
on how you want to calculate the function, you can specify the lags to be used in each of the auto-
regressive and moving average calculations. For example, if you specify "AutoRegressiveTerms = (1,2,4)”
and “MovingAverageTerms=(1,3)”, the auto-regressive calculation is performed for lags 1, 2, and 4, and
the moving average calculation is performed for lags 1 and 3. If you specify a single lag, the brackets
specified for these parameters can modify how the calculation runs. For example, specifying
"AutoRegressiveTerms = 4" means that all lags up to the 4th are considered; however,
"AutoRegressiveTerms = (4)" means only the 4th lag is considered. For more information about
specifying values for this model, see "Input worksheets for statistical forecasting functions" on page 762.
Croston's method
The Croston's method model is another type of exponential smoothing that accounts for intermittent
or sporadic demand. This method is best suited for demand that is not constant, such as lumpy demand
that contains periods of zero quantities, or that has very few non-zero data points in a period.
Croston's method uses a single smoothing constant for the forecast values, but calculates two different
values. The first value, Z, calculates the forecast values at a point. The second value, X, calculates the
average length of time between forecasts. These values determine the forecast quantities and the
periods that have forecast demands. A forecast quantity will be followed by X periods of no forecasts,
then another forecast quantity, then another X periods of no forecasts, and so on.
The forecast quantity and average length between forecasts are calculated using a smoothing function
if the demand at a point is not zero, otherwise the values from the previous point are repeated.
Croston's method is calculated using the following formulas, where Z is the forecast value, X is the
average length between forecast values, q is the number of periods between two non-zero demands,
and alpha (α) is the smoothing constant.
Exponential Smoothing
The exponential smoothing model calculates a statistical forecast by combing fitted actuals with the
latest historical actual demands. This model considers the available historical input data, but assigns
gradually decreasing significance to each data point as it ages. It is suitable for forecasting demand that
is fairly stable and does not exhibit a trend or seasonality.
When using this model a smoothing constant, alpha (α), is required and applied to the historical data
points when generating the statistical forecast. Alpha is always a value between 0 and 1, with a larger
alpha giving higher weightings to the more recent data points, and a smaller alpha giving higher
weightings to the earlier data points. Alpha is automatically determined by RapidResponse when
calculating a fitted value for the historical actuals, and is set as the value that minimizes the residual sum
of squares.
When fitting the actuals, each fitted value combines the previous periods historical actual (y) with its
fitted value, after applying the smoothing constant alpha (α), as shown in the following equation:
The initial value for this function is set to the final data point calculated by backcasting the function. The
initial value for the backcasting function is the last actual value from the worksheet that provides input
for the statistical forecast. The final value produced by the backcasting function is the first fitted value
used for the exponential smoothing function.
The statistical forecast values are constant, and are equal to the final fitted value, as shown in the
following equation:
The initial values for this function are calculated by backcasting the function. The initial values for the
backcasting function are set by using a linear regression with seasonal dummies to set the trend and
seasonal trend values, and the last actual value from the worksheet that provides input for the
statistical forecast to set the initial smoothed value. The final values calculated by the backcasting
function are the initial values used by the Holt-Winters function.
Using the results of these formulas, forecast values that fit the input values can be calculated, and future
forecast values can be predicted from the final forecast and trend values, using the following formulas.
Linear
The linear forecast model performs a linear regression on a set of historical data points to calculate a
trend line that determines the statistical forecast quantities. This model is similar to the TREND function,
Moving Average
The moving average model calculates a statistical forecast taking the average of the actual historical
demands from a specified number of prior periods. The number of periods considered by this model is
determined by the setting in the ForecastItemParameters.MovingAverageIntervalCount field and
expressed in terms of the calendar referenced by the ForecastItemParametersType.IntervalsCalendar
field. Each new forecast period drops the oldest of the demands considered by the previous forecast,
and replaces it with a newer one. For example, if the MovingAverageCount was set to "12" and the
IntervalsCalendar was set to "Month", the forecast is calculated as the average of the previous twelve
months of actual demand.
When fitting the actuals, the sum of all historical actuals (y) are divided by the interval count (k), up to
the final actual demand point N, as shown in the following equation:
The forecast values are constant, calculated using the following equation:
Because all previous data points being considered by this model are weighted equally, it is most
suitable for demand that is stable and doesn't change much over time.
Step-wise ARIMA
The Step-wise ARIMA model is identical to the ARIMA model, but all parameters are calculated
automatically. The difference level is calculated using KPSS unit-root tests and parameter values are
calculated to minimize Akaike information criterion (AIC) values. Step-wise ARIMA fits values and
generates forecasts for all lags. Any statistically insignificant lags are excluded from the calculations.
Step-wise ARIMA should be used for calculating forecast for a single item, and is not suited for a bulk
process.
Count
The count reports the number of values in your input set. This measure is used by most other measures
to calculate averages.
Mean date
The mean date measure determines the average of all dates included in the statistical forecast. For this
calculation, the date values are converted to integers, averaged, and then the result converted back to a
date.
This measure can indicate if periods are missing from the statistical calculations, and to verify that the
right dates are used. Also, it determines the approximate midpoint of the dates used in the statistical
calculations.
The mean date is calculated using the following formula, where x is the integer value of each date.
Variance
The variance measure determines how data values differ from the mean. This measure is used to show
how uniform of dispersed the input data is, and can help you determine which statistical forecast model
to use. For example, if the variance is low, you can use the linear model.
The variance is calculated using the following formula.
When you calculate a statistical forecast you can also analyze the results to determine how accurately
the predicted values match the input values by using any of the following error measures. If you are
using the best fit method to calculate the statistical forecast, you must specify which error measure is
used to determine what the best fit is.
To use the residual sum of squares in the Best Fit calculation, specify ResidualSumSquares for the Fit
Measure input column. For more information, see "Input worksheets for statistical forecasting
functions" on page 762.
To use the mean square errors in the Best Fit calculation, specify MeanSquareErrors for the Fit Measure
input column. For more information, see "Input worksheets for statistical forecasting functions" on
page 762.
To use the root mean square errors in the Best Fit calculation, specify RootMeanSquareErrors for the Fit
Measure input column. For more information, see "Input worksheets for statistical forecasting
functions" on page 762.
To use the regression sum of squares in the Best Fit calculation, specify RegressionSumSquares for the
Fit Measure input column. For more information, see "Input worksheets for statistical forecasting
functions" on page 762.
To use the R-squared measure in the Best Fit calculation, specify RSquared for the Fit Measure input
column. For more information, see "Input worksheets for statistical forecasting functions" on page 762.
Adjusted R-squared
The Adjusted R-squared measure determines the ratio between the regression sum of squares and
total sum of squares measures, similarly to the R-squared measure. However, the adjusted R-squared
measure is influenced by the number of values in the input data set, so that more values mean that any
one value has less of an effect on the ratio. In other words, the adjusted R-squared is less responsive
when more values are contained in the input.
The adjusted R-squared measure is calculated using the following formula, where p represents the
number of independent variables used in the input data. The only independent variable is the date, so p
is always equal to one.
To use the adjusted R-squared measure in the Best Fit calculation, specify AdjustedRSquared for the Fit
Measure input column. For more information, see "Input worksheets for statistical forecasting
functions" on page 762.
To use the mean absolute percentage error measure in the Best Fit calculation, specify
MeanAbsolutePercentageError for the Fit Measure input column. For more information, see "Input
worksheets for statistical forecasting functions" on page 762.
To use the mean absolute percentage error by forecast measure in the Best Fit calculation, specify
MeanAbsolutePercentageErrorByForecast for the Fit Measure input column. For more information, see
"Input worksheets for statistical forecasting functions" on page 762.
Mean error
The mean error measure determines the average variance between the historical actual values and the
predicted forecast values.
The mean error is calculated using the following formula, where y represents the quantity of a data
point and f(x) represents the result of the statistical forecast calculation for the date value given by x.
To use the mean error measure in the Best Fit calculation, specify MeanError for the Fit Measure input
column. For more information, see "Input worksheets for statistical forecasting functions" on page 762.
To use the mean percentage error by forecast measure in the Best Fit calculation, specify
MeanPercentageErrorByForecast for the Fit Measure input column. For more information, see "Input
worksheets for statistical forecasting functions" on page 762.
Log-likelihood
The log-likelihood measure determines the maximum likelihood for a statistical function, using the
sample size, the logarithm of the sample size, and the logarithm of the residual sum of squares. This is
calculated using the following formula, where n is the number of observations in the sample.
This value is reported in the fit output only if the ARIMA or Step-wise ARIMA models are used. For more
information, see "Statistical forecasting models" on page 804.
This value is reported in the fit output only if the ARIMA or Step-wise ARIMA models are used. For more
information, see "Statistical forecasting models" on page 804.
This value is reported in the fit output only if the ARIMA or Step-wise ARIMA models are used. For more
information, see "Statistical forecasting models" on page 804.
This value is reported in the fit output only if the ARIMA or Step-wise ARIMA models are used. For more
information, see "Statistical forecasting models" on page 804.
NOTE: As of RapidResponse 2014.4, analytics can be used to calculate the statistical forecast
instead of transformation worksheets. Analytics calculations are more efficient, yet simpler to
produce than transformation worksheet calculations, and the calculated data is easier to
maintain. RapidResponse still supports the use of transformation worksheets to calculate
statistical forecasts. For more information, see the RapidResponse Analytic and Data Model Guide.
l Autocorrelation l Predict
l Bucket Actuals l Predict Actuals
l Check Forecast Item l Predict Override
l Coefficient of Variation l Rolling Average
l Disaggregation Default l Safety Stock
NOTE: For information about variables, see "Define workbook variables" on page 226.
l ATP- a worksheet identifying available-to-promise quantities for parts and the specific dates on
which those quantities become available.
l Demand- a worksheet identifying customer demands, along with a date and quantity for each.
l PromiseZones- a worksheet containing two dates identifying "frozen" and "auto-commit" order
promising zones respectively. If these are not provided, then a frozen horizon of "Past" and an
auto-commit horizon of "Future" are used.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click ATP To Demand Match.
4. In the Function parameters table, do the following:
l For the ATP parameter, in the Value column, select the input worksheet that provides
available-to-promise quantities.
l For the Demand parameter, in the Value column, select the input worksheet that identifies
customer demands.
l For the Zones parameter, in the Value column, select the worksheet that identifies order
promise zones.
5. Click Ok and then Ok again.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Autocorrelation function.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Bucket Actuals.
4. In the Function parameters table, do the following:
l For the parameters parameter, click in the Value column, and then click the input worksheet
you created to define the forecast parameters.
l For the points parameter, click in the Value column, and then click the input worksheet you
want to use for the function.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Check Forecast Item.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Coefficient of Variation.
4. In the Function parameters table, for the values parameter, click in the Value column, and then
click the worksheet that contains the values used to determine the coefficient of variation.
5. On the Columns tab, specify a number of decimal places to display in the CoefficientOfVariation
column.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Disaggregation Default Rates.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Fit.
4. In the Function parameters table, do the following:
l For the parameters parameter, click in the Value column, and then click the input worksheet
you created to define the forecast parameters.
l For the points parameter, click in the Value column, and then click the input worksheet you
want to use for the function.
l For the modelParameters parameter, click in the Value column, and then click the input
worksheet you created to specify the values used in the forecast calculations. This worksheet
is used only if the worksheet specified for the parameters parameter is set up to use values
from another worksheet.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Histogram.
4. In the Function parameters table, do the following:
l For the sampleValues parameter, click in the Value column, and then click the input
worksheet you created to define the input values.
l For the numberOfBins parameter, click in the Value column, and then type the number of
bins to divide the input values into.
5. If you are using the height results, on the Columns tab, click the Height column, and then on the
Formatting tab, do one of the following:
l In the Decimal places list, click the number of decimal places to display.
l Select the Display as % check box.
1. In the New Workbook or Workbook Properties dialog box, click the Worksheets tab.
2. Click New, and then click Transformation Worksheet.
3. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
4. In the Function list, click Insert Buckets.
5. In the Function parameters table, do the following.
l For the parameters parameter, click in the Value column, and then click the input worksheet
you created to define the date buckets.
l For the points parameter, click in the Value column, and then click the input worksheet you
created to define the data series.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Kurtosis.
4. In the Function parameters table, do the following:
l For the sampleValues parameter, click in the Value column, and then click the worksheet that
contains the values used to determine kurtosis.
5. Optionally, on the Columns tab, specify a number of decimal places to display in the Kurtosis
column.
▶Create a transformation worksheet using the Mean Absolute Percentage Deviation function
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Mean Absolute Percentage Deviation.
4. In the Function parameters table, for the points parameter, click in the Value column, and then
click the input worksheet you created to define the quantities you want the deviation calculated
for.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Median.
4. In the Function parameters table, do the following:
l For the sampleValues parameter, click in the Value column, and then click the input
worksheet you created to provide the data values.
5. Optionally, on the Columns tab, specify a number of decimal places to display in the Median
column.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Mode Multiple.
4. In the Function parameters table, do the following:
l For the sampleValues parameter, click in the Value column, and then click the input
worksheet you created to provide the data values.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Mode Single.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Periods Forward Coverage.
4. In the Function parameters table, do the following:
l For the points parameter, click in the Value column, and then click the input worksheet you
want to use for the function.
l For the coverageCalendar parameter, in the Value column, type the name of the calendar you
want to report coverage in.
5. Click the Columns tab.
6. Add any additional columns you require.
The Date, Coverage, Demand Period, and Excess Supply columns are automatically added by the
function. You can rename these columns, or remove one or more of them if you do not require
them in your worksheet.
NOTE: For an example of creating an input and transformation worksheet for this function, see
"Example: Creating a transformation worksheet to calculate periods of coverage" on page 839.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Predict.
4. In the Function parameters table, do the following:
l For the parameters parameter, click in the Value column, and then click the input worksheet
you created to define the forecast parameters.
l For the modelParameters parameter, click in the Value column, and then click the input
worksheet that defines the statistical forecast values.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Predict Actuals.
4. In the Function parameters table, do the following:
l For the parameters parameter, click in the Value column, and then click the input worksheet
you created to define the forecast parameters.
l For the points parameter, click in the Value column, and then click the input worksheet you
want to use for the function.
l For the modelParameters parameter, click in the Value column, and then click the input
worksheet you created to specify the values used in the forecast calculations. This worksheet
is used only if the worksheet specified for the parameters parameter is set up to use values
from another worksheet.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Predict Overrides.
4. In the Function parameters table, do the following:
l For the Parameters parameter, click in the Value column, and then click the input worksheet
you created to define the override parameters.
l For the ProfilePoints parameter, click in the Value column, and then click the input
worksheet you want to use to define the periods that values are overridden over.
l For the Points parameter, click in the Value column, and then click the input worksheet you
created to specify the values that are overridden.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Rolling Average.
4. In the Function parameters table, do the following:
l For the points parameter, click in the Value column, and then click the input worksheet that
contains the values to calculate the rolling average of.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Safety Stock.
4. In the Function parameters table, do the following:
l For the Parameters parameter, in the Value column, select the input worksheet that provides
the safety stock parameters data.
l For the HistoricalDemands parameter, in the Value column, select the input worksheet that
provides the historical demand data.
l For the FutureDemands parameter, in the Value column, select the input worksheet that
provides the future demand data.
l For the LeadTimes parameter, in the Value column, select the input worksheet that provides
the historical supply data.
5. Click the Columns tab, click the Add button and the add the required output columns.
NOTE: Both this function and the Time Phased Safety Stock function generate results for items
that have been configured for single-echelon safety stock calculations (where the
SafetyStockItem.ProcessingRule field value is set to "SingleEchelon"). For items configured for
multi-echelon safety stock calculations, an analytic generates the relevant output. For information
about this analytic, see the RapidResponse Analytic and Data Model Guide.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Skew.
4. In the Function parameters table, do the following:
l For the sampleValues parameter, click in the Value column, and then click the worksheet that
contains the values used to determine the skew.
5. On the Columns tab, click the Skew column.
6. On the Formatting tab, in the Decimal places list, select the number of decimal places you need
to display the skew values.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Statistical Errors.
4. In the Function parameters table, do the following:
l For the actPoints parameter, click in the Value column, and then click the input worksheet
that contains the historical actual values. This worksheet can be the output of the Bucket
Actuals function.
l For the fcstpoints parameter, click in the Value column, and then click the input worksheet
that contains the calculated forecast values. This worksheet can be the output of the Predict
or Predict Actuals function.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Statistical Errors.
4. In the Function parameters table, do the following:
l For the actPoints parameter, click in the Value column, and then click the input worksheet
that contains the historical actual values. This worksheet can be the output of the Bucket
Actuals function.
l For the fcstpoints parameter, click in the Value column, and then click the input worksheet
that contains the calculated forecast values. This worksheet can be the output of the Predict
or Predict Actuals function.
l For the numberOfSamples parameter, click in the Value column, and then type the number
of periods to use in calculating each measure.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click STDEV or STDEVP.
4. In the Function parameters table, for the values parameter, click in the Value column and then
click the input worksheet you want to use for the function.
5. Click the Columns tab.
6. Add any additional columns you require.
The STDEV or STDEVP column is automatically added to the worksheet, depending on which
function you specified in step 3. You can rename this column.
▶Create a transformation worksheet using the STDEV With Dates or STDEVP With Dates function
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click STDEV With Dates or STDEVP With Dates.
4. In the Function parameters table, for the points parameter, click in the Value column and then
click the input worksheet you want to use for the function.
5. Click the Columns tab.
6. Add any additional columns you require.
The STDEV or STDEVP column is automatically added to the worksheet, depending on which
function you specified in step 3. You can rename this column.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click Time Phased Safety Stock.
4. In the Function parameters table, do the following:
l For the Parameters parameter, in the Value column, select the input worksheet that provides
the safety stock parameter data.
l For the HistoricalDemands parameter, in the Value column, select the input worksheet that
provides the historical demand data.
l For the FutureDemands parameter, in the Value column, select the input worksheet that
provides the future demand data.
l For the LeadTimes parameter, in the Value column, select the input worksheet that provides
the historical supply data.
5. Click the Columns tab, click the Add button and the add the required output columns. Refer to
the next section .
Column Description
Output
Date The date on which this set of safety stock results is considered effective.
Records are generated on RunDate as well as each subsequent date on which a new safety stock value
is calculated (if the item is not configured for time-phased safety stock, then just a record on RunDate
is generated).
Name Named set of output values produced by the function. The calculated quantity for each of these on a
given date is reported in the Quantity column.
The following set of values is produced by this function:
l AverageHistoricalDemand—Average of historical demands collected within the period, and used
for the time-phased safety stock calculation.
l StandardDeviationHistoricalDemand—Standard deviation of historical demands collected within
the period, and used for the safety stock calculation.
l AverageLeadTime—Average lead time for historical supply lead times (set to input
SafetyStockItem.LeadTime value if the item is configured for time-phased calculations, or if the item
is not configured for supply variability).
l StandardDeviationLeadTime—Standard deviation of Average lead time for historical supply (set to
input LeadTime value on the SafetyStockItem if the item is configured for time-phased calculations,
or if the item is not configured for supply variability).
l SafetyStock—Recommended safety stock for the part based on service level and the output
parameters discussed above.
l AverageProfileHistoricalDemand—Average of historical demands collected in the item’s average
demand profile and used for the reorder point calculation (always set to the value in
AverageHistoricalDemand if the item is configured for time-phased calculations or if there is no
average demand profile specified).
l AverageProfileFutureDemand—Average of future demands collected within the item’s average
demand profile and used for the reorder point calculation (if no average demand profile is
specified, all future demands are used).
l HistoricalReorderPoint—Suggested reorder point based on the recommended safety stock level
and calculated average of historical demands.
l FutureReorderPoint—Suggested reorder point based on the recommended safety stock level and
calculated average of future demands.
Qty The calculated quantity for the output value identified in the Name column. For example, the
recommended SafetyStock quantity.
NOTE: For an example of a worksheet that uses this function, see the Inventory Planning
workbook included with RapidResponse.
1. In the New Workbook or Workbook Properties dialog box, on the Worksheets tab, click New,
and then click Transformation Worksheet.
2. In the New Transformation Worksheet dialog box, in the Name box, type a name for the
worksheet.
3. In the Function list, click TREND.
4. In the Function parameters table, do the following:
l For the points parameter, click in the Value column, and then click the input worksheet you
created to define the values you want to calculate the trend for.
l For the startingDate parameter, click in the Value column, and then type the first date
estimated by the trend line.
l For the numberOfIntervals parameter, click in the Value column, and then type the number
of periods to estimate trend values for.
l For the intervalCalendar parameter, click in the Value column, and then type the name of the
calendar used to define the periods.
Next, you create the transformation worksheet using the Periods Forward Coverage function and the
Demand-Supply input worksheet. You want to see how many weeks the supply covers, so you specify
the Week calendar for the coverageCalendar parameter, as shown in the following illustration.
An example of a worksheet that defines forecasting parameters is shown in the following illustration.
This worksheet is a composite worksheet that merges the historical actuals with a worksheet based on
the ForecastItemParameters table, which ensures the actual demands are in the same forecast category
as the forecast item.
Finally, the worksheet that defines parameters for the Fit function contains no records, because the
required values are calculated. However, this worksheet is required by the Fit function. You can base this
worksheet on the ForecastItemFitOutput table, which contains the fields required for this worksheet.
The data for 12 months of history is bucketed, as shown in the following illustration.
Now that the historical actual values are bucketed, you can create the worksheet that calculates the
statistical forecast that should be applied to these values. To do this, you create a new transformation
worksheet using the Fit function, and specify the Forecast Input, Bucketed Actuals, and Forecast Item
Fit worksheets as inputs.
In this case, the Linear model was determined to be the best fit for the forecast, and the appropriate
values for the linear regression are calculated.
To predict forecast values using the statistical forecast, you next create a transformation worksheet
using the Predict function, with the Forecast Input and Statistical Forecast worksheets as input.
You can now format the worksheet to show the values in a chart, which shows the linear increase in the
forecast values.
To disaggregate the forecast using seasonal rates, you create a transformation worksheet that uses the
Default Disaggregation Rates function. This worksheet requires two input worksheets, one that defines
the calendars and dates, and the other that defines the values to disaggregate.
The worksheet that defines the calendars must define the base, inner, and outer calendars, which define
the periods to disaggregate into, the seasons, and the length of seasonal variation, respectively. The
inner and outer calendars are specified in one of the input worksheets, and the base calendar is
specified in the Disaggregation Default Rates function definition.
This worksheet should be based on the ForecastDisaggregationParameters table, and contain the
columns shown in the following illustrations.
Next, define the worksheet that provides the data values to be disaggregated. This worksheet is
typically based on the HistoricalDemandActual table, and defines the values used to calculate values for
the forecast. This worksheet can contain fields to identify records, and must end with a Date column
followed by two Quantity or Money columns. An example of these columns is shown in the following
illustration.
Next, you create the worksheet that calculates the disaggregation rates. This is a transformation
worksheet that takes the Dates and Data Points worksheets as parameters, and defines the base
calendar to disaggregate over.
Bucketing the worksheet by the Season calendar, the following rates are calculated.
The Part column is defined using the Name field, and identifies the part the date buckets are being
generated for. The Start Date, End Date, and Calendar columns required for the Insert Buckets function
can be created using expressions. For the start and end dates, the current date minus or plus 12
months can be used to capture the two years around the date. For the calendar, specify 'Week' to create
weekly buckets.
Next, create the worksheet that defines the data to add the buckets to. You will be analyzing demand
data, so you base this worksheet on the IndependentDemand table.
Next, specify the Date Buckets - 2 Years worksheet as the parameters worksheet and the Orders
worksheet as the points worksheet
You can now hide the Date Buckets - 2 Years and Orders worksheet, and then use the Added Buckets
worksheet to provide data for the analysis you need to perform.
When a worksheet is opened in RapidResponse, data for a given scenario is accessed typically from either
a table in the RapidResponse database (if the worksheet is table-based) or from underlying component
worksheets (if the worksheet is a composite). The data must then be processed by the worksheet before
it can be displayed. This can involve comparing the data against the worksheet filter expression,
evaluating column expressions, applying any grouping functions, bucketing data, and so on. Occasionally,
you might create a worksheet that takes longer than expected to open and display its results to
worksheet users. This can be especially true for complex composite worksheets that require processing
data from a large number of component worksheets (some of which might have multiple levels of
components of their own).
If you have authored, or are responsible for maintaining, any worksheets that are taking unexpectedly
long times to open, you can generate worksheet performance statistics. These statistics can only be
generated when you have the worksheet open, and are always measured against the current selections
made in the worksheet item controls (scenario, site, filter, and so on). Summary worksheet statistics are
initially provided that show the amount of time spent processing a given worksheet, the amount of
memory consumed, and the number of records it returned. As shown in the following illustration, these
statistics are generated not only for the open worksheet itself, but for all child worksheets it ultimately
depends on (at any level in the worksheet structure). When working with composite worksheets, this can
help you quickly identify any problematic components which might be contributing disproportionately to
the overall worksheet processing time.
NOTE: Worksheet performance time does not show the actual elapsed time. Rather, it is the
cumulative amount of time used by each CPU (if more than one).
NOTE: Worksheet performance statistics can only be generated for worksheets to which you have
authoring permission.
NOTE: Worksheet performance time is not the actual elapsed time. Rather, it is the cumulative
amount of time used by each CPU (if more than one).
TIP: You can quickly show details for all worksheets under a given branch by selecting the parent
worksheet and clicking Expand All, and you can subsequently hide details for worksheets under a
given branch by selecting the parent worksheet and clicking Close All.
Performance Description
Measure
How Used Indicates how a worksheet is used by its immediate parent within the structure being analyzed.
Valid values are:
l Component—provides data columns for use in a composite worksheet.
l Display—provides a final worksheet to be displayed by a controller worksheet.
l Expression—provides grouped data to be used in expressions based on the Lookup or
In functions.
l Parameter—provides input parameter values used by a transformation worksheet function.
l TreeMap Source—provides source data for use in a treemap worksheet.
Records Total number of records returned after all worksheet filtering and processing. This is the number
of records that would either display to a user or get passed on to a parent worksheet (for
example, a composite).
Memory (KB) Amount of memory (in kilobytes) held on the server by the worksheet. Memory held by any
intermediate component worksheets is released immediately upon query completion. Memory
held by a final result worksheet is not released until the workbook is closed.
Reused Indicates with an x if a given worksheet is used more than once within the structure for the open
worksheet. If a worksheet is used multiple times, only the first instance of the worksheet is
included in the overall time statistics shown and all but the first instance of the worksheet's
statistics are indicated with grayed out text.
Stages
Records The number of records returned at various stages of processing the worksheet query
expression. The following record counts are reported:
l Input records—number of records brought into the worksheet for processing. For
a composite worksheet, this represents the number of records brought in from its
component worksheets (based on unique combinations of join keys). For a table-
based worksheet, this represents the number of records brought in from a
database table and is equivalent to the final Records value reported in the Query
Path area.
l Filtered records—number of records that satisfied the worksheet filter expression
and had output records generated based on evaluating the worksheet column
expressions.
l Summarized results—number of records returned after grouping the filtered
records by any Group By columns defined in the worksheet.
l Adjusted results—number of records to be returned after bucketing (includes
record values added to populate empty buckets).
l Final results—total number of records returned for this worksheet after processing
grouped and bucketed results (for example, this is after applying column search
criteria or excluding past/future buckets). This represents the number of records
that would display to a worksheet user or get passed on to a parent worksheet
(typically a composite worksheet).
CPU Time (ms) The amount of time in milliseconds spent at various stages of processing the
worksheet query expression. Values are rounded to the nearest integer if necessary,
and any values that would be rounded down to 0 are shown as < 1:
This is not the actual elapsed time. Rather, it is the cumulative amount of time used
by each CPU (if more than one).
Time values are reported for the following processing steps.
l Filtered records—time to filter records against the worksheet filter expression,
calculate output values based on column expressions, and then group the data
and apply grouping functions (if applicable).
l Summarized results—time to calculate any columns with summarization
functions applied (running balance (cumulative balance) columns), and add any
rows for empty buckets from grouped and bucketed data.
l Adjusted results—time taken to process grouped and bucketed data. For
example, the time taken to apply search conditions to a grouped column result or
calculate subtotals on bucketed data.
l Final results—total time to process this worksheet. This is the sum of the other
time values that are displayed.
Analytics
CPU Time (ms) The amount of time in milliseconds spent at various stages of processing the
worksheet analytics. Values are rounded to the nearest integer if necessary, and any
value that would be rounded down to 0 is shown as < 1:
l Cached—total time to process the cached analytic calculations performed during
the worksheet execution.
l Not cached—total time to process the analytic calculations that are not cached
and performed during the worksheet execution.
This is not the actual elapsed time. Rather, it is the cumulative amount of time used
by each CPU (if more than one).
For more information, see "Caching worksheet results" on page 329.
Query Source Displays for all table-based worksheets (as well as any composite worksheets that
include set expressions). It indicates the source of a query that followed tables and
set fields to access records in the database. Record counts and query path
information associated with each source are also shown. Valid values are:
l Worksheet—the underlying query expression used to populate the worksheet.
This appears once for each table-based worksheet.
l Filter—indicates that the worksheet filter expression included a set field
expression. If multiple set fields are used in the worksheet filter, they are reported
separately here.
l Column ID—indicates that the specified worksheet column included a set field
expression. If multiple set fields are used in a given column expression, they are
reported separately here.
Query Path The path followed through the RapidResponse database (using set fields) to access
the records requested by the worksheet query expression.
If the query source is Worksheet, the path starts with a table name and then
typically includes one or more set fields used to access records in the table the
worksheet is based on. If a root table index is used, this is indicated with an
exclamation mark (!) in the path. The number of records processed and returned at
each level in the path is shown in square brackets. If any filtering is applied at a
particular level in the path (from either the worksheet filter or the selected stand-
alone filter), this is indicated with a greater than sign (>) to show the number of
records before and after filtering.
For example, in a worksheet based on the ScheduledReceipt table the following path
might be reported:
Site[4!].Parts[200>60].ScheduledReceipts[500]
This would indicate the query path started with 4 records on the root table Site, then
used the Parts set field to access 200 related records on the Part table and returned
60 of those Part records after filtering, and finally used the ScheduledReceipts set
field to return the 500 records from the ScheduledReceipt table that are associated
with those 60 Part records.
Depending on filtering, the path reported for a given table might be different from
worksheet to worksheet (or even within the same worksheet based on stand-alone
filter selections). For example, in a worksheet based on the ScheduledReceipt table
that filtered on SupplyType details, the following path might be reported:
SupplyType[5!].SupplyOrders[100].Lines[475>250]
This would indicate the query path started with 5 records on the root table
SupplyType, then used the SupplyOrders set field to access 100 related records on
the SupplyOrder table, and finally used the Lines set field to access 475 records on
the ScheduledReceipt table and returned 250 of those after applying filtering.
If the query source is Filter or Column ID, the path shown consists of just the name
of the set field and the total number of records processed and/or returned from the
associated table. For example:
Demands[2700>149]
After the worksheet finishes populating, you then click Worksheet Performance from the Tools menu in
order to access time and processing statistics about the worksheet data that just loaded.
To this worksheet you add a filter expression that filters down the records in the table to only those
demands which aren't dependent.
You can then add the Part reference from the Demand table, ensuring that is set to be used as a
reference (includes all key field values).
This ensures that the resulting worksheet displays exactly one record for each part that has demands
which aren't dependent.
After saving the new worksheet, you return to the Inventory Plan worksheet and modify the worksheet
filter expression. Instead of the previous set expression, you now use the IN function to compare the
part associated with each SupplyDemand record against those records contained in the newly created
DmdLookup worksheet. As a result, only those SupplyDemand records associated with part values that
are also contained in the DmdLookup worksheet should be returned.
Dashboards are diagnostic tools that help users monitor business performance categories important to
them. A dashboard displays data and charts in components called widgets, which are assembled in an
easy-to-understand control panel view. For more information, see "Widgets" on page 881.
If you have dashboard authoring permission, you can select what widgets to include and design the
dashboard layout to display relevant and accessible data summaries. Dashboards can be designed to
provide users with access to linked resources or as a starting point for a drill-to-detail process in which
users click in a widget to open another resource, such as a worksheet. Users can then view and correct
the root cause in a problem area.
Dashboards are one of three resource types in RapidResponse that display multi-scenario views of data.
Depending on your business process, you can also choose to use scorecards or multi-scenario columns in
worksheets. Use dashboards for effective visualizations that provide easy to understand views of complex
data.
Any dashboard that you create can be viewed on both RapidResponse desktop clients and
RapidResponse mobile clients. Authoring a dashboard that will be viewed on a RapidResponse mobile
client requires specific design considerations. For more information, see "Designing a dashboard for the
RapidResponse mobile client" on page 924.
Widgets display summarized data in the form of charts, worksheets, or reports. Users can modify widget
data settings to view and compare different scenarios, sites, filters, hierarchies, and other data controls. If
you have widget authoring permission, you can create and modify widgets. For more information, see
"Widgets" on page 881.
l Widgets that you have created, if you have widget authoring permission.
l Widgets that have been shared with you.
l Widgets from dashboards that have been shared with you.
The following table provides an overview of the tasks involved in dashboard and widget authoring:
If the user has widget authoring permission, the shared widget will appear in the user’s Explorer pane
and the user can modify the widget.
If the user does not have widget authoring permission, but has dashboard authoring permission, the
widget will be available in the Dashboard Content pane. The widget will not appear in the Explorer.
If you share a dashboard, the widgets on the dashboard are shared with that user and depending on
the permissions the user has, the widgets can be modified or added to another dashboard.
NOTE: If you also have permission to share dashboards or widgets, you can share that resource
with other users after adding it to the versioned repository. For more information, see "Share
resources" on page 128 and "Add a resource to the versioned repository" on page 108.
NOTE: To modify a widget's properties, select the widget in the Explorer and click or press ALT
+ ENTER. For more information, see "Editing a public resource" on page 111.
NOTE: If you have permission to share widgets, you can also share widgets with other users.
Shared widgets can be accessed two ways by the user:
Design Mode
Dashboards are created and modified in design mode where the available widgets and design tools for
a dashboard display. The image and table below provide an overview of the dashboard authoring
environment in design mode. For more information, see "Design mode for dashboards" on page 877.
Preview Mode
This mode displays what the dashboard looks like to users. The widget toolbar may display options only
available to dashboard authors.
1. For a private dashboard, continue to step 2. If the dashboard is a public resource, you must first
check it out of the versioned repository, For more information, see "Check out a resource from
the versioned repository" on page 111.
In a system with version control turned off, you can enter design mode on private and public
resources you own by opening the resource and clicking Design Mode on the RapidResponse
toolbar
2. Do one of the following:
l On the File menu, point to Properties, and then click Dashboard Properties.
l On the View menu, click Design Mode.
l On the RapidResponse toolbar, click Design Mode .
3. To transfer your personal dashboard settings to design mode, click Yes
NOTE: When you click design mode on an open public dashboard that is not checked out, you are
prompted to check out the dashboard. Selecting yes automatically opens the private copy of the
checked out public dashboard.
To add a comment about the modification you just made, select Add a comment. For more
information, see "Add or modify a comment" on page 120.
NOTE: You can edit comments for a private resource at any time by opening the resource's
version history.
Users can revert to the author-specified settings by clicking Reset Dashboard on the View menu.
If you have widget authoring permission, you can create new widgets or modify widgets you own or that
have been shared with you. You can view the widgets you have access to in the Explorer.
You can modify a widget by changing any of its properties or by changing the worksheet that the widget
is based on. For example, you might have to update targets in a forecast data worksheet which will then
affect widgets based on that worksheet. When you modify or update a worksheet, the widget that it is
based on does not update immediately. You have to close and then reopen the dashboard to see the
changes.
Types of widgets
When you create a dashboard, you select the widgets to include on the dashboard. There are five types of
widgets:
NOTE: For widgets that are based on worksheets, you must create the workbook and worksheet
before creating the widget.
l For chart widgets, the worksheet should be defined to only display the chart. Worksheets that
display both data tables and charts are typically too large to view as a widget. For more
information, see "Set the default view" on page 593.
l A dashboard can contain worksheet widgets that take time to load because they process a large
number of records. Placing widgets on multiple tabs will only load the widgets on the tab that is
being viewed. For more information, see "Placing widgets on dashboard tabs" on page 904.
When you create a worksheet widget, you define the default data settings for the widget. For example,
you can select the default scenario, site, and hierarchy levels for the data displayed in the widget. Users
can change widget data settings when they view the dashboard. For more information, see "About data
settings on a dashboard" on page 910.
1. In the Explorer, right-click a resource and select New, then click New Widget - Worksheet .
2. In the New Worksheet Widget dialog box, on the General tab, type a name for the widget in the
Name box.
3. In the Title box, type the widget name that will display in the widget title bar. This title can later
be changed when the widget is on the dashboard.
4. Optionally, in the Author Notes box, type information about the widget, such as its purpose or
the dashboard it is intended for.
5. Click the Worksheet tab.
6. From the Workbook list, select the workbook that contains the worksheet you want to base the
widget on.
7. From the Worksheet list, select the worksheet you want to base the widget on.
If you are creating a worksheet chart widget, you must have defined the worksheet to display
data as a chart.
8. Select Include link to worksheet to display the source worksheet as a linked resource on the
widget title bar.
NOTE: The data settings for the worksheet widget will vary depending on how the worksheet was
defined.
NOTE: To change a widget's title on the dashboard, place the cursor on the title text and type a
new title.
NOTE: Workbook links do not display in widgets viewed on the RapidResponse mobile client.
1. In the New Worksheet Widget or Worksheet Widget dialog box, click the Widget Help tab.
2. Type the text for the widget help and use the rich text editor to format the text, or insert images
and hyperlinks.
NOTE: Text can also be cut and pasted into widget help from another application, like Microsoft
Word.
NOTE: For information on using the text editing tools, see "Using text editing tools" on page 167.
Step Description
Create the After you have determined what type of information you want to display in the widget, you can
source create the worksheet. For chart worksheets, you must decide which kind of chart to display. Drilling
worksheet is possible for all chart types; for bar, line, and area charts, users click on a data point to open the
the widget drill link. For pie charts, users click on a pie sector, and for gauge charts, users click on a gauge
will be needle.
based on For more information, see "Create a table-based worksheet" on page 347 and "Adding charts to
reports" on page 581.
Create the
details The details worksheet displays information for a column or chart point in the original worksheet.
worksheet The details worksheet can be in the same workbook as the original worksheet, or you can create it
in a separate, dependent workbook. For more information, see "Create details worksheets" on page
680.
Create the Once the source worksheet has been created and the drill link set up, you can create the worksheet
widget widget. For more information, see "Create a worksheet widget" on page 884.
NOTE: A details worksheet that a widget drills to is a linked resource. It can only be opened from
the dashboard and does not display in the user's Explorer pane.
1. On the File Menu, click New and then select Widget , Text.
2. In the New Text Widget dialog box, on the General tab, type a name for the widget in the Name
box.
3. In the Title box, type the widget name that will display in the widget title bar. This title can later
be changed when the widget is on the dashboard.
4. In the New Text Widget dialog box, click the Text tab.
5. Type the text for the widget and use the rich text editor to format the text or insert images and
hyperlinks.
6. Optionally, add linked resources to the widget. For more information, see "Set up linking to a
resource from a widget" on page 888.
NOTE: For more information on formatting text, see "Using text editing tools" on page 167.
NOTE: To change a widget's title on the dashboard, place the cursor on the title text and type a
new title.
TIP: If you are creating a text widget for a dashboard that is set to manually refresh, you should
include information in the text widget to warn the dashboard user that worksheet widgets data
will not refresh automatically. For more information, see "Editing dashboard properties" on page
906.
By default, each linked resource you add to a widget is required. Widgets with broken or missing linked
resources cannot be shared or saved. You can make the dependency optional so the widget can be
shared and saved with or without a functioning linked resource. If the linked resource is missing and
optional, it does not display in the Open menu.
1. In the New Worksheet Widget or New Text Widget dialog box, click the Linked Resources tab.
2. Click Select.
3. In the Select Resources dialog box, select one of the following resource types from the Show list:
l dashboards
l task flows
l scorecards
l workbooks
4. In the Select from this list area, click the resource you want to add.
5. Click Add.
6. Repeat steps 3 to 5 until you have added all the resources you want to link to, then click OK.
7. To make a linked resource optional, clear the check box for that resource in the Required
column.
NOTE: A detail worksheet that a widget drills to is a linked resource. It can only be opened from
the dashboard and is not displayed in the user's Explorer pane.
TIP: In the Linked Resources tab, you can change the order in which the linked resources will
appear to dashboard users by clicking and dragging a resource up or down in the list.
You can modify widget styles on a dashboard to enhance the aesthetics, branding, and usability of
dashboards. Optimize a user’s experience by creating widgets with customized backgrounds, color
schemes, alignment, and labeling. The flexibility of widget styles allows you to create dashboards with
enhanced usability and aesthetics at both the individual widget level and at the dashboard level. Widget
styles are controlled in the properties for widgets or dashboards which each feature a preview that
displays the selected styles as they will be applied. The margin, border, and padding widths are
unavailable in the styles preview – they can only be displayed in preview mode or during runtime. For
more information, see "Individual widget styles" on page 895.
Dashboard styles
To enhance design and usability, you can apply a variety of style options to all the widgets on a
dashboard. Make changes to the widgets style and preview the applied style on the Styles tab in the
dashboard's properties.
1. For a private dashboard, continue to step 2. If the dashboard is a public resource, you must first
check it out of the versioned repository, For more information, see "Check out a resource from
the versioned repository" on page 111.
2. In the Explorer, double-click the dashboard you want to open and modify widget styles on.
3. Click to open Dashboard Properties.
4. Select the Styles tab.
5. Modify style options as summarized in the image and table below:
Widgets
l Select the Show title and/or Show border check boxes to turn those settings off or on.
C Margin
l Type a margin width for each widget side.
D Border
1. Type a border width for each widget side.
2. Select a border color for each side from each side's color palette.
E Title
1. Select a title text color from the first color palette. (Title:)
2. Select a background color for the title text from the second color palette.
G Background
l Select a background color from the color palette.
H Transparency
l Use the arrows to select a transparency level for widget backgrounds. For more information, see
"Transparency settings" on page 897.
TIP: You can also type a transparency level value in the Transparency box.
NOTE: You can also right-click the dashboard in the Explorer and then click Properties to
open the dashboard's properties.
NOTE: When you change the margin and border widths, you will not see the applied changes in
design mode. You must preview the dashboard, or fully exit design mode to view the changes.
The Use dashboard setting option is provided to maintain the uniformity of widget display on the
dashboard without having to return to the Dashboard Properties to view what the settings are. You
might choose to show or hide the titles and borders of an individual widget to enhance the design and
usability of the dashboard. The image below shows one way of using different widget styles to improve
the usability of your dashboard.
1. In the Explorer, double-click the dashboard you want to open and modify a widget on.
2. Click to enter design mode.
3. Select the widget to modify.
4. Click to open the Widget Styles dialog box.
5. Select the widget setting for the Title display
6. Select the widget setting for the Border display.
7. Select the check box of the additional style properties you want to modify.
Transparency settings
There are multiple layers of transparencies that you can apply to a worksheet chart widget. Depending
on the type of chart displayed in the widget, you can apply five to six levels of transparency. Similar to
sheets of colored glass, each layer of transparency will produce a different visual effect. Transparency
settings for the chart area, plot area, and other chart options are set at the chart level when you create
or modify the chart in the worksheet's properties.
TIP: To make the background settings for a widget or dashboard visible, set the worksheet chart
transparency setting to 100% (full transparency).
NOTE: Hiding the title and/or border removes those options from the dialog box.
When you create a dashboard, you start by adding widgets to the dashboard and then modifying the
dashboard layout. Each widget's data settings are specified when you add it to the dashboard.
You can add:
Any dashboard that you have created or that has been shared with you can be modified in design mode
. To preview the dashboard while you are creating or modifying it, click preview mode on the
RapidResponse toolbar. You can add any number of widgets to a dashboard, however there are layout
options to consider in creating an effective dashboard. For more information, see "Tips for designing an
effective dashboard layout" on page 923.
After a widget has been place on the dashboard, it can be moved to any other position on the dashboard
that displays a blue line or blue box.
You might have to remove a widget if it is based on a workbook that is no longer available. Widgets that
are missing dependent resources appear with a red X in the Explorer. For more information, see "View
dashboard and widget dependencies" on page 910.
NOTE: After the first widget has been dropped on to the dashboard, additional widgets can only
be placed where a blue line or blue box appears on the dashboard. For more information, see "Edit
widget size" on page 917.
NOTE: To remove a widget from the dashboard, click and drag the widget back to the Dashboard
Content pane or click on the widget.
NOTE: You can also save the dashboard by closing the new dashboard. A dialog box will ask you if
you want to save the dashboard. If you select Yes, the Dashboard Properties dialog box will open
where you type the name of the new dashboard.
1. On an open dashboard in design mode, hover the pointer over the center of the widget title bar.
2. Click, drag, and place the widget on a new location on the dashboard.
CAUTION: When you move a widget on top of another widget, it will replace the existing widget
in that location. You will be prompted with a warning message asking you if you want to replace
the existing widget.
NOTE: You can only move a widget to where a where a blue line or box displays on the dashboard.
NOTE: You must have at least one widget on the tab to save it to the dashboard. An empty tab is
not saved on a dashboard.
NOTE: You do not need to specify the data settings for a treemap widget when it is placed on a
dashboard.
l Remove widgets on a dashboard tab by dragging each widget back to the Dashboard Content
pane or by clicking on a widget's title bar. The tab will disappear.
1. Place the cursor over the left side of the tab. The cursor will change to a hand and the active tab
will in orange.
2. Click and drag the tab to its new position.
General tab
Require users Users manually refresh widget data to update to the most recent data. This setting is
to manually recommended to prevent long load wait times when:
refresh widget l Dashboard users will be continuously making changes to dashboard data.
data l Dashboards contain worksheet widgets that must process large amounts of data
It is a good practice to note that a dashboard is set to manually refresh in a text widget on
the dashboard.
Warn users You can prompt users to refresh their widget data when it might be out of data in the source
when widget worksheets. This option is only available if you select to have users manually refresh widget
data might be data.
out of date
Allow users to Users can save settings they have specified on a dashboard including data settings and how
save personal panes display. For example, the dashboard can be saved with the data settings pane and help
dashboard panes minimized. When the user reopens the dashboard, both those panes will be minimized.
settings Users can revert to the author-specified settings by clicking Reset Dashboard on the View
menu.
For more information, see "Personal dashboard settings" on page 879.
Require user to You can choose to have users select data settings every time the dashboard is opened. This
select data can reduce long wait times by ensuring that only needed queries are run.
settings on
opening
Author notes Add notes for other dashboard authors. The text typed can only be viewed in the dashboard
properties and is not visible to dashboard users. For example, you can use author notes to
record the following:
l Changes made to the dashboard
l Descriptions of the widgets included in the dashboard
l Information about the dashboard's intended use
Styles tab
Widgets— Show or hide all of the widget title bars and/or borders on the dashboard. Hiding both title
Show title bars and borders can maximize space on the dashboard and users then access the widget
Widgets— toolbar by hovering over the top of the widget.
Show border
Widgets— Set the border colors and widths around each widget.
Border
Widgets—Title Set the text and background colors for widget titles.
Widgets— Adjust the padding around all the widgets to increase or decrease the space on the
Padding dashboard.
Widgets— Set the transparency level for widget backgrounds. For more information, see "Transparency
Transparency settings" on page 897.
NOTE: You can apply different margin, border, and padding settings on each side of a widget.
NOTE: Except for the dashboard background color, all of the settings on the Styles tab can be
overridden at the individual widget level.
Dashboard scaling
When a dashboard changes size, widgets are scaled proportionately to the new dashboard size. The
images below show a dashboard at different sizes.
If you have authoring permission for dashboards or widgets, you can view its resource usage and
dependencies. For more information, see "Analyzing resource usage" on page 177.
l scenarios
l sites
When you make a change in the Data Settings pane, all of the widgets that setting applies to are
updated one at a time. To clear any data settings changes you have applied and return to the data
settings that were applied at the beginning of your current RapidResponse session, click Restore to
Default . To update widgets on the dashboard after you have made multiple data changes, click Change
Multiple Data Settings to open the Data Settings dialog box. All of the data settings applied to the
dashboard are visible in this dialog box.
NOTE: The Reset to Default button is not active unless a data setting is changed.
Data settings can be overridden for individual widgets on a dashboard by maximizing the widget and
then making changes in the Data Settings pane. For more information, see "Define data settings for a
widget" on page 912.
To view which data settings area applied to a widget or what settings a widget carries, hover the pointer
over the data setting or a widget. For more information about viewing data settings, see the
RapidResponse User Guide.
NOTE: When a user open a dashboard for the first time, the Data Settings pane displays. After
that, the dashboard opens how it was last displayed to the user, with an open or closed Data
Settings pane.
NOTE: To change multiple settings at a time for a widget, click Change Multiple Data Settings to
open the Data Settings dialog box. The widget will only update after you make the changes and
then click OK.
NOTE: If the widget has a hidden title bar and borders, hover over the top of the widget to display
the widget title bar.
Dashboard layouts in RapidResponse are designed using flexible layout settings that can be applied to
individual widgets or to all the widgets on the dashboard. You can specify widget size, location, style, and
data settings. Dashboards can display widgets on different tabs and in horizontal or vertical containers.
You can span a widget over more than one row or column in a dashboard, or lock specified rows and
columns to keep a widget’s size constant. The images below are examples of potential layout designs.
l Click and drag a new widget to the top or bottom of an existing widget.
A blue bar appears where you can place the widget.
l Click and drag a new widget to the left or right of an existing widget.
A blue bar appears where you can place the widget.
1. Place the cursor just outside of the widget you want to resize.
2. Click and drag the row or column to its new size using the double-headed arrow.
CAUTION: If the widget border turns blue when you drag the widget, the widget will span and
replace any surrounding widgets that are shaded in blue.
NOTE: As you drag the double-headed arrow, the width or height of the row or column is
displayed as a percentage of that row or column.
1. Place the cursor at the edge of the widget. The widget border will turn blue.
CAUTION: When you change the span of a widget, you might replace another widget on the
dashboard. No warning message will appear when you are replacing another widget.
NOTE: Once you have replaced one widget by spanning another, the widget has been deleted
from the dashboard. To add it again to the dashboard, select and drag the widget from the
Dashboard Content pane.
NOTE: You can only span across entire rows or columns. Widgets cannot span halfway across a
row or column.
Widgets must be placed in a container, so it is a best practice to place the containers on the dashboard
first and then add widgets on the containers. Containers can be added to a new or existing dashboard if
you have dashboard authoring permission.
▶Move a container
l Click and drag the container to its new position on the dashboard.
NOTE: Like a widget, the container can be moved to wherever a blue bar appears on the
dashboard.
▶Delete a container
l Select the container to delete and then drag the container to the Dashboard Content tab or click
on the container toolbar.
CAUTION: When you delete a container, all of the widgets in that container are removed from the
dashboard. To keep the widgets in the dashboard, move them on the dashboard from the
container before you delete.
NOTE: Widgets on a container can be resized in one dimension, depending on the type of
container. You cannot span a widget across container rows or columns.
NOTE: Containers have title bars that serve as layout tools and are only visible in design mode.
l Widget data settings. For more information, see "Define data settings for a widget" on page 912.
l The Data Settings pane. How you view the pane will reflect in the user's view. It is recommended to
minimize the Data Settings pane and then save and share the dashboard.
l Saving user dashboard settings. For more information, see "Personal dashboard settings" on
page 879.
l Refreshing widget data. For more information, see "Editing dashboard properties" on page 906.
l Warning users about out of date widget data. For more information, see "Editing dashboard
properties" on page 906.
l Style settings for individual widgets and all the widgets on the dashboard. For more information,
see "Dashboards" on page 873.
TIP: To compare widgets on a dashboard with different data settings applied, you can open
another instance of that dashboard by right-clicking on the dashboard and clicking Open in a
New Tab.
Maximize dashboard Move some widgets (like text widgets or message widgets) to a tab. For more
space information, see "Placing widgets on dashboard tabs" on page 904.
Hide widget title bars and/or borders. For more information, see "Editing dashboard
properties" on page 906.
Minimize the Data Settings pane. The dashboard will open with the pane minimized
and users can expand the pane to access the settings.
NOTE: New dashboards always open with the Data Settings pane minimized.
Enhance the view of Resize the widget or span it over more than one dashboard row or column. For more
widget data information, see "Edit widget size" on page 917.
Distribute widgets over multiple tabs. For more information, see "Placing widgets on
dashboard tabs" on page 904.
Freeze the horizontal Lock the dashboard rows that the widget spans. For more information, see "Lock
dimension of a widget dashboard rows and columns" on page 918.
Place the widget in a horizontal container. For more information, see "Place widgets in
dashboard containers" on page 921.
Freeze the vertical Lock the dashboard columns that the widget spans. For more information, see "Lock
dimension of a widget dashboard rows and columns" on page 918.
Place the widget in a vertical container. For more information, see "Place widgets in
dashboard containers" on page 921.
Specify widget names Type a new name for a widget. For more information, see "Individual widget styles" on
page 895.
Specify tab names Type a new name for a tab. For more information, see "Placing widgets on dashboard
tabs" on page 904.
Reduce dashboard load Place widgets on multiple tabs. For more information, see "Placing widgets on
times dashboard tabs" on page 904.
Use a shared widget on Make a copy of the widget and place the copied widget on the dashboard. For more
your dashboard information, see "Copy resources" on page 127.
For more information on viewing which dashboards use a widget, see "View
dashboard and widget dependencies" on page 910.
l Message Center is not visible on mobile dashboards. If you add a message widget to the
dashboard, a blank section displays on the dashboard when viewed on a mobile client. Instead,
mobile users can enable message forwarding to their email clients and send views of the
dashboard to other users. For more information, see the RapidResponse User Guide (Mobile Client).
The images below show the message widget displayed in the RapidResponse desktop client but
For more information, see the RapidResponse User Guide (Mobile Client)
A task flow is a series of steps you can follow to complete an overall procedure or function. If you have the
appropriate permissions, you can create, modify, and share task flows.
A task flow defines an overall workflow, divided into logical steps. Each step has a title that can be made
into an action link that opens the resource or launches the scenario action required to complete the step.
For example, you can add an action to open a report, another task flow, or a scenario action dialog box if
the user needs to use the RapidResponse simulation capabilities.
To share the task flow with other users, you must first add it to the versioned repository. For more
information, see "Add a resource to the versioned repository" on page 108. If the task flow includes steps
with action links, the resources required to perform those actions must be shared separately. For
example, for a user to be able to click a task flow step to open a workbook using a specific filter, the user
needs access to both the workbook and the filter.
The following illustration shows the task flow authoring window and the opened task flow. Refer to the
information below the illustration to learn about each component.
1. On the File menu, point to New, and then click Task Flow .
The task flow authoring window opens,where you can create the task flow. For information
about the components of the task flow authoring window, see "Authoring task flows" on page
929.
2. In the Name box, type a name for the task flow.
3. In the list of steps, the Introduction is automatically selected. In the Step details area, in the text
editor box, type text for the introduction. You might want to include information such as a
summary of the task flow and targeted users.
If you do not want an introduction in the task flow, clear the Include an introduction to this
task flow check box below the list of steps.
4. Click New Step.
5. In the Step details area, in the Title box, type a title for the step.
NOTE: You might find it helpful to create an outline of the task flow and test the steps before you
define the steps in RapidResponse. This way, you can detect any problems before you spend time
formatting instructions and configuring actions.
TIP: You can also create a task flow by clicking New Resource on the RapidResponse toolbar,
or by right-clicking a resource in the Explorer, selecting New, and then selecting Task Flow .
TIP: You can also copy an existing task flow by selecting it in the Explorer, and then clicking Copy
on the Actions menu.
l A form.
l A dashboard. You can optionally specify which tab opens and the data that is displayed in the
dashboard.
l A workbook. You can optionally specify which worksheet opens and the data that is displayed in
the worksheet.
l A scorecard. You can optionally specify the data that is displayed in the scorecard.
l Another task flow
When an action to open a resource is added to a task flow step, an icon representing the action appears
to the left of the task's title in the list of steps.
1. In the Step column, click the step to which you want to add an action.
2. In the area under the text editing box, in the Action list, click Open Form.
3. In the Form list, click the form you want the step to open.
To ensure that you are adding the intended task flow, you can view the selected task flow by
clicking Open Form to the right of the task flow name.
1. In the Step column, click the step to which you want to add an action.
2. In the area under the text editing box, in the Action list, click Open Dashboard.
3. In the Dashboard list, click the dashboard you want the step to open.
To ensure that you are using the intended dashboard and choose the data settings to use, you
can open the selected dashboard by clicking Open Dashboard to the right of the Settings
button.
4. In the Tab list, select the tab that you want the step to open.
5. If you want to display specific data in the dashboard, click Settings and select one of the
following to use:
l Dashboard default settings—Open with the default settings specified by the dashboard
author. If the dashboard default settings change, the workbook will open with the new
defaults.
l User's personal settings—Open with the user's personal settings.
NOTE: When a dashboard author configures the dashboard to only open with default settings,
User's personal settings and Custom settings cannot be selected in the Settings dialog box.
1. In the Step column, click the step to which you want to add an action.
2. In the area under the text editing box, in the Action list, click Open Workbook.
3. In the Workbook list, click the workbook you want the step to open.
4. In the Worksheet list, click the worksheet you want to open.
5. If you want to display specific data in the worksheet, click Settings. In the Workbook Settings
dialog box, select the check box for each setting you want to specify, and then select a value from
the corresponding list. For more information about specifying workbook settings, see the
RapidResponse User Guide.
6. Optionally, click Open Workbook to view the workbook with your selected data settings.
1. In the Step column, click the step to which you want to add an action.
2. In the area under the text editing box, in the Action list, click Open Scorecard.
3. In the Scorecard list, click the scorecard you want the step to open.
4. If you want to display specific data in the scorecard, click Settings. In the Scorecard Settings
dialog box, select the check box for each setting you want to specify, and then select a value from
the corresponding list. For more information about specifying scorecard settings, see the
RapidResponse User Guide.
5. Optionally, click Open Scorecard to view the workbook with your selected data settings.
1. In the Step column, click the step to which you want to add an action.
2. In the area under the text editing box, in the Action list, click Open Task Flow.
3. In the Task Flow list, click the task flow that you want the step to open.
To ensure that you are adding the intended task flow, you can view the selected task flow by
clicking Open Task Flow to the right of the task flow name.
NOTE: You cannot select a private resource for an action. You must share it or add it to the
versioned repository first.
l Create a scenario
l Share a scenario
l Update a scenario
l Commit a scenario
l Delete a scenario
When you add a scenario action, you have the option of letting the user select the scenario, or
specifying the scenario that must be used. You can also allow the user to choose the scenario, but limit
the available choices to descendants of a scenario that you specify. In the case of scenario creation
actions, these options apply to the parent scenario of the new scenario that the user creates.
NOTE: You cannot select a private scenario for an action. You must share it first.
For information about adding actions to task flow steps, see "Add an action to open a resource from a
step title" on page 931 and "Add a scenario action to a step title" on page 934.
1. Select the step where you want to suppress the optional action.
2. Select the Suppress the action if the resource is not available check box.
CAUTION: This setting should only be applied to actions that are optional. If actions integral to a
task flow steps are suppressed when a resource is missing, the user might not realize the action is
missing and that the task flow is incomplete.
l In the task flow editor window, in the Author notes box, type the text you want.
Forms are graphical user interfaces you design to help users accomplish business tasks. They provide
guided and streamlined experiences that enable users to complete tasks faster and on the go.
For example, you might create a form that starts or finishes an activity in a process or a form that creates
new order records. Administrators might use forms to perform administrative or maintenance tasks on
the go, such as unlock a user account, change a user’s password, or run an automation task. Users can
access forms from the Explorer pane, the Start page, and Task Flows. On mobile devices, forms are
opened from the Resources screen.
Similar to dashboards, forms only need to be authored once and can then be run on both the desktop
client and mobile client.
Forms can be designed with varying degrees of complexity, as shown in the form examples below:
Edit a script l l
If you also have sharing permission for forms, you can share the form with other users after adding it to
the versioned repository. The underlying script is shared with the script as a linked resource. For more
information, see "Share resources" on page 128 and "Add a resource to the versioned repository" on
page 108.
For more information about authoring scripts for forms, see "Managing scripts for forms" on page 1013
and the RapidResponse Scripting Guide.
NOTE: To add a form to the versioned repository, you must have form sharing permission.
Letter Description
A Controls pane
All of the control types are listed here. Click, drag, and drop any control from this pane on to the form
template. For more information, see "Defining controls" on page 981.
B Form
The form is created as controls are dragged and dropped on to it. For more information, see "Add and
remove controls on a form" on page 952.
C Properties pane
Form properties or the properties for a selected control display here. For more information, see "View
and edit properties for a control" on page 959.
Properties help
Click to view detailed information about the property fields listed in the Properties pane.
Open
Click to see a preview of the form as it displays to users.
Undo
Click to undo the last action.
Redo
Click to redo the last action.
Script arguments
Click to view the mappings between form controls and underlying script arguments. Each mapping is
identified as mapped or not mapped. For more information, see "Map form controls" on page 977.
Script properties
Click to open and edit the underlying script. Only authors with script authoring permission can access
the script. For more information, see "View and edit script properties" on page 1013.
Authoring help
Click to open form authoring help.
You can also create a script that executes multiple actions. For example, you can create a script that
creates a new scenario, modifies data in the scenario, and then sends a message to users about the
changes.
For any action that can be scripted, you can create a form based on that script. The diagram below
illustrates the flow between a form and its underlying script.
1. The user opens the form and specifies information for the controls by typing or selecting values
and then clicks the action button "Respond". Any form-level validation errors are identified, such
as leaving a required control blank. The errors must be resolved by the user before the form can
be run successfully.
2. If the control values are valid, the forms passes those values to the corresponding arguments in
the underlying script.
3. The script executes the action or actions it has been authored for. If custom messages have been
included in the script, they display on the form.
This script manages scenarios and responds with a message.
All forms must have controls mapped to arguments in an underlying script to run. Each type of control
that passes a value to the script must be mapped to the corresponding type of script argument. For
example, text-based controls such as a Multi-Line Text control or a Fixed List control must be mapped to
a string argument and a Check Box control must be mapped to a Boolean argument. For more
information, see "Map form controls" on page 977.
You can also specify custom messages in the script that display after the form is run. For more
information, see "Custom messages on a form" on page 1014.
You can edit any form that you own and change the form layout, form properties, control properties, or
the underlying script the form is based on. For more information about how to edit a public resource, see
"Editing a public resource" on page 111.
Depending on your authoring permissions and the scripts you have access to, you can create a new form
by building it from a blank start or generating it from an existing script. For more information, see "Form
authoring permissions" on page 940.
The flow diagram below outlines the two ways to create a form.
▶Build a form
NOTE: Your finished form must be added to the versioned repository before it can be shared with
NOTE: Changes are automatically saved when you click Refresh and Validate
TIP: You can also base the form on an existing script by selecting a script from the Select a script
list. Controls mapped to the arguments in the form must be added to the form. Click Update the
form when prompted.
TIP: You can also create a form by clicking on the toolbar and selecting Form.
NOTE: Changes are automatically saved when you click Refresh and Validate .
TIP: You can also create a form by clicking on the toolbar and selecting Form.
Property Description
Help Type a description of the form to help users understand its purpose, what action is run by
the underlying script, or how to use the form. For more information, see. "Add help to a
form" on page 954.
Author Notes Type descriptive notes intended for other form authors. Author notes are only visible in the
Properties pane of a form opened in design mode.
Script You can change the script used by the form by selecting a different script from the drop-
down list or by generating a new script. For more information, see "Change the underlying
script" on page 1014 and "Managing scripts for forms" on page 1013.
Modified The date and time the form was last modified.
Form controls
Controls are user-interface elements you place on a form. There are presentation, input, and button
controls with varying degrees of configurable properties. Label controls and Image controls are
Control types
The table below outlines the types of controls you can add to a form. Image and Label controls provide
information and context about the form for users. The other controls are input controls that define
values that can be passed to the script. For more information, see "Map form controls" on page 977.
Label Displays static text such as a title or header. Label controls can also be used
to display help text on a form.
For more information, see "Label control" on page 984.
▶Add a control
1. Hover over the control label until the four-sided arrow displays.
▶Remove a control
CAUTION: When you remove a control that other controls reference in a conditional expression, it
is recommended that you update the expression before removing that control. For more
information, see "Condition indicators" on page 975
TIP: Refresh and validate a form to check for any broken mappings after you remove any
controls. For more information, see "Refresh and validate a form" on page 957.
Copy controls
You can copy a control on a form to create a duplicate control with the same properties as the original
control. Only the control ID and mapping are not duplicated. You can customize the copied control by
editing its properties.
Copying controls can be a faster way to create a form. For example, you might have a list control on your
form with many similar properties you want for another list control. Instead of redoing all the property
selections on a new, but similar, list control, you can copy the existing list control and then modify the
few properties that differ.
▶Copy a control
l Text
l Multi-line Text
l Data List
l Fixed List
l In the Properties pane for the control, select a different control type in the Control Type drop-
down list.
1. Click anywhere on the form background to open the Form Properties pane.
2. Type text in the Help field.
NOTE: To create multiple paragraphs using Label controls, place a Label control for each
paragraph on the form.
Control help
You can include help up to 280 characters long, in one or more lines, for a control. Only controls with
help text in the control properties display a help icon .
NOTE: You can also display custom error messages on controls after the form is run. For more
information, see "Custom messages on a form" on page 1014.
1. Select the control on the form with help you want to edit.
2. In the Form/<control type> Properties pane, edit text in the Help field.
TIP: You can also type or edit text directly in the control help pop-up.
Preview a form
As you are creating or editing a form, you can preview the form as it displays to users.
CAUTION: If you run the form when in preview mode, the underlying script is executed.
You can fix any broken mappings by viewing the script arguments that are not mapped. For more
information, see "Map form controls" on page 977.
All controls have some standard properties and some properties specific to the type of control it is. When
you add a control to a form, or are editing an existing control, you can define any of the properties listed
in the Properties pane. For more information, see "Defining controls" on page 981 and "Standard control
properties" on page 961
Forms also have two default buttons for the user to submit or cancel the form. You can customize some
button properties. For more information, see "Edit properties for a form button" on page 962.
You can use validation in a form to ensure that user input follows the logic defined by both the form and
the underlying script. For example, Text controls only accept string values. The control type and some
properties, such as if the form is set to required, are automatically validated by RapidResponse when the
form is run. You can also include custom validation in the script and display corresponding messages or
prompts in the form or on controls. For more information see "Form validation" on page 965.
TIP: To undo changes, on the form toolbar click Undo (Ctrl + Z).
TIP: To redo changes, on the form toolbar, click Redo (Ctrl + Y).
TIP: To hide a section, such as the Script or List Content sections, in the properties, click on the
section header to collapse the section. Click again on the section header to show the section.
Standard Description
control
property
Label Identifying label on the control. You can type this label in the properties pane or directly on the
control on the form.
ID Reference ID for the control. This field is required for all controls and is used to reference the
control in an expression. For more information, see "Control identifiers" on page 962 and "Building
expressions for controls" on page 976.
Help Provides help for the control. The help icon displays when you hover the control. For more
information, see "Add help to a form" on page 954.
Read Only Makes the control read-only. Users can see the control but cannot modify its value. For more
information, see "Read-only controls" on page 963.
Required Makes a value for the control required. The form does not run if all required controls do not have a
specified value. For more information, see "Required controls" on page 964.
Visibility Determines how visible the control is: always visible, always hidden, or conditionally visible or
hidden. For more information, see "Hide or show a control" on page 969.
Availability Determines how available the control is: always enabled, or conditionally enabled or disabled. For
more information, see "Enable or disable a control" on page 970.
Control For text-based input controls, you can change the control type to another text-based control. For
Type more information, see "Change control types" on page 954.
Default A default value for the control. This value is passed to the script if a user does not select or type a
Value value.
Placeholder Text that displays to users when there is no value in the control. You can type text to identify the
Text control or describe what type of value the user needs to type in the control.
Pass value Passes the control value to the corresponding argument in the underlying script. For more
to script information, see "Map form controls" on page 977.
Button properties
The table below describes the properties for a button in a form.
Property Description
Label The label displayed on the button. By default, the button labels on a form are OK and Cancel.
To change the label, type text in the Label field.
Style Select a color for the button by clicking on the color squares.
Action Describes the set of actions that happen when users click the button. This property is read-only.
Control identifiers
All controls on a form must have a control ID. This identifier can be used by other controls as a
reference. For example, an expression in a list control can reference the control ID of a text control or if
you create a conditionally visible control, you might create a condition that control Part displays only
when control Site = "HQ". For more information, see "Building expressions for controls" on page 976.
The ID must be unique and a single string value. On a new control, a default ID displays until you type a
control label. The control ID aligns itself to the label you define, displaying as the label text without
spaces. You can define a custom value for the ID by typing in the ID field.
Read-only controls
When a control is defined as read-only, the control value displays to users at runtime but it cannot be
edited. If you set a required control to read-only, you must define a default value for the control. The
default value displays to users and is the value passed to the underlying script. Except for File controls,
you can make any input control read-only.
For example, in the form below, the scenario control is set to read only. Users can see which source
scenario the form uses, but cannot change the scenario.
NOTE: Users cannot run forms with required controls that have no value specified. If a required
control is also set to read-only, you must specify a default value for the control. For more
information, see "Required controls" on page 964
1. Select the control on the form that you want to make editable.
2. In the Properties pane, click the Read-Only switch.
The switch displays an x.
You should always make sure that controls mapped to script arguments are set to required to ensure
that the underlying script does not return incorrect results when the form is run. Form-level validation
checks to make sure that all required controls have a value when the form is run.
CAUTION: Users cannot run forms with required controls that have no value specified. If a
required control is also set to read-only, you must specify a default value for the control. For more
information, see "Read-only controls" on page 963.
Form validation
Forms provide validation in both design mode and at runtime, ensuring that controls pass values that
are valid to the underlying script and meet the property parameters you set. The form runs successfully
when it passes all levels of validation.
Automatic validation when the form is run returns an error message if any required controls that display
to users do not have a value specified. Users must specify a valid value for the highlighted controls
before the form can be run.
When the form is run, an automated success or fail message is delivered to users.
l Always enabled
l Conditionally enabled
l Conditionally disabled
CAUTION: To avoid runtime errors for the script or form, if you set a required control to always
hidden, you must have a default value specified for the control.
NOTE: If you want a control to display to users but not allow them to modify the control value, set
it to read-only. For more information, see "Read-only controls" on page 963.
In the form example below, the set of controls that define the apply load values are only enabled when
values have been defined for the Name, Site, and Type controls.
NOTE: The Same condition as other control list only displays if there is one or more conditions
for that property on the form.
Condition indicators
When you create a conditional control, markers on the control identify if the control has a condition
based on it, applied to it, or copied from another conditional control.
Groups of controls affected by a condition display in color families, and depending on the type of
condition: visibility or availability—the marker shape differs. Visibility conditions display square markers
and availability conditions display circle markers . Markers start in an alphabetical sequence and
then shift to numerical markers when more than twenty six controls are affected by a condition.
Removing a condition from a control resets the marker order on the form.
The types of markers, their properties, and what their tooltips display are outlined in the table below.
Filtering a control based on other controls on the form can prevent invalid selections by only presenting
values that correspond to earlier selections in the form.
The $$ variable syntax ($$ <controlID>) is used to refer to another control in a filter expression. Only
valid $$ variables can be used in the expression. For more information, see "Building expressions for
controls" on page 976 and "Create an expression-based filter" on page 192.
Expression
Site = $$Site The data list control displays only the customers associated
with the selected site.
Region.Id = The data list control only displays customers associated with
$$Region the selected region.
Order.Id = $$Order The data list control only displays orders that have less quantity
AND AvailableDate than the quantity specified and that an earlier date than the
< $$AvailableDate date specified.
AND Quantity <
$$Quantity
For conditional expressions, the $$ syntax identifies the source control the condition depends on. The
table below displays examples of how to use the $$ variable in conditional expressions. For more
information, see "Create control conditions" on page 970.
Property Expression
Visible $$ApplyConstraint = true The control displays when a Check Box control, Apply
when Constraint, is set to true.
Disabled $$Selection = 'Edit Order Line' OR The control is disabled when a Fixed List control, Selection, is
when $$Selection = 'New Order Line' set to the values "Edit Order Line" or "New Order Line".
NOTE: $$ syntax is used for form controls whereas the $$ syntax is used for workbook, profile, and
system variables.
TIP: When referencing a Site control in a filter expression, filter the blank site out of the list.
NOTE: For Data List and Fixed List controls, when you have defined both display and data values,
the data value is the value passed to the scrip.
Each control you place on a form has multiple properties you can customize. All controls share a standard
set of properties, and except for Image and Label controls, controls can pass a value to the underlying
script. For more information, see "Standard control properties" on page 961.
Image control
You can add images, such as your company logo, to forms. For example, the form below includes a logo
and an image of a flow diagram to guide users as they fill out the form.
1. Click and drag the Image control from the Controls pane on to the form.
2. Click Embed.
3. Drag and drop an image file in the box.
1. Click and drag the Image control from the Controls pane on to the form grid.
2. Click Link.
3. Paste or type a URL in the URL field.
4. Click anywhere or press Enter.
Property Description
ID A unique ID. By default this ID displays as "Image" with sequential numbering added for
each additional image on the form. For example "Image2".
You can also type a unique identifier to associate with this control.
Width Displays the original width of the image. RapidResponse scales the image to fit in the form.
Height Displays the original height of the image. RapidResponse scales the image to fit in the form.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition as Select a visibility condition already specified for another control.
other control
Enabled when Type an expression to enable the control when the specified condition is met.
Same condition as Select an availability condition already specified for another control.
other control
Label control
You can add a label to a form to provide information and context for users. For example, the form below
includes Label controls that display a form title, describe the purpose and use of the form, and as
headers to group controls.
You can pick from three different font styles to apply to the label text: Title, Section Header, or
Description styles. A live preview of the font style displays on the label control when you hover over a
style.
1. Click and drag the Label control from the Controls pane to the form.
2. Type text that displays as the label text.
3. Select a text style: Title, Section Header, or Description.
Property Description
Text Type informative text, such as a header or instructions.
ID A unique ID. By default this ID displays as "Label" with sequential numbering added for
each additional label on the form. For example "Label2".
You can also type a unique identifier to associate with this control.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition as Select a visibility condition already specified for another control.
other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition as Select an availability condition already specified for another control.
other control
Label Type text in the Label field or type a label directly on the control.
This label displays at the top of the control.
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand the purpose of the control and
what type of value it requires.
For more information, see "Add help to a form" on page 954.
Read Only To make the control read only, click on the switch.
Users can view the control value but cannot modify it. For more information, see "Read-
only controls" on page 963.
Required To make a value for this control required, click on the switch.
Users must define a value for this control to run the form. For more information, see
"Required controls" on page 964.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Control Type Change the type of text control by selecting another control in the drop-down list.
You can change between Text, Multi-line Text, Data List, or Fixed List controls. For more
information, see "Change control types" on page 954.
Default Value Type a default value for the control. If the user does not type a value, the default value is
passed to the underlying script.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
Argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. Text and Multi-
Line Text controls can only be mapped to string arguments. For more information, see the
RapidResponse Scripting Guide.
For any form you create, RapidResponse automatically filters the data by site data. Users only see data
for sites they have access to.
Optionally, you can also include a filter expression to limit the values displayed in the data list. For more
information, see "Examples of filter expressions" on page 192 and "Creating expressions with Expression
Builder" on page 1117. In the filter expression, you can reference other controls on the form. For more
information, see "Use a reference to filter a data list" on page 976.
By default, the list uses the current scenario selected by the user. You can select any other scenario you
have access to, or leave the scenario to one selected by the user. If you have placed a Scenario control
on the form before a Data List control, you can select to use the scenario the user selects in the Scenario
control. For more information, see "Scenario control" on page 1008.
You can define two types of values in a list: Display Values and Data Values.
l Display Values are a required field. When a Display Value is defined for a list, it is the value that
displays to users and is passed to the script.
l Data Values are an optional field. When a Display Value and a Data Value is defined for a list, the
Display Value is what displays to users and the Data Value is the value passed to the script.
1. In the control properties pane, click the Display or Data Values field.
2. In Expression Builder, do one of the following:
l To use a field or variable for the value, double-click on the field or variable in list.
l To use an expression for the value, add fields, variables, and functions to create an expression
in the Expression box.
NOTE: Only the Fields and Variables tab display for Data List controls in Expression Builder.
Property Description
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand its purpose and what types of
values it requires.
Read Only Select to make the control read. Users can view the control value but cannot modify it. For
more information, see "Read-only controls" on page 963.
Required Select to make a value for this control required. Users must define a value for this control to
run the form.
For more information, see "Required controls" on page 964.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Control Type Change the type of text control by selecting another control in the drop-down list. You can
change to Text, Multi-Line Text, or Fixed List controls. For more information, see "Change
control types" on page 954.
List Content
Display Values List values that display to users in the form of an expression.
In Expression Builder, double-click to select a field or type an expression in the Expression
box.
Data Values List values that are passed to the script in the form of an expression.
In Expression Builder, double-click to select a field or type an expression in the Expression
box to generate the data values.
If you want the display value to be used instead, leave this box blank.
Filter Expression If necessary, type an expression to limit the results returned by the field in the Data value
box. Similar to a worksheet filter, the results generated by the table in the selected scenario
are the values that are filtered.
For more information, see "Create an expression-based filter" on page 192 and "Use a
reference to filter a data list" on page 976.
Scenario Select the scenario the control uses. You can select the User's Current Scenario, or from a
list of available scenarios.
If you have placed a Scenario control on the form, you can select to use that scenario for
this control. For more information, see "Scenario control" on page 1008.
Default Value Type a default value for the control. If the user does not type or select a value, the default
value is used for controls that pass values to the underlying script.
Placeholder Text Type a text prompt to display for users. If you type both a default value and placeholder
text, the control displays the default value.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. Data List controls
can only be mapped to string arguments. For more information, see the RapidResponse
Scripting Guide.
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand its purpose and what types of
values it requires.
Read Only Select to make the control read. Users can view the control value but cannot modify it. For
more information, see "Read-only controls" on page 963.
Required Select to make a value for this control required. Users must define a value for this control to
run the form.
For more information, see "Required controls" on page 964.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Control Type Change the type of text control by selecting another control in the drop-down list. You can
change to Text, Multi-Line Text, or Fixed List controls. For more information, see "Change
control types" on page 954.
Static Items
Data Value Type corresponding values that are passed to the script.
If you want the Display Value to pass to the script instead, leave this box blank.
Default Value Type a default value for the control. If the user does not type or select a value, the default
value is used for controls that pass values to the underlying script.
Placeholder Text Type a text prompt to display for users. If you type both a default value and placeholder
text, the control displays the default value.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. Fixed List
controls can only be mapped to string arguments. For more information, see the
RapidResponse Scripting Guide.
Number control
You can add a number control to a form that only accepts numerical values from users. Number controls
can only be mapped to number arguments in a script.
Property Description
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand its purpose and what types of
values it requires.
Read Only Select to make the control read. Users can view the control value but cannot modify it. For
more information, see "Read-only controls" on page 963.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Default Value Type a default value for the control. If the user does not type or select a value, the default
value is used for controls that pass values to the underlying script.
Placeholder Text Type a text prompt to display for users. For example, the text can identify the acceptable
number values for the control, such as Type the cost per part here. If you type both a
default value and placeholder text, the control displays the default value.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. Number controls
can only be mapped to number arguments. For more information, see the RapidResponse
Scripting Guide.
Label Type text in the Label field or type a label directly on the control.
This label displays at the top of the control.
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand the purpose of the control and
what type of value it requires.
For more information, see "Add help to a form" on page 954.
Read Only To make the control read only, click on the switch.
Users can view the control value but cannot modify it. For more information, see "Read-
only controls" on page 963.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Default Value Select a default date for the control. You can define a specific date, keep the default date
value undefined, or select from predefined dates: past, today, or future.
l To set a specific date, select the date unit, such as mm, and then type directly on the
unit.
l To define another type of date, click on Undefined, Past, Today, or Future.
If the user does not type or select a value, the default value is the value passed to the
underlying script.
Depending on the user's default browser, the default date formats might differ.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. Date controls can
only be mapped to date arguments. For more information, see the RapidResponse Scripting
Guide.
Label Type text in the Label field or type a label directly on the control.
This label displays at the top of the control.
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand the purpose of the control and
what type of value it requires.
For more information, see "Add help to a form" on page 954.
Read Only To make the control read only, click on the switch.
Users can view the control value but cannot modify it. For more information, see "Read-
only controls" on page 963.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Default Value To set the default value of the control to True, click the switch. "Checked" displays in the
property field.
When the default value is false, the property field displays "Not Checked".
If the user does not select a value for the check box, the default value is passed to the
underlying script.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. Check Box
controls can only be mapped to Boolean arguments. For more information, see the
RapidResponse Scripting Guide.
File control
You can add a file control to a form that allows users to upload text files up to 10 MB in size. Only .txt,
.tab, and .csv file types are accepted by this control.
For example, using a file control on a form, an administrator can upload an external list of users to add
to a script that generates user accounts. For example, in the form below, users can upload an external
list of users into the form.
Label Type text in the Label field or type a label directly on the control.
This label displays at the top of the control.
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand the purpose of the control and
what type of value it requires.
For more information, see "Add help to a form" on page 954.
Required To make a value for this control required, click on the switch.
Users must define a value for this control to run the form. For more information, see
"Required controls" on page 964.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Placeholder Text Default text displays to prompt users to select a text file to upload.
To change this prompt, type text in the field.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. File controls can
only be mapped to file arguments. For more information, see the RapidResponse Scripting
Guide.
Scenario control
For tasks that include inserting or modifying data using a specific scenario, you can add a scenario
control to a form.
Label Type text in the Label field or type a label directly on the control.
This label displays at the top of the control.
ID A default ID that is unique is generated based on default text or the Label text. You can also
type a unique identifier to associate with this control.
This ID can be used by other controls as a reference. For more information, see "Control
identifiers" on page 962.
Help Type a description of the control to help users understand the purpose of the control and
what type of value it requires.
For more information, see "Add help to a form" on page 954.
Read Only To make the control read only, click on the switch.
Users can view the control value but cannot modify it. For more information, see "Read-
only controls" on page 963.
Visible when Type an expression to show the control when the specified condition is met.
Hidden when Type an expression to hide the control when the specified condition is met.
Same condition Select a visibility condition already specified for another control.
as other control
Enabled when Type an expression to enable the control when the specified condition is met.
Disabled when Type an expression to disable the control when the specified condition is met.
Same condition Select an availability condition already specified for another control.
as other control
Default Value Select a default scenario for the control. You can select the User's Current Scenario, or from
a list of available scenarios.
If the user does not select a scenario, the default value is passed to the underlying script.
NOTE: The form does not run if the user tries to run it with a default scenario they do not
have access to.
Script
Pass value to Select to pass the control value to the script. A script argument is generated for the control
script when the script itself is generated. For more information, see "Managing scripts for forms"
on page 1013.
If the form has no underlying script, a script argument is generated for the control when
the script itself is generated.
If the form has an underlying script, select the argument to map the script to in the Map to
argument field.
For more information, see "Managing scripts for forms" on page 1013.
Map to This field only displays when the form has an underlying script and Pass value to script is
argument selected.
For unmapped controls, the field displays all of the valid script arguments the control can
be mapped to. A valid script argument matches the control type.
For mapped controls, the field displays the script argument the control is mapped to. To
change the argument, select another argument from the drop-down list.
For more information, see "Map form controls" on page 977.
Argument type This field only displays when the form has an underlying script and Pass value to script is
selected.
It displays the type of script argument mapped to the control.
This property cannot be modified and only displays for mapped controls. Scenario controls
can only be mapped to scenario arguments. For more information, see the RapidResponse
Scripting Guide.
Only authors with script authoring permission can create or open and edit the underlying script for a
form. Depending on how you have set up your form authoring team, you might be a form author because
of your business domain expertise or you might be a form and script author who has business domain
and Javascript expertise. For more information about what steps you are responsible for depending on
your authoring permissions, see "Creating forms" on page 945.
Forms must be linked to completed scripts to run. When you create a new form, you must either generate
the form based on an existing script or build a form and then generate a script base for it. The script base
only contains script arguments for all form controls that pass a value to the script. You must add the body
to the script that uses the arguments to perform the action required by the form. The script body must
also include the validation, business logic, and error handling for the script.
You can create customized messages in the script using strings sent back to the form that are dependent
on conditions specified in the underlying script. For more information, see "Custom messages on a form"
on page 1014.
Depending on your permissions, you might be responsible for finishing or editing scripts mapped to
forms. For more information, see "Form authoring permissions" on page 940 and "Creating forms" on
page 945.
For more information about authoring scripts, see the RapidResponse Scripting Guide.
1. In design mode on a form, click on the form toolbar to view properties for the underlying
script.
2. Make your edits to the script.
l In Form Properties, select another available script from the Resource drop-down list.
Up to three buttons can display in the message, and you can specify the label for each button.
Custom messages are created in the underlying script for a form. For more information, see the
RapidResponse Scripting Guide.
Every company owns complex processes that are performed on a regular basis. Often, these processes
can be cumbersome, inefficient, not properly tracked, and not performed consistently from instance to
instance. By defining business processes in RapidResponse you can compile the activities and performers
of a given process in a logical manner, allowing for a consistent execution of processes that occur
frequently within a company.
A typical business process in RapidResponse defines the activities that are performed in a process,
includes links to required resources in the activity instructions, and assigns RapidResponse to perform
the activities. For more information, see "Processes" on page 99.
The following image shows the relationship between processes, process instances, and performers.
Term Definition
Process A logically designed sequence of activities that accomplish a specific goal in the most efficient
manner. In RapidResponse, the processes are defined by process authors and can be shared with
process owners. The process owners are the people responsible for ensuring the processes are
performed when required.
Process An instance of one of the defined processes, created by the process owner. Some aspects of a process
instance instance can be modified.
Process The person responsible for creating process instances and overseeing their progress.
owner
Performer The person responsible for performing the activities defined in a process instance.
l Before creating the business process in RapidResponse, document it in an external source first
and perform a thorough review to ensure it accomplishes the desired goal.
l Have clear and unique names for processes and the activities within each process. Also, keep the
activity names relatively short to ensure that they can be easily read. The verb/noun combination is
recommended, for example, "Review forecasted demand".
l If you make any changes to a process already defined in RapidResponse, ensure to document the
changes in an external source for tracking and auditing purposes.
TIP: To quickly add and name activities, type the activity name, and then press Enter to add
another activity row.
l On the process page, select an activity, and then click Indent Activity . You can also indent an
activity by pressing Tab.
If you want to make a sub-process an activity, click each activity under the sub-process and then
click Outdent Activity . You can also outdent an activity by pressing Shift + Tab.
3. In the Duration box, type the number of days the activity is expected to take.
TIP: You can also change the activity start day and duration directly on the process page by typing
values in the Start on day and Duration columns.
▶Change the activity start day and duration using the Gantt chart
NOTE: To remove users or groups from the activity, on the Performers tab select those you want
to remove, and then click Remove.
Process validation
For each activity in a process, you can specify the RapidResponse users who are to perform the activity.
You can also include links to resources that are used for completing the activity.
When working with a process, you might occasionally see the following dialog box, which indicates that
there are some issues with the process.
l A resource identified in the process is not available on the RapidResponse system you are using.
This can occur if you imported a process from another RapidResponse system but did not import
the required resources, or, when a resource has been deleted from RapidResponse.
l A resource is not shared with a RapidResponse user who requires it to perform an activity.
The Performers list displays the activities that have performers that are not in the RapidResponse
system. This might occur if a RapidResponse user account is deleted or if the process is imported from
another RapidResponse system.
When this dialog box displays, it is recommended that you review and fix the issues if possible, however,
you have the option to continue without fixing the problems.
A key aspect of successfully executed business processes is communication of activity and process
progress to the process owner and performers. In RapidResponse, you can notify performers and process
owners about how a process instance is progressing by including notifications. The notifications you
define can be modified by the process owner for each process instance she creates.
Notifications are sent once a day at a time defined by your RapidResponse administrator, with the
exception of status-based notifications on activities, which are sent when a performer or process owner
changes the status of an activity.
You can add notifications at the process level and at the activity level.
4. In the list at the top of the Add Process Notification dialog box, click the criteria on which you
want to send a notification.
1. Within a process, click the activity for which you want to create notifications, and then on the
process toolbar, click Activity Properties.
2. Select the Override notifications check box.
3. Any notifications that have been defined for all activities are listed in the Send when an activity
is box. You can turn on or turn off any of these notifications by selecting or clearing the
corresponding check box.
4. Click Add.
5. In the list at the top of the Add Process Notification dialog box, click the criteria on which you
want to send a notification.
6. To notify the process owner, select the Process owner check box.
7. To notify performers, click one of the following:
l All performers—notifies all performers involved in the activities.
One of the following options, which change depending on the criteria that is selected in the list
at the top of the dialog box:
l Performers that have not started—available when the selected criteria is Scheduled to start
in or Late starting by.
l Performers that have not finished—available when the selected criteria is Scheduled to
finish in or Late finishing by.
l None—none of the performers are notified.
8. To notify other RapidResponse users not involved in the process or recipients outside of your
company, do any of the following:
l To add other RapidResponse users, click Select Names. In the Select Names dialog box add
the users and groups you want and then click OK.
l To add recipients who do not have a RapidResponse account, click Email Addresses. In the
Email Addresses dialog box, type the email addresses to which you want to send the
notifications. The addresses must be separated by commas or semicolons.
You can create and share responsibility definitions, which allow users to assign and update responsibility
for data. This responsibility information can be displayed in worksheets so that people know who to
contact if there is a problem or they have a question about some data.
The following example illustrates one way a responsibility definition could be used.
Example
Keesha creates a responsibility definition to assign responsibility for parts to buyers. She shares this new
resource with the Buyers group.
Keesha also creates a workbook to allow planners to view key information about parts. In one of the
worksheets, she includes a column showing which buyers are responsible for parts that are bought from
outside suppliers.
Luis, a buyer, uses the responsibility definition to claim responsibility for a long list of items. One of these
items is a yellow LED.
Guillermo, a planner, is concerned about a potential shortage of yellow LEDs. He checks the workbook
that Keesha created, and sees that Luis is the buyer responsible for the yellow LED. He views contact
information for Luis to get his telephone number, then calls him to discuss his concern.
Adding fields
You can select up to five fields that will be used to determine who is responsible for data. For example,
you could create a responsibility definition to assign responsibility for order fulfillment based on
customer, region, and product family.
Place more general fields higher up the list, and more specific ones lower in the list. For example,
product family would come before product.
For more information about assigning responsibility, see the RapidResponse User Guide.
Site controls
You can a add site control to a responsibility definition. If any of the tables used to assign data in this
responsibility definition has site as a key field, users will be able to use the site control to only view
values associated with a specific site for that field.
For example, if someone wants to assign responsibility for planner codes to planners at a particular site,
the site filter could be used to display only codes for that site.
If you do not think that including this control would be helpful, you can simplify the user experience by
not including it.
NOTE: If none of the fields you selected for the responsibility definition comes from a table with
NOTE: You can only use a responsibility definition to assign responsibility for data after the
responsibility definition has been added to the versioned repository.
TIP: You can reorder the fields in the list on the general tab by dragging them and dropping them.
NOTE: When you specify that data can be assigned to the current user only, Administrators and
the owner of the responsibility definition can still use it to assign responsibility for data to any
user.
CAUTION: If you make any changes to the properties of a responsibility definition, any
responsibility assignments that have already been made using this responsibility definition are
deleted.
1. In the Explorer, right-click the responsibility definition and select Edit or Check Out and Edit
, depending on whether or not versioning is turned on in your RapidResponse system.
2. Make the required changes.
3. If versioning is turned on, check in your copy of the responsibility definition to the versioned
repository. For information about checking items in, see "Check in a resource to the versioned
repository" on page 113.
You can create several types of scorecards, which are described in the following table.
Comparison The metric results are compared to a set of targets, which determine the scenarios' overall scores.
with targets The closer the metric results are to the targets, the higher the score is.
You can specify target values in scorecards you create, use annual plan targets, or you can use the
first scenario in the scorecard as a target for the other scenarios.
Time-based The metric results for each scenario are calculated for a specified time period and compared to each
scenario other. A time-based scorecard can use only time-based metrics.
comparison Results in a time-based scorecard can be displayed as either a summary of the entire time period, or
as a value for each period, divided into date buckets.
Time-based The metric results for each scenario are calculated for a specified time period and compared to a set
comparison of targets. The targets are used to calculate overall scores for each period in the scorecard. A time-
with targets based scorecard can use only time-based metrics.
Results in a time-based scorecard can be displayed as either a summary of the entire time period, or
as a value for each period, divided into date buckets. Each period has a separate target and score,
which is summarized in the summary view.
NOTE: Workbook links do not display in scorecards viewed on the RapidResponse mobile client.
In addition to scorecards, two other resources are capable of displaying multi-scenario views:
dashboards and multi-scenario columns in worksheets. Depending on the requirements of your
business process, each resource type provides a comprehensive and comparative view of calculated
data. For more information, see "Dashboards" on page 873 and "Creating multi-scenario worksheets"
on page 265.
Use scorecards when you want to compare scenario values to targets and calculate scores based on
those comparisons.
▶Create a scorecard
NOTE: If you have access to the Changes by Type metric included with RapidResponse, you
should not include it in scorecards that contain targets. The main purpose of this metric is to
generate the detailed worksheets that identify the changes between scenarios. If the Changes by
Type metric is included in a scorecard with targets, no overall scorecard results will display.
TIP: You can also create a scorecard by clicking New Resource on the RapidResponse toolbar
or by right-clicking a resource in the Explorer, selecting New, and then clicking Scorecard .
TIP: You can also duplicate an existing scorecard by selecting the scorecard you want to duplicate
in the Explorer, and then clicking Copy Scorecard on the Actions menu. You can then modify the
scorecard properties to suit your needs.
1. In the Select Metrics dialog box, in the search box, type any portion of the name of the metric or
workbook you want to find.
2. If you want to change how the metric list is searched, click Search Options , and then click one
of the following:
l All—Searches both metrics and workbooks for the words you typed in the search box.
l Metric—Searches only the list of metrics for the words you typed in the search box.
l Workbook—Searches only the list of workbooks for the words you typed in the search box.
3. If you want to change how your search words match the metrics and workbooks in the metric list,
click Search Options , and then click one of the following:
l Match from start—The word you type in the search box can match only the beginning of the
metric or workbook name.
l Match anywhere—The words you type in the search box can match any part of the metric or
workbook name.
4. To clear the search box, click the X button .
NOTE: If you have access to the Changes by Type metric included with RapidResponse, you
should not include it in scorecards that contain targets. This metric’s main purpose is to generate
the detailed worksheets that outline the changes between scenarios. If the Changes by Type
metric is included in a scorecard with targets, no overall scorecard results will display.
NOTE: Before adding metrics to a scorecard, you can find information about them by moving your
pointer over the metric's name in the Select Metrics dialog box. Information about the metric is
displayed in a tooltip.
TIP: You can also create a scorecard by clicking New Resource on the RapidResponse toolbar
or by right-clicking a resource in the Explorer, selecting New , and then clicking Scorecard .
TIP: You can also duplicate an existing scorecard by selecting the scorecard you want to duplicate
in the Explorer, and then clicking Copy Scorecard on the Actions menu. You can then modify the
scorecard properties to suit your needs.
The Today The first date in the bucket that contains the Today date constant is used as the anchor date.
date For example, in a scorecard that shows results for weekly buckets, if today is July 10, the anchor
constant date is July 7, the beginning of the week.
Any of the You can adjust any of the dates described above by a number of calendar periods before or after it.
above dates This can be used to report data from the middle or end of a calendar period.
with an For example, if your company reports forecasts or revenue on Wednesdays, but the week begins
offset on Monday, you can define the anchor date as the beginning of the week plus two work days.
For more information about adding or subtracting dates, see "Date calculations" on page 1255.
Using the time period settings, users can change the number of buckets displayed after the anchor
date, and the size of the scorecard's buckets. If you have included buckets prior to the anchor date,
users can decide whether to view them or not, but they cannot change the amount of time covered by
the scorecard prior to the anchor date.
You might want to allow users to change the settings so that they can view past buckets for context,
then hide the past buckets and compare scenarios' total scores based only on current and future
periods. You might also want to give users flexibility, so they can look at long term or short term
outcomes, depending on the problems they are trying to solve.
If changing the time period settings would be inappropriate, you can opt not to allow users to change
the scorecard's duration. For example, you might want to ensure that users always view the scorecard
using one-month buckets, because viewing day-to-day fluctuations in the scorecard's metrics would
not be meaningful. If you do not select the option to allow users to change the scorecard's duration,
users do not have access to time period settings, and they cannot change the number or size of the
buckets, or decide whether to view buckets prior to the anchor date.
NOTE: If you have access to the Changes by Type metric included with RapidResponse, you
should not include it in scorecards that contain targets. This metric’s main purpose is to generate
the detailed worksheets that outline the changes between scenarios. If the Changes by Type
metric is included in a scorecard with targets, no overall scorecard results will display.
NOTE: Before adding metrics to a scorecard, you can find information about them by moving your
pointer over the metric's name in the Select Metrics dialog box. Information about the metric is
displayed in a tooltip.
TIP: You can also create a scorecard by clicking New Resource on the RapidResponse toolbar
or by right-clicking a resource in the Explorer, selecting New, and then clicking Scorecard .
TIP: You can also duplicate an existing scorecard by selecting the scorecard you want to duplicate
in the Explorer, and then clicking Copy Scorecard on the Actions menu. You can then modify the
scorecard properties to suit your needs.
1. In the New Scorecard or Scorecard Properties dialog box, click the General tab.
2. Click Time Period Settings.
3. If you want users to be able to modify the period the scorecard calculates, select the Allow
scorecard users to change duration check box.
4. If you want to include buckets prior to the anchor date, select Include buckets for periods prior
to the anchor date, and then click one of the following for the First bucket:
TIP: You can also create a scorecard by clicking New Resource on the RapidResponse toolbar.
l In the New Scorecard or Scorecard Properties dialog box, on the General tab, select the Show
scorecard help check box.
l In the New Scorecard or Scorecard Properties dialog box, on the General tab, select the Require
user to select data settings on opening check box.
l In the New Scorecard or Scorecard Properties dialog box, on the General tab, select the
Automatically calculate check box.
CAUTION: Some metrics can take a long time to calculate results. It is recommended you not
automatically calculate scorecards that contain complex metrics.
l In the New Scorecard or Scorecard Properties dialog box, on the General tab, select the Include
the hierarchy panel check box.
1. In the New Scorecard or Scorecard Properties dialog box, on the General tab, in the Show
results as list, click one of the following:
l Actual values—Displays the calculated result for each scenario.
l Differences—Displays the difference between each scenario and the first scenario. The first
scenario displays the actual calculated values for that scenario.
l Differences %—Displays the percentage difference between each scenario and the first
scenario. The first scenario displays the actual calculated values for that scenario.
2. In the Show multi-scenario detail data as area, click one of the following:
l Rows—In the detail worksheets, each scenario's metric results are displayed in a new row.
l Columns—In the detail worksheets, each scenario's metric results are displayed in a multi-
scenario column.
Chart styles
You can add any of the following types of charts.
Bar Charts by Displays each metric's result in a bar chart, with one bar per scenario in the scorecard.
Metric If the scorecard uses targets, the Warning and Critical ranges for each metric can be
displayed as lines in the chart.
Bar Charts by Displays each metric's result in a bar chart, with results for each time period specified
Metric Over in the scorecard and one bar per scenario in the scorecard.
Time If the scorecard uses targets, the Warning and Critical ranges for each metric can be
displayed as lines in the chart.
Summary Bar Displays scores for every scenario and every metric in one chart.
Chart by This chart type can only display scores.
Scenario
▶Add a chart
1. In the New Scorecard or Scorecard Properties dialog box, click the Charts tab.
2. Click New.
3. In the New Chart dialog box, in the Type list, click the type of chart you want to add.
4. In the Name box, type a name for this chart, which is displayed on its tab in the scorecard.
You might want to specify in the title whether the chart shows actual values or scores.
5. In the Style list, click the style you want to apply to the chart.
6. In the Content area, select one of the following:
l Actual values—Displays the calculated value for each metric in the chart. This option is not
available for the Summary Bar Chart by Metric or the Summary Bar Chart by Scenario chart
types.
l Scores—Displays the score for each metric in the chart. This option is available only for
scorecards that include targets.
7. To show or hide the Warning and Critical ranges in a chart that includes targets, select or clear
the Include warning and critical limits check box.
The Warning and Critical limits are always displayed in speedometer charts.
8. If you selected Scores in step 5 and want all the charts to use the same scale, select the Use the
same scale for all metric scores check box.
9. Click OK.
1. In the New Scorecard or Scorecard Properties dialog box, on the Charts tab, click the chart you
want to modify.
2. Click Edit.
3. In the Edit Chart dialog box, make changes to the chart properties.
4. Click OK.
▶Remove a chart
1. In the New Scorecard or Scorecard Properties dialog box, on the Charts tab, click the chart you
want to remove.
2. Click Delete.
1. In the New Scorecard or Scorecard Properties dialog box, click the Charts tab.
2. In the Chart colors area, for color 1, click the color in the Color column.
3. In the color picker, click the color you want to apply to the first metric or scenario in the chart.
This color is applied to the first metric or scenario, depending on the chart type, displayed in the
chart. Each successive color is applied to successive metrics or scenarios.
4. Repeat steps 2 and 3 for the other colors you want to modify.
5. To add another color, click Add, and then in the Color column, click the color you want.
NOTE: You cannot customize the colors used to identify the target values or the Warning and
Critical ranges in charts that show scores.
NOTE: If you expect a scorecard to be accessed frequently using the RapidResponse mobile client,
metric targets are not recommended because the scorecard help is unavailable and users will not
know which data settings have targets defined for them.
NOTE: The scorecard help pane is only displayed if you have help defined for at least one of the
metric worksheets or for the scorecard itself. The help for metrics is displayed only if the metric
workbook displays help by default.
1. In the New Scorecard or Scorecard Properties dialog box, click the Scorecard Help tab.
2. In the text box, type a description of the scorecard, including anything that users need to know.
NOTE: For information about the text editing tools, see "Set text appearance" on page 173.
1. In the New Scorecard or Scorecard Properties dialog box, click the Author Notes tab.
2. In the box, type notes for other scorecard authors.
Some features, including scorecard help and charts are not shown in the mobile client. Using metric
targets is not recommended in scorecards that you expect to be viewed frequently using the mobile
client, since scorecard help is not available to let users know which data settings targets are defined for.
Phone view
When the screen is 640 (or fewer) pixels wide, the display mode switches to list data vertically instead of
in a grid. Users have the option to group data by scenario or by metric. In time-based scorecards, only
one date bucket is shown at a time.
NOTE: Some predefined metric workbooks contain columns that allow drilling to details in the
RapidResponse desktop client, but not the mobile client.
In scorecards, targets enable users to determine how closely a scenario meets these goals, on an
individual metric basis and on an overall basis. Three types of targets are available in scorecards:
This chapter discusses setting metric targets, which you can use to define your company's goals. For more
information about using the results for the first scenario or annual plan figures as scorecard targets, see
"Create a targeted scorecard" on page 1046.
In a targeted scorecard, the score for each metric is calculated using the metric result and the target, and
an overall score is calculated using the individual metric scores and the weight for each metric, as shown
in the following illustration.
Define targets
When a scorecard is configured to use metric targets, you can define a set of targets for any
combination of control settings (filter, site, and so on) that users need to perform their business
processes and to meet the scorecard's goals. For example, if a scorecard includes a filter and site control
and the process you are designing the scorecard for concerns purchased parts, you can create a set of
targets for a combination of the Buy Parts filter and each of your sites.
The targets you specify for a particular combination of settings are used whenever those settings are
selected in the scorecard. You can define only one set of targets for a particular combination of settings.
Include information about the settings that you have defined targets for in the scorecard help. For more
information about scorecard help, see "Add help for a scorecard" on page 1062.
NOTE: If you expect a scorecard to be accessed frequently using the RapidResponse mobile client,
metric targets are not recommended because the scorecard help is unavailable and users will not
know which data settings have targets defined for them.
If you are defining targets for a scorecard that includes a hierarchy, you can specify target values for any
level of the hierarchy.
If the scorecard is time-based, you must define targets for each bucket. In the summary view, the
individual bucket targets are added to determine the overall target for each metric.
1. In the Explorer, double-click the scorecard you want to define targets for.
2. On the scorecard toolbar, click Data Settings .
3. In the Data Settings dialog box, specify the filter, site, and other settings you want to define the
targets for.
4. Click OK.
5. In the scorecard's Target column, type the value for a metric's target, and then press Enter.
6. Repeat step 5 for each metric in the scorecard.
7. On the File menu, click Save Data.
8. Repeat steps 2-7 for each set of targets you want to define.
1. In the Explorer, double-click the scorecard you want to define targets for.
2. On the scorecard toolbar, click Data Settings .
3. In the Data Settings dialog box, specify the filter, site, and other settings you want to define the
targets for.
4. Click OK.
5. If the scorecard is displaying the summary view, on the scorecard toolbar, click Bucket Data by
Date .
6. In a metric's Target row, type the target value for each bucket.
7. Repeat step 6 for each metric in the scorecard.
8. On the File menu, click Save Data.
9. Optionally click Bucket Data by Date to return the scorecard to the summary view, and verify
the target values for each metric are correct.
NOTE: If a scorecard user increases the time period the scorecard analyzes, the additional periods
will not have targets defined. You can prevent this by either not allowing users to change the
duration, or by increasing the duration and then defining targets for the additional periods.
TIP: You can also save the changes by clicking Save Data on the RapidResponse toolbar.
Modify targets
You can modify the targets you have created. A set of targets is defined for a specific combination of
settings (site, filter, hierarchy, and so on). You can view all the combinations of settings that have targets
defined, and then load the settings in the scorecard to modify the targets.
For targets that do not have a currency specified, if you modify targets that were inserted by a user who
uses a different preferred currency, the value you type is saved in your preferred currency. Otherwise,
the value you type is saved in the currency specified by the metric.
1. In the Explorer, double-click the scorecard you want to modify targets for.
2. On the scorecard toolbar, click Target Settings on the scorecard toolbar.
The Target Settings dialog box opens, showing each combination of settings that has targets defined.
NOTE: The Target Settings button is available only in scorecards that can have targets
defined. The button is not available in scorecards that use the first scenario as the target.
TIP: You can also open the Target Settings dialog box by clicking Target Settings on the View
menu.
1. In the Target Settings dialog box, click the set of settings you want to modify targets for.
2. Click Apply Settings.
3. If the scorecard is time-based and is showing the summary view, click Bucket Data by Date on
the scorecard toolbar.
4. In the scorecard's Target column, modify the values.
5. On the File menu, click Save Data.
1. In the Explorer, click the scorecard you want to modify target weights for.
2. On the Actions menu, click Properties.
3. Click the Metrics tab, and then in the Metrics list, modify the values in the Weight column.
Delete targets
If a set of metric targets is no longer required, you can delete it from the scorecard. You might do this if,
for example, one of the resources used in the settings for a set of targets has been deleted, or if the
targets were defined for the wrong settings.
Remember to update the information about data settings in the scorecard help. For more information
about scorecard help, see "Add help for a scorecard" on page 1062.
1. In the Explorer, double-click the scorecard you want to modify targets for.
2. On the View menu, click Target Settings.
3. In the Target Settings dialog box, click the filter settings you want to delete targets for.
4. Click Delete Targets.
5. In the confirmation dialog box, click OK.
TIP: You can also delete a set of targets when viewing the scorecard by selecting each target value
and pressing Delete. When you save the data changes, the set of targets is removed from the
Target Settings dialog box.
TIP: You can also open the Target Settings dialog box by clicking Target Settings on the
scorecard toolbar.
You can modify settings for a scorecard including which metrics it uses, the charts it displays, and resolve
any missing resources it might be linked to.
Modifying scorecards
You can modify any private scorecards you create and public scorecards that you own and have checked
out. If you modify a scorecard that another user currently has open, the changes in the scorecard are
displayed once that users closes and reopens it.
▶Modify a scorecard
1. For a private scorecard, continue to step 2. If the scorecard is a public resource, you must first
check it out of the versioned repository, For more information, see "Check out a resource from the
versioned repository" on page 111.
2. In the Explorer, click the scorecard you want to modify.
3. On the Actions menu, click Properties.
4. On the General tab, specify any of the following properties.
l Whether scorecard users are prompted to select data settings when the open the scorecard.
For more information, see "Prompt users for data settings" on page 1057.
l Whether the scorecard automatically calculates results. For more information, see
"Automatically calculate results" on page 1057.
l Whether the scorecard includes a hierarchy. For more information, see "Include a hierarchy in a
scorecard" on page 1057.
l Whether the scorecard includes targets. For more information, see "Create a targeted
scorecard" on page 1046.
l Whether the scorecard uses targets you specify or if the targets are taken from the first
scenario in the scorecard. For more information, see "Create a targeted scorecard" on page
1046.
TIP: You can also modify a scorecard's properties by right-clicking a scorecard in the Explorer and
selecting Properties , or by selecting the scorecard you want to modify and then pressing ALT
+ ENTER.
TIP: Pause the pointer over a metric in the Select Metrics dialog box to see more information
about the metric.
TIP: You can also modify a scorecard's properties by right-clicking a scorecard in the Explorer and
selecting Properties , or by selecting the scorecard you want to modify and then pressing ALT
+ ENTER.
Metrics calculate differences between data sets and then display those differences for comparison. All
metrics can only function and display in metric worksheets in a metric workbook.
Scorecards use metrics to calculate the performance of scenarios which are then compared in the
scorecard.
About metrics
Using scorecards, users can compare data between two or more scenarios as well as against defined
targets. This is accomplished by metrics that calculate and display the differences between data sets. A
metric returns a single number summarizing the quantitative values for a defined measure such as late
orders, revenue, or critical actions. Metrics can be defined against input data or calculated data, and
RapidResponse includes a number of standard metrics. You can create new metrics and links to
underlying data details that support them.
A metric consists of two types of worksheets.
l Metric worksheet—Each metric requires one metric worksheet. This worksheet is designed to
return a single record showing a quantitative summary value that can be measured against actual
targets. When creating metric worksheets, you need to decide how the metric will be measured in
scorecards that have targets. That is, will a result higher or lower than the specified target be
interpreted as positive or negative. For example, if the metric calculates inventory data, a result
lower than the target generally indicates a positive trend. Conversely, if the metric calculates
revenue for a particular product line, a result higher than the target generally indicates a positive
trend. For information about creating metric worksheets, see "Create table-based metric
worksheets" on page 1079 and "Create composite metric worksheets" on page 1081.
l Detail worksheet—Each metric typically has at least one detail worksheet. Such worksheets are
designed to return detailed records relating to the metric worksheet, and can be viewed within the
Each metric workbook can contain multiple metrics. Each metric is identified by a single metric
worksheet, and each metric worksheet defines a link between the metric and the detail worksheets that
provide detailed data about the metric. It is also possible to associate the same detail worksheet(s) with
multiple metric worksheets. Some metric worksheets do not have any detail worksheets, and only
summary information for those metrics can be displayed.
For example, RapidResponse includes a metric named “Late Customer Orders”. Depending on how a
scorecard has been set up, the summary metric returns either the difference between the number of
late orders and a defined target, or simply a count of the total number of late customer orders as shown
in the following illustration.
The detail worksheets associated with this metric provide further information about these late orders
such as the revenue, quantity, and number of days each order is late.
NOTE: Metric workbooks are identified in the Explorer with the icon. These workbooks are not
intended for viewing by users outside of scorecards.
NOTE: Metric worksheets are not compatible with action buttons on the workbook toolbar. If you
add a metric worksheet to a workbook with an action button, the button is removed from the
toolbar. For more information, see "Create workbook toolbar action buttons" on page 229.
NOTE: For more information about scorecards, see "Authoring scorecards" on page 1043.
CAUTION: The Metric option can also be selected for any existing workbook. However, doing so
automatically converts each existing worksheet in the workbook to a detail worksheet. It is
recommended that you first create the metric workbook, before creating and adding the required
metric worksheets.
NOTE: If you do not display the workbook help, the help for the metric worksheets is not
displayed in scorecards that use those metrics. For more information, see "Add help for a
scorecard" on page 1062.
TIP: You can also create a workbook by clicking New Resource on the RapidResponse toolbar.
NOTE: When creating metric worksheets, it is recommended that you add help to provide users
with an understanding of the purpose and function of the metrics. For more information, see
"Add worksheet help" on page 335.
NOTE: When creating a metric to be used in scorecards with annual plan targets, it is good
practice to give the worksheet a name that is similar, or identical, to the name of the annual plan
category that it is intended to be used with. This way, scorecard authors can be confident that
they are using the metric with the appropriate target. For information about scorecard target
options, see "Create a targeted scorecard" on page 1046.
1. In the New Workbook or Workbook Properties dialog box for a metric workbook, click the
Worksheets tab.
2. Click the Worksheets tab, click New, and then click Metric Worksheet.
The New Metric Worksheet dialog box opens with the General tab selected.
3. In the Name box, type the name of the metric as you want it to display in scorecards.
4. In the Table list, click a table on which to base the metric worksheet. The table should be
compatible with the Part or Constraint tables. However, if your organization has enabled the
Capacity Manager module, you can also select a table compatible with the WorkCenter table.
5. Click the Columns tab, and then click New Column.
6. In the Expression box, type a valid query expression to define this column, or click Expression
Builder to open the Expression Builder, which assists you in selecting fields, operators, and
1. In the New Metric Worksheet or Metric Worksheet Properties dialog box, click the General tab.
2. In the Desirable results are area, click one of the following, depending on how you want targets
associated with this metric to be interpreted.
l High—higher results are desirable. Target scores are calculated as Result/Target
l Low—lower results are desirable. Target scores are calculated as 1 + ((Target-
Results)/Target).
3. In the Warning box, type the percentage score that determines when the metric's result is in the
Warning range.
4. In the Critical box, type the percentage score that determines when the metric's result is in the
Critical range.
5. If you want the metric to analyze results for a specific period of time, select the Calculate results
for a specific time period check box.
For information about specifying the metric's time period, see "Create time-based metrics" on
page 1090.
6. If the metric is time-based, in the Results are area, click one of the following:
l Sum—For each time period, the metric calculates the sum of results and the sum of targets.
l Average—For each time period, the metric calculates the average of results and the average
of targets. You should use this option if the metric calculates a percentage.
NOTE: When creating metric worksheets, it is recommended that you add help to provide users
with an understanding of the purpose and function of the metrics. For more information, see
"Add worksheet help" on page 335.
1. Create the component worksheets to be used as the composite worksheet's base. For more
information, see "Create a table-based worksheet" on page 347 or "Create detail worksheets for
metrics" on page 1084.
2. In the New Workbook or Workbook Properties dialog box for a metric workbook, click the
Worksheets tab.
3. Click New, and then click Composite Metric Worksheet.
4. In the New Composite Metric Worksheet dialog box, on the General tab, in the Name box, type
a name for the metric.
5. In the Component worksheets area, click Add.
6. In the Add Component Worksheet dialog box, click the worksheet you want to use as the metric
worksheet's base, and then click OK.
7. Repeat step 6 for each worksheet you want to use as the composite worksheet's base.
For the first additional component worksheet you add, select whether you want to merge the
records based on the grouping columns or append the records. For more information, see
"Understanding how component worksheets are combined" on page 469.
8. Click the Columns tab.
9. In the Columns in this worksheet list, do the following for each of the dimension columns in the
worksheet:
l Click the dimension column.
l Click Delete Column.
1. In the New Composite Metric Worksheet or Composite Metric Worksheet Properties dialog
box, click the Group tab.
2. Ensure the Group data check box is selected.
If the metric is time-based, the Group data and Bucket data by date check boxes will both be
selected and unavailable.
3. In the Columns list, in the Grouping Rule column, click the rule you want to use to summarize
the data in the metric column.
4. Click the Filtering tab.
5. In the Worksheet filter expression box, type a filter expression to limit the records being
summarized by the metric, if required.
You can also click Expression Builder to open the Expression Builder, which assists you in adding
fields, operators, and variables to your query expressions. For more information, see "Creating
expressions with Expression Builder" on page 1117.
1. In the New Composite Metric Worksheet or Composite Metric Worksheet Properties dialog
box, click the General tab.
2. In the Desirable results are area, click one of the following, depending on how you want targets
associated with this metric to be interpreted.
l High—higher results are desirable. Target scores are calculated as Result/Target. If the
target is zero, results greater than zero are assigned a score of 101%.
l Low—lower results are desirable. Target scores are calculated as 1 + ((Target-
Results)/Target). If the target is zero, results less than zero are assigned a score of 101%.
3. In the Warning area, type the percentage score that determines when the metric's result is in the
Warning range.
4. In the Critical area, type the percentage score that determines when the metric's result is in the
Critical range.
5. If you want the metric to analyze results for a specific period of time, select the Calculate results
for a specific time period check box.
For information about specifying the metric's time period, see "Create time-based metrics" on
page 1090.
1. In the New Workbook or Workbook Properties dialog box for a metric workbook, click the
Worksheets tab.
2. Click New, and then click Worksheet (Table-based).
3. In the New Worksheet dialog box, in the Name box, type the name of the worksheet. This is the
name that users see when viewing this worksheet in a scorecard.
4. In the Table list, click a table on which to base the worksheet.
5. Click the Columns tab.
6. Add columns to the worksheet using one of the following methods:
l Click Add Fields to select and add fields from the RapidResponse database.
Or
l Click New Column.
l In the Header box, type the name of the column. If the column will display data from multiple
scenarios, use a pipe symbol (|) to create a two-row column header. For more information, see
"Define column headers" on page 299.
l In the Expression box, type a valid query expression to define this column, or click Expression
Builder to open the Expression Builder, which assists you in selecting fields, operators, and
variables to add to your expression. For more information about Expression Builder, see
"Creating expressions with Expression Builder" on page 1117.
7. If you want the column to display separate results for each scenario in a scorecard, on the Data
Options tab, select the Multi-scenario check box. Otherwise, the column will display only once in
the worksheet.
CAUTION: If the worksheet contains multi-scenario columns, the sort order (on the Sort tab)
must match the column order (on the Columns tab).
TIP: To enhance the readability of your detail worksheets, you should place all multi-scenario
columns adjacent to another (typically, after all other columns have been added).
1. In the New Workbook or Workbook Properties dialog box for a metric workbook, click the
Worksheets tab.
2. Click New, and then click Composite Worksheet.
3. In the New Composite Worksheet dialog box, in the Name box, type a name for the worksheet.
4. In the Component worksheets area, click Add.
5. In the Add Component Worksheet dialog box, click the worksheet you want to use as the
composite worksheet's base, and then click Add.
6. Repeat step 5 for each component worksheet you want to add.
When you add the first additional component worksheet, select how you want to combine the
worksheets. For more information, see "Designing component worksheets" on page 481.
7. Click the Columns tab.
8. If necessary, delete any columns that you do not want to display in the detail worksheet.
9. If necessary, add columns to the worksheet by doing the following:
l Click New Column.
l In the Header box, type the name of the column. If the column will display data from multiple
scenarios, use a pipe symbol (|) to create a two-row column header. For more information, see
"Define column headers" on page 299.
l In the Expression box, type a valid query expression to define this column, or click Expression
Builder to open the Expression Builder, which assists you in selecting fields, operators, and
l You can only add a drill link to the column containing the worksheet's metric, which must be the
last column in the metric worksheet's properties.
l In a metric worksheet, you cannot create a drill link from a column to another worksheet in the
same workbook. There is a different process for linking to detail worksheets within the same
metric workbook. For information, see "Linking to detail worksheets within the same metric
workbook" on page 1089
l Drill links in metric worksheets cannot be conditional.
Jennifer then opens the properties of the metric worksheet containing the On-Time Delivery (%) metric.
On the Columns tab, she selects the last column: On-Time Delivery (%). She selects the Drilling tab and
adds a new Drill to Worksheet link.
Jennifer saves her changes and checks the metric workbook back into the versioned repository. She
then opens the Skyco Priorities scorecard to test the new drill link, and clicks on the Baseline Scenario's
metric result for the On-Time Delivery (%) metric for June 2015.
To be valid, a detail worksheet must contain at least one multi-scenario column. This means that detail
worksheets within a metric workbook cannot be used to edit data.
1. In the New Metric Worksheet or Metric Worksheet Properties dialog box, click the General tab.
2. In the Detail worksheets area, click Select Worksheets.
3. In the Select Worksheets dialog box, click the detail worksheet you want to link to the metric
worksheet, and then click Add.
4. Repeat step 3 for each detail worksheet you want to link to the metric worksheet.
5. Click OK.
6. If the metric is time-based, do the following for each detail worksheet:
l In the Detail worksheets box, click the down arrow in the Time Period Column column.
l In the list, click a date column, which is used to determine which detail records are used in
calculating the summary results in each time period.
7. Click OK.
The Today The first date in the bucket that contains the Today date constant is used as the start date.
date For example, in a scorecard that shows results for weekly buckets, if today is July 10, the start date
constant is July 7, the beginning of the week.
Any of the Any of the above dates can have a number of calendar periods added to or subtracted from it. This
above dates offsets the date by the specified number of periods, and can be used to report data from the
with an middle or end of a calendar period.
offset For example, if your company reports forecasts or revenue on Wednesdays, but the week begins on
Monday, you can define the start date as the beginning of the week plus two work days.
After specifying the start date, you can specify the duration for the metric calculations. You must specify
a number of calendar periods and a calendar, and the metric will calculate results for the number of
periods you specified. For example, if you specify 12 calendar periods and the Week calendar, the metric
calculates results for the 12 weeks after the start date.
The metric worksheet always displays results bucketed by the calendar period you have specified for the
duration. If your company has defined labels for buckets, you can show those labels in the metric
worksheet instead of the dates. For example, if the dates in your Month calendar use the month name
and year as labels, your worksheet will show 'August 2008' instead of '08-01-08' for a monthly bucket for
August. For more information, contact your RapidResponse administrator.
When the metric is used in a scorecard, the scorecard's start date, duration, and bucket settings are
used instead of the metric's. However, you can use the start date, duration, and bucket settings
1. In the New Metric Worksheet or Metric Worksheet Properties dialog box, on the General tab,
select the Calculate results for a specific time period check box.
2. Click the Columns tab.
3. Add a date column to the worksheet. For more information, see "Add and remove columns" on
page 358.
4. Ensure the column you added in step 3 is the first column in the Columns in this worksheet list.
5. Optionally, add columns to calculate supporting data for the metric.
6. Add a calculated column to calculate the metric. Ensure this is the last column in the Columns in
this worksheet list. For more information, see "Create table-based metric worksheets" on page
1079.
7. Click the Group tab.
8. In the column list, change the grouping function for the column you added in step 3 to Group by.
9. Ensure the grouping function for the columns you added in step 5 is not Group By and that the
grouping function for the column you added in step 6 is Sum or Average.
10. Click Bucket Settings.
11. In the Apply area, click one of the following:
l Workbook bucket settings—defines default buckets for the workbook. These bucket
settings will be used for any worksheet that you do not create specific bucket settings for.
l Bucket settings specific to this worksheet—defines buckets for only this worksheet.
12. In the Start area, click one of the following:
l Planning date.
l Today.
l Beginning of current, and then select a calendar from the list.
13. If you want to offset the start date, do the following:
l Select the Adjust by check box.
l In the Adjust by box, type the number of calendar periods you want to offset the start date
by.
l In the list, select the calendar to use to adjust the anchor date.
For example, type 2 in the Adjust by box and then select Workday from the list to move the start
date forward by two work days, or type -1 in the Adjust by box and then select Week from the
list to move the start date back one week. For more information about adding and subtracting
dates, see "Date calculations" on page 1255.
14. In the Duration box, type the number of calendar periods to display results for, and then in the
list, select the calendar to use for setting the duration.
For example, if you type 4 and then select the Month calendar, the scorecard will calculate results
for the four months following the start date.
15. In the Bucket labels area, click Actual dates or Alternate labels.
16. Click OK.
l MetricHorizonCalendar—Specifies the calendar to be used for the metric horizon. The default
value for this variable is Everyday. The Everyday calendar has no entries defined for it, and thus
ensures that every calendar day is considered.
l MetricHorizonUnits—Specifies the number of time units that define the metric horizon. The
default value for this variable is 365.
Many of the metrics included in the predefined Financial Metrics workbooks make use of these profile
variables. By changing their values, you determine the time horizon to be used by all of these metrics.
The following shows a typical usage of these variables within a filter expression:
Date < Part.PlanningCalendars.RunDate.FirstDate + $MetricHorizonUnits
$MetricHorizonCalendar
Using the default values for the profile variables, the previous expression would return all records where
the date is earlier than 1 calendar year (365 days) after the
Part.PlanningCalendars.RunDate.FirstDate.
NOTE: For an introduction to profile variables, see "Profile variables" on page 1296.
NOTE: For information about changing the metric horizon, see “Setting the metric horizon for
financial metrics” in the the RapidResponse Administration Guide.
l Clear to Build Metrics—includes metric summary and detail worksheets that provide visibility to
current and projected clear and blocked work orders.
l Data Integrity Metrics - Material—includes metric summary and detail worksheets that provide
visibility into errors and issues within your manufacturing data.
l Demand Management Metrics—includes metric summary and detail worksheets that provide
visibility to forecast quantities, forecast values, late orders, and late order revenue.
l Engineering Change Metrics—includes metric summary and detail worksheets used to analyze an
engineering change.
If a metric is no longer required, you can delete it. You can also delete the detail worksheets linked to
the metric worksheet if they are not used by other metrics.
▶Delete a metric
1. In the Explorer, select the workbook containing the metric you want to delete.
2. On the File menu, click Properties.
3. Click the Worksheets tab.
4. In the Worksheets in this workbook list, do the following:
l Select the detail worksheet associated with the metric, and then click Delete.
l Select each summary worksheet associated with the metric, and then click Delete. Do not
delete the summary worksheets if they are associated with other metrics.
5. Click OK to close the Workbook Properties dialog box.
NOTE: When making changes to an existing metric workbook (either by modifying or deleting
worksheets), it is recommended that you first create a private copy of the workbook and make the
changes there. You can then share the workbook to yourself, and create private scorecards based
on it to ensure that all metrics work correctly. Once satisfied with your changes, you can then
share the workbook to additional users as appropriate. For more information about sharing
workbooks, see "Share resources" on page 128.
RapidResponse provides predefined metric workbooks you can use to create scorecards. The following
tables provide a brief description of each metric and the detailed worksheets included:
Clear to Build Metrics workbook 1097
CPG Metrics - by Date workbook 1098
Data Integrity Metrics - Material workbook 1100
Demand Management Metrics workbook 1100
Financial Metrics - Corporate workbook 1102
Financial Metrics - Corporate - By Date workbook 1103
Financial Metrics - Operations workbook 1104
Inventory Metrics - By Date workbook 1104
Multi-Enterprise Management Metrics workbook 1105
Operations Metrics workbook 1107
Operations Metrics - By Date workbook 1111
Responsibility Metrics workbook 1111
Metric Details
Current Blocked Counts the number of current production work orders that do not have all their dependent
Work Orders requirements satisfied from on hand inventory.
Current Blocked Work Orders (Differences Only)
Displays changes in current work orders whose components are not satisfied from inventory
in at least one of the selected scenarios.
Current Clear Work Counts the number of current production work orders that have all their dependent
Orders requirements satisfied from on hand inventory.
Current Clear Work Orders (Differences Only)
Displays changes in current work orders whose components are satisfied from inventory in
at least one of the selected scenarios.
Current Blocked Counts the number of current planned production orders that do not have all their
Planned Orders dependent requirements satisfied from on hand inventory.
Current Blocked Planned Orders (Differences Only)
Displays changes in current planned production orders whose components are not satisfied
from inventory in at least one of the selected scenarios.
Current Clear Counts the number of current production planned orders that have all their dependent
Planned Orders requirements satisfied from on hand inventory.
Current Clear Planned Orders (Differences Only)
Displays changes in current work orders whose components are satisfied from inventory in
at least one of the selected scenarios.
Projected Late Work Counts the number of production orders that are not current and are projected to be
Orders available late.
Projected Late Work Orders (Differences Only)
Displays changes in production orders that are not current and are projected to be available
late in at least one of the selected scenarios.
Projected On-Time Counts the number of production orders that are not current and are projected to be
Work Orders available on-time.
Projected On-Time Work Orders (Differences Only)
Displays changes in production orders that are not current and are projected to be available
on-time in at least one of the selected scenarios.
Projected Late Counts the number of planned production orders that are not current and are projected to
Planned Orders be late.
Projected Late Planned Orders (Differences Only)
Displays changes in planned production orders that are not current and are projected to be
late in at least one of the selected scenarios.
Projected On-Time Counts the number of planned production orders that are not current and are projected to
Planned Orders be on-time.
Projected On-Time Planned Orders (Differences Only)
Displays changes in planned production orders that are not current and are projected to be
on-time in at least one of the selected scenarios.
Days Average number of calendar periods of demand for a part that can be covered by supply of the part
Forward over the same period. Supplies are considered on their available dates.
Coverage
(Available)
Days Forward Coverage (Available): by Period
Displays a value for each period in which one of the following values has changed from scenario to
scenario: Coverage, Demand Period, Excess Supply and Excess Total Cost. Supplies are considered
on their available dates.
Projected Total ending inventory value for this metric horizon. The ending inventory is calculated by adding
Ending the previous period inventory to the current period supply and then subtracting the current period
Inventory demand. The value is displayed using the currency that is specified in your personal RapidResponse
settings.
Projected Ending Inventory: by Period
Displays a value for each period in which one of the following values has changed from scenario to
scenario: Ending Quantity, Ending Value.
% Safety Average ending inventory, expressed as a percentage of the safety stock quantity for the part for
the period. Only parts with safety stock are considered. If none of the selected parts has safety
stock, the result is 0%.
% Safety: by Part
Displays a value for each period in which one of the following value has changed from scenario to
scenario: Ending Quantity and Safety Stock.
% Safety Percentage of parts that are in compliance with safety stock policy. A part is in compliance when its
Stock period ending inventory is at or above its safety stock level on the last day of the bucket.
Compliance Only parts with safety stock are considered. If none of the selected parts has safety stock, the result
is 0%.
Key The available load that is scheduled to be utilized for constraints for this metric horizon. Utilization
Constraint is expressed as a percentage. The constraint utilization is calculated by dividing the scheduled
Utilization constraint usage by the available constraints and expressing it as a percentage. Note that if you are
using pre-planning of constrained constraints the Load date can be earlier than where it would be if
you had more available capacity.
Key Constraint Utilization: by Period
This worksheet shows the total constraint availability, and load across a series of time periods.
Customer The total number of late units for all parts and sites selected for customer orders and forecast.
Service Risk
Customer Service Risk: by Period
Displays detailed information about late customer orders.
Metric Details
Data Provides the number of parts with potential data errors. Errors are defined in five categories: Master
Integrity Data, Part Source, Bill of Material, Demand, and Supply.
Issues
(Parts)
Gross Provides the Gross Margin (Revenue - Cost of Goods Sold) for those demands that have already
Margin for been delivered in the following three quarters.
Current
Quarter
Quarterly Margin by Part
Displays the details for the Gross Margin grouped by part and site. It also provides the Gross Margin
for each of the next three quarters as well as the Margin ((Revenue - Cost of Goods Sold)/Revenue
in %).
Quarter Reports the number of demands (forecast and sales orders) that are due in the current quarter but
End Late are projected to be available in the next quarter.
Orders
Quarter End Late Orders Details
Provides the detail information for the demands that are due in the current quarter but are projected
to be available in the next quarter.
Quarter Displays the value of the projected inventory at the end of the quarter based on current demands
End and supplies.
Inventory
Quarter End Inventory Details
Reports the projected inventory at the end of the quarter in units and dollars per part based on
current demands and supplies. Also displayed is the target ending inventory in units and dollars per
part calculated based on the safety stock quantity for the part.
Metric Details
Cost Of Displays the planned cost of goods sold for all independent demands, including forecasts, available
Goods within the metric horizon. The planned cost of goods sold values reflect the costs of the on-hand
Sold - quantities, scheduled receipts, and planned orders used to satisfy each independent demand.
Planned
COGS - Planned: by Period
Displays a value for each independent demand, sorted by period, in which one of the following values
has changed from scenario to scenario: COGS Standard, COGS Planned, Material Planned, Labor
Planned, Overhead Planned, Overhead2 Planned.
Gross Displays the planned gross margin for all independent demands, including forecasts. Planned gross
Margin - margin is calculated as revenue (based on unit selling price) less planned cost of goods sold. Planned
Planned cost of goods sold reflects the material, labor, and overhead costs of the on-hand quantities,
scheduled receipts, and planned orders used to satisfy each demand.
Gross Displays the planned gross margin percentage for all independent demands, including forecasts.
Margin - Planned margin percentage is calculated as planned gross margin divided by revenue.
Planned
(%)
Gross Margin - Planned: by Period
Displays a value for each period in which one of the following values has changed from scenario to
scenario: GM Standard, GM Planned, Revenue, COGS Standard, and COGS Planned.
Gross Displays the standard gross margin for all independent demands, including forecasts. Standard gross
Margin - margin is calculated as revenue less standard costs using the independent demand's effective
Standard quantity. Revenue is based on unit selling price or the part's average selling price. Standard costs are
based on the associated part's standard unit cost.
Gross Margin - Standard: by Period
Displays a value for each period in which one of the following values has changed from scenario to
scenario: Gross Margin Standard, Gross Margin Period, Revenue, COGS Standard, COGS Planned.
Spend - Displays the total spent on material, labor, and overhead costs for all committed and planned supplies.
Planned
Spend - Planned by Period
Displays a summary record for each month where one of the following values has changed from
scenario to scenario: Total, Material, Labor, Overhead, Overhead2.
Metric Details
Cost of Displays the standard cost of goods sold for all independent demands, including forecasts. Standard
Goods costs of goods sold is calculated by multiplying the independent demand's effective (unconsumed)
Sold - quantity by the standard unit cost of the part the demand is for.
Standard
COGS - Standard: by Period
Displays the standard cost of goods sold for all independent demands, sorted by period, including
forecasts. Standard cost of goods sold is calculated by multiplying the independent demand's
effective (unconsumed) quantity by the standard unit cost of the part the demand is for.
Gross Displays the standard gross margin percentage for all independent demands, including forecasts.
Margin - Standard gross margin percentage is calculated as gross margin divided by revenue. Standard gross
Standard margin is calculated as revenue less standard unit costs using the independent demand's effective
(%) (unconsumed) quantity. Revenue is based on unit selling price or the part's average selling price.
Standard costs are based on the associated part's standard unit cost.
Gross Margin - Standard: by Period
Displays a value for each period in which one of the following values has changed from scenario to
scenario: Gross Margin Standard, Gross Margin Period, Revenue, COGS Standard, COGS Planned.
Revenue Displays the revenue for all independent demands, including forecast. Revenue is calculated from the
independent demand's effective quantity and unit selling price or the part's average selling price.
Revenue: by Period
Displays a value for each period in which one of the following values has changed from scenario to
scenario: Gross Margin Planned, Gross Margin Period, Revenue, Period, COGS Standard,
COGS Planned.
Metric Details
Inventory Lets you compare the number of inventory turns during the first 365 days. Inventory turns are
Turns - calculated as planned cost of goods sold during the first year divided by the average first-year
1st Year inventory value.
Planned
Inventory Turns Detail
Consists of a single record showing the planned Cost Of Goods Sold (COGS) over the next 365 days
and the average inventory during the same time.
Projected Displays the projected ending inventory balance. Inventory balance is calculated by considering on-
Ending hand quantities, total supply, and total demand by period.
Inventory
Projected Ending Inventory Details
Displays a value for each period in which Projected Ending Inventory has changed from scenario to
scenario.
Metric Details
Multi- Provides the total value of excess inventory for all parts and sites selected. Excess is calculated as all
Enterprise supply (on-hand plus on-order) that is not planned to be used within the next 365 days and is also
Excess not needed to satisfy fixed safety stock levels.
Total Excess by Part
Shows supply, demand, and excess by part and site.
Late Calculates the total number of supply orders (whether firm, planned, or generated by the
Supplies calculations) that are projected to be available later than the date of the demand they are intended
to satisfy.
Late Supply Summary
Lists all parts with late supply in any of the selected scenarios.
Late Counts the number of dates where there is Brand Owner demand. It then compares the number of
Outsourced these dates where the running balance (cumulative balance) of outsourced supply is less than the
Supply (%) running balance of the current requirement. The ratio is reported as a percent.
On Time Counts the number of outsourced parts where there is Brand Owner demand. It then compares the
Outsourced number of these dates where the running balance (cumulative balance) of outsourced supply is
Supply (%) greater than or equal to the running balance of the current requirement. This ratio is reported as a
percent.
Outsourced Supply Summary
Summarizes for all parts, by Reference Part, Brand Location, and CM sites, if the committed and
projected available outsourced deliveries meets the stated current requirement.
Parts with Counts the number of outsourced parts where the running balance (cumulative balance) of
Excess committed and projected available outsourced supply exceeds the running total (cumulative total)
Outsourced of the current requirements by more than the limit defined by the requirement target.
Supply
Outsourced Excess Summary
Summarizes for all parts whether the committed and projected available outsourced deliveries
meets the stated current requirement.
Parts with Counts the number of parts where the nettable inventory exceeds the requirement target.
Inventory
Exceeding
Target
Inventory Shows the value of inventory where the nettable inventory exceeds the requirement target.
Exceeding
Target
Excess Inventory by Part
Shows, by reference part and part, the value of inventory where the nettable inventory exceeds the
requirement target.
Parts with Counts the number of parts where the nettable inventory is below the requirement target.
Inventory
Below
Target
Metric Details
Changes Identifies purchase order, work order, customer order, forecast, part master, and order policy changes
by Type between scenarios. A placeholder value, -1, is displayed for this metric in a scorecard.
Purchase Order Changes
Displays any purchase orders where either the order due date or order quantity have changed. This
includes any new or deleted purchase orders.
OnHand Changes
Displays details about any on hand inventory where the quantity or number of inventory records have
changed.
Inventory Displays the dollar value of average first year inventory, including in-process inventory. Inventory
1st Year balances are valued at standard unit cost. In-process inventory is valued at the costs associated with
Average the part source used to create the in-process supply.
Average Inventory by Planner
Displays the dollar value of average first year inventory associated with each planner.
Late Displays the total number of late customer orders. Customer orders are considered late if their
Customer available date is later than their due date.
Orders
Purchase The value of purchase orders classified as excess. An order is excess if none of the supply is needed to
Order satisfy demand within the next 365 days (including safety stock), or that some portion of it is not
Excess needed at all.
Total The total value of excess inventory for all parts and sites selected. Excess is calculated as all supply (on
Excess hand plus on order) that is not planned to be used within the next 365 days and is also not needed to
satisfy fixed safety stock levels.
Excess by Part
Shows changes between the selected scenarios in supply, demand, and excess, by part and site.
Total Displays the dollar value of all open and planned purchase orders.
Purchase
Cost
Purchase Summary by Supplier
Compares the level of purchase activity (the number of orders and value of those orders) required to
execute the selected scenarios.
Metric Details
On- Displays the ratio of the number of customer order lines that are projected to be available on time to
Time the total number of customer order lines as a percent. Customer orders are considered late if their
Delivery available date is later than their due date.
(%)
On-Time Delivery by Site
Displays details about the percentage of orders expected to be on time at each site.
Metric Details
Late Supplies Calculates the maximum number of days that supply is late to satisfy demands.
Late Supply Details
Shows parts where the maximum number of days that supply is late to satisfy demands is different
between the selected scenarios.
Critical Reports the maximum lateness of Independent Demands, usually actual customer orders, but it
Lateness could also monitor any Independent Demands.
Firm Orders Counts the number of scheduled receipts that are projected to be available later than their due
to Expedite dates.
Late Firm Orders
Displays the details of firm orders in your selected scenarios. The worksheet is included to show
order details, such as Due Date and Quantity.
Query expressions are the foundation of RapidResponse resources such as workbooks and filters, and
are used to retrieve and manipulate data from the RapidResponse data model.
There are two types of query expressions you can create.
Query Description
element
Field Fields contain RapidResponse data, and are the most common elements included in query
expressions. For example, there are fields that contain part names, sourcing info, order
numbers, and so on.
Constant Constants are static values that can be included in your expressions. For example, you can
include a text String or a specific Date value.
Operator Operators are used to perform various calculations on the field values and/or constants in
your expressions. For example, operators can be used to multiply two fields together, or
compare one value against another.
Functions Functions take field values and/or constants as input, typically along with one or more
other arguments, and then return some specific information or output relating to the data
it evaluated.
Fields and constants in any query expression can be represented by variables. For more information, see
"Variables" on page 1261.
Expressions you create should use the operators and fields that most directly access the data you
require. For example, if you are searching for two similar part names, an expression using an IN
expression with the list of part names (Part IN 'PLU-convert', 'PLU-finished') is more
efficient than one using a LIKE expression that compares to all values in the Part field (Part LIKE
'PLU*'). For more information about these expressions, see "LIKE and NOT LIKE" on page 1134 and "IN
" on page 1141.
NOTE: As you begin creating more complex expressions, the syntax used will expand beyond what
is shown above. For example, you can include if-then-else statements and you can combine
multiple simple expressions together.
NOTE: $$ syntax is used for form controls and $$ syntax is used for workbook, profile, and system
variables.
▶Create an expression
1. In Expression Builder, in the Expression box, click where you want to insert the field.
2. Click the Fields tab.
3. To add a field on the table the resource is based on, double-click that field
NOTE: For more information about fields, see "Fields" on page 1124.
NOTE: For worksheet columns that calculate results based on the results of other columns, you
cannot add fields to the expression, and the Fields tab is not available.
TIP: To learn more about a specific field in Expression Builder, you can click it in the Fields list, and
then click More information.
1. In Expression Builder, in the Expression box, click where you want to insert the operator.
2. Optionally, in the Category list, click the type of operator or function you want to add.
3. In the Function list, double-click the function and syntax you want to add.
When you click a function or operator, its required syntax is displayed under the Function list.
Your expression must match this syntax to be considered valid (excluding any optional
arguments).
TIP: To learn more about a specific function or operator in Expression Builder, you can click it in
the Functions and Operators list, and then click More information.
1. To see set fields in the list of fields, select the Show set fields check box.
2. In the Expression box, click where you want to insert the set field.
3. In the Category list, click Set.
4. In the Function list, double-click the set operator you want to apply to the set field.
5. On the Fields tab, double-click the set field you want to add.
6. If necessary, add an expression after the set field to limit the data processed by the set operator.
This expression uses either a field in the set field's table, and must be enclosed in square brackets
([ ]).
For example, the following expression returns the number of independent demand records that
have a quantity greater than 500.
COUNT IndependentDemands [Quantity > 500]
NOTE: For more information about using set fields in expressions, see "Set operators" on page
1145.
1. In Expression Builder, in the Expression box, click where you want to insert the variable.
2. Click the Variables tab.
3. Double-click the variable you want to add.
NOTE: For more information about variables, see "Profile variables" on page 1296, "System
variables" on page 1301, and "Workbook variables" on page 1262.
NOTE: You can sort the list of variables by clicking the Name or Type column header.
NOTE: The Variables tab might not display in Expression Builder if the worksheet is designed to
display cached results. For more information, see "Caching worksheet results" on page 329.
1. In Expression Builder, in the Expression box, click where you want to insert the column.
2. Click the Worksheet IDs tab.
3. Double-click the worksheet you want to add.
1. In Expression Builder, in the Expression box, click where you want to insert the column.
2. Click the Column IDs tab.
3. Double-click the column you want to add.
Filters l Fields
l Functions
l Profile variables
Hierarchies l Fields
l Functions
l Profile variables
You can open the auto-complete list for assistance with creating expressions. In addition, you can
optionally open the list automatically when you type a period for a reference field or a dollar sign ($) for
a variable. You can navigate the list by typing in the expression, as shown in the following illustration.
Only the selected field is replaced. In this case, if the ControlSet reference did not have a Value field or
was not a reference field, the expression would not be valid.
▶Enable auto-completion
TIP: If profile pictures are enabled on your RapidResponse system, you can access Options by
clicking on your profile picture in the RapidResponse toolbar.
NOTE: If your computer supports multiple languages, the CTRL + Space shortcut might change
keyboard layouts and not display the auto-complete list. In this case, you can use Ctrl + Shift
+ Space to open the list.
NOTE: Responsibility groups are displayed only if groups with responsibility have been defined.
TIP: You can also click the < or > buttons to move between syntax types.
Fields
Fields are the most common elements included in your query expressions, and return values stored in
the RapidResponse data model. Typically, field's name is all that is required to include it in an expression.
However, depending on the field type, and in some cases its namespace, additional syntax might be
required.
Field types
Depending on a field’s type, a particular syntax is required to include it in a query expression. As well,
each field type is represented by a particular icon in RapidResponse.
Calculated A set field that represents a reference from a calculated table. These fields must be
Set accessed using a set operator that returns specific information about the set.
Vector Set A vector set field represents a set of date-phased detail records for each record in
the table. A vector set field must be preceded with a set operator that returns a
specific detail about the set.
In composite worksheets, you can also add columns from other worksheets. Columns are identified
using the following icons.
Reference A column that contains a reference to the table the worksheet is based on. These
columns allow you to add fields from the table. For more information, see "Add
and remove columns" on page 358.
Reference A column used to group records, and that contains a reference to the table the
Key worksheet is based on. These columns allow you to add fields from the table. For
more information, see "Add and remove columns" on page 358.
NOTE: For an introduction to the RapidResponse data model, including detailed descriptions of
each field type, see the RapidResponse Analytic and Data Model Guide.
Field namespaces
All tables and fields in the RapidResponse data model belong to a namespace. For example, the
standard RapidResponse data model includes two namespaces; Core and Mfg. Core holds a small group
of foundational tables used to support calculations in other namespaces (such as, the Site and Calendar
tables), while Mfg which holds supply and demand data used to support Supply Chain Management
and Sales and Operations Planning in RapidResponse (such as, the Part and PlannedOrder tables).
Namespaces are meant act as containers to identify or give context to groupings of related data model
tables and fields. This provides a means to distinguish between multiple tables, or multiple fields on a
given table, that have the same name but different purposes.
As discussed previously, RapidResponse fields are included in query expressions by specifying the field
name. In some cases, though, a field's namespace must be included along with the field name in an
expression. This is required when a field in a table belongs to a different namespace than the table itself.
Such fields must be namespace qualified in expressions using the format namespace::fieldName.
If writing query expressions based on the standard RapidResponse data model, namespace qualified
field names are seldom required. This is because the majority of standard fields defined on tables in the
Core and Mfg namespaces belong to the same namespace as their table. This includes reference fields
on tables in the Mfg namespace that point to tables in the Core namespace. For example, to use the Site
reference field on the Part table, only Site is required. However, any set fields on those Core tables that
report groups of records in the Mfg tables that reference them are themselves defined in the Mfg
namespace and therefore must be namespace qualified. For example, a set expression on the Site table
might be Count Mfg::Parts or Has Mfg::DemandOrders.
If writing query expressions based on custom RapidResponse fields, then namespace qualified fields are
more frequently required. This is because the Core and Mfg namespaces are read-only and so any
custom fields added to them must be defined in a custom namespace created by your company. For
example, if your company created a custom namespace called XYZ, it could be used to add custom fields
to tables in the Core or Mfg namespaces and those fields would require namespace qualification. For
NOTE: Table names are seldom required in your query expressions because table selections are
typically made through the RapidResponse interface (such as, when creating a new worksheet).
However, in some situations (for example, to support certain legacy query syntax), a table name is
used within an expression. In these cases, the table must be namespace qualified in the format
namespace::tableName.
Data types
The following table describes the data types in RapidResponse.
Data Description
type
Boolean A Y (Yes or True) or N (No or False) value.
Date A date value. The valid date range is from January 2, 1970 to December 31, 2037. Undefined,
Future, and Past values are also permitted, and represent dates outside the valid range.
DateTime A date and time value with the same range as the Date type. Undefined, Future, and Past
values are also permitted.
Integer Any whole number and, optionally, a minus sign. Valid range is -2,147,483,648 to
2,147,483,647.
Money Any money value, consisting of a number and an associated currency. The valid range of
values is -1.79769313486231E308 to 1.79769313486231E308.
Values with more than 308 decimal places (E-308) are interpreted as zero values.
Quantity One or a series of digits containing a decimal point, and, optionally, a minus sign. The valid
range of values is -1.79769313486231E308 to 1.79769313486231E308.
Values with more than 308 decimal places (E-308) are interpreted as zero values.
String A series of alphanumeric characters.
Time A time value. Undefined is not permitted for Time.
NOTE: In RapidResponse worksheets, integer values may be displayed with decimal places
although the underlying integer fields in the database contain whole numbers. As well, when
performing certain arithmetic operations on integer fields (particularly division), the calculated
NOTE: String manipulation, such as concatenating strings or modifying lists of string data, can
impact system performance and memory consumption. It is recommended you avoid manipulating
strings in query expressions, and only retrieve strings.
Constant values
The following table describes the rules for including constant values of different data types in your
query expressions.
Constant Represents
Today Today’s date based on the time zone set on your computer (that is, the current date on
the computer on which RapidResponse Server is installed converted to the time zone
defined on the computer you are using to access RapidResponse).
Past A date earlier than any calendar definition. This constant can also be used in expressions
that require a DateTime value.
Future A date later than any calendar definition. This constant can also be used in expressions
that require a DateTime value.
Undefined Any date value that has not been defined. This constant is often used when searching for
missing dates. This constant can also be used in expressions that require a DateTime
value.
MRPDate Depending on how RapidResponse is configured, the earliest or latest date in any
calendar that has been referenced as PlanningCalendars.RunDate.FirstDate.
This constant should be used with care. For example, across sites or when data updates
are performed, different parts might have different run dates. In these cases, the MRPDate
constant might not always return the intended date.
To avoid this date issue, you should instead use
PlanningCalendars.RunDate.FirstDate in your expression whenever you are
working with a specific part. This is a field in the RapidResponse data model. It returns the
date of the latest data update for a specific part’s site. This is the earliest date that action
can be taken, such as creating a planned order, on this part. This expression can only be
used with a Part context.
The following table lists DateTime constants that can be included in your query expressions.
Constant Represents
Now The current date and time. This value is represented using the user's personal date and
time settings as specified in the Settings tab of the Options dialog box.
When this constant is used in a query, it represents the date and time at which the query
started. If you enter Now as expression in a column, it returns the same value in each row.
If you want to create a unique date/time stamp, use the TimeStamp function. For more
information, see "TimeStamp" on page 1239.
Arithmetic operators
Using arithmetic operators you can create field expressions by combining field values together with
constants or other field values. These expressions adhere to order of operations; multiplication and
division are done before addition and subtraction, and in a left to right order. You can override the
default order of operations by using parentheses.
Arithmetic operators can use only compatible data types. For example, you can multiply a Quantity value
by a Quantity value, but not a Quantity value by a String value. Some operators produce valid results
depending on which part of the expression is using a particular data type. For example, you can divide a
Money value by a Quantity value, but not a Quantity value by a Money value. You can also convert some
data types using arithmetic operators, as shown in the following table.
Operation Result
Quantity * Money
Money
Money / Money
Quantity
DateTime - Quantity (in days or other specified units of time) For more information, see "DateTime
DateTime calculations" on page 1258.
To return Enter
The Order ID and line number together with a single space in between. Order.ID + ' ' +
Line
Number of days between the customer promised date and the due date for the order. PromisedDate -
DueDate
The due date plus 5 days. DueDate + 5
Five percent above the unit selling price for the order UnitSellingPrice
* 1.05
NOTE: When using arithmetic operators with Quantity and Money fields, you can add or subtract
only fields of the same type. For example, you can add a Money value to a Money value or subtract
a Quantity value from a Quantity value, but you cannot add a Money value to a Quantity value. If
required, you can convert a Quantity value to a Money value . For more information, see
"MONEYVALUE" on page 1207.
NOTE: When using arithmetic operators with Dates, you can specify a calendar interval for
calculations to be performed in. For example, values can be calculated in calendar days, workdays,
weeks, and so on.
NOTE: It is recommended to use spaces around arithmetic operators to avoid constant arithmetic
expressions being interpreted as date constants. For example, 2008 - 02 - 28 could be interpreted
as February 28, 2008 if spaces were not included (that is, 2008-02-28).
Comparison operators
Comparison operator let you compare field values to other field values or constants. These types of
operators are most often used to create conditions in logical expressions.
The table below summarizes the comparison operators available in RapidResponse:
Operator Description
"Basic These operators are most often used to create conditions in logical expressions.
comparison
operators
(< = >)" on
page 1132
"LIKE and Compares a String field against a String pattern and returns records only if the
NOT LIKE" specified pattern is matched (LIKE) or not matched (NOT LIKE).
on page
1134
"ISMATCH" Enables the use of regular expressions for string comparisons within
on page RapidResponse query expressions.
1135
Operator Description
= Equal to.
<> Not equal to.
Filter examples
The following table shows comparison operators used in filter expressions based on the Part table.
To return Enter
Only the part named racer. Name = 'racer'
Only parts having a cumulative lead time less than CumLeadTime < 10
10 days
Only parts having a cumulative lead time less than CumLeadTime <= 10
or equal to 10 days
All parts where the quantity of the part exceeds (TotalEffScheduledReceipt +
the demand for the part. TotalNettableOnHand - TotalDemand) > 0
All parts where the standard unit cost is greater StdUnitCost >= 300
than or equal to $300
NOTE: When comparing Date values, you can include any of the RapidResponse date constants in
your expression.
NOTE: If you need to compare a String field against a String pattern, you can use wildcards.
Column examples
The following table shows comparison operators used in column expressions based on the Part table.
To return Enter
Y (true) if the part has more than 500 planned orders, and N (false) TotalPlannedOrderCount >
otherwise. 500
Y (true) if the part has no planner code defined, and an N (false) otherwise. PlannerCode.Value = ' '
Y (true) if the part has no standard unit cost defined, and N (false) StdUnitCost = 0
otherwise.
Operator Description
LIKE Compares a String field against a String pattern (including wildcards), and returns records only if the
pattern specified is matched.
An expression using the LIKE operator must be written as: StringField LIKE 'pattern'
Otherwise, the expression will return incorrect results.
NOT LIKE Compares a String field against a String pattern (including wildcards), and returns records only if they
do not match the pattern specified. Can also be written as !LIKE.
An expression using the NOT LIKE operator must be written as: StringField NOT LIKE
'pattern'
Otherwise, the expression will return incorrect results.
? A wildcard representing any single character.
* A wildcard representing any number of characters (including none).
You can search for the wildcard characters (? and *) by using the escape character (\). The escape
character causes the wildcard character to be interpreted as a text character, and is placed before the
wildcard in the query expression.
NOTE: For advanced pattern matching in string comparisons, you can also use the
ISMATCH function which enables the use of regular expressions within the query language. For
more information, see "ISMATCH" on page 1135.
NOTE: If you are searching for records that match a limited number of items, it can be more
efficient to use the IN function with a list of values than to use the LIKE function with wildcards.
Using the IN function processes fewer records, and can improve worksheet performance. For
more information, see "IN " on page 1141.
Examples
The following are filter expressions based on the Part table.
To return Enter
All parts whose name starts with “b34” and ends with any three characters. Name LIKE 'b34???'
All parts whose name does not begin with the letter “b” Name NOT LIKE 'b*'
All parts whose name starts with “a*b” Name LIKE 'a\*b*'
NOTE: If the LIKE and NOT LIKE operators are used without wildcards, then LIKE is equivalent to
the = operator, and NOTLIKE is equivalent to the <> operator. If ? and * are not used without LIKE
or NOT LIKE, then they are interpreted as the conditional and multiplication operators
respectively.
ISMATCH
The ISMATCH function enables the use of regular expressions for string comparisons within
RapidResponse query expressions. When performing string comparisons, regular expressions let you
define patterns to look for within a string based on specified characters, character ranges, number or
position of those characters, and so on. For example, you could use a regular expression to match part
names that follow a particular naming convention or that contain forbidden character patterns. The use
of regular expressions can increase the power and flexibility available to you when performing string
comparisons, and often allows complex string comparison functions to be performed within a single
operation. For example, a single regular expression pattern can be used to check whether a Part name
contains any alpha characters as compared to having to use the OR operator to combine multiple
criteria using the LIKE operator.
The ISMATCH function returns a boolean Y (true) if a string matches a specified regular expression
pattern, and a boolean N (false) if it does not. The following syntax is used:
ISMATCH(string, pattern)
where
l string indicates the string field or expression in which to look for the specified pattern.
l pattern is a regular expression string defining the character pattern against which the string
parameter is compared. By default, any alpha characters included in the regular expression pattern
are assumed to be case insensitive, however case sensitivity can be enabled using the ?-i syntax
as shown in the example section below. Regular expression patterns can also make use of certain
characters that have special meaning in a pattern. For example, the caret character (^) can be used
both to indicate that the pattern should match from the beginning of the string only as well as to
specify negation within a character group. If you need to include special characters such as this in
the actual string pattern you are searching for, they should be preceded with a backslash
character (\). Regular expression patterns also support special interpretations of certain alpha
characters if preceded by a backslash. For example, \b can be used to indicate the pattern only
matches if it occurs at a word boundary. If including these or similar backslash constructs in your
regular expression patterns, you should specify the pattern as a verbatim string literal to ensure
the backslashes are interpreted as intended (that is, use @'string' instead of just 'string'.
See the example section below for cases where verbatim string literals might be used.
NOTE: The ISMATCH function relies on regular expression syntax as implemented in the Microsoft
.NET Framework. For a complete reference on the supported syntax for defining string patterns,
see http://msdn.microsoft.com/en-us/library/az24scfc.aspx.
Examples
The following table shows column expressions using the ISMATCH function.
Entering Returns
ISMATCH(Value, '[a-z]') Y (true) if the Value field contains any alpha characters, and N (false) if it does
not.
ISMATCH(Value, '(?-i) Y (true) if the Value field contains a lower case vowel, and N (false) if it does not.
[aeiou]')
ISMATCH(Value, '[^a-z0- Y (true) if the Value field contains anything other than alphanumeric characters
9-]') or a dash, and N (false) if it does not.
ISMATCH(Value, '^cpu[0- Y (true) if the Value field begins with the string "cpu" followed by any three
9]{3}-') numerals and the dash character, and N (false) if it does not.
ISMATCH(Value, @'^\^cpu Y (true) if the Value field begins with the string "^cpu" followed by any three
[0-9]{3}-') numerals and the dash character, and N (false) if it does not.
ISMATCH(Value, '[a-z] Y (true) if the last five characters in the Value field consist of an alpha character
[0-9]{4}$') followed by four numerals, and N (false) if they do not.
ISMATCH(Description, ' Y (true) if the Description field contains either an exclamation mark (!), question
[!?*]') mark (?), or asterisk (*), and N (false) if does not contain any of those characters.
ISMATCH(Description, ' Y (true) if the Description field contains two consecutive upper case alpha
(?-i)[A-Z]{2}.') characters followed by any character, and N (false) if it does not.
ISMATCH(Description, @' Y (true) if the Description field contains a number formatted as a dollar value
(\$[0-9]+)(\.[0-9] with decimal places (assuming no thousands separator), and N (false) if it does
{2})') not.
ISMATCH('audio Y (true)
chipset', 'chip')
ISMATCH('audio Y (true)
chipset', @'\bchip')
ISMATCH('audio N (false)
chipset', @'\bchip\b')
NOTE: Parentheses can be used to group parts of a regular expression pattern together. This
allows operations to be applied to the entire group and can also improve readability of the
expression. Parentheses also have additional functionality if used within the pattern within the
REPLACE function. For more information, see "REPLACE" on page 1186.
Operator Description
"AND, OR, and NOT" on Combines two or more logical expressions to form a compound or complex
page 1137 expression.
"IF" on page 1138 Conditional operator that creates If-Then-Else statements in your queries.
"IN " on page 1141 Compares a single field or expression against a list of constant values or against values
returned by a specified worksheet.
Operator Description
AND Returns records that satisfy the logical expressions on both sides of the operator.
logical1 AND logical2
OR Returns records that satisfy the logical expressions on either side of the operator.
logical1 OR logical2
NOT Placed before an expression, to indicate only records not matching the expression are returned.
NOTE: When comparing a single field value against several String constants, the IN operator can
be used in place of several OR expressions.
TIP: Symbols can be used as short forms in place of the full operator names shown in the table
above. An ampersand (&) can be used in place of AND, a pipe (|) can be used in place of OR, and an
exclamation mark (!) used in place of NOT. However, it is recommended to use the full operator
names as this improves expression readability and avoids certain ambiguities which might arise.
For example, the exclamation mark (!) is also used when adding columns to composite worksheets
or referencing other columns in a second pass column expression.
Operator precedence
When multiple logical operators are used in an expression, the order in which they are evaluated can be
specified through the use of parentheses. Without parentheses, NOT operators are evaluated first,
followed by AND operators, and then OR operators.
To return Enter
Only orders expected to be more than 5 days late where the order DaysLate > 5 AND
customer for the order is 'TBS'. Order.Customer.Id = 'TBS'
Only orders expected to be more than 5 days late where the order DaysLate > 5 AND Part
customer for the order is 'TBS', and the low level code for the part is 0. [Order.Customer.Id = 'TBS'
AND LowLevelCode = 0]
Only orders where the customer is either TBS or BM. Order.Customer.Id = 'TBS' OR
Order.Customer.Id = 'BM'
Only orders where the order type is not “forecast” or the part is not NOT (Order.Type.Value =
“Racer” 'forecast' OR Part.Name =
'Racer')
Only orders where the order customer is 'TBS' and the orders are expected DaysLate > 5 OR
to be more than 3 days late, or where the order is expected to be more Order.Customer.Id = 'TBS'
than 5 days late for any customer. AND DaysLate > 3
Column examples
The following are examples of column expressions based on the IndependentDemand table.
To return Enter
Y (true) if both the order's unit selling price and the part's average UnitSellingPrice = 0 AND
selling price are undefined, and N (false) otherwise. Part.AverageSellingPrice = 0
Y (true) if either the order's unit selling price or the part's average UnitSellingPrice = 0
selling price are undefined, and N (false) otherwise. OR Part.AverageSellingPrice = 0
NOTE: Logical operators can also be used in conjunction with the IF operator to create more
complex column expressions. For example, you can write expressions that return a specified field
value if a group of conditions are satisfied, and a calculated expression if they are not. For more
information, see "IF" on page 1138.
IF
You can use the conditional operator, IF, to create If-Then-Else statements in your queries. Typically, this
operator is used in column expressions to return one value if a specified logical expression is satisfied,
and another if it is not.
The conditional operator can also be used within filter expressions if you want one expression to define
a filter under one set of circumstances, and another to define a filter under a second set of
circumstances.
l IF—identifies the expression as conditional, and is equivalent to saying “If the following expression
is True...”
l logical—is a valid logical expression that evaluates to True or False
l value_if_true—is the column expression returned if the filter evaluates to True. The value it returns
must be of the same data type as value_if_true.
l value_if_false—is the column expression returned if the filter evaluates to False. The value it
returns must be of the same data type as column value_if_false.
NOTE: You can nest one conditional column expression inside another. For example, you can
create a conditional expression that returns one value if the initial expression is True, a second
value if the next expression is True, and a third value if neither logical expression evaluates to True.
There is no limit to the number of nested conditional expressions.
NOTE: You can evaluate two or more independent conditional expressions in a single column by
combining them with the plus (+) sign.
Column examples
The following examples are based on the IndependentDemand table (unless noted otherwise).
To return Enter
The name of the gating part if the order is expected to be IF (DaysLate > 0, GatingPart.Name, 'On
late, and a String value of “On Time” otherwise. Time')
The order due date plus 5 days if the Customer ID is IF (Order.Customer.ID = 'BetterBuy',
BetterBuy, and the due date otherwise. DueDate + 5, DueDate)
The order due date plus 5 days if the Customer ID is IF (Order.Customer.ID = 'BetterBuy',
BetterBuy, the order due date minus 5 days if the DueDate + 5 'Workday', IF
Customer ID is DealCity, and the due date otherwise. (Order.Customer.ID = 'DealCity', DueDate
- 5 'Workday', DueDate))
A text String of “No Planner Code;” for any part without a IF (PlannerCode = '', 'No Planner
planner code, as well as a String of “No fixed lead time;” Code;', '') + IF (StdUnitCost = 0, 'No
for any part without a fixed lead time, as well as a String Standard Unit Cost;', '') + IF
of “No standard unit cost;” for any part without a (PrimaryPartSource.EffFixedLeadTime = 0,
standard unit cost value. 'No Fixed Lead Time;', '')
This example is based on the Part table.
Filter examples
The following worksheet filter example is based on the IndependentDemand table.
To return Enter
Only orders with revenue greater than $10,000, where if the unit selling price IF (UnitSellingPrice > 0,
is greater than zero, revenue is calculated by multiplying the unit selling UnitSellingPrice *
price by the order quantity; otherwise revenue is calculated by multiplying Quantity,
the part’s average selling price by the order quantity. Part.AverageSellingPrice *
Quantity) > 10000
Legacy syntax
In RapidResponse versions prior to 9.4, the conditional operator was represented by a question mark (?)
and not an IF. As well, the components of the conditional expressions were not enclosed in parentheses
or separated by commas. This syntax is still supported in RapidResponse, however its continued use is
not recommended as it is difficult to read and can lead to ambiguous expressions.
The following table shows the syntax used for conditional column and filter expressions in Version prior
to 9.4.
Expression Syntax
Type
Column ? logical value_if_true value_if_false
where:
l ?—identifies the expression as conditional, and is equivalent to saying “If the following
expression is True...”
l logical—is a valid logical expression (evaluates to True or False)
l value_if_true—is the column expression returned if the logical expression evaluates to True.
The value it returns must be of the same data type as column expression2.
l value_if_false—is the column expression returned if the logical expression evaluates to
False. The value it returns must be of the same data type as column expression1.
Syntax
Usage Syntax
Compare a single field field IN ('value1', 'value2',...)
value against several
constants (used instead
of multiple OR
expressions)
Compare one or more {field1, field2.. fieldN} IN (worksheetId!)
values against values
where worksheetId is the Id of a worksheet in the same workbook in which the
returned by another
expression is defined. The referenced worksheet should return the desired data against
worksheet.
which the expression is to be compared, and contain columns in the same order and of
the same data types as the values specified in the expression.
Filter examples
The following shows an example of the IN operator used in filter expressions.
Only orders due on the first or last day of December DueDate IN (12-01-09, 12-31-
09)
Only orders for parts defined in the filter named "transfer parts" that {Part.Name, Part.Site.Value}
have more than 1000 units on hand to satisfy demand. IN Transfer!
This example assumes a worksheet with an ID of "Transfer" has been
created to return the appropriate parts as discussed in "Worksheet
example for use with IN" on page 1141.
Only orders for part Cruiser whose order site and part site are the same. {Part, Order.Site} IN Part
{'Cruiser', Site}
Parts that are components of the assembly named 'Racer' in FlatBillDown
[(Part.Name='Gamer' and
Part.Site = 'HQ')]
{FlatComponent}
NOTE: The first example shown in the table above is equivalent to the following expression:
Part.Name = 'Cruiser' OR Part.Name = 'Racer' OR Part.Name = 'Mountain'.
NOTE: In versions prior to 10.0, instead of a reference to a worksheet, the advanced form of the
IN operator required a full query expression defining the table and columns whose records were
to be evaluated. For example, the third example shown in the table above would have been
written as {Part.Name, Part.Site.Value} IN Part[s'transfer parts' and
TotalNettableOnHand > 1000]{Name, Site.Value}. As of Version 10.0, worksheets that
use this older IN syntax will continue to work, however their continued use is not recommended.
Using worksheet references instead can help improve system performance, supports reusability,
and ensures better compatibility with future versions of RapidResponse.
Column example
The following shows an example of the IN operator used in a column expression.
To return Enter
The text string "Yes" if the planner code is either DC, JH, or TG, and the IF((PlannerCode.Value IN ('DC',
test string "No" if the planner code is not one of these values. 'JH', 'TG')), 'Yes', 'No')
NOTE: When using the IN operator within a conditional expression, you should enclose the entire
IN clause within parentheses as shown in the example above. This ensures that RapidResponse
can properly distinguish the IN clause from the other comma separated elements in the
conditional expression.
Parentheses ( )
The use of parentheses influences how expressions involving arithmetic or logical operators are
interpreted. When working with arithmetic operators, they can be used to override the default order of
To return Enter
The product of 2 greater than the order quantity and unit selling (Quantity + 2) * UnitSellingPrice
price.
The product of half the order quantity and double the unit (Quantity / 2) * (UnitSellingPrice
selling price. * 2)
To return Enter
Orders for parts with a planner code of 'JP' or 'NY' where (Order.Customer.Id = 'JP' OR
the part type is 'Transfer'. Order.Customer.Id = 'NY') AND
Part.Type.Value = 'Transfer'
Orders for parts with a planner code of 'JP' or orders for Order.Customer.Id = 'JP' OR
parts with a planner code of 'NY' where the part type is (Order.Customer.Id = 'NY' AND
'Transfer'. Part.Type.Value = 'Transfer)'
Orders that have a due date of today or earlier, where the DueDate <= Today AND (Order.Customer.Id
customer is either BM or XYZ, and the order quantity is for = 'BM' OR Order.Customer.Id = 'XYZ') AND
more than 500 units. Quantity > 500
Only orders where the customer is not BM or XYZ, and the NOT (Order.Customer.Id = 'BM' OR
order type is actual. Order.Customer.Id = 'XYZ') AND
Order.Type.Value = 'Actual'
Square brackets [ ]
You can use square brackets in column and filter expressions to shorten expressions involving more
than one field in the same referenced table.
Type the name of the reference field before the square brackets. Field names inside the square brackets
are then interpreted as belonging to the referenced table. Square brackets can be nested, as shown in
the second filter example.
Part.PrimaryPartSource Part.PrimaryPartSource.DockToStockLeadTime
[DockToStockLeadTime + SafetyLeadTime] + Part.PrimaryPartSource.SafetyLeadTime
Filter examples
Expression Equivalent expression
Part[AverageSellingPrice < Part.AverageSellingPrice < Part.StdUnitCost
StdUnitCost]
Part[(FirstNeededSupplyDate = (Part.FirstNeededSupplyDate =
FirstShortageDate) AND Part.FirstShortageDate) AND (
(AlternatePrimaryPart Part.AlternatePrimaryPart.FirstNeededSupplyDate
[FirstNeededSupplyDate = = Part.AlternatePrimaryPart.FirstShortageDate)
FirstShortageDate])]
Set operators
If you want to include a set field or a vector set field in a query expression, it must be preceded with a
valid set operator. Each available set operator returns a specific piece of summary information about a
set field. For example, from the IndependentDemands set field on the Part table, you can retrieve
customer order data such as the number of orders per part, the earliest due order for each part, the
average order size for each part, and so on.
The syntax required when creating a set expression depends on the operator being used. However, the
general syntax for an expression involving set operators is:
set_operator set_field [logical]
where:
If the logical expression requires a value from a column in the worksheet, you must use the ^ operator
to ensure the expression uses a column from the worksheet instead of a field from the table used in the
set expression, and is therefore valid. For example, COUNT IndependentDemands
[^!OnTimeQuantity > 200] returns the number of records from the IndependentDemand table
that have a value greater than 200 in the worksheet's OnTimeQuantity column. For more information,
see "OuterContext (^)" on page 1160.
Set operators can also be used in columns that are calculated using the results from other columns, and
process the set of records in a worksheet. For more information about these columns, see "Create a
column based on the result of other columns" on page 363. Set expressions in these columns refer to
columns in the worksheet instead of fields on tables. The general syntax for expressions is similar to that
for table-based set expressions, but instead of specifying a set field, you specify a column to calculate set
operations for, using the following syntax.
set_operator By(column) [logical]
where By(column) is the worksheet column used to determine the sets of data and must be specified
using the !column syntax. This is typically a column used to group the worksheet data, such as a part
or customer column, however, it can be any column in the worksheet. You can also calculate the result
over the entire set of records by leaving the value blank. For example, Sum By() calculates the grand
total of every record in the set.
All columns before the specified column are also considered part of the set. For example, if the
worksheet contains a Customer, Part, and Site column and the expression uses By(!Site), all results
with the same Customer, Part, and Site values are considered part of the set. For example, the following
illustration calculates a result for each combination of Customer, Part, and Site values.
The columns used in the set should be sequential in the worksheet, and the column you specify for the
set should be the later in the worksheet's sort order than the columns before it. If you have defined a
custom sort order for the worksheet and the column you specify for the By(column) is sorted before the
other columns, those columns are not considered part of the set. For example, if your worksheet
contains Customer, Part, and Site columns, and the worksheet is configured to sort by Site first,
specifying By(!Site) calculates a result for each Site value, and does not consider changes in the
Customer or Part columns as a different set of data, as shown in the following illustration.
CAUTION: Avoid using set operators to access data based on a table incompatible with the one
the worksheet is based on. This can result in performance issues with RapidResponse. For
example, if a worksheet is based on the Activity table (which is part-based), then set logic should
only be used to access results calculated from other part-based tables (for example, Part,
ScheduledReceipt, IndependentDemand, and so on).
CAUTION: Avoid using set operators on set fields in referenced tables, particularly if many records
in the table the worksheet is based on refer to the same record. This can result in performance
issues because, for each record in the table the worksheet is based on, the set operation is
performed for each record in the set. For example, if the worksheet is based on the Part table and
contains 10,000 records that refer to the same record in the ReferencePart table, the
ReferencePart.Parts set field contains 10,000 records. If a set operation is performed on the
ReferencePart.Parts field, the set of 10,000 records is calculated 10,000 times (once for each record
in the Part table that refers to the ReferencePart record). This means the set operator will run on
100,000,000 records and could take several minutes to complete.
Operator Description
"ASSOCIATEMAX" on Similar to the MAX operator, it returns a deeper level of detail.
page 1148
"AVERAGE" on page Returns the average value of a field or expression on the set, or on the set subject to a
1151 specified logical expression.
"CONCATENATE" on Combines multiple string values in a set into a single string value.
page 1152
"COUNT" on page Counts the number of records in a set or in a set that satisfy a specified logical
1154 expression.
"HAS" on page 1155 Tests for existence of records in a set or in a set that satisfy a specified logical expression.
"SUM" on page 1159 Returns total value of a field or expression on the set or on a set subject to a specified
logical expression.
ASSOCIATEMAX
The ASSOCIATEMAX operator is similar to the MAX operator, but is used to return a deeper level of
detail. For example, while the MAX operator can return the largest order for each part, the
ASSOCIATEMAX operator can return the customer associated with those orders.
Expression Syntax
type
Column ASSOCIATEMAX set_field [logical] {max_expression, value_expression}
where max_expression determines the maximum value the expression is concerned with, and
value_expression returns information related to the maximum value.
NOTE: The two expressions used to return an ASSOCIATEMAX value must be valid on the set
field’s table. For example, if the set field is ScheduledReceipts, the max and value expression must
be valid on the ScheduledReceipt table.
TIP: This operator's functionality can be replaced by applying the Associate grouping function to
a worksheet column. This allows you to calculate the associated values using the values matching
the worksheet's filter criteria, and can improve worksheet performance. For more information, see
"Apply a summarization function to a column" on page 384.
Column examples
The following examples are based on the Part table.
The supplier associated with the latest available date on a ASSOCIATEMAX ScheduledReceipts
scheduled receipt for each part. {AvailableDate, Order.Supplier.Id}
The following example is based on a column that is calculated using the final results of other columns in
a worksheet based on the IndependentDemand table.
To return Enter
The customer associated with the largest order size that is ASSOCIATEMAX By(!Part) [!DaysLate > 0]
expected to be late for each part. {!Quantity, !Customer}
This expression requires columns with identifiers 'Part',
'DaysLate', 'Quantity', and 'Customer'.
Filter example
The following is a worksheet filter expression based on the Part table.
To return Enter
Only those parts whose highest nettable on ASSOCIATEMAX OnHands [Type.ProcessingRule =
hand quantity is found at the 'Dayton1" 'Nettable'] {Quantity, Location.Warehouse.Id} =
warehouse. 'Dayton1'
ASSOCIATEMIN
The ASSOCIATEMIN operator is similar to the MIN operator, but is used to return a deeper level of
detail. For example, where the MIN operator can return the smallest order for each part, the
ASSOCIATEMIN operator can return the customer associated with those orders.
Expression Syntax
type
Column ASSOCIATEMIN set_field [logical] {min_expression, value_expression}
where min_expression determines the minimum value the expression is concerned with, and
value_expression returns information related to the minimum value.
TIP: This operator's functionality can be replaced by applying the Associate grouping function to
a worksheet column. This allows you to calculate the associated values using the values matching
the worksheet's filter criteria, and can improve worksheet performance. For more information, see
"Apply a summarization function to a column" on page 384.
Column examples
The following examples are based on the Part table.
To return Enter
The supplier associated with each part’s ASSOCIATEMIN ScheduledReceipts {Quantity,
scheduled receipt with the lowest quantity. Order.Supplier.Id}
The customer associated with the earliest order ASSOCIATEMIN IndependentDemands [Order.Type =
of type "forecast" for each part. 'forecast'] {DueDate, Order.Customer.Id}
The following example is based on a column that is calculated using the final results of other columns in
a worksheet based on the IndependentDemand table.
To return Enter
The customer associated with the smallest order size that is ASSOCIATEMIN By(!Part) [!DaysLate > 0]
expected to be late for each part. {!Quantity, !Customer}
This expression requires columns with identifiers 'Part',
'DaysLate', 'Quantity', and 'Customer'.
Filter example
The following example is a worksheet filter expression based on the Part table.
To return Enter
Only those parts whose lowest nettable on ASSOCIATEMIN OnHands [Type.ProcessingRule =
hand quantity is found at the 'Dayton" 'Nettable']}{Quantity Location.Warehouse.Name} =
warehouse. 'Dayton'
Expression Syntax
type
Column AVERAGE set_field [logical] {value_expression}
NOTE: The value expression used with this operator should return a numeric value and it must be
valid for the set field’s table. For example, if the set field is ScheduledReceipts, the expression must
be valid on the ScheduledReceipt table.
NOTE: As required, arithmetic operations can be performed on the results returned by AVERAGE
expressions.
NOTE: In RapidResponse versions prior to 9.4, the value_expression used with the
AVERAGE operator did not need to be enclosed in curly brackets. This syntax is still supported,
however, it is not recommended as the curly brackets make expressions easier to read and prevent
certain expressions from being written in ways that yield ambiguous results.
TIP: This operator's functionality can be replaced by applying the Average summarization function
or grouping function to a worksheet column. This allows you to calculate the average using the
values matching the worksheet's filter criteria, and can improve worksheet performance. For more
information, see "Apply a summarization function to a column" on page 384 or "Group column
data" on page 382.
Column examples
The following example is based on the Part table.
To return Enter
Each part’s average order size from the AVERAGE IndependentDemands [Order.Customer.Id =
customer BM. 'BM'] {Quantity}
The following example is based on a column that is calculated using the final results of other columns in
a worksheet based on the IndependentDemand table.
To return Enter
The average of late order quantities for each customer. AVERAGE By(!Customer) [!DaysLate >
This expression requires columns with identifiers 'Customer', 0] {!Quantity}
'DaysLate', and 'Quantity'.
To return Enter
Only parts where the average revenue from independent AVERAGE IndependentDemands
demand orders is greater than $10000. {UnitSellingPrice * Quantity} > 10000
NOTE: The value expression used with this operator should return a numeric value and it must be
valid for the set field’s table. For example, if the set field is ScheduledReceipts, the expression must
be valid on the ScheduledReceipt table.
NOTE: As required, arithmetic operations can be performed on the results returned by AVERAGE
expressions.
CONCATENATE
The CONCATENATE operator is used to combine multiple string values in a set into a single string value
according to the following syntax:
CONCATENATE(maxValues, 'separator', 'end') setField[logical] {expressionN,
stringExpression}
CONCATENATE(maxValues, 'separator', 'end') By(column) [logical]
{expressionN, stringExpression}
where
l maxValues is an optional argument specifying the maximum number of entries that can be
included in the string before it ends. If no value is specified, maxValues is set to 3.
l separator is an optional argument specifying how to separate each item in the concatenated
string. If no value is specified, a comma and space (, ) are used.
l end is an optional argument specifying how to end the string if the maxValues value is exceeded.
If no value is specified, three dots (...) are used.
l setField is the set field to return data from. This is used only if the expression is based on a set
field in a table.
l By(column) is the column to return data from. This is used only if the expression is based on a
column that is calculated using the final result from other columns. For more information, see
"Create a column based on the result of other columns" on page 363.
l [logical] is an optional logical expression that can be used to filter or restrict the data returned
from the set field.
l expressionN can be one or more optional expressions valid on the set field's table and are used
to sort the results of stringExpression. If no value is specified, the stringExpression
results are sorted in alphabetical order.
l stringExpression is a valid string expression on the set field’s table. The results of this
expression are concatenated together.
To return Enter
From the PlannerCode table, a string showing the parts that are associated with a CONCATENATE Parts
given part. Only the first three parts, as sorted by alphabetical order, are shown and {Name}
then followed by three dots.
From the PlannerCode table, a string showing the parts associated with a given CONCATENATE (10, '.
planner code. The part names should be separated with a period and a space (. ). And ', '--') Parts
only the first ten parts, as sorted by alphabetical order, are shown and then followed {Name}
by two dashes.
From the Part table, a string showing the sources that are associated with a given CONCATENATE
part. Only the first three sources, as sorted by alphabetical order, are shown and then PartSources {Source}
followed by three dots.
From the Part table, a string showing the order and line number associated with each CONCATENATE
scheduled receipt for a given part. Only the five earliest due orders are shown, and (5)ScheduledReceipts
then followed by three dots. {DueDate, Order.Id +
'_' + Line}
From the Part table, a string showing the order and line number associated with each CONCATENATE (5)
scheduled receipt for a given part. Only the five earliest due orders are shown, and ScheduledReceipts
then followed by three dots. If multiple orders are due on the same date, they are {DueDate,
further sorted in descending quantity order (from largest to smallest). Quantity:d, Order.Id
+ '_' + Line}
The following example is based on a column that is calculated using the final results of other columns.
To return Enter
From the WhereConsumed table, a string showing the driver parts (from the DriverPart CONCATENATE(3) By
column) that consume a specific part (from the Part column), sorted by greatest need (!Part)
{!NeedQuantity:d,
quantity (from the NeedQuantity column). The three driver parts with the largest need
!DriverPart}
quantities are shown, and then followed by three dots. This is calculated for each part
returned by the worksheet, and uses the calculated results of the other columns.
From the IndependentDemand table, a string listing the largest order quantity (from the CONCATENATE (6)
QuantityTotal column) from each order site (from the Site column) for each part (from By (!Part)
the Part column) is due. The largest values for six sites are shown, listed in increasing {!Site,
order, followed by three dots. This is calculated for each site, and uses the calculated !QuantityTotal}
results of the other columns.
NOTE: To concatenate text values together, the + operator can be used. For more information,
see "Arithmetic operators" on page 1129.
NOTE: The last example in the preceding table above uses a sorting keyword to specify the
Quantity sort order. For more information about sorting in set expressions, see "Grouping and
sorting in set expressions" on page 1161.
Expression Syntax
type
Column COUNT set_field [logical]
TIP: This operator's functionality can be replaced by applying the Count grouping function to a
worksheet column. This allows you to calculate the number of records using the values matching
the worksheet's filter criteria, and can improve worksheet performance. For more information, see
"Group column data" on page 382.
Column examples
The following examples are based on the Part table.
To return Enter
The number of planned orders for each part with a due date COUNT PlannedOrders [DueDate <
earlier than today. Today]
The total number of planned orders and scheduled receipts for COUNT PlannedOrders + COUNT
each part. ScheduledReceipts
The following example is based on a column that is calculated using the final results of other columns in
a worksheet based on the IndependentDemand table.
To return Enter
The number of late orders for each customer. Count By(!Customer) [!DaysLate >
This expression requires columns with identifiers 'Customer' and 0]
'DaysLate'.
Filter examples
The following are worksheet filter expressions based on the Part table.
To return Enter
Parts with more than 20 planned orders. COUNT PlannedOrders > 20
Parts having more than 5 scheduled receipts with a recommended COUNT ScheduledReceipts
due date earlier than the actual due date. [RecommendedDate < DueDate] > 5
NOTE: In many cases, you can use the IN operator with a worksheet to produce faster or more
efficient results than are generated by the HAS operator. For more information about the
IN operator, see "IN " on page 1141.
Syntax
Expression Syntax
type
Column HAS set_field [logical]
Column examples
The following column expression is based on the Part table.
To return Enter
Y (true) if the part has independent demands, and N (false) HAS IndependentDemands
otherwise.
Y (true) if the part has any independent demands that are HAS IndependentDemands [DaysLate > 5]
more than 5 days late, and N (false) otherwise.
A string reading "Has late orders" if the part has any late IF ((HAS IndependentDemands [DaysLate
independent demands, and a blank string otherwise. > 0]), 'Has late orders', ' ')
The following example is based on a column that is calculated using the final results of other columns in
a worksheet based on the IndependentDemand table.
To return Enter
Y (true) if there are any late orders for a customer, and N (false) HAS By(!Customer) [!DaysLate >
otherwise. 0]
This expression requires columns with identifiers 'Customer' and
'DaysLate'.
To return Enter
Only parts that have independent demands. HAS IndependentDemands
Only parts of type “p” where the quantity in stock for a location Type.Value = 'P' AND HAS OnHands
is less than the safety stock quantity for the part. [Quantity < Part.SafetyStockQty]
Only parts that have scheduled receipts with allocations HAS ScheduledReceipts [HAS
Allocations]
MAX
The MAX operator returns the maximum value found in a field or expression on the set or, optionally,
the maximum value found in a field or expression on the set subject to a specific logical expression.
This operator can be used with any data type, although its most common usage is with Quantity or Date
values. You can also return an additional level of detail regarding MAX values through the use of the
"ASSOCIATEMAX" on page 1148 operator.
Expression Syntax
type
Column MAX set_field [logical] {value_expression}
NOTE: The value expression used to calculate a MAX value must be valid on the set field’s table.
For example, if the set field is ScheduledReceipts, the value expression must be valid on the
ScheduledReceipt table.
NOTE: As required, arithmetic operations can be performed on the results returned by MAX
expressions.
NOTE: In RapidResponse versions prior to 9.4, the value_expression used with the
MAX operator did not need to be enclosed in curly brackets. This syntax is still supported,
however, it is not recommended as the curly brackets make expressions easier to read and prevent
certain expressions from being written in ways that yield ambiguous results.
TIP: This operator's functionality can be replaced by applying the Maximum summarization
function or grouping function to a worksheet column. This allows you to calculate the maximum
value using the values matching the worksheet's filter criteria, and can improve worksheet
performance. For more information, see "Apply a summarization function to a column" on page
384 or "Group column data" on page 382.
To return Enter
The largest order size from independent demand that is expected MAX IndependentDemands [DaysLate
to be late for each part. > 0] {Quantity}
The latest due date on an independent demand for each part. MAX IndependentDemands {DueDate}
The start of the month containing the latest due date on an MAX IndependentDemands {DueDate}
independent demand for each part. + 0 'Month'
The following example is based on a column that is calculated using the final results of other columns in
a worksheet based on the IndependentDemand table.
To return Enter
The largest late order revenue for each part. MAX By(!Part) [!DaysLate > 0]
This expression requires columns with identifiers 'Part', 'DaysLate', {!Revenue}
and 'Revenue'.
Filter examples
The following example a worksheet filter expression is based on the Part table.
To return Enter
Only parts where the largest order from independent demand is for MAX IndependentDemands Quantity
more than 1000 units. > 1000
MIN
The MIN operator returns the minimum value found in any field or expression within the set, or,
optionally, the minimum value found in a field or expression on the set subject to a specified logical
expression.
This operator can be used with any data type, although its most common usage is with Quantity or Date
values. You can also return an additional level of detail regarding MIN values through the use of the
"ASSOCIATEMIN" on page 1149 operator.
Expression Syntax
type
Column MIN set_field [logical] {value_expression}
NOTE: The value expression used to calculate a MIN value must be valid on the set field’s table.
For example, if the set field is IndependentDemands, the value expression must be valid on the
IndependentDemand table.
NOTE: As required, arithmetic operations can be performed on the results returned by MIN
expression.
NOTE: In RapidResponse versions prior to 9.4, the value_expression used with the
MIN operator did not need to be enclosed in curly brackets. This syntax is still supported,
however, it is not recommended as the curly brackets make expressions easier to read and prevent
certain expressions from being written in ways that yield ambiguous results.
TIP: This operator's functionality can be replaced by applying the Minimum summarization
function or grouping function to a worksheet column. This allows you to calculate the minimum
value using the values matching the worksheet's filter criteria, and can improve worksheet
performance. For more information, see "Apply a summarization function to a column" on page
384 or "Group column data" on page 382.
Column examples
The following examples are based on the Part table.
To return Enter
The unit size of the smallest receipt that is expected to MIN ScheduledReceipts [DueDate <
be late for each part. AvailableDate] {Quantity}
The earliest due scheduled receipt for each part. MIN ScheduledReceipts {DueDate}
The following example is based on a column that is calculated using the final results of other columns in
a worksheet based on the IndependentDemand table.
To return Enter
The smallest late order revenue for each part. MIN By(!Part) [!DaysLate > 0] {!Revenue}
Filter examples
The following example is a worksheet filter expression based on the Part table.
To return Enter
Only those parts where the earliest recommended due date on a MIN ScheduledReceipts
scheduled receipt occurs before today’s date. {RecommendedDate} < Today
Expression Syntax
type
Column SUM set_field [logical] {value_expression}
NOTE: The value expression used with this operator should return a numeric value and must be
valid for the set field’s table. For example, if the set field is ScheduledReceipts, the value expression
must be valid on the ScheduledReceipt table.
NOTE: In RapidResponse versions prior to 9.4, the value_expression used with the
SUM operator did not need to be enclosed in curly brackets. This syntax is still supported,
however, it is not recommended as the curly brackets make expressions easier to read and prevent
certain expressions from being written in ways that yield ambiguous results.
TIP: This operator's functionality can be replaced by applying the Total summarization function or
Sum grouping function to a worksheet column. This allows you to calculate the average using the
values matching the worksheet's filter criteria, and can improve worksheet performance. For more
information, see "Apply a summarization function to a column" on page 384 or "Group column
data" on page 382.
Column examples
The following examples are based on the Part table.
To return Enter
The total monetary value of all scheduled receipts for each part. SUM ScheduledReceipts
{Quantity *
Part.StdUnitCost}
The percentage of the total order quantity from independent demands that SUM IndependentDemands
is expected to be late for each part. [DaysLate > 0] {Quantity}
/ SUM IndependentDemands
NOTE: When calculating percentages in a column expression, it is
{Quantity}
recommended to enable the Display as % setting. This setting automatically
multiplies the expression result by 100 and adds the percentage symbol (%)
to the column data.
To return Enter
The total forecast quantity for each part. SUM By(!Part) [!OrderType like
This expression requires columns with identifiers 'Part', 'Forecast'] {!Quantity}
'OrderType', and 'Quantity'.
Filter examples
The following example is a worksheet filter expression based on the Part table.
To return Enter
Only parts having more than 500 units worth of SUM IndependentDemands [Order.Customer.Id =
orders from the customer TBS: 'TBS'] Quantity > 500
OuterContext (^)
Using the OuterContext operator, a set expression can access records outside the set. For example, if a
set expression uses the ScheduledReceipts set field on the Part table, this operator provides access to
the Part table and its fields.
To return to a field outside the set, the ^ character is entered, followed by the name of the required
field. For example, ^Site. In the case of a nested expression, an additional ^ (caret) is required for each
level outside the set you need to go. For example, ^^Site, ^^^Site, and so on.
The OuterContext operator cannot access a set field. For example, if the IndependentDemands set field
is queried from the ScheduledReceipts set field of the Part table using ^IndependentDemands, the
query returns an error.
CAUTION: The OuterContext operator allows for the construction of queries that can be very
expensive or time-consuming to run. For example, consider the example below. For each
scheduled receipt, all the scheduled receipts under the same part also need to be scanned. So, if
there are 10 receipts per part and 100 parts, then there would be 1000 distinct receipts to query.
However, as each receipt would sum up the quantity by scanning all receipts under the part, the
query would actually end up accessing a total of 10000 receipts (each one 10 times). This means
the query would end up being 10 times slower than a straight query on the ScheduledReceipt
table (the factor depends on the average number of records per part). When possible, it is
recommended to find other ways to return the required data rather than using this operator.
Column Example
The following example is based on the IndependentDemand table.
NOTE: Starting with the current order on the IndependentDemand table, the above expression
goes through the Part table and then to the IndependentDemands set field on the Part table. This
set field shows all orders from independent demand for the part in the current order. For each of
the orders in the set, the due date (DueDate) is compared to the due date on the current order
record outside the set (^DueDate). If the two dates are the same, the order is added to the count.
If the two dates are different, the order is not added to the count.
Filter Example
The following example is a worksheet filter expression based on the Part table.
To return Enter
Only parts having scheduled receipts that have HAS ScheduledReceipts [HAS Allocations
allocations from a site other than the part site. [Part.Site.Value <> ^^Site.Value]]
NOTE: Starting with the current order, the above expression first filters all parts to find only those
that have scheduled receipts. If a part has scheduled receipts, then all its receipts are examined to
see if they have allocations. For each one that has allocations, the site of each allocation is
compared against the part site. If the site associated with the allocation is different than the main
part site, the part is returned by the filter.
NOTE: When using the outer context operator with reference fields, only the base key field is used
in a comparison. For example, in the filter expression [Part = ^Part], only the Part.Name field
is compared.
Grouping syntax
The results of column expressions in set fields can be grouped and summarized. To specify a grouping
operation, add a colon and a valid keyword after the column expression (for example, Part:BY).
TOTAL Accumulates or adds grouped values along with values from previous records in sort sequence.
Sorting syntax
The results of column expressions in set fields can be sorted in ascending or descending order. To
specify a sort operation, add a colon and a valid keyword after the column expression. For example,
DueDate:A.
Keyword Description
A Sorts the column values in ascending order (smallest value first).
By default, the sorting ignores a hyphen or apostrophe; that is, words sort as though the hyphen or
apostrophe did not exist. For example, Mary's always sorts after Marys.
If your resources have many hyphens or apostrophes, you can use a string sort to treat all characters
independently and sort hyphens and apostrophes as non-alphanumeric symbols, and group them
together before alphanumeric characters. For example, Mary's would sort before Marys.
To use the string sort, add the StringSort modifier to the A or D modifier. For example,
Name:D:StringSort.
Examples
The following show examples of grouping and sorting operations used in set expressions based on the
Part table.
To return Enter
The number of unique customers having orders for a given part. COUNT IndependentDemands
{Order.Customer:BY}
A string listing customers with orders for a specific part, sorted in CONCATENATE IndependentDemands
ascending order, and grouped so each customer name is returned {Order.Customer.Name:BY:A}
only once.
Mathematical functions
Math functions let you perform advanced statistical calculations on your data, and can sometimes be
used to simplify the construction of conditional expressions. For more information, see "IF" on page
1138.
The table below summarizes the mathematical functions available in RapidResponse:
Function Description
"ABS" on page 1163 Returns absolute value of Quantity or Money value.
"EXP" on page 1164 Raises one number to the power of a second value.
"LOG" on page 1164 Returns base 10 logarithm of a number.
"MAX and MIN" on page 1165 Returns the maximum or minimum from a list of two or more values.
"MOD" on page 1165 Returns the whole-number remainder of dividing two numbers.
"MULT" on page 1166 Returns the nearest multiple of a specified multiplier that is greater than or
equal to a Quantity or Money value.
"RANDOM" on page 1167 Generates and returns a random number.
"Rounding functions (quantity)" Return either the nearest Integer to, above or below a Quantity or Money
on page 1167 expression.
"SQRT" on page 1168 Returns the square root of a Quantity or Money value.
ABS
Returns the absolute value of a Quantity or Money value:
ABS (number)
EXP
Raises one number to the power of a second value (which can be fractional if you want to calculate a
root value):
EXP (number, power)
Examples
Entering Returns
EXP (5, 2) 25 (that is, the square of 5).
EXP (Quantity, The cube of the Quantity field.
3)
EXP (UnitCost, The square root of the UnitCost field.
0.5) You can also calculate the square root of a value using the SQRT function. For more
information, see "SQRT" on page 1168.
LOG
Returns the base 10 logarithm of a number:
LOG (number)
If you require logarithms in another base, divide by the log of that base. The LOG function can be used
with rounding functions to group Quantity or Money values into buckets for statistical analysis as
shown in the final example below.
Examples
Entering Returns
MAX (UnitSellingPrice, The greater of the UnitSellingPrice for an order or the part’s
Part.AverageSellingPrice) average selling price.
MIN (DueDate, PromisedDate, The earlier of an order’s due date, promised date, or available
AvailableDate) date.
MIN (A,B) The lowest (in alphabetical sort) of string argument A or string
argument B.
MOD
Returns the remainder of dividing a number by a divisor. This function is also referred to as modulo or
modulus.
This function uses the following syntax:
MOD (number, divisor)
The number and the divisor can be integers or numbers. Depending on the value of either, this function
can return an integer or a number.
Examples
Entering Returns
MOD (Quantity, 2) The remainder of dividing the Quantity by two. For even integer values, 0 is
returned. For odd integer values, 1 is returned.
MOD (3, 2) 1
MOD (6, 2.4) 1.2
MOD (7.5, 3) 1.5
MOD (107, -5) 2
MOD (-31, 2) -1
MOD (Quantity, The remainder of dividing the Quantity by the ShippedQuantity.
ShippedQuantity)
MULT
Returns the nearest multiple of a specified multiplier that is greater than or equal to a Quantity or
Money value using the following syntax:
MULT (number, multiplier)
If number is close to being a multiple of the specified multiplier, this operator allows for slight error
in expression calculations to prevent the number from being rounded up to the next multiple (which
would be less representative than the expected result).
If the specified multiplier is zero or negative, number is returned.
Examples
Entering Returns
MULT (Quantity, 5) The nearest multiple of 5 that is greater than or equal to the value in the Quantity field.
For example, if the value in the Quantity field is 70, then 70 is returned. However, if the
value in the Quantity field is 74, then 75 is returned.
MULT The value in the UnitSellingPrice field.
(UnitSellingPrice,
-10)
Usage Syntax
To return a random RANDOM ()
number between 0 and A random floating point (decimal) value between 0 and 1 is returned.
1.
To return a random RANDOM (max)
whole number between
where max specifies the upper range of the random numbers that can be generated.
0 and a specified
This value should be a whole (integer) number. This syntax returns an integer.
maximum.
Examples
Entering Returns
RANDOM () A random floating point value between 0 and 1 (not including 1).
RANDOM (1) A random 0 or 1 value.
RANDOM (25) A random whole number between 0 and 25 (inclusive).
RANDOM (5, 50) A random whole number between 5 and 50 (inclusive).
SQRT
Returns the square root of a Quantity or Money value.
The following syntax is used:
SQRT(number)
Examples
Entering Returns
SQRT(25) 5
SQRT(Quantity) The square root of the value in the Quantity field.
SQRT(Quantity * UnitSellingPrice) The square root of an order's revenue.
NOTE: If a negative value is used with the SQRT function, a NaN result (not a number) is returned.
Text functions
Text functions let you format text string fields or expressions. For text functions that start with "list", you
can process itemized lists of text string data. For example, you might be processing a field that contains
a delimited list of hierarchy levels. You can use text operators starting in "list" to return specific items
within a list, or to provide summary information about the list items.
The table below summarizes the text functions available in RapidResponse:
Function Description
"ESCAPE" on page 1170 Inserts specified escape characters in a text string.
"EXPAND" on page 1170 Inserts spaces between words and replaces underscores in a text string.
"LISTASSETWITHINDEX" Returns a list of text string values converted to a set of indexed values.
on page 1175
"LISTCONTAINS" on page In Boolean expressions, tests for the existence of a specified value in a text string list.
1176
"LISTCOUNT" on page Returns the number of items found in a text string list.
1177
"LISTGET" on page 1177 Returns a specified item (by numerical position) from a text string list.
"LISTGETFROMEND" on Returns a specified item (by numerical position) starting from the end of a text string
page 1178 list.
"LISTGETWITHDEFAULT" Returns a specified item (by numerical position) from a text string list or a specified
on page 1179 default if the item cannot be found.
"LISTINDEXOF" on page Returns the numerical position of a specified text string within a list of items.
1180
"LISTLEFT" on page 1181 Returns a specified number of items starting from the left most position in a text
string list.
"LISTMID" on page 1182 Returns a range of items from a specified position in a text string list.
"LISTRIGHT" on page 1183 Returns a specified number of items starting from the right most position in a text
string list.
"LISTSET" on page 1183 Replaces a given item in the list with a specified string value.
"MID" on page 1184 Returns a specified number of characters from a defined position in a text string field
or expression.
"QUOTE" on page 1184 Inserts specified escape characters into a text string and encloses the entire string in
quotes.
"REPEAT" on page 1185 Repeats a text string field or expression a given number of times as defined by a
Quantity field or expression.
"REPLACE" on page 1186 Uses regular expressions for string comparison and replacement in query
expressions.
"RIGHT" on page 1188 Returns a specified number of characters from the right side of a text string field or
expression.
"TRIM" on page 1188 Returns a text string with spaces or other specified characters removed from either
end of the string.
ESCAPE
Inserts specified escape characters in a text string. For example, this can be used to escape characters
that have special meaning.
The following syntax is used:
ESCAPE(text, escapeChars)
where
Examples
Entering Returns
ESCAPE The Description field with the backslash used as the escape character, and the dot and
(Description) asterisk characters also escaped.
ESCAPE 13\.00mg&Ab\*
("13.00mg&Ab*")
ESCAPE 13.00mg&&Ab&*
("13mg&Ab*",
"&*")
NOTE: You can also use the QUOTE operator if you want characters escaped with the text string
enclosed in quotes. For more information, see "QUOTE" on page 1184.
EXPAND
This function inserts spaces between words and replaces underscores in a text string, which you can use
to format text to improve readability. For inserting spaces, words are determined by capital and lower
A string consisting of multiple Spaces are inserted before each capital letter after 'ABCCode' becomes
words and multiple adjacent the first, if there is a lower case letter following it. 'ABC Code'.
capital letters. Consecutive capital letters are not split up.
A string consisting of multiple Spaces are inserted before each capital letter after 'Category7default'
words and numbers. the first and before and after blocks of numbers. becomes 'Category
7 default'.
A string consisting of multiple The underscores are replaced by spaces. If multiple 'Forecast___
words separated by underscore underscores are used, they are replaced by a single Modify' becomes
characters. space. 'Forecast Modify'.
A string consisting of multiple The spaces are replaced by a single space. 'C Code
words separated by multiple Update' becomes 'C
spaces. Code Update'.
Examples
Entering Returns
EXPAND('ABCCode') ABC Code
EXPAND('Adjust___ Adjust Order
Order')
EXPAND(Order.Type) The value in the Order.Type field, with spaces inserted where required.
EXPAND(Status+ text The Status and ShipDate values, separated by spaces. This expression converts the
(ShipDate)) ShipDate value from a Date to a String.
LCASE
Formats a text string field or expression in all lowercase letters. The following syntax is used:
LCASE(text)
NOTE: You can also format text in all uppercase using the UCASE function. For more information,
see "UCASE" on page 1191.
LEFT
Returns a specified number of characters from the left side of a text string field or expression. The
following syntax is used:
LEFT(text, number)
The number argument indicates the number of characters to return.
Examples
Entering Returns
LEFT(Name, 3) The first three characters of the Name field.
LEFT('abc-0224', 3) abc
LENGTH
Returns the number of characters in a text string field or expression. The following syntax is used:
LENGTH(text)
Examples
Entering Returns
LENGTH(Description) The number of characters in the Description field.
LENGTH('abcdef') 6
Examples
Entering Returns
By default, the list begins after the leading character and ends before the last trailing character.
If the leading and trailing characters are in the middle of the list, they are treated as normal characters.
If a list has multiple leading or trailing characters, the multiples will be ignored. Instead the list starts from the
character that differs from the leading characters and it ends with the first trailing character.
If the leading, trailing, and separator characters are the same type of character, except for the first and last
characters, all other characters are treated as a separator.
Additional examples
MIN(LISTASSET('aaa,ccc,bbb')){Value} aaa
NOTE: The last two examples above show the output of the LISTASSET function used in a set
expression. For more information about sets, see "Set operators" on page 1145.
NOTE: You can also return lists of string items as sets of paired values or as set with an
accompanying index. For more information, see "LISTASSETOFPAIRS" on page 1174 and
"LISTASSETWITHINDEX" on page 1175.
LISTASSETOFPAIRS
Returns a list of text string values converted to sets of paired values. Each record in the returned set
contains one column named "Key" and one column named "Value". In order to be used with this
function, a given list must contain an even number of values. Each group of two consecutive values in
the list are paired together as the "Key" and "Value" respectively.
The following syntax is used:
LISTASSETOFPAIRS(list, separator)
where
l list defines the string field or expression to be converted to a set. If the list contains an odd
number of items, an error is returned.
l separator is an optional parameter that defines the list separator character, and the leading and
trailing characters attached to list values, if any. This value consists of either a one character text
string that identifies the separator character, or a three character text string that identifies the
leading character, separator character, and trailing character. For example, if the list values are
contained in square brackets and the list is separated by commas, the separator value would be
[,]. If this argument is not used, a comma is assumed to be the separator character, with no
leading and trailing characters.
NOTE: The last two examples above show the output of the LISTASSETOFPAIRS function used in a
set expression. For more information about sets, see "Set operators" on page 1145.
LISTASSETWITHINDEX
Returns a list of text string values converted to a set. Each record in the set then contains one column
named "Value" and one column named "Index". The Value column contains the text string values, and
the Index column identifies the position of each of those values in the original list. This allows for the
original position of the list items to be maintained and used for sorting and filtering purposes. Note
that this function uses a zero-based index (that is, the first item in the list has an Index of 0, the second
item in the list has an Index of 1, and so on).
The following syntax is used:
LISTASSETWITHINDEX(list, separator)
where
Typically, set operators can then be used to display particular details about the items in the set as
shown in the following examples. For more information about sets, see "Set operators" on page 1145.
NOTE: To return the list items as just a set, without the accompanying index values, the ListAsSet
function can be used instead. For more information, see "LISTASSET" on page 1173.
LISTCONTAINS
Used in Boolean expressions to test for the existence of a specified value in a text string list. Returns true
if the value is found in the list, and false if it is not.
The following syntax is used.
LISTCONTAINS(list, string, separator)
where
LISTCOUNT
Returns the number of items found in a text string list.
The following syntax is used.
LISTCOUNT(list, separator)
where
Examples
Entering Returns
LISTCOUNT(Parameters) The number of items from the list of values in the Parameters field.
LISTCOUNT The number of items from the list of values in the Order.Target.Id field. This
(Order.Target.Id, '|') example assumes pipe (|) delimited list values.
LISTCOUNT('yellow, 3
brown, black')
LISTGET
Returns a specified item (by numerical position) from a text string list.
The following syntax is used.
LISTGET(list, number, separator)
Examples
Entering Returns
LISTGET(Parameters, 2) The second item from the list of values in the Parameters
field.
LISTGET('blue, red, green, white', 3) green
LISTGET('yellow-| brown-| black-', 2, brown-
"|")
LISTGET('yellow-| brown-| black-', 2, ' brown
|-')
NOTE: If the number of items in a list is less than the value specified in the number argument, an
error is returned. However, you can use the LISTGETWITHDEFAULT operator if you want to define a
default value to be returned in cases where the specified number is greater than the number of
elements in the list. For more information, see "LISTGETWITHDEFAULT" on page 1179.
LISTGETFROMEND
Returns a specified item (by numerical position) starting from the end of a text string list.
The following syntax is used.
LISTGETFROMEND(list, number, separator)
where
NOTE: If the number of items in a list is less than the value specified in the number argument, an
error is returned.
LISTGETWITHDEFAULT
Returns a specified item (by numerical position) from a text string list.
The following syntax is used.
LISTGETWITHDEFAULT(list, number, default, separator)
where
NOTE: You can also use the LISTGET operator if you do not require a default value to be specified.
For more information, see "LISTGET" on page 1177.
LISTINDEXOF
Returns the numerical position of a specified text string within a list of items.
The following syntax is used:
LISTINDEXOF(list, string, separator)
where
l list defines the string field or expression containing the list to be evaluated.
l string indicates the string value whose numerical position is to be returned from the list. If the
text string is not found in the list, zero (0) is returned instead.
l separator is an optional parameter that defines the list separator character, and the leading and
trailing characters attached to list values, if any. This value consists of either a one character text
string that identifies the separator character, or a three character text string that identifies the
leading character, separator character, and trailing character. For example, if the list values are
contained in square brackets and the list is separated by commas, the separator value would be
[,]. If this argument is not used, a comma is assumed to be the separator character, with no
leading and trailing characters.
LISTINDEXOF('green, yellow, 3
blue', 'blue')
LISTINDEXOF 0
('green|yellow|blue',
'brown', '|')
LISTINDEXOF 2
('green|yellow|blue',
'yellow', '|')
LISTLEFT
Returns a specified number of items starting from the left most position in a text string list.
The following syntax is used:
LISTLEFT(list, count, separator)
where
Examples
Entering Returns
LISTLEFT(Parameters, 3) The three left-most items from the list of values in the
Parameters field.
LISTLEFT('blue, red, green, white', blue, red
2)
NOTE: If the list has leading and trailing delimiter characters, this function includes them in its
output.
LISTMID
Returns a range of items from a specified position in a text string list.
The following syntax is used:
LISTMID(list, start, end, separator)
where
Examples
Entering Returns
LISTMID(Parameters, 3, 5) The third, fourth, and fifth items from the list of values in the
Parameters field.
LISTMID('blue, red, green, white', red, green
2, 3)
NOTE: If the list has leading and trailing delimiter characters, this function includes them in its
output.
NOTE: If either the start or end argument specifies an item outside the list range, this function
returns a blank result.
Examples
Entering Returns
LISTRIGHT(Parameters, 3) The three right-most items from the list of values in the
Parameters field.
LISTRIGHT('blue, red, green, white', green, white
2, ',')
NOTE: If the list has leading and trailing delimiter characters, this function includes them in its
output.
LISTSET
Replaces a given item in the list with a specified string value.
The following syntax is used:
LISTSET(list, position, string, separator)
where
Examples
Entering Returns
LISTSET Returns the list of values in the Header.Target.Id field, with the string '...' replacing
(Header.Target.Id, the first item in the list. This example assumes pipe (|) delimited list values.
1, '...', '|')
LISTSET('blue, red, blue, yellow, green
green', 2, 'yellow')
MID
Returns a specified number of characters from a defined position in a text string field or expression. The
following syntax is used:
MID(text, start, number)
The start argument indicates the initial character position to display (starting from 1), and the number
argument indicates the total number of characters to display from start.
Examples
The following examples are based on the Part table.
Entering Returns
MID (Id, 3, 2) The third and fourth characters from the Id field.
MID('AC-619-A1', 4, 3) 619
QUOTE
Inserts specified escape characters into a text string and encloses the entire string in quotes. For
example, this can be used to escape characters that have special meaning, and enclosing the string in
quotes makes it suitable for use in an expression.
The following syntax is used:
QUOTE(text, quoteEscapeChars)
where
Examples
Entering Returns
QUOTE(Description) The Description field in single quotes, with the backslash used as the escape character.
QUOTE(Description, The Description field in single quotes, with the ampersand used as the escape
"''&*") character, and the asterisk character also escaped.
QUOTE("95'prod*") '95\'prod*'
QUOTE("95'prod*", '/9/5/'prod*'
"''/95"
QUOTE("95'prod*", -95'prod**-
"--*")
NOTE: You can also use the ESCAPE function if you want characters escaped without having the
text string enclosed in quotes. For more information, see "ESCAPE" on page 1170.
REPEAT
Repeats a text string field or expression a given number of times as defined by a Quantity field or
expression. A typical use of this function might be to indent part names in an indented bill type
worksheet. The following syntax is used:
REPEAT(text, number)
where
The output produced by this function must not exceed 4000 characters. An error is given at runtime if
any column using this function produces a value exceeding that character limit. For example, if an
expression repeats a part name 500 times, an error would be generated if there are any part names
greater than 8 characters in the record set being evaluated.
REPLACE
The REPLACE function enables the use of regular expressions for string comparison and replacement
within RapidResponse query expressions. This function can be used to specify a regular expression
pattern along with a replacement string to be substituted in place of instances of that pattern. The
replacement string can include any alpha, numeric, or special characters, as well as elements of the
matched pattern string itself. For example, you can use this function to replace or mask forbidden
characters, remove empty spaces, or change the formatting and display associated with certain values
found in a string.
The REPLACE function returns a copy of an input string with any instances of a regular expression
pattern replaced by the specified replacement characters. The following syntax is used.
REPLACE(string, pattern, replacement)
where
l string indicates the string field or expression in which to look for the specified pattern.
l pattern is a regular expression string defining the character pattern against which the string
parameter is compared. By default, any alpha characters included in the regular expression pattern
are assumed to be case insensitive, however case sensitivity can be enabled using the ?-i syntax
as shown in the example section below. Regular expression patterns can also make use of certain
characters that have special meaning in a pattern. For example, the dollar sign ($) can be used to
indicate that the pattern should match at the end of the string only. If you need to include such
special characters in the actual string pattern you are searching for, they should be preceded with
a backslash character (\). Regular expression patterns also support special interpretations of
certain alpha characters if preceded by a backslash. For example, \s can be used to indicate a
space. If including these or similar backslash constructs in your regular expression patterns, you
should specify the pattern as a verbatim string literal to ensure the backslashes are interpreted as
intended (that is, use @'string' instead of just 'string'. See the example section below for
cases where verbatim string literals might be used.
l replacement defines the replacement character string to substitute in place of instances of a
matched pattern in the input string. The replacement character string can include specified alpha,
numeric, or special characters, as well as references to elements in (or around) the matched
pattern in the string itself. References to matched string patterns make use of the $ character and
typically include numbered references to the parenthesized groups in the pattern. For example $1
refers to the first parenthesized group in the pattern, $2 refers to the second parenthesized item
in the pattern, and so on. Therefore, if you want to reuse elements of the matched string pattern
in your replacement string, you should ensure the pattern parameter makes appropriate use of
parentheses to identify the required groups in the pattern.
Character Usage
\n Represents a new line.
\s Represents a space.
\" Represents a quotation mark. You must include the escape character to include quotation marks in
a String, otherwise the quotation mark ends the String.
\' Represents a single quote. You must include the escape character to include a single quote in a
String, otherwise the single quote ends the String.
\\ Represents a backslash. You must include the escape character if the String contains a backslash
character. Otherwise, the character following the backslash is treated as an escaped character.
NOTE: The REPLACE function relies on regular expression syntax as implemented in the Microsoft
.NET Framework. For a complete reference on the supported syntax for defining string patterns
and their replacement strings, see http://msdn.microsoft.com/en-us/library/az24scfc.aspx.
NOTE: If you just want to compare and match regular expression patterns in your input strings,
but not actually replace any characters, you can use the ISMATCH function instead. For more
information, see "ISMATCH" on page 1135.
NOTE: If you just want to remove characters, such as zeroes or spaces, from the beginning or end
of a string, you will get better performance using "TRIM" on page 1188, "TRIMLEADING" on page
1189, or "TRIMTRAILING" on page 1190.
Examples
The following table shows column expressions using the REPLACE function.
Entering Returns
REPLACE(Value, '[m-z]', '*') The Value field with each instance of an alpha character between m and
z replaced by the asterisk character (*).
REPLACE(Value, @'\s', '') The Value field with each instance of a space removed.
REPLACE(Value, '^([0-9]{3})', The Value field with the first three characters enclosed in parentheses if
'($1)') they are numerals.
REPLACE(Value, '(?-i)([A-Z] The Value field with a dash inserted any time three upper case alpha
{3})([0-5])', '$1-$2') characters are followed by a numeral between zero and five.
REPLACE(Description, @' The Description field with the string "chip" enclosed in double-quotes
(\bchip\b)', '"$1"') anytime it is used as a whole word.
RIGHT
Returns a specified number of characters from the right side of a text string field or expression. The
following syntax is used:
RIGHT(text, number)
The number argument indicates the number of characters to return.
Examples
Entering Returns
RIGHT(Name, 3) The last three characters of the Name field.
RIGHT('abc-0224', 4 0224
TRIM
Returns a text string with any leading or trailing spaces, or other characters that you specify, removed.
The following syntax is used
TRIM(text, match_characters)
where
text indicates the string field or expression from which leading and trailing spaces should be removed.
Examples
Entering Returns
TRIM(Part.Name) The part name minus leading or trailing spaces.
TRIM (' ab c ') ab c
(Spaces are removed from either end of the text string.)
TRIM (' ab c ', ' a') b c
(Spaces are removed from either end of the text string, and the 'a' is
also removed.)
TRIM (' ab c ', 'a') ab c
(Because there is a space before the 'a' in the text string, and there is
not a space included in the match_characters string, no characters
are trimmed from the text string.)
NOTE: To remove only leading spaces or characters, the TRIMLEADING operator can be used. For
more information, see "TRIMLEADING" on page 1189.
NOTE: To remove only trailing spaces or characters, the TRIMTRAILING operator can be uses. For
more information, see "TRIMTRAILING" on page 1190.
TRIMLEADING
Removes any leading spaces or specified characters from the beginning of a text string.
The following syntax is used:
TRIMLEADING(text, match_characters)
where
l text indicates the string field or expression from which leading spaces or characters are removed.
l match_characters is an optional argument listing the characters that should be removed from
the beginning of the string. The order of the characters is not important. Do not put separators,
such as commas, between the match characters.
If you do not include the match_characters argument, all spaces and other blanks, such as
tabs, are removed from the beginning of the string.
Examples
NOTE: To remove both leading and trailing spaces or characters, the TRIM operator can be used.
For more information, see "TRIM" on page 1188.
NOTE: To remove trailing spaces or characters, the TRIMTRAILING operator can be used. For
more information, see "TRIMTRAILING" on page 1190.
TRIMTRAILING
Removes any trailing spaces or specified characters from the end of a text string.
The following syntax is used:
TRIMTRAILING(text, match_characters)
where
l text indicates the string field or expression from which trailing spaces or characters are removed.
l match_characters is an optional argument listing the characters that should be removed from
the end of the string. The order of the characters is not important. Do not put separators, such as
commas, between the match characters.
If you do not include the match_characters argument, all spaces and other blanks, such as
tabs, are removed from the end of the string.
Examples
Entering Returns
TRIMTRAILING(Description) The Description field with trailing spaces removed.
TRIMTRAILING(' ab ') ab
(The spaces at the beginning of the text string are not removed, but
the space at the end is removed.)
NOTE: To remove both leading and trailing spaces or characters, the TRIM operator can be used.
For more information, see "TRIM" on page 1188.
NOTE: To remove leading spaces or characters, the TRIMLEADING operator can be used. For more
information, see "TRIMLEADING" on page 1189.
UCASE
Formats a text string field or expression in all uppercase letters. The following syntax is used:
UCASE(text)
Examples
Entering Returns
UCASE(BuyerCode.Value) The BuyerCode in all uppercase letters.
UCASE('AC-frame') AC-FRAME
NOTE: You can also format text in all lower case using the LCASE function. For more information,
see "LCASE" on page 1171.
Conversion functions
Conversion functions let you convert a field or expression from one data type to another. For example,
because the true and false values returned by conditional expressions must be of the same data type,
you might need to convert a date or quantity to a text string value to ensure this compatibility. Or,
because profile variables are always passed into expression as text, you might need to convert a string
value to a number or date for use within an expression.
The table below summarizes the conversion functions available in RapidResponse:
CanonicalScenarioID Used together, these functions return a text string containing the name, scope, owner, or
and sequence number of a scenario.
ScenarioProperty
"DATEVALUE" on Converts either text strings or datetime values to the date data type.
page 1194
"DATETIMEVALUE" Converts either a text string or a date and a time value to the datetime data type
on page 1195
"NUMERICVALUE" Converts a text string or money field or expression to a numeric data type or returns the
on page 1197 calculated amount of time between a date or datetime value and the earliest date value
allowed in RapidResponse.
"TEXT (date/time)" Formats Date, DateTime, and Time values as text.
on page 1198
"TIMEBUCKET" on Rounds datetime expressions to a specified time interval that is at or earlier than the
page 1203 datetime being evaluated.
"TIMEVALUE" on Converts a text string field or expression to the time data type.
page 1203
BOOLEANVALUE
Converts a text string to a Boolean value using the following syntax.
BOOLEANVALUE (text, error_value)
where
l text is a text string, field, or expression that contains a 'Y' or 'N' value.
l error_value is an optional Boolean value or text string that contains the Boolean value to be
returned if the specified text is not a valid Boolean value.
Examples
These examples are based on the IndependentDemand table.
Entering Returns
BOOLEANVALUE('Y') True
IF(BOOLEANVALUE(EVAL($Late)), 'Late', 'On 'Late' or 'On time', depending on the value in the $Late variable.
time') For more information about the EVAL function, see "EVAL" on
page 1227.
CanonicalScenarioId
This function returns a text string that describes ascenario. Use the syntax
CanonicalScenarioId(scenario, user)
where
l scenario is a scenario in RapidResponse. You can give just the name of a scenario, or you can
give both the name and the scope (private or shared) using the format ?scope:scenario name.
If you give just the name, the scenario's scope is assumed to be shared.
l user is an optional argument that specifies the user ID of the owner of the scenario. If no user is
specified, the default is the current user.
The content of this text string should not be relied on, except for use as a parameter for the
ScenarioProperty function.
ScenarioProperty
This function takes the text string generated by the CanonicalScenarioID function, and returns one of
the following four pieces of information: the name, the type, the owner, or the sequence number. It uses
the syntax
ScenarioProperty(canonical scenario ID, property)
where
Examples
Entering Returns
ScenarioProperty(CanonicalScenarioId In a single-scenario worksheet, the name of the scenario
($Scenario0) 'Name') selected in the workbook data settings.
In a multi-scenario worksheet, the first scenario selected in
the workbook data settings (the baseline scenario).
ScenarioProperty (CanonicalScenarioID If the current user owns a private scenario named Test, the
('?private:Test'), 'Sequencenumber') sequence number of that scenario.
If the current user does not own a private scenario named
Test, the value returned is blank.
DATEVALUE
This function can be used to convert either text strings or datetime values to the date data type.
l text is a text string containing a date value formatted in a date format supported by
RapidResponse (for example, yyyy-mm-dd or mm/dd/yy). For a complete list of supported data
formats, see "Data types and constants" on page 1127. Note that If the date specified is earlier
than January 1, 1970 a value of "Past" is returned, and if the date specified is later than December
31, 2037 a value of "Future" is returned.
l errorValue is an optional argument that can be used to specify a valid date or date constant to
be returned if the text provided cannot be converted to a date. If no errorValue is provided and
the text cannot be converted to a date, an error is generated.
Examples
Entering Returns
DateValue($AnalysisDate) + 5 Five days after the value defined by the AnalysisDate profile
variable.
NOTE: All examples above are assumed to use Eastern Standard Time.
DATETIMEVALUE
This function can be used to convert either a text string or a date and a time value to the datetime data
type.
l text is a text string consisting of a date followed by a time. The date should be in a date format
supported by RapidResponse (for example, yyyy-mm-dd or mm/dd/yy). The time should be
formatted in either the 24 hour format with colon separators or the 12-hour format with colon
separators and a one or two digit A.M./P.M. indicator (either time format may also include an
optional seconds value). For a complete list of all supported date and time formats, see "Data types
and constants" on page 1127. If the date specified is earlier than January 1, 1970 a value of "Past" is
returned, and if the date specified is later than December 31, 2037 a value of "Future" is returned. If
a time value is not specified, midnight is used.
l date should be formatted in a date format supported by RapidResponse (for example, yyyy-mm-
dd or mm/dd/yy). For a listing of the date formats supported in RapidResponse, see "Data types
and constants" on page 1127. You can also use the Past, Future, and Undefined date constants.
l time should be formatted in either the 24-hour format with colon separators or the 12-hour
format with colon separators and a one or two digit A.M./P.M. indicator (either time format may
include an optional seconds value). This value is not required if you use the Past, Future, or
Undefined date constant.
l timeZone argument is optional and allows for the date returned to be in a specified time zone. If
used, this argument must reference a valid time zone in RapidResponse. If this value is not
specified, the user's local time zone is used.
Examples
Entering Returns
DATETIMEVALUE($AnalysisDateTime) The value of the AnalysisDateTime profile variable
converted to a datetime value.
l text is a string field or expression containing a valid number. The number can contain optional
thousands and decimal separators, as well as leading or trailing currency symbols.
l errorValue is an optional argument that can be used to specify a numeric value to be returned if
the text provided cannot be converted to a number. If no errorValue is provided and the text
cannot be converted to a number, an error is returned.
l separator is an optional argument that can be used to specify the characters used as
thousands and decimals separators. If used, this argument should be a text string consisting of
two characters; the first character is the thousands separator and the second is the decimal
separator. If this argument is not used, a comma is assumed to be the thousands separator and a
period is assumed to the decimal separator.
Examples
Entering Returns
NUMERICVALUE(Line) The value in the Line field converted to a numeric data type.
NUMERICVALUE('2050') 2050
NUMERICVALUE('205a') An error.
NUMERICVALUE('205a', 0) 0
NUMERICVALUE('2.000') 2
A date argument is also available for specifying the date when the conversion rate was calculated.
However, as of RapidResponse 11.2, this argument is not recommended because its use can override
other currency conversions and produce incorrect results. For information about specifying a currency
conversion date, see "CONVERTONDATE" on page 1206.
Examples
Entering Returns
NUMERICVALUE The number of seconds between the value in the LastDataUpdate field and
(LastDataUpdate) January 1, 1970.
NUMERICVALUE(2009-12-01) 14,579
NUMERICVALUE(ts'12-01-10 1,291,262,400
23:00')
NUMERICVALUE(23:00) 82,800
TEXT (date/time)
The TEXT function can be used to format Date, DateTime, and Time values as text as shown in the
following table.
You can also use Date and DateTime constants with these functions. For more information, see "Data
types and constants" on page 1127.
Date codes
The following can be used when formatting Date and DateTime data types.
Code Returns
d one or two-digit day (1, 2, 14, 29,...)
dd two-digit day (01, 02, 14, 29,...)
ddd three character day of week name (Mon, Tue, Fri,...)
dddd full name of the day of the week (Monday, Friday,...)
Time codes
The following can be used when formatting DateTime and Time data types.
Code Displays
h The hour in a 24-hour clock where single digit hours will not have a leading zero.
hh The hour in a 24-hour clock where single digit hours will have a leading zero.
m The minute where single digit minutes will not have a leading zero. In order to avoid conflict with the
“m” used for a single digit month, any “m” seen after an “h” is interpreted as a minute, unless there is an
intervening ‘d’, ‘y’, or ‘m’ format.
mm The minute where single digit minutes will have a leading zero. In order to avoid conflict with the “mm”
used for a two digit month, the same convention is followed as discussed in the previous row.
s The second where single digit seconds will not have a leading zero.
ss The second where single digit seconds will have a leading zero.
f to Fraction of a second. A single f represents tenths of a second, two f’s represent hundredths of a second,
fffffff and so on. Up to seven f’s are supported. For example, fff represents thousandths of a second.
F to Fraction of a second. A single F represents tenths of a second, two F’s represent hundredths of a second,
FFFFFFF and so on. Up to seven F’s are supported. Using uppercase F’s is similar to lowercase except the
uppercase drops trailing zeros. For example, .fff could return .230. If you used .FFF, the same data then
.23 is returned.
t The AM/PM designator as a single character.
tt The AM/PM designator.
ttt The 12-hour clock without an AM/PM designator.
z The time zone offset (“+” or “-” followed by the hour only) where single digit hours do not have a
leading zero. For example, Pacific Standard Time is “-8”.
zz The time zone offset (“+” or “-” followed by the hour only) where single digit hours have a leading zero.
For example, Pacific Time is “-08”.
zzz The full time zone offset (“+” or “-” followed by the hour and minutes) where single digit hours and
minutes have a leading zero. For example, Pacific Time is “-08:00”.
zzzz The name of the TimeZone, as defined in RapidResponse.
Entering Returns
TEXT (DueDate, 'mmmm dd, yyyy') June 20, 2012
TEXT (DueDate, 'ddd mmm d, yyyy') Mon June 20, 2012
TEXT (DueDate, 'yyyymmdd') 20120620
TEXT (DueDate, 'yy/mm/dd') 12/06/20
TEXT (DueDate, 'mmm d \' yy') Jun 20 '12
TEXT (DueDate, ' "Order is due on" yy-mm-dd') Order is due on 12-06-20
The following examples show how to display a datetime field (ShipDateTime) in a number of different
formats. These examples assume a ShipDateTime value of June 30th 2012 at 2 PM, and the local time
zone is GMT.
Entering Returns
TEXT (ShipDateTime, 'yyyy-mm-dd hh:mm') 2012-06-30 14:00
TEXT (ShipDateTime, 'mmmm d, yyyy', "(GMT+12:00) Fiji Time") July 1, 2012
TEXT (ShipDateTime, 'mmm d yyyy h:mm tt', "(GMT-05:00) Eastern Jun 30 2012 9:00 AM
Time")
TEXT (ShipDateTime, '"Shipped on" mmmm dd "at" h tt') Shipped on June 30 at 2
PM
The following examples show how to display a DateTime field using different formats. These examples
assume the date August 1, 2014 and the time of 13:25:09.120.
Entering Displays
TEXT(NOW, 'hh:mm:s') 13:25:9
TEXT(NOW, 'hh:mm:ss.fff') 13:25:09.120
TEXT(NOW, 'hh:mm:ss.FFF') 13:25:09.12
TEXT(NOW, 'h:mm tt') 1:25 PM
TEXT(NOW, 'hh:mm:ss t') 01:25:09 P
TEXT(NOW, '"Reviewed at" hh:mm:ss') Reviewed at 13:25:09
TEXT(NOW, 'mmmm d, yyyy", -- "hh:mm:ss.fff') August 1, 2014, -- 13:25:09.120
NOTE: The TEXT function can also be used with Integer and Quantity values. For more
information, see "TEXT (numbers)" on page 1202.
NOTE: For more information about the NOW DateTime constant, see "Date codes " on page 1199.
Data Syntax
type
Quantity TEXT (quantity, decimals, minChars, separators)
where
l decimals is an optional argument specifying the number of decimals to display. If not provided,
then as many decimal points as are needed to accurately reflect the quantity are displayed (up to a
maximum of 10).
l minChars is an optional argument specifying the minimum number of digits to display. Leading
zeroes are added to any value that has less than the specified number of digits.
l separators is an optional argument specifying the separator characters used to format values. This
argument accepts up to two string characters; the first is always used to indicate the decimal point
character and the second, if included, is used to indicate the thousands separator character.
NOTE: If separators is required but minChars is not, then separators becomes the third argument
instead of the fourth.
Examples
The following examples are based on the ScheduledReceipt table.
Entering Returns
TEXT (Quantity * The product of the Quantity and Part.AverageSellingPrice fields to
Part.StdUnitCost, 2) two decimal places.
IF(AvailableDate > DueDate, TEXT The number of days late if the supply is expected to be late and a
(AvailableDate - DueDate), 'On string indicating 'On Time' otherwise.
Time'
TEXT (EffQuantity, 2, ', ') The EffQuantity field formatted to 2 decimal places, with a comma (,)
used as the decimal point and a space ( ) used as the thousands
separator.
TEXT(1.5 * 3, 2) 4.50
TEXT(1.5 * 3, 0) 5
TEXT(66, 0, 3) 066
TEXT(1574.979, 2, 8, '.,' ) 001,574.98
NOTE: The second example above is a conditional expression where the TEXT function is used to
ensure the "true" and "false" values each return the same data type.
NOTE: The TEXT function can also be used to convert date and time values. For more information,
see "TEXT (date/time)" on page 1198.
Examples
Entering Returns
TIMEBUCKET(ShipDateTime, 00:15) The nearest quarter hour at or before the ShipDateTime field
value.
TIMEBUCKET(2010-08-30 10:55:00, 2010-08-30 10:45:00
00:15)
TIMEBUCKET(2010-08-30 21:28:29, 2010-08-30 10:28:00
00:01)
ROUNDUP(Now, 01:00) The nearest hour at or before the current date and time.
TIMEVALUE
Converts a text string or quantity field or expression to the time data type.
l text is a string field or expression that should be a time formatted in either the 24-hour format
with colon separators, or the 12-hour format with colon separators and a one or two digit am/pm
indicator. Either time format may include an optional seconds value.
l errorValue argument is optional and can be used to specify a valid time value to be returned if
the text provided cannot be converted to a time. If no errorValue is provided and the text
cannot be converted to a time, an error is returned.
TIMEVALUE('11:00pm') 23:00:00
Examples
Entering Returns
TIMEVALUE(2345) 00:39:05
TIMEVALUE(-86600) 23:56:40
Currency functions
Currency functions allow you to view money values, convert values between multiple currencies, convert
values between the Money and Quantity types. and to view the date associated with the conversion rate
used to convert a Money value.
The table below summarizes the currency functions available in RapidResponse:
Function Description
"ASSOCIATEDDATE" Returns the date associated with the conversion rate applied to a calculated Money field.
on page 1205
"CONVERTONDATE" Converts a money value to the workbook currency, using the rate calculated on a specified
on page 1206 date.
"MONEYVALUE" on Represents a numeric field or expression as a money value, which is converted from either
page 1207 a specified currency or the system's base currency to the workbook's currency.
"RAWCURRENCY" Returns the money value for a record in the currency the record is saved in.
on page 1208
"RAWVALUE" on Returns the value of a Money field, ignoring the field's currency.
page 1209
Examples
Entering Returns
ASSOCIATEDDATE(EffectiveUnitPrice) The date used to convert the value in the EffectiveUnitPrice
field.
ASSOCIATEDDATE The date used to convert the value in the EffUnitCost field of
(Part.PrimaryPartSource.EffUnitCost) the PartSource table.
CONVERTONDATE
Converts a money value to the workbook currency, using the rate calculated on a specified date. You
can use a current, forecasted, or historical conversion rate. To verify the correct rates are being used,
you can create worksheets based on these tables.
The following syntax is used to convert values:
CONVERTONDATE(field, conversionDate, historicalAsOfDate)
where
The date you specify for the conversionDate argument determines whether the conversion uses a
current rate from the CurrencyConversionActual table, historical rate from the
HistoricalCurrencyConversion table, or forecast rate from the CurrencyConversionForecast table. For
example, if you specify a future date, a forecast rate is used.
When both conversionDate and historicalAsOfDate are specified, the rate for
conversionDate as calculated in the historicalAsOfDate historical series is used. If the dates
specified do not exist in the historical series, the series earlier than the specified date is used instead. For
example, assume your database contains monthly historical currency headers. If you specify the middle
of a month for the historicalAsOfDate value, for example 12-12-10, the historical rates from the 12-
01-10 series are used. If you specify a date earlier than the earliest historical series, the conversion
cannot be performed.
For calculated Money fields, a single date is used to convert values in a scenario. If you specify
'Undefined' for the historicalAsOfDate argument, this date is used to identify the historical series
to use. Scenarios can use a perspective to specify this conversion date, but if a perspective is not used,
'Today' is used instead. For more information, see "Perspective definitions for currency conversion" in
the RapidResponse Administration Guide.
If you specify 'Undefined' for the conversionDate, 'Today' is used. If you specify a conversion date that
is earlier than any rate defined in the database, the earliest conversion rate for that currency is used. For
example, if you specify a conversionDate of 'Past', the earliest conversion rate defined for that
currency is used to convert the value.
NOTE: An expression-based field cannot be used in place of a Money input field in the
ConvertOnDate function.
TIP: You can use the ConvertOnDate function in an expression-based field if the field includes a
date parameter and the function uses a Money input field. For more information, contact your
RapidResponse administrator.
MONEYVALUE
Represents a numeric field or expression as a money value, which is converted from either a specified
currency or the system's base currency to the workbook's currency. The following syntax is used:
MONEYVALUE (value, currency, date)
where
l value is the field or expression to represent as a money value. This field must be a Quantity or
Integer value, and cannot be a Money value.
l currency is an optional argument that can be used to specify the currency the value is
represented in. The value is then converted from the specified currency to the workbook's
currency. If this value is not specified, the base currency is used to convert the value.
l date is an optional argument that can be used to specify the date when the conversion rate was
calculated. This value can be a specific date, a Date column, or an associated date for a calculated
Money field. If this value is not specified, the most recent conversion date is used.
If you specify a value for the date parameter, the conversion rate calculated on or before the specified
date is used to convert the value. The date you specify cannot be overridden. For more information, see
"Convert currency values" on page 307.
Examples
Entering Returns
MONEYVALUE (20) 20 converted from the base currency to the workbook currency.
UnitSellingPrice + The value in the UnitSellingPrice field plus 20 converted from the base
MONEYVALUE (20) currency to the workbook currency.
RAWCURRENCY
Returns the currency a record's Money values are stored in, using the following syntax.
RAWCURRENCY()
This function does not take arguments.
You can use this function in place of the Attribute<Currency> function to retrieve the record's
currency. For more information, see "Attribute" on page 1226.
You can also retrieve the unconverted values stored in a Money field using the RAWVALUE function. For
more information, see "RAWVALUE" on page 1209.
Column examples
These examples are based on the IndependentDemand table
Enter To return
RAWCURRENCY() The currency the order records are stored using.
Part[RAWCURRENCY()] The currency the order's associated part is stored using.
Filter example
These examples are based on the IndependentDemand table
RAWVALUE
Returns the value of a Money field, ignoring the field's currency. Using this operator, the value in the
field is not converted. The returned value is a Quantity value. This uses the following syntax:
RAWVALUE (field)
where field is a Money field.
The value returned by this function is a Quantity value, and can be used for exporting data to your
enterprise data sources and performing closed loop operations. For more information, see "Display
unconverted money values" on page 312.
You can also retrieve the currency used to store the currency by using the RAWCURRENCY function. For
more information, see "RAWCURRENCY" on page 1208.
Examples
Entering Returns
RAWVALUE (UnitSellingPrice) The numeric value in the UnitSellingPrice field.
Quantity * RAWVALUE The revenue expected for each order, based on the numeric values in the
(UnitSellingPrice) UnitSellingPrice field.
Statistical functions
Statistical functions can be used in statistical analysis of data, such as calculating the inverse of a normal
distribution of values or the cumulative distribution function of a normal distribution.
Statistical functions can be used in conjunction with transformation worksheets, which you can use to
perform statistical analysis of data, such as calculating the standard deviation of a set of values, fitting
values to a statistical forecast, or determining the statistical error of a forecast. For more information,
see "Creating transformation worksheets" on page 743.
The table below summarizes the statistical functions available in RapidResponse:
Function Description
"NORMDIST" Returns the value on a cumulative distribution function of the normal distribution defined by the
on page 1210 specified mean and standard deviation, as of the specified point in a probability interval.
"NORMINV" Returns the inverse of a normal distribution defined by the specified mean and standard
on page 1210 deviation at the specified probability.
NORMDIST
Returns the value on a cumulative distribution function of the normal distribution defined by the
specified mean and standard deviation, as of the specified point in a probability interval. This function
uses the following syntax.
NORMDIST(point, mean, standard_deviation)
The mean and standard_deviation must be numbers, and standard_deviation must be greater
than zero.
Examples
Entering Returns
NORMDIST(0, 0, 1) The point at the middle of the standard normal distribution, which is 0.5.
NORMDIST(1, 5, 2) The point at the first probability interval of a normal distribution with mean five and
standard deviation two, which is 0.023
NORMDIST The point in the probability interval specified by the Interval variable, using the mean
($Interval, !Mean, and standard deviation calculated in the Mean and Dev columns.
!Dev)
NORMINV
Returns the inverse of a normal distribution defined by the specified mean and standard deviation at
the specified probability.
NORMINV (probability, mean, standard_deviation)
where
NOTE: If probability is not between 0 and 1, no numeric value is returned. For example, if
probability = 0, the operator returns -INF. For more information about how numeric values
are displayed, see the RapidResponse User Guide.
NORMSDIST
Returns the value on the cumulative distribution function of a standard normal distribution, as of the
specified point in a probability interval. This uses the following syntax.
NORMSDIST(point)
Examples
Entering Returns
NORMSDIST(0) The point at the middle of the cumulative distribution function, which is 0.5.
NORMSDIST(2) The point two intervals after the middle of the cumulative distribution function, which is 0.977.
NORMSINV
Returns the inverse of a standard normal distribution at the specified probability.
NORMSINV (probability)
where probability is a Quantity value between 0 and 1.
Examples
Entering Returns
NORMSINV (0.5) 0
This is equal to the mean, and represents half of the data in the normal distribution.
NORMSINV (0.159) -1
This is exactly one standard deviation less than the mean, and represents 15.9% of the
data in the normal distribution.
NORMSINV The point in the normal distribution corresponding to a probability defined by the value
(ServiceLevel) in the Part.ServiceLevel field.
NORMSINV The point in the normal distribution corresponding to a probability defined by a
($Probability) workbook variable named $Probability.
NOTE: The standard normal distribution is calculated using a mean of 0 and standard deviation of
1.
Function Description
"ISNULL" This function is used to detect Null references, and returns boolean Y (true) or N (false) values to
on page indicate whether a given reference is null or not.
1213
"LOOKUP" The LOOKUP function is typically used to match records found in one table with records found in a
on page worksheet based on another table, and then return some other value associated with those matching
1214 records.
"LOOKUP The LOOKUP function can be used to look up a value in a table, and to return some information
(table)" on associated with that table value. This version of the LOOKUP function can be used without a
page 1223 worksheet, and can be used to find information related to a specific table value using the following
syntax.
"NULL" on The NULL function returns a null or empty reference to a specified table. This might typically be used
page 1223 if creating a composite worksheet to append records from multiple worksheets where one worksheet
has a column with a reference to a given table and the other worksheets don't have a valid reference
to that table.
"SELF" on The SELF keyword can be used to return a reference to the current record in a given table. Typically,
page 1224 this function is only used when building a composite worksheet, and one component worksheet has
a reference to another table as a column while another component worksheet is built directly on that
table (for example, a Part worksheet).
ISNULL
This function is used to detect Null references, and returns boolean Y (true) or N (false) values to
indicate whether a given reference is null or not.
The standard RapidResponse data model includes a small number of nullable reference fields, and any of
your company's custom reference fields can optionally be set as nullable. These fields allow null (empty)
references to a table instead of being required to always point to an actual record in the table and
making use of default values in cases were reference values are not provided.
When writing query expressions that include nullable reference fields, you might use the ISNULL
function in cases where you need to account for null values in your query logic. For example, in some
cases the presence of null values might cause more records to be returned by a query expression than
was intended. The ISNULL function can also be used when just want to know which records in a nullable
reference field are actually null (empty).
The following syntax is used:
IsNull(referenceField)
where referenceField is a valid reference field accessible from the current table.
NOTE: For information on which reference fields are nullable in the standard RapidResponse data
Examples
The following examples are based on the BillOfMaterial table.
Entering Returns
IsNull(Shop) Y if a given BOM record has a null reference to the Shop
(in a column expression) table, and N if a given BOM record has an actual reference
to a value in the Shop table.
IsNull((Shop) Only those BOM records with a null reference to the Shop
(in a filter expression) table.
LOOKUP
The LOOKUP function is typically used to match records found in one table with records found in a
worksheet based on another table, and then return some other value associated with those matching
records. In order to use the LOOKUP function, worksheets must be defined that uniquely identify the
records you expect to be looked up and should also include the associated values you want returned
from those records. These lookup worksheets can then be referenced in expressions using the
LOOKUP functions.
The LOOKUP function is intended to match results in a worksheet, not to directly refer to records in
other tables. If you require a value from a table in your worksheet, you can use a reference field or create
a composite worksheet that includes that table instead of using a LOOKUP function.
The Lookup function can also be used to return summary details related to the results of previously
calculated columns in the same worksheet. For more information, see " Using the LOOKUP function on
final results from other columns" on page 1221.
For complete information about authoring worksheets, see "Worksheet development overview" on
page 258. For examples of creating lookup worksheets, see "Examples of Lookup worksheets" on page
1218.
Argument Description
valueExpression A field or expression on the current table to be compared and matched against records
found in a specified worksheet. If more than one value is required for unique comparison,
then multiple values should be specified and enclosed in brace brackets (for example,
{field1, field2, fieldN}). The last field or expression specified is considered the
range key for the values being looked up.
worksheetId A reference to the worksheet being used for the lookup. It consists of the worksheet ID
followed by an exclamation mark (for example, CurrentOrders!). Unless the optional
returnExpression parameter is used, the right-most column in this worksheet contains
the values returned by the lookup expression when a matching record is found. The
referenced worksheet must be in the same workbook as the worksheet in which the
expression is being written.
defaultValue An optional argument used to specify a value to return in cases where no matching
records are found in the referenced worksheet.
Rule Rule is an optional argument that accepts one of three keywords specifying the behavior
when no exact match is found in the referenced worksheet (that is, all values being looked
up other than the range key are found). Valid rules are:
l Earlier— use the closest matching record found before the range key in the lookup
worksheet. This uses the sort order of records returned, not the values in the column.
l Exact— use the specified default value.
l Later— use the closest matching record found after the range key in the lookup
worksheet. This uses the sort order of records returned, not the values in the column.
returnExpression An optional argument used to define the value to be returned when a matching record is
found. If this parameter is not used, then by default the values from the right-most
column in the worksheet are returned. However, this parameter allows for manipulation of
those values or for values from other columns in the lookup worksheet to be returned
instead. This expression must be written in terms of the current table, but typically include
columns from the lookup worksheet by using the format worksheetId!columnId. This
format prevents conflicts from arising in cases where a column Id in a lookup worksheet is
identical to the name of a field on the current table. To ensure your expression is valid,
you should not use column references without a worksheet identifier. If you specify a
column Id without the worksheetId! prefix, and the current table has a field named
identically to that columnId, an error is returned.
Argument Description
valueExpression A field or expression on the current table to be compared and matched against records
found in a specified worksheet. If more than one value is required for unique comparison,
then multiple values can be specified and must be enclosed in brace brackets (for
example, {field1, field2, fieldN}). The last field or expression specified is
considered the range key for the values being looked up.
worksheetId A reference to the worksheet being used for the lookup. It consists of the worksheet ID
followed by an exclamation mark (for example, CurrentOrders!). Unless the optional
returnExpression parameter is used, the right-most column in this worksheet contains
the values returned by the lookup expression when a matching record is found. The
referenced worksheet must be in the same workbook as the worksheet in which the
expression is being written.
defaultValue An optional argument used to specify a value to return in cases where no matching
records are found in the referenced worksheet.
returnExpression An optional argument used to define the value to be returned when a matching record is
found. If this parameter is not used, then by default the values from the right-most
column in the worksheet are returned. However, this parameter allows for manipulation of
those values or for values from other columns in the lookup worksheet to be returned
instead. This expression must be written in terms of the current table, but typically include
columns from the lookup worksheet by using the format worksheetId!columnId. This
format prevents conflicts from arising in cases where a column Id in a lookup worksheet is
identical to the name of a field on the current table. To ensure your expression is valid,
you should not use column references without a worksheet identifier. If you specify a
column Id without the worksheetId! prefix, and the current table has a field named
identically to that columnId, an error is returned.
between An optional argument consisting of an expression that defines the value to be returned
when there is not an exact match in the lookup worksheet, and the range key looked up is
between two values in the lookup worksheet. If your expression requires access to the
worksheet values on either side of the range key being looked up, the following keywords
can be used:
#Before Provides access to the record in the lookup worksheet that is closest to but less than
(before) the value being looked up in the lookup worksheet's sort order.
#After Provides access to the record in the lookup worksheet that is closest to but greater than
(after) the value being looked up in the lookup worksheet's sort order.
before An optional argument consisting of an expression that defines the value to be returned
when there is not an exact match in the lookup worksheet, and the range key being
looked up is less than (before) any of the values found in the lookup worksheet.
after An optional argument consisting of an expression that defines the value to be returned
when there is not an exact match in the lookup worksheet, and the range key being
looked up is greater than (after) any of the values found in the lookup worksheet.
The column that contains the Lookup expression must be after the columns that the Lookup expression
uses for identifying records.
1. In the Workbook Properties dialog box, click New and then Worksheet (Table-based).
2. On the General tab of the Worksheet Properties dialog box, do the following:
l From the Table list, select CalendarDate.
l In the Id box, type CDate.
l Select the Hide worksheet check box.
3. Click the Columns tab.
4. Click Add Fields.
5. In the Add Fields dialog box, add fields in the following order and then click OK.
l Value
l DisplayValue
6. Click the Group tab.
7. Select the Group data check box, and apply grouping functions to the worksheet columns as
follows:
l Value - Group By
l DisplayValue - Minimum
8. Click the Filtering tab.
9. In the Worksheet filter expression box, type Calendar = 'month'.
10. Click OK.
1. In the Workbook Properties dialog box, click New and then Worksheet (Table-based).
2. On the General tab of the Worksheet Properties dialog box, do the following:
l From the Table list, click CustomerPrice.
l In the Id box, type CustPrice.
l Select the Hide worksheet check box.
3. Click the Columns tab.
4. Click Add Fields.
5. In the Add Fields dialog box, add fields in the following order and then click OK.
l Customer.Id
l Part.Name
l Part.Site
l EffectiveDate
l EffectiveDate
l UnitPrice
6. Click the Group tab.
7. Select the Group data check box, and applying grouping functions to the worksheet columns as
follows:
l Customer.Id - Group By
l Part.Name - Group By
l Part.Site - Group By
l Effective Date - Group By
To return Enter
The display name of the month in which the receipt is due, LOOKUP(DueDate, CDate!)
only if the due date falls on a day that defines the start of a
monthly calendar.
The display name of the month in which the demand is LOOKUP(DueDate, CDate!, 'Past',
due. If the due date is earlier than all dates in the Earlier)
CalendarDate table, than a string reading 'Past' is shown.
A string consisting of the display name of the month in LOOKUP(DueDate, CDate!, 'Past',
which the receipt is due plus a space plus the order ID for Earlier, CDate!DisplayValue + ' ' +
the demand. If the due date is earlier than all dates in the Order.Id)
CalendarDate table, then a constant reading Past.
The unit price effective on the order's due date for this LOOKUP({Order.Customer.Id, Part.Name,
customer and part combination. Or a value of 0 if the Part.Site, DueDate}, CustPrice!, 0,
order's due date is earlier than all dates in the Earlier)
CustomerPrice table.
The greater of the unit price effective on the order's due LOOKUP({Order.Customer.Id, Part.Name,
date for this customer and part combination, or the unit Part.Site, DueDate}, CustPrice!, 0,
selling price on the order. Earlier, IF(CustPrice!UnitPrice >
UnitSellingPrice, CustPrice!UnitPrice,
UnitSellingPrice))
NOTE: In versions prior to 10.0, instead of a reference to a worksheet, the lookup function syntax
required a full query expression defining the table and columns whose records the lookup was to
be made against. For example, the following is equivalent to the first example shown in the
previous table
Lookup(DueDate, CalendarDate[calendar='month'] {Value, DisplayValue})As
of Version 10.0, worksheets that use this older lookup syntax will continue to work, however their
continued use is not recommended. Using lookup worksheets instead can help improve system
performance, supports reusability, and ensures better compatibility with future versions of
RapidResponse.
l By
l Associate
For example, suppose a worksheet based on the IndependentDemand table, as shown in the following
illustration, with columns displaying standard fields with details of part orders such as due date,
quantity, unit selling price, and number of days late, as well as a column containing a calculated
expression to return the revenue associated with each order. Further suppose that all column IDs are
set to the same value as the column headers shown.
Considering the results of the previously calculated columns in the worksheet shown above, the
following table gives examples of using the LOOKUP function to return summary information based on
those columns.
To return Enter
The total revenue from all LOOKUP ({!Part, !Site}, Orders!{Orders!Part:by,
orders for the part. Orders!Site:by, Orders!Revenue:sum})
The total late revenue from all LOOKUP ({!Part, !Site}, Orders![!DaysLate > 0]
orders for the part. {Orders!Part:by, Orders!Site:by, Orders!Revenue:sum})
The largest order for the part LOOKUP ({!Part, !Site, !DueDate}, Orders!{Orders!Part:by,
due on the same date. Orders!Site:by, Orders!DueDate:by, Orders!Quantity:max})
NOTE: For more information about columns based on final results of other columns, see "Create a
column based on the result of other columns" on page 363. For more information about grouping
functions, see "Group column data" on page 382.
The value in the fields list must be the same type as the field included in the key fields list. For example, if
the field is a reference, the key field must also be a reference. If you include fields that are not key fields
for the table, the lookup operation fails.
This function returns a reference to a record in the table, which can then be used to retrieve a value
from another field for that record.
Examples
Entering Returns
LOOKUP( {Name, 'HQ'}, Part{Name, A reference to parts with the same name in the HQ site.
Site.Value} )
LOOKUP( {Name, 'HQ'}, Part{Name, The description of a part with the same name in the HQ site.
Site.Value} ).Description
LOOKUP( {'10', !Order}, A reference to line 10 of every order matching the order
IndependentDemand{Line, Order} ) reference from the worksheet's Order column.
NULL
The NULL function returns a null or empty reference to a specified table. This might typically be used if
creating a composite worksheet to append records from multiple worksheets where one worksheet has
a column with a reference to a given table and the other worksheets don't have a valid reference to that
table. The worksheets that don't have the reference can use NULL to create an empty reference to the
table and ensure the worksheets can be used together in the composite.
The following syntax is used:
NULL(table)
where table is a valid input table name. For example, NULL(ScheduledReceipt) returns an empty
reference to the ScheduledReceipt table.
Miscellaneous functions
RapidResponse provides additional functions you can include in expressions to improve the
functionality of reports.
The table below summarizes the additional functions available in RapidResponse:
Function Description
"ASSERT" on page Tests for an assumed condition and returns a specified value as long as that condition is
1225 satisfied.
"Attribute" on page Returns the value (if any) associated with the specified attribute on each record in a table,
1226
"Environment" on Returns the value (if any) associated with a RapidResponse environment variable
page 1226
"EVAL" on page 1227 Evaluates the contents of a variable or String value as a part of a query expression.
"KEYVALUES" on Returns a record's key field values as a String value.
page 1230
"LOD" on page 1230 Specifies the path through tables that determine the records returned in a worksheet.
"PREVIOUS" on page Returns the result from a previous record in the same column.
1231
"RecordId" on page Identifies records in a given input table by the sequence in which they were brought into
1232 that table.
"RESPONSIBILITY" on Returns the user who is responsible for a record.
page 1233
"RowIndex" on page Identifies the numerical position of each output record (row) in the worksheet based on
1234 its particular calculations and sort criteria.
"TimeStamp" on Returns the current date and time as a DateTime value.
page 1239
This allows you to build query expressions that require the data in RapidResponse to meet certain
assumptions. For example, if writing an expression that performs a division operation, you might want
to ensure that the value of the denominator is not zero.
The following syntax is used:
ASSERT(logical, value, errorMessage)
where
l logical is a valid boolean expression that evaluates to true or false (with the true condition
being the expected result). As long as this expression is true for all records returned by the query,
the value defined by the value argument is returned. However, if the expression is false for one or
more records returned by the query, then the query is canceled and an error returned which
includes the text specified in the errorMessage argument
l value is the value returned as long as the boolean expression is satisfied.
l errorMessage is a text string included in the error message returned if the boolean expression is
not satisfied.
Examples
The following examples are based on the Part table.
Entering Returns
ASSERT(has PartSources, The fixed lead time for the part's source. However, if at least one part
PrimaryPartSource.FixedLeadTime, returned does not have a part source defined, the query is canceled
'There are parts without and the error message "There are parts without sources" is displayed
sources') instead.
1 / ASSERT(StdUnitCost <> 0, One divided by the standard unit cost for the part. However, if at
StdUnitCost, 'Undefined unit least one part returned does not have a standard unit cost value, the
costs') query is canceled and the error message "Undefined unit costs" is
displayed instead.
Examples
Enter To return
Attribute<Currency> The currency a record's money values are stored in. This currency can be the
Attribute<Core::Currenc same for each record, the same for each record at a specific site, or different for
y> each record, depending on how the table's currency is defined.
The currency is returned as a String value.
Attribute<XYZ::Speed> The value of the custom Speed attribute defined in the custom XYZ namespace.
Attribute<*> A concatenated list of all custom attribute names defined on the table and their
values for a given record. The string is displayed as a pipe-delimited list in the
form:
Namespace::AttributeName1|Value|Namespace::AttributeName2|V
alue
Note If a table has the standard currency attribute, it is omitted from the list
returned using this syntax. Any custom attributes on a table that are not
defined for a given record are also omitted from the list.
Environment
Returns the value (if any) associated with a RapidResponse environment variable, using the following
syntax:
Environment("variableName")
where "variableName" is the name of a RapidResponse environment variable.
By default, only one RapidResponse environment variable, "ServerType" is provided, which defines the
RapidResponse server name. This typically identifies whether the system is a test or production system.
Examples
Enter To return
Environment("ServerType") The environment name of the RapidResponse system.
IF(Environment("ServerType") LIKE 'Proceed' for the production system, or 'Stop' for a test
'*Production*', 'Proceed', 'Stop') system.
You might use this value for an automated process to
ensure it runs only on your production system.
EVAL
The EVAL function is used to evaluate the contents of a variable or String value as a part of a query
expression. The EVAL function interprets the specified argument (either a string or variable) as an
expression instead of a value. It then evaluates the expression and returns the resulting value.
EVAL is used in cases where the expression’s syntax requires the variable to be evaluated. For example, if
a workbook variable named $FieldValue contains the text string Name, and the column expression is
$FieldValue, then the column displays ‘Name’. However, if the worksheet is based on the Part table,
then writing the column expression as EVAL($FieldValue) displays the value in the Name field on
the Part table.
Syntax
Usage Syntax
Use a workbook variable as an EVAL($VariableName)
expression where VariableName contains a valid expression
Use a String as an expression EVAL('String')
where String is a valid expression
Use a String containing a variable as an EVAL('String1 ' + $VariableName + ' String2')
expression where String1 and String2 combine with VariableName to make a
valid expression.
To return Enter
Scheduled receipts at the site specified by the standard variable (Order.Site[EVAL('Site \'' +
SelectedSite. $SelectedSite + '\'')] )
A text String consisting of the field name and value of the field $FieldValue + ': ' + EVAL
selected in a variable named FieldValue, which is configured to ($FieldValue)
display planner or buyer codes. where FieldValue is a workbook variable that
contains a valid field name on the Part table.
IsChildScenario
IsChildScenario is a Boolean function that can be used in filter or column expressions to determine
whether one scenario is descended from another specified scenario. Use the following syntax:
IsChildScenario (descendant, ancestor, minimum depth, maximum depth)
where
The order of the minimum depth and maximum depth arguments is not important. The lower of the two
numbers is used as the minimum depth, and the higher is used as the maximum depth.
Examples
The following examples are column expressions.
Entering Returns
ASSERT(IsChildScenario In a worksheet based on the Part table:
($Scenario0, The name of the part, but only if the first (or only) scenario selected by
'?shared:Eastern Division', the user in the workbook controls is a shared scenario named "Eastern
0, 8192) = 'Y', Name, Division" or one of its descendants.
'Select the Eastern Division
If the first (or only) scenario selected by the user in the workbook
scenario or one of its
controls is not a shared scenario named "Eastern Division" or one of its
descendants to view data in
descendants, the worksheet does not display data. Instead, it displays an
this worksheet.') error message that includes the text, "Select the Eastern
Division scenario or one of its descendants to view
data in this worksheet." For more information about the ASSERT
function, see "ASSERT" on page 1225.
You can limit available scenarios for an entire workbook on the general
tab of the New Workbook/Workbook Properties dialog box, but an
expression similar to this one can be used to limit the scenarios that can
be used with a single worksheet.
(IsChildScenario Y if the first (or only) scenario selected by the user in the workbook
($Scenario0, 'Approved', 1, controls is the direct child of a shared scenario named "Approved."
1))= Y For information about the $Scenario# system variable, see "$Scenario#"
on page 1302.
IsChildScenario Y if the current user owns a private scenario named "Inventory
('?private:Inventory Adjustment" that is the scenario specified in the Scenario column or one
Adjustment', !Scenario) of its descendents.
Entering Returns
Conditional: Only hide when The column is only hidden when the first (or only) scenario selected by
IsChildScenario ($scenario0, the user in the workbook controls is a descendant of the Baseline
'Baseline') scenario.
KEYVALUES
Returns a record's key field values as a String value, using the following syntax:
KEYVALUES(reference)
where reference is a reference field.
The value returned by this function is similar to the value displayed in a column using the Use as
reference option, but is presented as a String instead of a reference, as shown in the following
illustration.
For more information, see "Add a table reference as a column" on page 360.
Examples
The following examples are based on the IndependentDemand table.
Entering Returns
KEYVALUES The key field values from the Part table that identify the part associated with each
(Part) IndependentDemand record.
KEYVALUES The key field values from the IndependentDemand table that identify the order. For more
(SELF) information, see "SELF" on page 1224.
LOD
The Line of Descent (LOD) function can be used to specify the path through tables that determine the
records returned in a worksheet. This function is used in a filter expression to specify how records are
considered for the worksheet. This function is typically used in cases where reference records are
Examples
The following examples are filter expressions from a worksheet based on the ScheduledReceipt table.
Entering Returns
LOD(Order) Records obtained by following the Order reference from the ScheduledReceipt
table.
LOD(Order) & Order.Type Records where the type is Blanket and the unit cost is greater than 100. The
= 'Blanket' & LOD function specifies that the Order reference is followed first, and filters out
Part.StdUnitCost > all records with other order types. The set of records with the Blanket type are
MONEYVALUE(100) then filtered to find records with a unit cost greater than 100.
LOD (Supplier.Id) & Records from supplier Allied that are due within the next three months. The
Supplier.Id LIKE LOD function specifies the Supplier reference is followed first, and filters out all
'Allied*' & DueDate >= records from other suppliers. The set of records from Allied are then filtered to
TODAY & DueDate < TODAY find orders due in the range of dates.
+ 3 Month
PREVIOUS
Returns the result from a previous record in the same column. This function can be used in columns that
are calculated using the results of other columns, and are used to return results from other records in
the calculated set of results. For more information, see "Create a column based on the result of other
columns" on page 363.
This function uses the following syntax.
PREVIOUS (column, initialValue, resetColumn)
where
l column is the column identifier for the column the previous value is taken from.
l initialValue is the value used if there is no previous record.
l resetColumn is an optional column identifier that specifies when to reset the PREVIOUS function.
For example, if PREVIOUS is used to perform a running balance (cumulative balance), the
resetColumn value could be set to a part column, so the balance resets for each part.
This function accepts only column identifiers and variables, not fields.
RecordId
Each record contained in an input table has a unique identifier, known as a RecordId, associated with
that record in any scenario it belongs to. The RecordId identifies records in a given input table by the
sequence in which they were brought into that table. For example, the first record inserted into a table
has a RecordId of 1, the second record has a RecordId of 2, and so on with the values being incremented
by one for each new record added. When records are deleted from a table, their corresponding
RecordId values are not reassigned and hence are no longer used within the table. As well, if a record
only exists in select scenarios, its RecordId value is not assigned to other records in any of the scenarios
it does not belong to.
To return the RecordId on records in a given table, the syntax RecordId is used. This can be useful in
cases where it is important to understand the sequence in which records were added to a table, and can
also be used in certain expressions in lieu of a string/reference comparisons. For example, in some cases
using RecordId might be a more efficient means of identifying records than a full reference. As well,
because columns cannot be "used as references" in multi-scenario worksheets, RecordId provides a
means to identify records across scenarios.
NOTE: During a full data import, the RecordId count for each table restarts at one based on the
sequence in which the records are brought in during the data import.
NOTE: Records in a table that contains vector data do not have a RecordId associated with them.
All records in a vector set are associated with their header record and uniquely identified by their
key field values.
Examples
The following examples are based on the WhereConsumedForSupply table.
RESPONSIBILITY
Returns the user who is responsible for a record, using the following syntax:
RESPONSIBILITY(responsibility_name, path_to_table)
where
Example
The following examples are based on the ScheduledReceipt table.
RowIndex
All records returned by RapidResponse worksheets have an associated RowIndex value that identifies
the numerical position of each output record (row) in the worksheet based on its particular calculations
and sort criteria. This index is zero-based, so the first record in the worksheet will have a RowIndex of 0,
the second record will have a RowIndex of 1, and so on. The RowIndex value can subsequently be used
in worksheet expressions. For example, it lets you refer to a record by index value based on a repeatable
calculation performed in either the current worksheet or in one of its component worksheets.
If used in a table-based worksheet, RowIndex can only be used in a column based on the results of
other columns (that is, a column that has the Calculate using final results from other columns check
box selected). In this case, the index value is referenced using the following syntax:
!RowIndex
If used in a composite worksheet, RowIndex can also be used in columns based on the results of other
columns in the worksheet. However, it can also be included in any column or worksheet filter expression
to refer to a record by index in one of the underlying component worksheets. In this case, the index
value is referenced using the following syntax:
WorksheetName!RowIndex
The index of rows in the composite worksheet can also be retrieved using the following syntax:
RowIndex
Next a column is added to return the RowIndex. This column must be set to be calculated using the final
results from other columns. For more information about columns based on final results, see "Create a
column based on the result of other columns" on page 363.
The worksheet now displays details of the five parts with the highest standard unit cost (that is, records
with RowIndex value of 0 through 4).
This is done by first defining a custom sort order on the Late Demands worksheet, with the DaysLate
field used as the main sort criteria and set to sort in descending order (for more information about
sorting, see "Sort columns" on page 370).
Finally a worksheet filter is added to the composite to display only the first ten records returned by the
underlying component worksheet. Note that the filter expression makes use of the component's
RowIndex values and requires full worksheet qualification. For more information about worksheet
filters, see "Worksheet filtering" on page 386.
The new composite worksheet then displays just the details of the ten most late orders (that is, the
records from the underlying Late Demands component worksheet that have a RowIndex value between
zero and nine). Note also in this case, the returned records are sorted in column order.
Example
The following example shows four worksheet columns. The column headers show the expressions used
in each column.
The example compares the TimeStamp function to the Now constant.
When the Now constant is used in a query, it represents the date and time at which the query started.
Entering Now as column expression returns the same value in each row. The TimeStamp function
returns a unique value for each row (as shown in the fractional seconds).
UserInGroup
Determines if a user is a member of a specific group, using the following syntax:
UserInGroup(user, group)
where
This function is typically used in a conditional expression to determine if a value or column should be
displayed to the user. For more information, see "IF" on page 1138.
Entering Returns
UserInGroup($User, 'Buyers') Y (true) if the user is a member of the Buyers group.
IF(UserInGroup($User, 'Suppliers'), 0, Zero for users in the Suppliers group, or the
UnitSellingPrice) UnitSellingPrice value for members of all other groups.
IF(UserInGroup($User, 'Suppliers'), The reference part name for users in the Suppliers group, or
Part.ReferencePart, Part) the part name for users in other groups.
IF(UserInGroup($User, 'Customer The Customer name if the user is a member of the Customer
Service Representatives'), service Representatives group, or a blank value otherwise.
Customer.Name, '')
Enter To
NOT Hide the column if the user viewing the worksheet is not a member of the Customers group.
(UserInGroup You could use this expression to hide columns that contain customer data, and which
($User, should be viewed only by the customer.
'Customers'))
MonoIncSequence
Generates a monotonically-increasing sequence number, which is always incremented across all
scenarios. The value generated by this function is always greater than any previous value generated by
the function, and is guaranteed to be unique. If this function is called from multiple scenarios, the values
generated will be sequential.
Typically, this function is used to create a unique transaction sequence value for inserting multiple
records in a worksheet, and ensures all records inserted have a unique transaction sequence regardless
of how many records are inserted across any scenarios. This function typically would not be displayed in
a column, and instead used to calculate unique sequence numbers for records inserted by an automatic
data modification.
This function uses the following syntax:
MonoIncSequence()
Examples
The following illustration shows an example of values generated by the MonoIncSequence function.
l Records that have been modified between the selected scenario and comparison scenario.
Typically this is a change to any field's value, however, this also includes cases where a value has
been modified and then changed back to its initial value.
l Records that have been inserted in the selected scenario.
l Records that have been deleted from the selected scenario.
You can use this function to selectively perform an automatic data modification. For example, you can
perform an update on only the records that have been modified in the scenario, which can improve
performance by not performing the update operations on every record in the table.
This function uses the following syntax:
ChangedInScenario()
Because this function compares values between scenarios, the workbook must be configured with
multiple scenarios, and the user must be allowed to select the scenarios. For more information, see
"Select the comparison scenario" on page 220.
If the workbook does not contain a multi-scenario column in at least one of its worksheets, you can
configure the workbook to perform multi-scenario comparisons regardless by modifying the
workbook's extended configuration. For more information, see "To use multiple scenarios using
extended configuration" on page 1243.
Because reference fields cannot be used in multi-scenario worksheets, you must ensure the worksheet
that contains the ChangedInScenario() function does not contain reference columns, either with the
'Use as reference' option selected or an expression that includes a Self reference. For more information,
see "Add a table reference as a column" on page 360 or "SELF" on page 1224.
▶Filter examples
These examples assume the worksheet is based on the IndependentDemand table.
CAUTION: Items in the Extended Configuration tab are not validated, and might produce
unexpected results.
Recursive queries
Recursive queries are used to identify components and assemblies in your bill of materials. You can
create recursive queries that return either all the components that make up a given part, or all the parts
that use a given part as a component. Each recursive query involves one of the following set fields on
the Part table.
l Components—The set of records on the BillOfMaterial table where this part is the assembly. This
represents the set of BOM records defining the components that go into making the part.
l WhereUsed—The set of records on the BillOfMaterial table where this part is a component. This
represents the set of BOM records defining the assemblies where the part is used.
NOTE: For complete reference information about the BillOfMaterial table, see the RapidResponse
Analytic and Data Model Guide.
where logical_expression is an optional expression valid on the BillOfMaterial which can be used
to limit the records returned, and value_expression returns a value and must be valid on the Part
table (typically, it is used to return the value from the Name field).
Examples
To return Enter
All parts that are components of the part named Components.Component OF (Name = 'racer')
racer.
All parts of type “buy” that are components of the Components[Component.Type.Value =
part named racer. 'Buy'].Component OF (Name = 'racer')
All parts that use the part ACKIT-01 as a WhereUsed.Assembly OF (Name = 'ACKIT-01')
component.
All parts that use either of the parts “AC-0101” or WhereUsed.Assembly OF (Name in ('AC-0101',
“AC-0201” as components. 'AC-0201'))
The specific issues and differences associated with each of these earlier compatibility levels are detailed
below.
Compatibility Description
issue
Incomplete If an expression requires a column to be a reference, such as a lookup expression or a
reference used composite worksheet column expression, but that column either is not used as a reference or
as reference in contains only a single key field, the values returned to the expression are considered
expressions ambiguous. In this case, more records than expected might be returned. For example, if a
lookup expression expects a reference to the Part table but the lookup worksheet contains the
Part.Name field, a record matching the part name is returned for each site, which might not be
the desired behavior. Similarly, if a composite worksheet retrieves a value from a field
referenced from a component worksheet, but the column in the component worksheet is not a
complete reference, the intended value cannot be determined and a record for each matching
value is returned. To avoid ambiguities and return only the intended records, it is
recommended to apply the 'Use as reference' option on the column.
In compatibility levels later than Version 11.0 - 11.3.1, an error is returned if a column that is not
a complete reference is used as a reference in another column expression. For more
information, see "Add a table reference as a column" on page 360.
Unqualified If a query expression includes a field in a namespace other than the current table's namespace,
field names in that field can be included without namespace qualification as long as there is not another field
other on the table with that same field name. However, if there are two or fields with the same name
namespaces on a given table, then those fields must be namespace qualified to avoid ambiguous results.
The formatnamespace::fieldName should be used(for example, Mfg::BuyerCodes).
In compatibility levels later than Version 10.1, an error is returned if a field defined in a
namespace other than its table's namespace is not namespace qualified.
Note that in all compatibility levels, if there are two or more fields with the same name on a
given table and one of those fields is defined in the table's namespace, then using that field
name without namespace qualification always returns the field defined in the same namespace
as the table.
For more information, see "Field namespaces" on page 1126.
Unqualified Typically, the tables on which query expressions are based are selected using the
table names RapidResponse interface. However, in cases where a query expression requires specifying the
table name (for example, if using legacy syntax supported by the Lookup function) the table
name can be included without namespace qualification as long as there is not an identically
named table in any other namespace. However, if there are identically named tables in two or
more namespaces, then those table names must be namespace qualified in query expressions
to avoid ambiguous results.
In compatibility levels later than Version 10.1, an error is return if the table name is included in a
query expression without a namespace qualifier.
Arithmetic with Some mathematical functions involving quantity and money values are considered ambiguous.
money values The following were valid operations that are no longer valid in the latest compatibility level.
l Quantity and Money values could be added or subtracted.
l Quantity values could be divided by Money values.
For example, the expression StdUnitCost + 100 is valid in the Version 10.1 compatibility
level, and adds 100 to the standard unit cost. In this case, the Quantity value is considered to
be a Money value in the base currency. These expressions are ambiguous because you cannot
control the currency used for calculations with Quantity values.
In expressions that use Quantity and Money fields, the Quantity fields are considered to be
Money values in the base currency.
In compatibility levels later than Version 10.1, trying to add a constant to a Money value
generates an error, and the constant must be converted to a Money value, and can be
expressed in a specific currency.
For more information, see "Displaying money data in worksheets" on page 305.
LOOKUP A LOOKUP expression that refers to a Money value that is related to a Quantity column is
clauses with considered ambiguous because a Quantity value cannot be compared to a Money value.
money and At compatibility level Version 10.1, the Money value is used as a Quantity value, and is
quantity values represented in the base currency.
In compatibility levels later than Version 10.1, the Quantity value must be converted to a
Money value, or the Money value must be converted to a Quantity.
For more information, see "LOOKUP" on page 1214.
Combining A composite worksheet that combines component worksheet Quantity and Money columns is
Money and considered ambiguous because the values in the columns cannot be directly compared. At
Quantity values compatibility level Version 10.1, the Quantity value is considered to be a Money value in the
in composite base currency.
worksheets In compatibility levels later than Version 10.1, the Quantity value must be converted to a
Money value, or the Money value must be converted to a Quantity. The Money columns must
also use the same currency.
For more information, see "Create a composite worksheet" on page 483.
Money fields in A list variable that uses Money fields in queries is considered ambiguous because Money
list variables values cannot be compared to Quantity values. At compatibility level Version 10.1 and lower,
the Money values in the variable are considered to be Quantity values.
In compatibility levels later than Version 10.1, Money values cannot be used in list variable
queries. Any Money fields used in queries must be converted to a Quantity value.
For more information, see "Create a list variable" on page 1265.
Percent The Percent summarization column function can be used in compatibility level 9.4 - 10.0 to
summarization express a column value as a percentage of other values in the column. For example, an
on a column individual order quantity could be expressed as a percentage of the total order quantity for a
given date or period.
However, the Percent summarization column function is unavailable for usage in workbooks at
compatibility levels later than Version 9.4 - 10.0. Beginning in Version 10.1, it is considered
ambiguous due to the introduction of the Display as % setting. This setting is intended for use
whenever a column is to be presented as a percentage (it multiplies column results by 100 and
adds the % symbol). If you require the functionality previously provided by the Percent
summarization function, it is recommended to use the Fraction summarization function and
apply the Display as % setting.
NOTE: For more information about the displaying values as percentages, see "Set data formats
for numbers" on page 291 and for more information about the summarization functions, see
"Apply a summarization function to a column" on page 384.
IN operator and If the IN operator is immediately followed by an opening parentheses, RapidResponse doesn't
parenthesized always assume the entire list to be in parentheses. This can cause ambiguities in cases where
lists the IN list consists of only one item (particularly, when the IN clause is used within another
function). For example, the following expression returns an error at this compatibility level
(because everything after the IN is incorrectly assumed to be part of the list of items being
evaluated, and there are therefore not enough arguments found for the IF function).
IF (Name IN ('xyz'), 'yes', 'no')
In later compatibility levels, the above expression is valid and returns the expected result.
However, the following previously valid expression fails in later compatibility levels (but can be
corrected but removing the parentheses or, if the parentheses are a needed part of the string,
then another set of parentheses can be placed around all items in the IN list).
Name IN ('xyz'), ('abc')
Set operators Certain set expressions are considered ambiguous because the use of spaces as separators in
and separator the expression does not always make it obvious where the value expression ends. In these
spaces cases, parentheses should be used to separate the value expression from other parts of the
expression. For example, from the Part table, SUM ScheduledReceipts Quantity
* StdUnitCost is considered ambiguous because it is not obvious from syntax that
* StdUnitCostis not part of the value expression. However, (SUM ScheduledReceipts
Quantity) * StdUnitCost is not ambiguous because Quantity is clearly separated as the
value to be returned from the SUM expression and then multiplied by the StdUnitCost field on
the Part table.
NOTE: When using set operators, it is recommended to use the modified syntax introduced in
RapidResponse 9.4 which encloses all set value expressions in curly brackets. For more
information, see "Set operators" on page 1145.
Usage of dots in The use of a dot (.) was permitted before a base field, or in place of a zero quantity. For
syntax example, in a worksheet based on the IndependentDemand table, both .DueDate and
DaysLate > . pass validation in compatibility level Version 9.3 and earlier (but generate
errors in later compatibility versions).
Lookup The lookup function compares records in a "lookup worksheet" with key values defined in the
worksheet lookup expression and returns some matching value associated with those keys. Each key value
without group being looked up should exist only once in the lookup worksheet, and grouping in the
by columns worksheet is typically required to achieve this. In Version 9.3 and earlier, lookup expressions
validate even if the lookup worksheet is not grouped (though, the results are unpredictable
unless the worksheet happens to contain all the key fields for the table). At later compatibility
levels, a lookup worksheet must be grouped by the same number of columns identified in the
lookup expression (otherwise, the expression will not validate).
NOTE: For more information, see "LOOKUP" on page 1214.
1. In the New Workbook or Workbook Properties dialog box, click the General tab.
2. Click Advanced, and then click the Compatibility tab.
3. If you want expressions in the workbook validated against the latest query compatibility level
(Version 2014.1 and later), clear the Allow ambiguous syntax in query expressions check box.
4. If you want expressions in the workbook validated against an earlier query compatibility level,
select the Allow ambiguous syntax in query expressions check box and from the Compatibility
version list, select one of the following:
l Version 11.0 - 11.3.1
l Version 10.1
l Version 9.4 - 10.0
l Version 9.3 and earlier
CAUTION: Setting workbooks to use anything other than the latest query compatibility level is
not recommended. Support for ambiguous syntax is provided only for backwards compatibility
and ensures that existing workbooks and their worksheets continue to open and return the
expected results after upgrade.
NOTE: If you set a workbook to a query compatibility level against which it does not validate, you
will be prompted to fix the problematic worksheet(s). Users cannot open any worksheet which
does not validate against the query compatibility level defined in its workbook.
▶Search for workbooks that fail validation against a particular compatibility level
NOTE: If you do not receive a prompt to change the workbook's query compatibility level, this
indicates that either the error being reported would exist regardless of the query compatibility
level being searched, or that workbook's query compatibility level has previously been set to a level
against which it does not validate.
You can add and subtract Date values from one another, or add and subtract constant values from Date
values, just as you would when working with Quantity values. By default, all date calculations in
RapidResponse are made in terms of standard calendar days. For example, you might want to calculate
the number of days difference between the DueDate field and the AvailableDate field associated with a
work order. By default, RapidResponse returns this value in terms of calendar days.
However, date calculations can also be performed using any calendar value defined in your organization’s
Calendar table. For example, instead of standard calendar days, it might be of more use to you to have
your calculations returned in terms of actual working days (this would be done using a workday
calendar). Other common date intervals that might be defined in your organization’s Calendar table
include weeks, months, and quarters.
When RapidResponse performs date calculations, it does so by adding or subtracting the number of
calendar markers between Date values. A calendar marker is associated with each Date that belongs to a
given calendar, and any single Date can be associated with multiple calendars.
For example, your organization might have a Workday calendar that has a marker associated with each
day of the work week (that is, each day from Mondays to Fridays, excluding holidays). When a calculation
is performed using this calendar, it only considers those Date values that are defined as work days. All
other dates (for example, weekends) are ignored during the calculation.
In order to specify valid calendar values for your date calculations to be performed in, you should be
familiar with the calendars that have been defined for your organization.
NOTE: For complete information about date calculations, see “Calendars and date calculations” in
the RapidResponse Analytic and Data Model Guide.
NOTE: For complete information about the Calendar and CalendarDate tables, see the
RapidResponse Analytic and Data Model Guide.
Examples
The following table shows examples of different calendars used in column expressions built against the
ScheduledReceipt table.
To display Enter
The number of calendar days between the projected available date AvailableDate - DueDate
and the due date.
The number of work days between the projected available date AvailableDate - DueDate 'Workday'
and the due date.
The number of Mondays between the projected available date and AvailableDate - DueDate 'Monday'
the due date.
The date one planning calendar unit later than the due date. DueDate + 1
Part.PlanningCalendars.TimeUnits
To return Enter
The first day of the quarter in which the receipt is due. DueDate + 0 'Quarter'
The first day of the month after the receipt is due. DueDate + 1 'Month'
A number that is one more than the number of work days between AvailableDate - DueDate
the AvailableDate and the DueDate. + 1
The number of days between the AvailableDate and the first day of AvailableDate -
the week after the DueDate. (DueDate + 1 'Week')
The following table shows examples of constant values used with Date values in filter expressions based
on the ScheduledReceipt table.
To return Enter
All receipts due within 5 calendar days of DueDate <= today + 5
today or earlier.
All receipts due within 10 working days of DueDate <= today + 10 'Workday'
today or earlier.
All receipts due within 6 working days of DueDate >= today - 6 'Workday' AND DueDate <=
today. today + 6 'Workday'
All receipts due this week or next. DueDate >= today + 0 'Week' AND DueDate < Today +
2 'Week'
All receipts due before the current month. DueDate < Today + 0 'Month'
All receipts due on the last work day of the DueDate = Today + 0 'Month' - 1 'Workday'
previous month.
All receipts due this quarter. DueDate >= Today + 0 'Quarter' AND DueDate <
Today + 1 'Quarter'
DateTime calculations
Calculations involving DateTime values can be used to add or subtract a quantity from a DateTime value
(producing another DateTime value) or to subtract one DateTime value from another (producing a
Quantity value). These calculations can be performed in terms of seconds, minutes, hours, or days.
Syntax
l To add or subtract a fixed number of units to a DateTime value: DateTime +/- Quantity
units
l To subtract on DateTime value from another: DateTime - DateTime units
Examples
The following table shows examples of expressions involving DateTime fields on the Shipment table.
To return Enter
The date and time the shipment is scheduled to arrive, minus 30 minutes DeliveryDateTime
- 30 minutes
The date and time the shipment is scheduled to ship, plus 24 hours. ShipDateTime + 24
hours
The difference between the date and time the shipment is scheduled to ship, and the DeliveryDate -
date and time the shipment is scheduled to arrive, expressed in number of hours. ShipDateTime
hours
NOTE: If you do not specify a unit value for a DateTime calculation, days are used.
A variable is a component of a query expression (similar to a constant or a field) that has its value defined
by a user. You can use variables in your expressions to allow users to customize the data shown in
worksheets, and therefore provide a more meaningful view of the data to users. Variables can be used in
column expression and filter expressions. For more information about the components of query
expressions, see "Components of a query expression" on page 1116.
You can also use variables to create custom workbook controls. The value a user selects in the control is
then used in expressions to filter the data in the worksheet, so that only the data matching that value is
shown in the worksheets. For more information, see "Workbook variables" on page 1262.
Variables can be one of three types, which determines where it can be used, what it is used for, and how
its value is set. For example, a workbook variable can be used only in one workbook, can be used to filter
data, and has its value set by the workbook user using a workbook control. Variables can be one of the
following types:
Variable Description
type
Workbook A variable defined for a workbook. Workbook variables exist only in the workbook they are defined in,
and can be used to create workbook controls or to define additional filtering for worksheet data.
Profile A variable defined for a user or group. Profile variables contain a value specific to the user or group it
is defined for. Profile variables with the same name can be defined for different users or groups, and
each variable assigned a different value.
System A variable included with RapidResponse that represents the selections a user has made in a workbook's
controls, such as the user's selected site or filter. You cannot create system variables.
Variable order
If two or more variables of different types have the same name, the variable used in an expression
depends on the variable type. For example, if a standard variable and a workbook variable have the same
name, the standard variable is used in expressions. The order in which variables with the same names are
used is:
To ensure the variables used in expressions are the ones you intend to be used, create variables with
unique names.
NOTE: $$ syntax is used for form controls and $$ syntax is used for workbook, profile, and system
variables.
To create Use a
A worksheet that displays results customized for a single user Profile variable
An expression that calculates a value, and that is used in multiple worksheets or workbooks Macro
Workbook variables
Workbook variables can be used to control the data displayed in worksheets. Workbook variables can
be used in column or filter expressions to specify the data displayed in a worksheet.
Workbook variables can also be used to create workbook controls. You can create controls that
represent values in the RapidResponse database, or create custom controls. An example of a custom
workbook control is shown in the following illustration.
The label you specify is displayed on the workbook toolbar with no formatting. If you want a special
character, such as a colon, to appear in the label, you must include that character in the label.
You can also include a description of a variable control, which appears in a tooltip when a user moves
their pointer over the control. You can also include the variable description in the worksheet help. For
more information, see "Add worksheet help" on page 335.
Workbook controls created with variables are visible only if the user's active worksheet includes that
variable in an expression. For example, if another worksheet that did not include the quantity type
variable was added to the example above, the quantity type control would not be shown. Variable-
based controls are always shown in the Data Settings dialog box.
l Boolean—A true or false value. Boolean variables can be displayed on the workbook toolbar, and
are displayed as a button.
l Date—A Date value. Date variables can be displayed on the workbook toolbar. The date specified
by the variable must be a valid Date value between Past and Future.
l Filter—A list of filters compatible with or based on a specific table. Filter variables apply an
additional level of filtering and can be displayed on the workbook toolbar.
l List—A list of values, which can be fixed values or generated by a query expression. List variables
can be displayed on the workbook toolbar.
l Quantity—A Quantity or Integer value. Quantity variables cannot be displayed on the workbook
toolbar, and must have their values specified in the data settings. The quantity specified by the
variable must be a valid number.
l Text—A String value. Text variables cannot be displayed on the workbook toolbar.
You must specify the type of variable you are creating before you can define the value or values it
represents.
If you create variables to control how a workbook appears or which data appears in worksheets, you
can create an action button that can set multiple variable values at one time. For example, if you use
variables to control which worksheets are visible or to define the worksheet displayed in a controller
worksheet, you could use an action button to reset the workbook to its default appearance, or to
create predefined views of the worksheet. For more information, see "Create workbook toolbar action
buttons" on page 229.
TIP: If there are already variables defined in another workbook that you want to use, you can copy
them to the current workbook by adding a copy of any worksheet that references them as
discussed in "Add a copy of a worksheet from another workbook" on page 234. The variables then
become available the current workbook's Variable tab and are available for use. If you
subsequently delete the copied worksheet, the variables are preserved.
Fixed values
A list variable with fixed values can be used to filter any worksheet based on a table that contains the
same data as in the list. You can also use the fixed values to show all data in the worksheet, or to show
no data. Fixed values are applied to the base key field of the table the worksheet is based on, so one list
of fixed values typically can only be used with one table.
A fixed value that shows all data in the worksheet can be defined by using a data value that will not
appear in the worksheet data. For example, you can define the data value as '*', and define the display
value as '= All ='. You can then create the worksheet filter expression to return all records where the
customer is like the variable value. This returns all customers when the '= All =' value is selected because
the filter expression evaluates to "Customer LIKE '*'". For more information, see "Create a filter
expression with a workbook variable" on page 1286.
Query-generated values
A list of values generated by a query expression limits the values in the list to only those that match the
expressions defined by the variable. These expressions include one to define the data values, one to
define the display values for each data value, and one to filter the data values to only those you want
displayed in the list.
The workbook control created by this variable is shown in the following illustration.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click List Variable.
3. In the New List Variable dialog box, in the Name box, type a name for the variable. This name
cannot contain spaces.
4. In the Label box, type the label that will be displayed to workbook users.
If you do not provide a label, the value in the Name box is displayed to workbook users.
5. In the Description box, type a description of what the variable represents, how it is intended to
be used, and, if required, the range of values it can contain.
The description is displayed in a tooltip when a user moves the pointer over the workbook
control, or over the variable in the Data Settings dialog box.
6. To include this variable on the workbook toolbar, select the Add to worksheet toolbar check
box.
7. To display the variable's label on the workbook toolbar control, select the Show label on toolbar
check box.
8. Define fixed values for the list.
1. In the list of values, in the Display Value column, type a value to indicate all values are returned,
such as 'All'.
2. In the Data Value column, type '*'.
3. In the worksheet properties Filtering tab, add FieldName LIKE $VariableName to the
worksheet filter expression, where FieldName is the field used to compare the value and
VariableName is the variable's name.
NOTE: You should create the All value as the first item in the list to ensure that is displayed first
in the workbook control.
NOTE: You can also use this procedure to create a value that does not display any records. If you
specify a value that does not appear in any records, no records match when the value is selected,
and therefore no records are displayed in the worksheet.
NOTE: Depending on the workbook's settings, you might not be able to create a list variable
using a Money field. If you can use Money fields in lists, the resulting list is treated as a list of
Quantity values. For more information, see "Query language compatibility and ambiguous syntax"
TIP: You can also select fields, functions, and variables from a list in the expression boxes. For
more information, see "Expression assistance and auto-completion" on page 1120.
TIP: You can use the Expression Builder to assist you in creating query expressions for each
expression in the New List Variable dialog box. You can open the Expression Builder by clicking
Expression Builder, and then clicking the type of expression you want to create. For more
information about using Expression Builder, see "Creating expressions with Expression Builder" on
page 1117.
NOTE: The initial value you specify is always used the first time a user opens the workbook.
An example of the workbook control created by this example is shown in the following illustration.
Workbook users can modify the date in the control, or click the down arrow to select a date from the
calendar. Only orders with a due date that matches the selection in the variable are displayed in the
worksheet. For example, if a user selects a date that has no orders due, no records are displayed in the
worksheet, as shown in the following illustration.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click Date Variable.
3. In the New Date Variable dialog box, in the Name box, type a name for the variable. This name
cannot contain spaces.
4. In the Label box, type a label to be displayed to workbook users.
NOTE: The initial value you specify is always used the first time a user opens the workbook.
When you create expressions using Boolean variables, you can use a comparison operator to compare
the variable to a specific value, or use just the Boolean's value. For example, using a Boolean variable
named $ShowLate, an expression such as IF ($ShowLate='Y',1,0) is valid, as is IF
($ShowLate,1,0). Boolean variables can use the same comparison operators as String values, but
only the 'equal to' (=) and 'not equal to' (<>) operators are applicable. For more information about
comparison operators, see "Comparison operators" on page 1132.
You can also specify an initial value for the variable.This value is the one used in filter expressions when
the user opens the workbook for the first time. If you want the workbook to always open with the initial
value you have selected, you can choose to have that value always applied to the workbook. If you
choose this option and have not specified an initial value, users will be prompted to specify a value every
time they open the workbook.
If the variable is available to users, you can have the variable use the same value as a variable in another
workbook. To do this, the workbooks must both contain variables with the same name and of the same
type. For example, if you create a variable to show late orders in multiple workbooks, you can specify a
true or false value in one workbook, and then when you open another workbook, the same true or false
value is selected.
You can also create a variable that can have its value set only in the workbook it is defined in. These
variables cannot have their values set by specifying values for variables in other workbooks. This ensures
that the value the user sets in the workbook is used again the next time they open the workbook,
regardless of whether or not they specified values for variables in other workbooks.
An example of a Boolean variable created to control whether only late orders or only on time orders are
displayed in a worksheet is shown in the following illustration.
A Boolean variable is displayed on the workbook toolbar as a button. When the button is pressed, the
variable is set to its true value. This worksheet displays on time records when the ShowLate variable is
set to its false value, and late orders when the variable is set to its true value, as shown in the following
illustrations.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click Boolean Variable.
3. In the New Boolean Variable dialog box, in the Name box, type a name for the variable. This
name must contain only letters, numbers, and the underscore (_) character.
4. In the Label box, type a label to be displayed to workbook users. This label is also displayed on
the button inserted into the workbook toolbar.
If you want to use the value in the Name box as the label, leave the label blank.
5. In the Description box, type a description of the variable and how it is intended to be used.
The description is displayed in a tooltip when a user moves the pointer over the variable in the
Data Settings dialog box or on the workbook toolbar button.
6. If you do not want users to view or modify the variable, clear the Available to users check box.
7. To allow users to control the variable by clicking a button on the workbook toolbar, select the
Workbook toolbar control check box.
8. In the Display Value boxes, specify the values displayed for the False value and the True value.
9. In the Data Value boxes, specify the values to be used in expressions for the False value and
True value. If you do not specify these values, the Display Values are used.
10. Specify the initial value.
1. In the Initial value area, click one of the following to control the value used the first time a user
opens the workbook:
l False value—The variable is initially set to its False value.
l True value—The variable is initially set to its True value.
2. In the On opening workbook area, click one of the following:
l Use the last value provided by the user in—The value that the user used the last time the
workbook was open is used as the initial value the next time they open the workbook. Specify
one of the following:
l Any workbook—If multiple workbooks contain a variable with the same name, the value
specified in those workbooks is also used in this workbook.
l This workbook—The variable's value is specified in only this workbook.
l Always use the initial value—The initial value you specified in step 1 is always used when a
user opens the workbook.
To filter data using the variable, you must create an expression that uses the variable, as shown in the
following illustration.
To specify a value for this variable, users must modify the data settings, as shown in the following
illustration.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click Quantity Variable.
3. In the New Quantity Variable dialog box, in the Name box, type a name for the variable. This
name cannot contain spaces.
4. In the Label box, type a label to be displayed to workbook users.
If you do not provide a label, the value in the Name box is displayed to workbook users.
5. In the Description box, type a description of the variable and how it is intended to be used. You
should include the maximum and minimum values in this description so workbook users know
the range of values they can enter.
The description is displayed in a tooltip when a user moves the pointer over the variable in the
Data Settings dialog box.
NOTE: The initial value you specify is always used the first time a user opens the workbook.
To filter data using the variable, you have to create an expression that uses the filter, as shown in the
following illustration.
An example of a worksheet using the filter expression defined in the variable is shown in the following
illustration.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click Text Variable.
3. In the New Text Variable dialog box, in the Name box, type a name for the variable. This name
cannot contain spaces.
4. In the Label box, type a label to be displayed to workbook users.
If you do not provide a label, the value in the Name box is displayed to workbook users.
5. In the Description box, type a description of the variable and how it is intended to be used.
The description is displayed in a tooltip when a user moves the pointer over the variable in the
Data Settings dialog box.
6. If you do not want users to view or modify the variable, clear the Available to users check box.
7. Specify an initial value.
NOTE: The initial value you specify is always used the first time a user opens the workbook.
In this example, customers that begin with W are defined in the W Customers filter, which is used to
filter the set of parts returned by the worksheet.
If a user you share the workbook with does not have access to a filter compatible with the table you
specify in the variable, if the variable is used in the worksheet filter expression, they cannot view data in
the workbook. To ensure the workbook can be used by all users, ensure they also have access to a filter
compatible with the variable's table.
1. In the New Workbook or Workbook Properties dialog box, click the Variables tab.
2. Click New, and then click Filter Variable.
3. In the New Filter Variable dialog box, in the Name box, type the name for the variable.
4. Optionally, in the Label box, type the label to display to users.
5. To include this variable on the workbook toolbar, select the Add to worksheet toolbar check
box.
6. To display the variable's label on the workbook toolbar control, select the Show label on toolbar
check box.
7. In the Description box, type a description of what the variable represents and how it is intended
to be used.
8. In the Table list, select the table that filters must be compatible with to be included in the
variable.
Expression Result
Name like 'A*' AND All parts that begin with the letter A and that have the planner code selected in
PlannerCode = $Planner the $Planner variable
DueDate > $SelectedDate All records with a due date later than the date selected in the $SelectedDate
variable
Quantity <= All records with a quantity less than or equal to the value entered in the
$MaxQuantity $MaxQuantity variable
DueDate < All records with a due date earlier than the date selected in the $SelectedDate
($SelectedDate + variable plus the number of work days entered in the $NumDays variable.
$NumDays 'Workday')
Order.Customer like All records from the customer selected in the $Customer variable.
$Customer
Workbook variables can be used in filter or column expressions, and must always use the $ prefix.
The variable's type determines where you can use it in expressions. You can only use a variable with
fields of the same type. For example, you can use a Quantity variable in any expression with a Quantity
field. For List variables, the type of data in the list must match the data type of the field you compare it
to.
1. In the New Worksheet or Worksheet Properties dialog box, click the Columns tab.
2. Click New Column, and then type a name for the column.
3. Click Expression Builder.
4. In the Expression Builder, add the fields and operators required for your expression.
5. Click the Variables tab, and then click the + symbol beside Workbook Variables.
6. In the Expression box, click where you want to insert the variable.
7. In the Variable list, double-click the variable you want to add to the expression.
To view more information about a variable, move the pointer over it. The variable's type and
description are displayed in a tooltip.
8. Repeat steps 6 and 7 for each variable you want to use in your expression.
9. Click Validate.
10. Click OK.
1. In the New Worksheet or Worksheet Properties dialog box, click the Filter tab.
2. Click Expression Builder.
3. In the Expression Builder, add the fields and operators required for your expression.
4. Click the Variables tab, and then click the + symbol beside Workbook Variables.
5. In the Expression box, click where you want to insert a variable.
6. In the Variable list, double-click the variable you want to add to the expression.
To view more information about a variable, move the pointer over it. The variable's type and
description are displayed in a tooltip.
7. Repeat steps 5 and 6 for each variable you want to use in your expression.
8. Click Validate.
9. Click OK.
This expression displays the value in the Quantity field if the variable is set to 'Quantity', the value in the
OnTimeQuantity field if the variable is set to 'OnTimeQuantity', and the value in the ShippedQty field if
the variable is set to 'ShippedQty'.
After you save the worksheet, users can view the quantity they want by making a selection in the
workbook control created by this variable.
When you open the workbook, you can specify the minimum order quantity and the maximum due date
for the worksheet.
In the worksheet you are drilling from, you map the true variable value to the variable that hides the
worksheet.
NOTE: If you have the appropriate permissions, you can see all profile variables installed with
RapidResponse by clicking Macros and Profile Variables from the View menu.
NOTE: The procedure above should be repeated for each user or group who has access to a
resource where the profile variable will be used. Users cannot open resources (for example,
workbooks) that reference profile variables which have not been defined for them.
NOTE: In some cases, a profile variable might be defined for a group a user belongs to as well as
for the user himself. In such a case, the user’s profile variable takes precedence over the group’s
profile variable.
NOTE: Profile variables specifically for supplier collaboration are created using a different
procedure. For more information about profile variables for supplier collaboration, see the
RapidResponse Administration Guide.
NOTE: Because these profile variables are defined for you, you cannot create multiple variables
with the same name.
l User ID or Group—Allied
l Variable name—SupplierID
l Type—Constant
l Data value—Allied
l Display value—Allied
NOTE: For an example of how this profile variable could be used in a query expression, see
"Example of using Supplier profile variable" on page 1300.
NOTE: If you had multiple user accounts associated with a given supplier, you could create a
group for the supplier, add all user accounts to the group, and then associate the profile variable
with the group (instead of individually by user).
The following image shows these entries in the Profile Variables worksheet.
For more information about configuring a column for conditional data editing, see "Specify if a column
can be edited" on page 289.
NOTE: For more information about alerts and the posting of reports to Web sites, see the
RapidResponse User Guide.
System variables
RapidResponse includes system variables that can be used in worksheets to filter the data displayed in
the worksheet. System variables can be used in any workbook, and typically represent the selections a
user has made in workbook controls or in hierarchies.
You can use system variables to create expressions that use the selected resources to filter worksheet
data. For example, you can use the SelectedSite variable to insert the name of the user’s currently
selected site (from a workbook Site control) into an expression, or use the selected site value to filter
data by site in a workbook that does not contain a Site control. You can also use the
SelectedHierarchyActive variable to control whether or not a column is editable.
If you create a profile variable or workbook variable with the same name as a system variable, the system
variable is used in expressions.
NOTE: For more information about using the system variables that define the selection made in a
hierarchy, see "Create worksheets with reference forecasts" on page 206.
Macros are reusable expressions that can be used when creating RapidResponse query expressions. Each
macro evaluates data values or performs specific operations that produce a value (for example, adding
two or more Quantity fields together).
Once a macro is created, it can be used in multiple worksheets or filters and in the context of different
RapidResponse tables. This allows you to call or reuse the same expression instead of having to create it
in different locations. As well, you can subsequently modify the macro in one location and have all
expressions that use it updated automatically.
RapidResponse includes a number of standard macros which you can use in your query expressions, or
you can create your own macros.
NOTE: If you require reusable expressions, you might consider defining custom calculated fields
instead. Calculated fields can be saved to any standard or custom RapidResponse table, and allow a
commonly used expression to be created once and then used in any worksheets based on that
table. Custom function fields can also be created. These are similar to calculated fields but accept
one or more input parameters to be provided when the function field is added to a worksheet. For
more information about custom calculated fields, see the RapidResponse Data Integration Guide or
talk to your administrator.
Creating macros
If you have been granted the appropriate permissions, you can create macros in the Macros and Profile
Variables workbook within RapidResponse. Each macro requires a name, a RapidResponse query
expression, and optionally one or more input parameters to be used by the macro expression.
▶Create a macro
NOTE: It is recommended that you provide a meaningful or intuitive name for each macro you
create.
NOTE: If your expression requires a reference to calculated results, similar to using a LOOKUP
operator, you can use a calculated expression field. These fields are calculated once and can be
referenced every time the macro is used. For more information, contact your RapidResponse
administrator.
l Name—CurrentMonth
l Parameters—Date
l Expression—Date >= today + 0 'Month' and Date < Today + 1 'Month'
NOTE: For an example of how this macro could be used in a query expression, see "Example
(calling date macro)" on page 1307.
l Name—Revenue
l Parameters—Qty, UnitPrice, AvgPrice
l Expression—IF (UnitPrice > 0, Quantity * UnitPrice, Quantity * AvgPrice)
NOTE: For an example of how this macro could be used in a query expression, see "Example
(calling revenue macro)" on page 1307.
NOTE: After deleting a macro, ensure that it is no longer used in any worksheets. Worksheets
referencing deleted macros cannot be opened.
Calling macros
All available macros can be seen in the Macros and Profile Variables workbook in RapidResponse. You
can use any of these macros in your query expressions. When calling a macro, you should ensure the
following:
& _
& (AND operator) 1137 _SelectedFilterSet 858
( |
( ) (parentheses) 1143 | 1137
* +
* + (arithmetic operator) 1129
wildcard 1134
* (arithmetic operator) =
multiplication 1129
= (comparison operator) 1132
.
>
.acn 134
.alt 134 >= (comparison operator) 1132
.dbd 134 2
.frm 134
.hry 134 2nd pass columns 363
.prc 134
.rsp 134