Obiee 12C Bi Publisher Report Builder Function Create Template in Ms Office With Help of Oracle
Obiee 12C Bi Publisher Report Builder Function Create Template in Ms Office With Help of Oracle
• Enter the value to use in the Value if Null field for the element.
Function Reference The table below describes the usage of supported functions available from the Add
Element by Expression dialog and the Edit Group Filter dialog.
IF Logical IF operator Evaluates boolean_expr, and returns true_return if boolean_expr is true, and
false_return if boolean_expr is false.
NOT Logical NOT operator Evaluates boolean_expr, and returns true if boolean_expr is false.
STRING(NOT(boolean _expr))
AND Logical AND operator Evaluates boolean_expr1 and boolean_expr2, and returns true if both
boolean expressions are true, otherwise returns false.
&& Logical AND operator Evaluates boolean_expr1 and boolean_expr2, and returns true if both boolean
expressions are true, otherwise returns false.
Function Reference
ROUND Returns a number rounded to the integer places right of the decimal point.
ROUND(number[,inte ger]) If integer is omitted, number is rounded to 0 places. Integer can be negative
to round off digits left of the decimal point. Integer must be an integer.
LENGTH(expr) Example to return the length of an array: LENGTH{1, 2, 4, 4}) returns 4 Example to return
the length of a string: LENGTH('countries') returns 9
Function Reference
SUM(expr1, expr2, ...) SUM (G_1.SALARY, G_1.COMMISSION_PCT *G_1.SALARY) returns sum of salary
and commission For example, if SALARY = 14000 and COMMISSION_PCT =.4, the expression evaluates to
19,600.0
NVL Replaces null (returned as a blank) with a string in the results of a query.
NVL(expr1, expr2) If expr1 is null, then NVL returns expr2. If expr1 is not null, then NVL returns expr1.
CONCAT(char1, char2)
CONCAT(CONCAT(Firs t_Name, ' '), Last_Name) where First_Name = Joe and Last_Name = Smith returns
Joe Smith
SUBSTRING(string, start_pos, end_pos) string is the source string. start_pos is the position to start the
extraction. end_pos is the end position of the string to extract (optional).
SUBSTRING('this is a test', 5, 7) returns "is" (that is, characters 6 through 7)SUBSTRING('this is a test', 5)
returns "is a test"
INSTR Returns the position/ location of the first character of a substring in a string.
INSTR(string1, string2) string1 is the string to search. string2 is the substring to search for in string1.
Function Reference
DATE(char, format_string) where (1) char is any valid Java date string (for example, 13JAN-2013)(2)
format_string is the Java date format of the input string (for example, dd-MMMyyyy) The input and
format strings must be a valid Java date format string.
FORMAT_D ATE
FORMAT_DATE(date, format_string)
FORMAT_N UMBER
FORMAT_NUMBER(n umber,format_string)
DECODE Replaces the value of an expression with another value based on the specified search and
replace criteria.
REPLACE(expr,string1 ,string2) where string1 is the string to search for and string2 is the string to
replace.
Function Reference
Function Reference