Académique Documents
Professionnel Documents
Culture Documents
Below are the lists of available Webi 3.1 report functions and will describe each & every functions along with example.
Webi 4.0 reports are also having some functions with some additional futures.
Functions
Abs
Asc
Average
Block Name
Ceil
Function Output
Syntax
Num Abs(number)
97324
54354
77
65
Num
Average(Measure[;In
clude Empty])
=Average([Amount
])
String BlockName()
=BlockName()
Desc
Amount
A
2540
B
3210
C
1243
D
5214
E
8003
F
98721
Sum
118931
Average 19821.83
Master Table Name
of the table
Num Ceil(Number)
=Ceil(1234.51)
=Ceil(1234.49)
=Ceil(-1234.1)
=Char(100)
=Char(77)
=Char(42)
Int Asc(Character)
Column
Number
Concatenation
Connection
Count
Result
=Abs(-97324)
=Abs(54354)
=Asc(M)
=Asc(A)
Char
Cos
Sample
Int ColumnNumber()
C
N
=ColumnNumber()
String Concatenation =Concatenation("S
(first_string;Second_s AP";" Business
tring)
Objects")
String
=Connection([Quer
Connection(dp)
y 1])
Num Cos(angle)
int
Count(obj[;IncludeE
mpty] [;Distinct|All])
=Cos(360)
=Cos(200)
=Count([Desc])
=Count([Amount])
1235
1235
-1234
d
M
*
3 Column Number
function used in 3rd
column of that table
SAP Business Objects
DB Layer: "Oracle
OCI". DB Type: "Oracle
11".
-0.28
0.49
Desc
A
B
C
C
E
F
Amount
2540
3210
1243
5214
8003
98721
Date CurrentDate()
=CurrentDate()
Count
Dim
Count
Measure
12/24/13
Time CurrentTime()
=CurrentTime()
2:05:54 PM
String CurrentUser()
String
DataProvider(obj)
=CurrentUser()
=DataProvider([Co
untry])
Date
DataProviderKeyDate
(dp)
Stri8ng
DataProviderKeyDate
Caption(dp)
=DataProviderKeyD
ate([dp])
devuser
Query 1 this is
Default Data provider
name
24 December 2013
Data Provider
SQL
Data provider
Type
String
DataProviderSQL([dp
])
String
DataProviderType([d
p])
Current Date
Current Time
Current User
Data Provider
Data Provider
key Date
Data Provider
key Date
Caption
Day Name
Day Number
Of Month
Day Number
Of Week
Day Number
Of Year
5
6
=DataProviderKeyD
ateCaption([dp])
Returns "Current
calendar date" if the
keydate caption
in the dp data
provider is "Current
calendar date".
=DataProviderSQL([ Select object1 from
dp1])
table
=DataProviderType
([dp1])
Universe
String
DayName(date)
= =DayName([Sales
Date])
Sales Date
6/16/2010
6/21/2010
6/23/2010
6/25/2010
6/26/2010
Day Name
Wednesday
Monday
Wednesday
Friday
Saturday
Int
DayNumberOfMonth
(date)
=DayNumberOfMo
nth([Sales Date])
Sales Date
6/16/2010
6/21/2010
6/23/2010
6/25/2010
6/26/2010
Day Number
16
21
23
25
26
Int
DayNumberOfWeek()
=
DayNumberOfWee
k([Sales Date])
Sales Date
Week
Number
6/16/2010
6/21/2010
6/23/2010
6/25/2010
6/26/2010
3
1
3
5
6
Int
DayNumberOfYear(d
ate)
=DayNumberOfYea
r([Sales Date])
Sales Date
4/5/2010
4/7/2010
4/8/2010
4/12/2010
4/13/2010
Day of Year
95
97
98
102
103
Days Between
Document
Author
Document
Creation Date
Document
Creation Time
Document
Date
Document
Name
Document
Owner
Document
Partially
Refreshed
Int
DaysBetween(first_d
ate;last_date)
=DaysBetween([Sal
es
Date];CurrentDate(
))
;
3/12/2010
3/16/2010
3/17/2010
3/22/2010
3/23/2010
Days
Between
1383
1379
1378
1373
1372
*Current Date
12/24/13
devuser
String
DocumentAuthor()
Date
DocumnetCreationDa
te()
Time
DocumnetCreationTi
me()
Date
DocumnetDate()
String
DocumnetName()
String
DocumentOwner()
=DocumentAuthor(
)
=
DocumnetCreation
Date()
=
DocumnetCreation
Time()
= DocumnetDate()
=DocumentOwner(
)
devuser
Bool
DocumentPartiallyRe
freshed()
=DocumentPartiall
yRefreshed()
Returns 1 & 0. 0
Means Fully refreshed.
1 Means partially
refreshed. You can use
these values in IF
function to display
TRUE / FALSE
4:25:39 PM
12/10/13
2:55:59 PM
12/10/13
Document
Time
Drill Filter
Time
DocumnetTime()
String DrillFilters([Obj
|Separator])
= DocumnetTime()
Euro Convert
From
num
EuroConvertFrom(eu
ro_amount;curr_cod
e;round_level)
=EuroConvertFrom
(1000;"FRF";2)
=DrillFilters()
=EuroConvertFrom
(1000;"GRD";1)
340,750.1
=EuroConvertFrom
(1000;"ITL";0)
1,936,270
DEM
GRD
ESP
FRF
IEP
ITL
LUF
NLG
ATS
PTS
FIM
Euro Convert
To
Euro From
Round Error
Euro To Round
Error
Even
Exp
Fact
Fill
First
German mark
Greek drachma
Spanish peseta
French franc
Irish punt
Italian lira
Luxembourg franc
Dutch guilder
Austrian schilling
Portuguese escudo
Finnish mark
num
EuroConvertTo(none
uro_amount;curr_co
de;round_level)
num
EuroFromRoundError
(euro_amount;curr_c
ode;round_level)
Exponential (e raised to a
power). An exponential is the
constant e (2.718...) raised to a
power.
Factorial of an Integer.
Factorial of number is multiple
of all the integers from 1 to
number. If FACT(4) then it
would calculate 1*2*3*4= 24
an FACT(6) is
1*2*3*4*5*6=720
Concatenate the string by
repeating N times.
Num Exp(Number)
num
EuroToRoundError(n
oneuro_amount;curr
_code;round_level)
Determines the Number is Even Bool Even(number)
or not
=EuroConvertTo(65
59.57;"FRF";2)
1000
=EuroConvertTo(65 3,353.85
59.57;"DEM";2)
=EuroFromRoundEr 0.03
ror(1000;"FRF";1)
=EuroFromRoundEr 0 means there is no
ror(1000;"GRD";1) difference in rounding
the decimal places.
=EuroFromRoundEr -0.01 > 2,203.71
ror(1000;"NLG";1)
when you round this
amount 2,203.7 and
the difference is -0.01
=EuroToRoundErro -0.05 ->152.45 while
r(1000;"FRF";1)
rounding it would be
152.4 and the
difference is -0.05
=Even(10)
1 This is even
Number
=Even(11)
0 Not an even
Number
=Exp(2)
7.39
=Exp(3)
20.09
Num Fact(number)
=Fact(4)
=Fact(6)
24
720
String
Fill(repeating_string;
num_repeats)
=Fill("Business
Objects ";3)
Business Objects
Business Objects
Business Objects
=Fill("SAP ";5)
=First([Country])
Input_type
Floor
Force Merge
First(dimension|mea
sure)
Int Floor(number)
=First([Sales])
Country Object.
102364.55 first value
of the Sales Measure
based on your Query
data set.
=Floor(1234.61)
=Floor(-1234.61)
=ForceMerge([Sale
s])
1234
-1235
104342.50
2013/24/12
String
GetContentLocale()
=FormatDate(Curre
ntDate();"yyyy/dd/
MM")
=FormatDate(Curre
ntDate();"MM/yyyy
")
=FormatNumber([S
ales];"#,##0")
=FormatNumber([S
ales];"#,##0.00")
=GetContentLocale
()
String
GetDominantPreferr
edViewingLocale()
=GetDominantPref
erredViewingLocal
e()
en_US
Num
ForceMerge(number)
Format Date
Format
Number
Get Content
Locale
Get Dominant
Preferred
Viewing
ForceMerge([Sales]) returns
the value of [Revenue], taking
into account any synchronized
Dimensions that do not appear
in the same block as the [Sales]
measure.
Formats a date according to
the Specified format
string
FormatDate(date;for
mat_string)
string
FormatNumber(num
ber;format_string)
12/2013
12,358,210
12,358,210.56
en
Locale()
Get Locale
String GetLocale()
=GetLocale()
en
string
GetLocalized(string[;c
omment])
=GetLocalized("Sal
es Revenue";"Max
20 characters")
Sales Revenue
string
GetPreferredViewing
Locale()
string
HTMLEncode(html)
=GetPreferredView
ingLocale()
en
http://www.sap.com
If Then Else
If bool_value Then
true_value [Else
false_value]
=HTMLEncode("htt
p://www.sap.com"
)
=If(10 >5) Then
"TRUE" Else
"FALSE"
FALSE
String InitCap(string)
Init Cap
Interpolation
num
Interpolation(measur
e[;PointToPoint|Line
ar]
=Intepolation([Mea
surement])
TRUE
Report
Country
M
ea
su
re
In
te
rp
ol
Is Date
Is Error
Is Logical
[;NotOnBreak|(reset
_dims)][;Row|Col])
m
en
t
Measure Any
measures
PointTo-Point
|Linear - The
interpolation
method: Keyword
PointToPoint point-to-point
interpolation
Linear - linear
regression with least
squares
Interpolation.
USA
CANADA
JAPAN
INDIA
CHINA
UK
GERMANY
By Default
PointToPoint
would be taken.
12
14
15
18
at
io
n(
[
M
ea
su
re
m
e
nt
])
12
13
14
15
16
17
18
NotOnBreak|
reset_dims
NotOnBreak prevents the function
from resetting the
calculation on block
and section breaks
reset_dims - the list
of dimensions used
to reset the
interpolation
Row|Col - Sets the
calculation direction
By Default Row
would be taken.
Bool IsDate(obj)
Bool IsError(obj)
Bool IsLogical(obj)
=IsDate("12/24/20
13")
=IsDate(CurrentDat
e())
=IsError(100/0)
1- TRUE (Value is a
Date)
1 100/0 would
return ERROR in the
report
=IsError(100/10)
0 100/10 would
returns 10 and there is
no error
1 - TRUE
=IsLogical(IsString([
Is Null
Boolean.
IsLogical returns a boolean
value that you can use in the If
function.
If you place IsLogical directly
into a column, it returns an
integer (1=true; 0=false). You
can format
this integer using a Boolean
number format.
Determines whether a value is
null
Country]))
Bool IsNull(obj)
=If (IsNULL([Sales]))
then 0 else [Sales]
=If
(IsNumber([Sales]))
then 0 else [Sales]
=IsPromptAnswere
d("Enter Country
Name")
Is NUmber
Bool IsNUmber(obj)
Is Prompt
Answered
Bool
IsPromptAnswered([
dp;]prompt_string)
Is String
Bool IsString(obj)
Is Time
Bool IsTime(obj)
Last
Last Day Of
Month
Last Day Of
Week
Last Execution
Date
Last Execution
Duration
Last Execution
Time
input_type
Last(dimension|meas
ure)
Date
LastDayOfMonth(dat
e)
Date
LastDayOfWeek(date
)
date
LastExecutionDate([d
p])
num
LastExecutionDuratio
n(dp)
time
LastExecutionTime(d
=If
(IsString([Country
Code])) then
TRUE else
FALSE
=IsTime(CurrentTi
me())
=Last([Country])
=Last([Sales])
1 Return TRUE
YEMAN Last value of
Country Object.
2364.55 Last value
of the Sales Measure
based on your Query
data set.
=LastDayOfMonth(
CurrentDate())
12/31/13
=LastDayOfWeek(C
urrentDate())
12/29/13
=
LastExecutionDate(
[Sales])
=LastExecutionDur
ation([Sales])
12/24/13
=LastExecutionTim
e([Sales])
4:29:54 PM
40 Seconds
Left
Left Pad
Left Trim
p)
string
Left(string;num_char
s)
string
LeftPad(padded_strin
g;length;left_string)
=Left("SAP
Business
Objects";5)
SAP B
=Left([Country];3)
=LeftPad("South";1
0;"West ")
=LeftPad("South";1
1;"West ")
West WSouth
=LeftPad("South";4
;"West ")
string
=LeftTrim(" SAP
LeftTrim(trimmed_str BO")
ing)
=LeftTrim([Country
])
=Length("Web
Intelligence
Report")
=LineNumber()
SAP BO
USA if Country
Object Has values as
USA
23
Length
Number of characters in a
string
Int Length(string)
Line Number
Int LineNumber()
Ln
Log
=Ln(20)
=Log(100;5)
Log10
Num Ln(number)
num
Log(number;base)
Num Log10(number)
=Log10(10)
Lower
Match
string Lower(string)
Bool
Match(test_string;pa
ttern)
=Lower(SAP)
=Match("SAP
Business
Objects";"*B*")
sap
1 There is a
matching pattern for
B
Max
=Max([Country])
USA
Median
Input_type
Max(Dimension |
Measure)
Num
= Median([Sales])
Min
Median(Measure)
Input_type
Min(Dimension |
Measure)
Num
Mod(dividend;divisor
)
Input_type
Mode(dimension|me
asure)
Mod
Mode
Most frequently-occurring
value in a data set. Mode
returns null if the data set does
not contain one value that
occurs more frequently than all
the others.
Returns the Month name of the String Month(date)
Date
Returns the Month Number of
Int
the Date.
MonthNumberOfYea
r(date)
Return the Number of months
Int
between two dates
MonthsBetween(first
_date;last_date)
Month
Month
Number Of
Year
Months
Between
Name Of
No Filter
Number Of
Data Providers
Number Of
Pages
Number Of
Rows
Odd
Page
=Min([Country])
AUSTRIA
=Mod(102;23)
10
=Mod(10;3)
=Mode([Sales])
1
20 If [Sales] has
values of 10, 5,
20,15,20
USA If [Country] has
most frequent values
of USA
December
=Mode([Country])
=Month(CurrentDa
te())
=MonthNumberOf
Year(CurrentDate()
))
=MonthsBetween([
Sales Date];
CurrentDate())
12
5 If [Sales Date] is
24-Jun-2013 and
Current Date is 24Dec-2013
Country
String NameOf(obj)
=NameOf([Country
])
Input_type
NoFilter(obj[;All|Drill
])
=
NoFilter(Sum([Sale
s]))
Int
NumberOfDataProvid
ers()
Int NumberOfPages()
=
NumberOfDataPro
viders()
=NumberOfPages()
Int
NumberOfRows([dp])
Bool Odd(Number)
=NumberOfRows([
Query 1])
=Odd(121)
=Odd(140)
=Page()
Int Page()
20 Report has 20
pages
200 Data Provider
Query 1 has 200 Rows
1 TRUE
0 - FALSE
1 First Page of the
Percentage
Percentile
Pos
Power
Previous
report
Num
Percentage(measure[
;Break][;Row|Col])
=Percentage([Sales
])
Num
Percentile(measure;p
ercentile) - percentile
- A percentage
expressed as a
decimal
=
If [Amount] has the
Percentile([Amount set of numbers
];0.3)
(100;200;300;400;500)
Percentile([Amount];0
.3) returns 220,
This is greater than or
equal to 30% of the
numbers in the set.
=Pos("SAP BO"
1
;"SA")
Int
Pos(test_string;patte
rn)
Num Power(number;
power)
Input_type
Previous(dimension|
measure|Self[;(reset
_dims)][;offset][;NoN
ull])
=Power(2;2)
Year
Sales
2001
2002
2003
Sum
1000
5000
4000
10000
Perc
enta
ge
10
50
40
100
= Previous([Country];1)
Country
USA
UK
UAE
Sales
1000
5000
4000
Previous
USA
UK
= Previous([Sales])
Country
USA
UK
UAE
Sales
1000
5000
4000
Previous
1000
5000
= Previous([Sales];[Country])
Country
USA
UK
UAE
Region
South
West
East
South
North
North
East
Sales
2000
4000
1000
5000
4000
3000
5000
Previous
2000
4000
5000
3000
Product
2012
USA
UK
UAE
2000
5000
3000
Previ
ous
2013
3000
6000
5000
Previ
ous
2000
5000
3000
=Previous([Sales]);2;NoNull)
Year
2012
2012
2012
2012
2013
2013
2013
Quarter
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Sales
2000
Previous
1000
5000
2000
2000
1000
5000
5000
5000
Num
Product(measure)
=Product([Amount]
)
String
PromptSummary()
=
PromptSummary()
Quarter
Int Quarter(date)
=Quarter(CurrentD
ate())
Query
Summary
string
QuerySummary([dp])
= QuerySummary()
Prompt
Summary
4 Considering
Current Date as
12/24/13
Rank
Ranks a measure by
dimensions.
The function uses the default
calculation context to calculate
the ranking if you do not
specify ranking dimensions.
You must always place
dimensions in parentheses
even if there is only one
dimension in the list of ranking
or reset dimensions.
When you specify a set of
ranking or reset dimensions
you must separate them with
semi-colons.
By default the ranking is reset
over a section or block break.
Int
Rank(measure;[ranki
ng_dims][;Top|Botto
m][;(reset_dims)])
ranking_dims - The
dimensions used to
rank the measure
Top | Bottom Top
is for Descending
Order and Bottom is
for Ascending Order.
reset_dims - The
dimensions that
reset the ranking
Sales
5,63,482
9,923,756
10,458,691
=Ran([sales];([Country]);Bottom)
The Bottom argument means that the
measures are ranked in descending order.
Country
USA
UK
UAE
Sales
5,63,482
9,923,756
10,458,691
Rank
1
2
3
=Ran([sales]; ([Country];[Year]);([Country]))
The rank is reset on the Country dimension.
Country
USA
USA
USA
UK
UK
UK
UAE
Year
FY2011Q1
FY2011Q2
FY2011Q4
FY2012Q1
FY2012Q2
FY2012Q3
FY2013Q3
Ref Value
Input_type
RefValue(obj)
= RefValue([Sales])
Date RefValueDate()
= RefValueDate()
String
RefValueUserRespon
se([dp;]prompt_strin
g[;Index])
=
RefValueUserRespo
nse( "Enter Country
Name )
Rank
3
2
1
Sales
2,000,000
5,000,000
6,000,000
300,000
5,600,000
7,900,100
8,000,000
Rank
1
2
3
1
2
3
1
Relative Date
Relative Value
Replace
Date
RelativeDate(start_d
ate;num_days)
=RelativeDate(Curr
entDate();10)
Input_type
=RelativeValue([Sales];([Year]);-1)
RelativeValue(measu
re|detail;slicing_dims
Year
Quarter Sales
Rank
;offset)
2011
Q1
200,000
2011
Q2
500,000
2011
Q3
600,000
2012
Q4
300,000
2012
Q1
560,000 200,000
2012
Q2
790,100 500,000
2012
Q3
800,000 600,000
2012
Q4
850,00
300,000
String
Replace(replace_in;r
eplaced_string;replac
e_with)
replace_in - The
=Replace("SAP
Business
OBJECTS";"OBJECT
S";"Objects")
Report Filter
Report Filter
Summary
=ReportFilter([Cou
ntry])
String
ReportFilterSummary
(report_name)
=
ReportFilterSumma
ry()
=ReportFilterSumm
ary("Report 2"
Report Name
String ReportName()
=ReportName
Right
Right pad
String
Right(string;num_cha
rs)
String
RightPad(padded_stri
ng;length;right_string
)
=Right("SAP
Business
Objects";7)
=RightPad("SAP
";6;"BO")
=RightPad("SAP
";8;"BO")
SAP BOBO
String
RightTrim(trimmed_s
tring)
=RightTrim(SAP
BO )
SAP BO
=RightTrim([Countr
y])
=Round(123.45;1)
=Round(123.45;-1)
Right Trim
Round
Round a Number
Num Round
(number;round_level
SAP BO
Row Index
Running
Average
Running Count
)
Integer RowIndex()
Num
RunningAverage(mea
sure[;Row|Col][;Inclu
deEmpty][;(reset_di
ms)])
measure - Any
measure
Row|Col - Sets the
calculation direction
IncludeEmpty Includes empty
values in the
calculation
reset_dims - Resets
the calculation on
the specified
dimensions
Num
RunningCount(dimen
sion|measure[;Row|
Col][;IncludeEmpty][;
(reset_dims)])
measure - Any
measure
Row|Col - Sets the
calculation direction
IncludeEmpty Includes empty
values in the
calculation
reset_dims - Resets
the calculation on
the specified
dimensions
=Round(1600;-3)
=RowIndex()
2000
0 First row of the
table.
=RunningAverage([Sales])
Country
USA
USA
UK
Region
East
West
North
Sales
3568124
300456
8489381
Running
Average
3568124
1934290
4119320.3
=RunningAverage([Sales];([Country]))
Country
USA
USA
UK
Region
East
West
North
Sales
3568124
300456
8489381
Running
Average
3568124
1934290
8489381
=RunningCount([Sales])
Country
USA
USA
UK
Region
East
West
North
Sales
3568124
300456
8489381
Running
Count
1
2
3
=RunningCount([Sales];([Country]))
Country
USA
USA
UK
Region
East
West
North
Sales
3568124
300456
8489381
Running
Count
1
2
1
Running Max
Running Min
colons.
RunningCount does not
automatically reset the count
after a block break or new
section.
Running maximum of a
dimension or measure.
You can use extended syntax
context operators with
RunningMax.
You can set the calculation
direction with the Row and Col
operators.
If you apply a sort on the
measure referenced by
RunningMax, the running
maximum is calculated after
the measure is sorted.
You must always place
dimensions in parentheses
even if there is only one
dimension in the list of reset
dimensions.
When you specify a set of
reset dimensions you must
separate them with semicolons.
RunningMax does not
automatically reset the max
after a block break or new
section.
Running minimum of a
dimension or measure.
You can use extended syntax
context operators with
RunningMin.
You can set the calculation
direction with the Row and Col
operators.
If you apply a sort on the
measure referenced by
RunningMin, the running
minimum is calculated after the
measure is sorted.
You must always place
dimensions in parentheses
even if there is only one
dimension in the list of reset
dimensions.
When you specify a set of
reset dimensions you must
separate them with semicolons.
Input_type
RunningMax(dimensi
on|measure[;Row|C
ol][;(reset_dims)])
measure - Any
measure
Row|Col - Sets the
calculation direction
reset_dims - Resets
the calculation on
the specified
dimensions
Input_type
RunningMin(dimensi
on|measure;[Row|C
ol];[(reset_dims)])
measure - Any
measure
Row|Col - Sets the
calculation direction
reset_dims - Resets
the calculation on
the specified
dimensions
=RunningMax([Sales])
Country
USA
USA
USA
UK
UK
Region
East
North
West
North
South
Sales
3568124
3000900
300456
8489381
4561090
Running
Max
3568124
3568124
3568124
8489381
8489381
=RunningMax([Sales];([Country]))
Country
USA
USA
USA
UK
UK
Region
East
North
West
North
South
Sales
3568124
3000900
300456
8489381
4561090
Running
Max
3568124
3568124
3568124
8489381
8489381
Sales
3568124
3000900
300456
8489381
4561090
Running
Min
3568124
3000900
300456
300456
300456
=RunningMin([Sales])
Country
USA
USA
USA
UK
UK
Region
East
North
West
North
South
=RunningMin([Sales];([Country]))
Country
USA
USA
USA
UK
UK
Region
East
North
West
North
South
Sales
3568124
3000900
300456
8489381
4561090
Running
Min
3568124
3000900
300456
8489381
4561090
Running
Product
Running Sum
Input_type
RunningProduct(dim
ension|measure;[Ro
w|Col];[(reset_dims)]
)
measure - Any
measure
Row|Col - Sets the
calculation direction
reset_dims - Resets
the calculation on
the specified
dimensions
Num
RunningProduct(mea
sure[;Row|Col][;(rese
t_dims)])
measure - Any
measure
Row|Col - Sets the
calculation direction
reset_dims - Resets
the calculation on
the specified
dimensions
=RunningProduct([No. of Branch])
Country
USA
USA
UK
No. of
Branch
City
LA
SFO
London
Running
Product
3
15
600
3
5
40
=RunningSum([Sales])
Country
USA
USA
USA
UK
UK
Region
East
North
West
North
South
Sales
3568124
3000900
300456
8489381
4561090
Running
Sum
3568124
6569024
6869480
15358861
19919951
=RunningSum([Sales];([Country]))
Country
USA
USA
USA
UK
UK
Region
East
North
West
North
South
Sales
3568124
3000900
300456
8489381
4561090
Running
Sum
3568124
6569024
6869480
8489381
13050471
Sign
Sin
Sqrt
StdDev
StdDevP
Substr
Int Sign(number)
=Sign(23)
=Sign(-31)
=Sign(0)
1
-1
0
Num Sin(angle)
Num Sqrt(number)
Num
StdDev(measure)
=Sin(1000)
=Sin(-100)
=Sqrt(4)
=StdDev([measure]
)
0.83
0.51
16
2.58 - If measure has
the set of values (2, 4,
6, 8).
Num
StdDevP(measure)
=StdDev([measure]
)
String
SubStr(string;start;le
ngth)
=Substr("SAP
Business
Objects";1;12)
SAP Business
=Substr("SAP
Objects
Sum
Tan
To Date
To Number
Trim
([Dim 3]="Constant")
should be expressed as:
=Sum(([Sales
revenue]ForEach([Month]))Wh
ere([Month]=1))
The tangent of an angle
The TimeDim time dimension
allows you to build a time axis
from a date type universe
object. TimeDim returns the
data for the dates given as the
first parameter over the time
periods given as the second
parameter. When there are
periods that have no data, the
first day of each empty period
is returned.
This ensures a full axis for the
given period. This guarantees:
That the axis retains the
natural time order (oldest
objects first, the most recent
objects last).
The axis contains all the
periods between the minimum
and maximum dates in the
current context.
Use the above function in
conjunction with the following
functions:
DayName
DayNumberOfMonth
DayNumberOfWeek
DayNumberOfYear
Month
MonthNumberOfYear
Quarter
Turns a character string into a
date. Give the date format as
the parameter to indicate to
Web Intelligence how to
convert the string into a date.
The date format you provide
must match the format of the
date in the original string. Refer
to the link below for the
possible date formats.
Returns a string as a number. If
string is not a number,
ToNumber returns #ERROR.
Trims the leading and trailing
spaces from a string
Num Tan(angle)
TimeDim([Date];
Period)
Date - The date
object for the report,
for example,
InvoiceDate.
Period - The period
for the results, from
the following values:
DayPeriod
MonthPeriod
QuarterPeriod
YearPeriod
When no value is
selected, the
DayPeriod is used by
default.
This object should be
a data provider
object, it must be
available from report
objects, and cannot
be a variable.
Date
ToDate(date_string;f
ormat)
=Tan(180)
1.34
If we have data for Payment date as mention
below:
Payment Date
Payment
1/1/2013
50,000.00
1/8/2013
35,000.00
7/3/2013
70,000.00
Payment
50000
1/8/2013
35000
TimeDim
1/1/2013
1/2/2013
1/3/2013
1/4/2013
1/5/2013
1/6/2013
1/7/2013
1/8/2013
1/9/2013
1/10/2013
1/11/2013
1/12/2013
Etc.,
=ToDate("24/12/20
13";"dd/MM/yyyy"
)
24/12/2013
ToDate("24/12/13"
;"dd/MM/yy")
24/12/13
ToDate("24/12/13"
;"dd/MMMM/yy")
24/DECEMBER/13
Num
ToNumber(string)
=ToNUmber(5454
)
5454
String Trim(string)
=Trim( SAP BO )
SAP BO
Truncate
Truncates a number
Num
Truncate(number;tru
ncate_level)
=Truncate(1400;-3)
1000
The function
rounds/truncates to
the nearest 10
(parameter = -1), 100
(parameter
= -2), 1000 (parameter
= -3) and so on.
Payment Date
Unique Name
Of
Universe
Name
String
UniqueNameOf(obj)
String
UniverseName(dp)
=UniqueNameOf([P
ayment Date])
=UniverseName([Q
uery 1])
Upper
Url Encode
String Upper(string)
String
UrlEncode(html)
User Response
String
UserResponse([dp;]p
rompt_string[;Index])
=Upper(sap)
=URLEncode("http:
//www.google.com
")
=UserResponse(En USA If you entered
ter Country
USA in the Prompt
Name)
Var
VarP
dp - The data
provider
prompt_string - The
prompt text
Index - Tells the
function to return
the database primary
keys of the prompt
values
Num Var(measure)
=Var([Sales])
Num VarP(measure)
=VarP([Sales])
Week
Word Cap
Year
Int Week(date)
=Week(CurrentDat
e())
String
WordCap(string)
Int Year(date)
=WordCap(Payme
nt due for june)
=Year(CurrentDate(
))
2 Current Date
12/24/13 and Start
week is for Monday
Payment Due For June
2013