Sum of Key fig at Universe level

Hi, I have created a Universe on the Top of SAP BW Cube.
I have 5 Key fig in the Key fig class.
My question -
1. Can i create a new key fig which contains the sum(Salary) , Assuming salary is the key fig exist in Universe.
2. What will be the syntex for the same.
Thanks

Hi,
take a look here:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
Keep in mind that when you connect to the cube directly you will lose the following:
- navigational attributes
- restricted keyfigures
- calculated keyfigures
- variables
>> including authorization variables.
Ingo

Similar Messages

  • Problem with Non Cumilative key figs at report level.

    Hi Gurus,
    I got an issue with the below keyfigures when I tried to display them in the report Stock Overview.
    0TOTALSTCK
    0VALSTCKVAL
    0QMSTOCK
    0TRANSSTOCK
    0BLOCKEDSTK
    0CNSSTCKQTY
    These keyfigs are non-cumulative keyfigures. I wonder why these keyfigures show nothing at report level. The cube is IC_C03 which has the datasources 2lis_03_BX, 2LIS_03_BF and 2LIS_03_UM.
    Please help.
    Regards,
    Sasi

    Did you initialize the inventory properly?
    Check if inflow and outflow exists in cube for the values you are trying to execute the report

  • How to build Restricted Key figures in Universe?

    Hi All,
    I have been trying to find a way to build restricted key figures at BO universe level.
    I have gone through the best practices documents and the mdx syntax documents.
    Even though building Restricted key figures at universe level is not a recommended approach, we had a requirement to achieve it.
    I have tried the below possilbe ways but could succeed only half way.
    Please help me and others who has been trying to build the restricted key figures at universe level by guiding us.
    Eg: A restricted key figure A1 is based on a basic key figure A, with a restriction on cost element  C (detail object,cost element key)
    I have built A1 with below syntax and  could get correct result in web intelligence report
    Select block of  A1 measure object in designer
    <Expression>@Select(Key figures\A)</Expression>
    Where block of A1 measure object in designer
    <FILTER KEY="[0COSTELMNT].[LEVEL01].[[20COSTELMNT]].[Value]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="ABCD/1234567"/></CONDITION></FILTER>
    But when I build another restricted key figure A2 out of basic key figure A with restriction on the same cost element key field but a different value like  ="ABCD/678910".
    Both A1 and A2 give correct results individually when they are dragged in a web intelligence query.
    But when both of them are required to be dragged in the same query , no result comes because of the conflicting where clauses,as cost element key can't have both values at same time.
    Then I tried building A1 in below ways, as mentioned in the mdx examples document
    Trial 1:
    Select block of  A1 measure object in designer
    <Expression>(@Select(Key figures\A),[0COSTELMNT].[LEVEL01].[[20COSTELMNT]].[Value].[ABCD/1234567])</Expression>
    Trial 2:
    Select block of  A1 measure object in designer
    <Expression>(@Select(Key figures\A),[0COSTELMNT].[ABCD/1234567])</Expression>
    Trial 3:
    Select block of  A1 measure object in designer
    <Expression>([Measures].[D787I2PW5YTGMTKL83RWBH80W],[0COSTELMNT].[ABCD/1234567])</Expression>
    All the above expressions parse OK at universe level. Trial 1 gives a database error while running the query.
    Trial 2 and Trial 3 nither throw any error nor return any result for A1.
    If any one has tried and succeeded in implementing restricted key figures at universe level,please provide us some inputs.
    Thank You.
    Naresh

    Hi,
    this seems to be identical to this one:
    Re: Condition Object for previous month data on current month input
    I would suggest you close one of them as two entries asking the same is not a good idea
    Ingo

  • How to Define a Required Prompt at the Universe Level

    Apologies if this has already been covered somewhere... I searched and can't find the topic covered yet.
    I've been under the impression for a long time that one could configure a Universe such that it would require a prompt on a dimension whenever that Universe was run, regardless of the tool or report.  For example, you could configure an eFashion Universe such that any report or analysis built against it (Webi, Crustal, Design Studio, Lumira, PowerQuery... whatever) would trigger a prompt, perhaps on Year or State.  The idea is that at the Universe you could prevent developers and self-service users from building "Select All" reports.
    However, even with the use of LOV flags in the Data Foundation and Business Layer (e.g. "Force users to filter values before use"), I can't figure out how to make it work.
    So, I have two questions...
    Is it possible to include required prompts/filters in the Universe definition?
    If so, how?
    Thanks,
    Josh

    Hi...
    Is it possible to include required prompts/filters in the Universe definition?
    Yes..it’s possible to include prompts at universe level,
    If all the reports are using same prompts, you can create at universe level and use same prompt in all the reports. You can define mandatory or optional prompt.
    Following is the syntax for the function.
    @Prompt('message','type',[lov],Mono|Multi,free|constrained|primary_key,persistent|not_persistent,[default_values])
    The following are simple examples of @Prompt syntax.
    Minimal use of the @Prompt function:
    @Prompt('Displayed text ','A',,,)
    Using the @Prompt with a LOV without default values:
    @Prompt('Displayed text ','A',{'Paris','London','Madrid'},,)
    Using the @Prompt with a LOV and one default value:
    @Prompt('Displayed text ','A',{'Paris','London','Madrid'},,,,{'Paris'})
    2 : If so, how?
    In the condition's SELECT or WHERE field, right-click at the place in the expression where you wantto add a prompt and
              select @Prompt editor from the shortcut menu.
    In the Message box, type the message that you want the user to see.
    Select Keep last value selected if you want the prompt to propose the values used for the previousreport.When the report is run for the first time, the default values (if any) are proposed.
    Select Allow multiple selection if the user can enter or select more than one value.
    Set the Selection mode. For Free selection, the user can enter any allowed value. For Constrainedselection, the user must select a value from a list of values. For Primary key, the user selects theobject name, but the object's primary key is used by the query. You can only use the Primary keysetting if Index Awareness is set.
    Note:
    When the Constrained option is selected and a List of Values is not specified, the corresponding Tab color turns to red, OK button is disabled, and on moving the cursor over the highlighted tab, the contextual tooltip displays a message indicating how to rectify the problem.
    Set the Value type for the selection mode: Alphanumeric, Number, or Date.
    If you have selected Primary key for the selection mode, set the Key type: Alphanumeric, Number,or Date.
    If you are using multiple selection, define the list of values. Do one of the following: you can type orimport a list of values, or you can select a universe object.
    Click the Default Values tab and define any default values. When you allow multiple selection, youcan set more than one default value.
    Click OK.
    The "@Prompt" editor closes and the prompt expression is visible in the condition's statement in the "Edit Properties" pane.
    Validate the prompt and click Parse.When the syntax is
    http://business-objects-xi.blogspot.in/2009/06/prompt.html

  • OpenDocument syntax with UserResponse  at universe level

    HI,
    Can any one tell me what is missing or wrong in the following syntax of Open Document. I am using this at the universe level with user response and two parameters.
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="UserResponse("Select Name:")l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+'</a>'
    Thanks!!!!
    Bernard.

    Hi Bernard,
      UserResponse is for WEBI reports, in universe the formula is prompt.
      Where clause = <FILTER KEY=u201D[MyVar]u201D>
    <CONDITION OPERATORCONDITION="InList">
    <CONSTANT NAME="@Prompt('Hierarchy node values','A','Sales
    employee\LovHierNodeL03 Sales employeeBase',multi,constrained)"/>
    </CONDITION>
    </FILTER>
    I replace in your syntax the UserResponse for @Prompt
    '<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="@Prompt('Select Name:','A',{'NAME1','NAME2','NAME3','NAMEn'},mono,constrained)]l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+''
      This is an exaple of MDX for SAP BI, Choose a dimension among the different u201Ctimeu201D dimensions available in a SAP Netweaver infocube.
    0CAL@Prompt('CalendarLevel?','N',{'YEAR','QUARTER','MONTH','DAY'},mono,constrained).[[LEVEL01]]
    I hope this help you.
      Federico.
    Edited by: Federico Sperling on May 11, 2009 4:39 PM
    Edited by: Federico Sperling on May 11, 2009 4:39 PM

  • Cumulative key figs in MM(LO-Inventory)

    Hi Frnds
    Can anybody tell me, wht are the Cumulative and Non Cumulative Key Figs in MM(LO-Inventory).Plzz name those.
    Thanks & Regards
    Prabhakar

    To respond to your latest question....
    You may already know this, so bear with me...
    Non-cumulatives have an "incoming" and "outgoing" reference. Meaning, for a the record to be stored it takes an "addition" and "subtraction" to calculate the value. Generally, you either initialize this value with an "addition" (the value can be positive or negative). This initialization can either be the first record you insert or a "generate initial status". After that first record/status, all values after that are generally (depending on marker update) added or subtracted from this value to make up the non-cumulative value.
    Take for instance the KF:
    0VALSTCKVAL - Value of valuated stock
    Inflow(+):
    0RECVS_VAL - Value received into valuated stock
    Outflow(-):
    0ISSVS_VAL - Value issued from valuated stock
    In the infocube, you will want the 0VALSTCKVAL, 0RECVS_VAL and 0ISSVS_VAL.
    0RECVS_VAL and 0ISSVS_VAL are normal KF's and can be used anywhere, they are not non-cumulative. But, they make up the + and - of the key figure of 0VALSTCKVAL.
    Now, the KF 0VALSTCKVAL can not be updated directly, once you add it to the infocube, it can only be updated by updating the key figures of 0RECVS_VAL and 0ISSVS_VAL. (They system doesn't let you even try to update 0VALSTCKVAL directly). Thus, the value is controlled by the additions-inflows (receipts) and subtractions-outflows (issues). You can see this behavior in the update from 2LIS_03_BF/UM to 0IC_C03.
    Now, to set an initial status, you just need to update the "inflow" of each Non-cumulative KF. You can see this behavior in the 2LIS_03_BX update to 0IC_C03.
    You can also see this behavior if you look what SAP is doing during compression and building of aggregates. You will see some SQL that looks similiar to this.
    ...SUM( 0RECVS_VAL - 0ISSVS_VAL )
    ...SUM( 0RECVS_QTY - 0ISSVS_QTY ) "(Not sure if these are real
    Now, non-cumulatives in ODS objects or anything other than an infocube are useless as they do not have a cooresponding validity table to store the updated pointer.
    I will not go into the pointer logic, but there is a document out there for non-cumulative you will want to look at to make more sense of this pointer logic.
    I hope this is what you were looking for...
    /smw
    Message was edited by: Steve Wilson
    Message was edited by: Steve Wilson

  • Values are aggregated at query end hence key fig gives incorrect output

    Hi expert,
    Support team have faced the issue at query level. The system is migrated from 3.5 to 7.0.
    We have 3 key fig as A1, A2, A3 and it contains zero as well as non-zero values.
    We need to ignore zero values and only non-zero values should be considered to calculate the KF.
    Please suggest.
    Thanks in advance.

    Amar,
    It's ok supress and delete the records which have zero KF values.
    there is no purpose in having them in the cube if you don't use them for the reporting (cumulation of the all the records)
    as far the facts are empty in the report, neither they help in decision making nor  they  add any significance.
    So why just have the data for characteristics which doesn't have facts (key figure values). use Zero elimination technique as i said.
    it will also reduce the datavolume in the cube.
    Regards,
    Sudheer.

  • Bringing in Calculated and Restricted Key Figs

    How do I bring in calculated and restricted key figs from one query to another in BI 7.0? When I created these key figs it said that they were reusable.
    Thanks

    Hello Atif
    When you make CKF or RKF at query level which means right hand side in your column these are local to your query and not useable.....but when you make them global by defining in left hand side they can be reused in other query....so when u willl create another query...these CKF and RKF will be available...just drag and drop them they will work
    Thanks
    Tripple k

  • How To Capture The Inputs given for a Filter Defined at Universe Level

    Hi ,
    I have a conditional filter defined at Universe level
    Wen this is used for Running Query using web Intelligence, It is asking for a prompt. That is cool and fine
    Now my Question is that , I was unable to capture the prompt value being passed while running the Query .
    For this object I am passing the values at universe Designer(3.1 SP5)
    I would like to capture those prompts, I am not getting the same when I use UserResponse Function
    Please Help me on this
    Thanks in Advance

    Hi
    To capture the prompts values entered at query run time.
    =UserResponse( "Prompt Text") Like ("Enter Values for Sales ID")
    Will give the prompt entered value.
    =PromptSummary()
    Will give the list of prompts entered at Query run time.
    Pleaas find the below link.
    http://bobjblog.wordpress.com/tag/userresponse/
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_ffc_en.pdf

  • My battery life at a full 100% charge is about 2 hours 22 minutes (backlight and key lights at lowest level). Should I go complaining to Apple or do I just need different software?

    My battery life at a full 100% charge is about 2 hours 22 minutes (backlight and key lights at lowest level). Should I go complaining to Apple or do I just need different software? I've only had my mac book since August 2011. The battery dies in 2 to 3 hours with some web surfing (little video play) and photo editing etc. I really don't feel like taking my computer all the way to the apple store to wait there for 5 hours to hear that I need to call someone blah blah blah. Any advice? (BTW Safari hasn't been working since I last updated my mac, WHYYYY?)

    emsavage1127 wrote:
    Should I go complaining to Apple or do I just need different software?
    emsavage1127 wrote:
    I really don't feel like taking my computer all the way to the apple store to wait there for 5 hours to hear that I need to call someone blah blah blah.
    Make an appointment at the genius bar, that way, you wont have to wait. http://www.apple.com/retail/geniusbar/

  • To restrict a object to a particular Group at the Universe level

    Hi,
    I have a object which should be restricted only to a particular group at the universe level.So when i define the universe we have to have explicit security that will restrict access to this object information from reports and from ad-hoc queries.I should restrict the object only to the particular group by a role based security.
    Please help me out in this case.
    Thanks in advance,
    Madan

    Hi Madan,
    Please follow the below steps:
    (In Designer)
    1) Open Island Resort Marketing universe or any universe in Designer.
    2) Goto Tools -> Manage security -> Manage Access Restrictions.
    3) Click on New option - > Give the Restriction name - >click on Rows tab - > Click on Add button (New Row Restriction window comes) -> give table name For example:"Resort_Country" in the Table text box, under the Where Clause "Resort_Country.COUNTRY = @Prompt ('Which country?u2019,u2019 A',, MONO,FREE)"-> Click OK -> Click Ok.
    4) Click on Add user or group - >Select the user ->Ok.
    5) Click on Apply -> Click OK.
    6) Save the universe and export it into the repository.
    7) Cretae the new report (webi/deski) from the user the one who belongs from this group.
    Hope above steps will helps you.
    Regards,
    Deepti Bajpai

  • Changing Prompt Order of Prompts defined at the universe level

    Hi All,
    I need to change the order of the prompts defined at the universe level.By default they appear in alphabetical order.
    Thanks,
    Shweta.

    Hi Shweta,
    If you are on XI R2 then you can try the following extended syntax for the prompt definition:
    @Prompt('Region', 'A', 'Class\Object Name', multi,free,,,User:0)
    @Prompt('Area', 'A', 'Class\Object Name', multi,free,,,User:1) ...etc
    Else there is no other way to sort the prompt in the desired order. Either you have to prefix the prompt text with numbers
    or alphabets.
    Regards,
    Rohit

  • Qualifying Prompt at the Universe level

    Hi
    I wanted to know whether it is possible to create a qualifying prompt at the universe level:
    The first prompt will be u2018Select a Timeframeu2019 which will prompt user to select one out of following values
    u2018Select Dateu2019 (multi select), u2018Select Weeku2019 (Multi select) and u2018Select Periodu2019 (Multi select). When user selects  say any one value like u2018select Weeku2019 value , he will be give the Values for the Week number concenated with Week End Date. On selecting one or more values, the data for selected week numbers will be given. Same for u2018Select Dateu2019 where he can select Multiple Dates and select Period where he can select multiple periods.
    Please let me know if there is any solution for this issue as this is a very high priority form my cleints.
    Any help is highly appreiciated.

    Do you users expect a fixed number of possible values in the 2nd selection level regardless which of the 3 selections was done on the 1st level (week, date, period)? Or should they be able to type in in the 2nd level their own values also at least for some of the 1st level selections (eg. period)?
    Which database do you use?
    Regards,
    Stratos

  • How to create Current Year Filter at Universe Level ?

    Hi,
    I want to create a Current Year, Next Year and Last Year filters at Universe Level.
    Can anyone help me with this.
    I am using Netezza database and not able to find the appropriate date function in Netezza to accomplish this.
    Any suggestions ?
    Thanks

    Hi,
    You would somehow need to extract the Year part from the system date..
    then
    Current Year = Year
    Next Year would be i.e Current Year + 1
    Last Year would be i.e Current Year - 1
    I guess this is the simple part... but you would need to find those functions on your RDBMS..
    Hope this helps
    Jacques

  • Implement Chasm & Fan Trap at Universe level

    Hi All,
    Could anyone provide me some idea about 'how to implement Chasm & Fan Trap at Universe' practically??
    Thanks for ur time & help.
    Regards,

    Hi
    We cannot specify the real time scenarios here, search the SDN, forumtopic and many other site... there are lot of posts on that and solutions for that.
    for a quick glance
    These will occur at universe level while joining the tables.
    chasm trap :  The Chasm trap occurs when 2 u201Cmany-to-oneu201D joins converge on a single table, which has not been resolved by any context. The most common problem caused by a chasm trap is fetching more data than expected.
    Fan Trap:A Fan Trap is a join between 3 tables where a one-to-many join links the first table to the second and another one-to-many join links the second table to the third. Inflated results are obtained when fields from all 3 tables are included in the query.
    go trough these urls  it may help you out
    http://www.forumtopics.com/busobj/viewtopic.php?t=174405&sid=b10e205712fb102dae312173957b19f2
    http://davidlai101.com/blog/2008/11/18/preventing-chasm-and-fan-traps/
    http://biguru.wordpress.com/2008/05/01/its-all-in-the-universe-handling-chasm-and-fan-traps/
    Hope this will help you!!!!!!!!!!!
    Regards,
    Rajesh

Maybe you are looking for

  • Vendor Master Record: Tax Number 1 Field

    Hi Everyone, For some reason, when you enter XK01 or XK02 for creation or change of vendor master record, Tax Number 1 within the Control Tab is visible and able to be input.  However, when displaying the vendor master record through XK03, the field

  • Cannot Open PDF in Safari

    Can someone please help. I cannot open PDF files through Safari. I've read some of the other comments on the same/similar issue and I have tried those steps and have been unsuccessful. I still cannot view PDF files through Safari, in fact, the Previe

  • Email adress contacts remove

    i have a blackberry 9300 curve and i wondered how i can remove email adresses from my contacts list as i want to just be able to see numbers and facebook contacts?

  • DPI of a linked image, illustrator - extendscript

    Hi, I am creating a script that needs to be able to find the DPI of a linked image. I presume there must be some way of getting to this data as it is in the links window in illustrator. I do also need to get other information in that window (colour s

  • Study material for co

    hi, plz. guide me about co . if send me study material of co. Regards, Sanchita Moderator: This thread has been locked due to violating of Rules of Engagement Please note, that it is not allowed to request documentation. Please read SCN's rules of en