Sie sind auf Seite 1von 2

2/8/13 didier.mazoue: Use Universe Designer functions ...

| SCN
scn.sap.com/people/didier.mazoue/blog/2009/08/24/use-universe-designer-functions-in-olap-universes 1/2
Getting Started Newsletters Store

Solutions Services & Support About SCN Downloads
Industries Training & Education Partnership Developer Center
Lines of Business University Alliances Events & Webinars Innovation
Login Regi ster Welcome, Guest Search the Community
Activity Communications Actions
Browse
Average User Rating
(0 ratings)
0 Tweet Tweet 0
didier.mazoue
Previous
post
Next
post
0 Tweet Tweet 0
Using @Select function
You can define any new object by entering its definition (MDX) or by referencing an existing object by using @Select
function.
We recommend using @Select as much as possible rather than the object definition for multiple reasons:
Life Cycle Management only ensure integrity with generated objects not with objects created by a user: @Select
always guarantee the validity of the object
@Select allow to define a level or part of it and to be reuse anywhere in the universe
@Select can be used anytime in:
Objects definition
Details definition
Measures definition
Pre-defined filters definition
Where clause of Objects / Details / Measures
Calculated measures
Using @Prompt function
@Prompt is a way to define parameters in the universe that will let users to choose among a list of values/members
one or multiple values.
A prompt can be mandatory or optional, it can be also contrained (users have to select values form the list of values)
or free (users can enter manually a value).
A prompt can also be base on a static list of values defined in the universe.
Another prompt parameter can also keep or not the last values selected by the users.
@Prompt can also be defined with default values.
Those parameters can be selected at query time by users to restrict the data to be retrieved: the answers to these
parameters can be mandatory or optional.
Last these parameters can also be automatically added to the query with no user intervention: they behave like SAP
variables (mandatory filters).
We recommend using widely @Prompt in universes because they provide a lot of flexibility when building reports,
queries, analysis or dashboards and also they are used to filter the data coming from OLAP data source.
@Prompt can also be used for:
Choosing dynamically a measure
Choosing dynamically a hierarchy level
Choosing dynamically a dimension and a hierarchy level
Enter a value for:
Computations
Select a relative position from a current member: Lead or Lag functions
Use to retrieve partially members based on a top/bottom selection: Rank function
Select prompt operators such as: equal, not equal, in list, etc.
87 Views
Use Universe Designer functions in OLAP universes
Posted by Didier Mazoue in didier.mazoue on Aug 24, 2009 12:33:37 AM
Share Share Like 0
Share Share Like 0
2/8/13 didier.mazoue: Use Universe Designer functions ... | SCN
scn.sap.com/people/didier.mazoue/blog/2009/08/24/use-universe-designer-functions-in-olap-universes 2/2
Follow SCN
Site Index Contact Us SAP Help Portal
Privacy Terms of Use Legal Disclosure Copyright
1 Comment
Like (0)
Ali Toor Muhammad Dec 3, 2012 10:38 PM
i have a question related to the functions you have defined in document "OLAP universes best
practices", for YTD. that never worked for me as

"<EXPRESSION>SUM(YTD([0CALMONTH].CurrentMember), @Select(Key Figures\Shipped Quantity
in Gals)))</EXPRESSION>"
or
"<EXPRESSION>SumYTD([0CALMONTH].CurrentMember), @Select(Key Figures\Shipped Quantity
in Gals))</EXPRESSION>"
thanks. MAT.

Das könnte Ihnen auch gefallen