21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

angenpv(0.05, above(total value, 0, rowno(total)))<br />

rangexirr(value, date { ,value, date} )<br />

Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic. To calculate<br />

the internal rate of return for a series of periodic cash flows, use the rangeirr(value { ,value} ) (page 311)<br />

function.<br />

Value is a cash flow or a series of cash flows that corresponds to a schedule of payments in dates. Each value<br />

may be a single value or a range of values as returned by an Chart Inter Record Functions (page 815) with<br />

a third optional parameter. Text values, null values and missing values are disregarded. All payments are discounted<br />

based on a 365-day year. The series of values must contain at least one positive and one negative<br />

value.<br />

Date is a payment date or a schedule of payment dates that corresponds to the cash flow payments.<br />

Examples:<br />

rangexirr(-2500,'2008-01-01',2750,'2008-09-01') returns 0,1532<br />

rangexirr (above(sum(value), 0, 10), above(date, 0, 10))<br />

rangexirr(above(total value,0,rowno(total)),<br />

above(total date,0,rowno(total)))<br />

rangexnpv(rate, value, date { ,value, date} )<br />

Returns the net present value for a schedule of cash flows that is not necessarily periodic. The result has a<br />

default number format of money. To calculate the net present value for a series of periodic cash flows, use<br />

the rangenpv (rate, value { ,value} ) (page 311) function.<br />

Rate is the interest rate per period.<br />

Value is a cash flow or a series of cash flows that corresponds to a schedule of payments in dates. Each value<br />

may be a single value or a range of values as returned by an Chart Inter Record Functions (page 815) with<br />

a third optional parameter. Text values, null values and missing values are disregarded. All payments are discounted<br />

based on a 365-day year. The series of values must contain at least one positive and one negative<br />

value.<br />

Date is a payment date or a schedule of payment dates that corresponds to the cash flow payments.<br />

Examples:<br />

rangexnpv(0.1, -2500,'2008-01-01',2750,'2008-09-01') returns 80,25<br />

rangexnpv (0.1, above(sum(value), 0, 10), above(date, 0, 10))<br />

rangexnpv(0.1, above(total value,0,rowno(total)),<br />

above(total date,0,rowno(total)))<br />

Back to Other Functions.<br />

Exponential and Logarithmic Functions<br />

In the functions below, the parameters are expressions where x should be interpreted as a real valued number.<br />

exp(x )<br />

Exponential function, with the base of the natural logarithm e as base. The result is a positive number.<br />

log(x )<br />

The natural logarithm of x. The function is only defined if x > 0. The result is a number.<br />

312

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!