Beruflich Dokumente
Kultur Dokumente
Table of Contents
Calculations, Formula Toolbar and Editor Using Formulas in Reports:
Creating titles and headers that combine query prompts and text Using formulas to create local variables
Simple calculations (variances and percentages) Running averages For grouping data To create a projection based on a running average To setup Alerters
Calculations
You can create simple formulas by adding calculations on a column;
Sum total of column values Count count of unique values Count All count of all values in column Average average of column values Minimum the lowest value of a column Maximum the largest value of a column Percentage adds a percentage of total in a new column
4
Formula Toolbar
Variable editor opens variable window if currently selected cell contains a variable Define as Variable defines current cell formula as a variable, allows capturing of context Cancel cancels current changes made to cell (if not validated) Validate validates the formula in the current cell (if valid saves cell) Formula Editor opens formula editor window (if currently selected cell contains a formula Formula Display shows the current formula (or text) in the selected cell, allowing for immediate editing
5
Formula/Variable Editor
Formula/Variable Editor
Always start a formula with an = sign (otherwise it is just a text constant) Objects (and other variables) will have arrow brackets on either end i.e. <SLAcct6> String constants are enclosed with double quotes i.e. Text Numeric constants are not surrounded by quotation marks and should be entered without any formatting other than a decimal place
Formula/Variable Editor
Best Practices when creating local variables or formulas
Always start a local variable name with My so you can tell it apart from universe objects Give local variables clear and easily understood names Spaces between components makes it easier to read the formula and avoids errors Carriage returns can be added to the formula using Ctrl+Enter to make it easier to read Document your local variable in the report, so others can see the logic and/or process
7
For multiple prompts, create a cell, insert the prompt formula and cut and paste it into the formula (deleting cell afterwards)
8
10
Multiplied by the running average of the current month amount, plus the FYTD Amt
My Projected FY End Amt =<My Curr Mo Amt Running Avg>*<My Months left in FY>+<Fiscal YTD Amt (SL10)>
The Projected FY End Amt is a snapshot and should not be totaled. The variance to the budget balance would show the Projected FY End balance
12
13
Select the entire row of data and add an alerter for when the value of the variable is equal to one In this example The <SL Acct6 No> object is used. If your table is based on sub accounts or dates you should use the appropriate object that is in each row of your table.
14
15
Note that account numbers and Calendar YrMo are string values and must be in quotes After you click OK to save the formula, the results that match the formula should be highlighted.
16
18
Questions?
NSIT/Business Information Services Support (BIS) Email: IRF-support@lists.uchicago.edu or check out NSIT/BIS Website
(http://nsit.uchicago.edu/groups/bis/)
For additional information check out chapter 16 of the Data Access and Analysis (PDF) from Business Objects on the BIS website
21