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 />

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 />

PrevMember Returns the previous member in the level that contains a specified member.<br />

Properties Returns a string containing the value of the specified member property.<br />

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

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

Range Performs a set operation that returns a naturally ordered set, with the two<br />

specified members as endpoints, and all members between the two specified<br />

members included as members of the set<br />

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

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

Siblings Returns the set of siblings of a specified member, including the member itself.<br />

StrToMember Returns a member from a string expression in MDX format.<br />

StrToSet Constructs a set from a specified string expression in MDX format.<br />

StrToTuple Constructs a tuple from a specified string expression in MDX format.<br />

StrToValue Returns a value from a string expression<br />

Subset Returns a subset of tuples from a specified set.<br />

Sum Returns the sum of a numeric expression evaluated over a specified set.<br />

Tail Returns the last specified number of elements in a set.<br />

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

Using Database Client Interfaces<br />

P U B L I C<br />

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

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

Saved successfully!

Ooh no, something went wrong!