Profit
,
which is created by using this expression: [Revenue]-[Cost]
,
where Revenue
and Cost
are
measures in a data source. You also could create this expression: [Total_Retail_Price]
/ 1000000
, where Total_Retail_Price
is the measure divided by 1 million. For more information,
see Create a Custom Data Item By Entering an Expression.Percent change (parallel periods)[Revenue]
,
where [Revenue]
is the selected measure, or Rolling Total (period to date)[COST_N]
,
where [COST_N]
is the selected measure. For more information,
see Create a Custom Data Item That Is Based on Relative Time.<
> ( ) & # \
Items
|
Examples
|
Notes
|
---|---|---|
measure names, enclosed in square brackets
|
[Profit] [Cost of
Goods Sold] |
If you select a measure from the Available measures list box and
click to move it to the Expression field,
then the brackets are automatically included.
|
parentheses
|
2 * ([COST_N]
+ [Sales_Cost]) |
Use parentheses when
you need to perform a calculation outside of the normal order of operations.1
You can type the parentheses
or highlight the appropriate part of the expressions and then click .
|
the following symbols:
+ (plus
sign), - (minus sign), * (multiplication
sign), and / (division sign)
|
[Retail_Price]
- [Cost] |
You can type the symbols
or use the symbol buttons: .
|
numeric constants
|
[Total_Retail_Price]
/ 1000000 |
You cannot create a data item that is a constant value such as
500 or 500+300 .
|
1In the normal order of operations, working from left to right, multiplication and division are performed first, followed by addition and subtraction. |
<
> ( ) & # \