28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Function Description<br />

Lag Returns the member that is a specified number of positions prior to a specified<br />

member along the dimension of the member.<br />

LastChild Returns the last child of a specified member.<br />

LastPeriods Returns a set of members prior to and including a specified member.<br />

LastSibling Returns the last child of the parent of a specified member.<br />

Lead Returns the member that is a specified number of positions following a specified<br />

member along the dimension of the member.<br />

Leaves If a dimension name is specified, returns a set that contains the leaf members of<br />

the key attribute for the specified dimension.If a dimension name is not specified,<br />

the function returns a set that contains the leaf members of the entire cube.<br />

Left The Left function returns a string of a specified number of characters from the left<br />

side (beginning) of a specified string.<br />

Level Returns the level of a member.<br />

Levels Returns the level whose zero-based position in a dimension is specified by a<br />

numeric expression.<br />

Max Returns the maximum value of a numeric expression evaluated over a set.<br />

Member_caption Returns the caption of a member<br />

Members Returns the set of all members in a specified hierarchy.<br />

MembersAscendantsDesc<br />

endants<br />

Returns the set of specified members in a given hierarchy.<br />

Mid The Mid function returns a substring of a string argument.<br />

Min Returns the minimum value of a numeric expression evaluated over a set<br />

MTD Returns a set of members from the Month level in a Time dimension starting with<br />

the first period and ending with a specified member.<br />

Name Returns the name of a specified hierarchy or member.<br />

NextMember Returns the next member in the level that contains a specified member.<br />

NOT Performs a logical negation on a numeric expression.<br />

OpeningPeriod Returns the first sibling among the descendants of a specified level, optionally at a<br />

specified member.<br />

OR Performs a logical disjunction on two numeric expressions.<br />

Ordinal Returns the zero-based ordinal value associated with a specified level.<br />

ParallelPeriod Returns a member from a prior period in the same relative position as a specified<br />

member.<br />

Parent Returns the parent of a specified member.<br />

PeriodsToDate Returns a set of members (periods) from a specified level starting with the first<br />

member and ending with a specified member.<br />

206<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Defining Web-based Data Access

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

Saved successfully!

Ooh no, something went wrong!