BW OLAP universe object with Aggregate

How to create an BW OLAP universe object with Aggregate to a higher level than the underlying query?
The objective is to synchronize 2 queries by Contract Agreement quantity range and part of the calculation is to obtain the contract total quantity in one of the queries that is by Year and Month. For that query I need the total quantity for the contract.
Example;
Contract #    Year    Month     Qty
1             2011    1         230     
6             2011    2          50
14            2011    3         124
u2026
25            2011   12          87
                 Total Qty --> ?
The following syntax gives the total quantity by contract / Year / Month, not the overall contract quantity. I could not find any MDX reference to use to solve this.
The dimension is [0SALESDEAL].[LEVEL01]
<EXPRESSION> AGGREGATE({[0SALESDEAL].CurrentMember:[0SALESDEAL].CurrentMember},[Measures].[DBKTD232QCONV8CVZYB17B5P0]) </EXPRESSION>
Thanks,
Marco
Edited by: Marco R on Dec 6, 2011 3:25 AM
Edited by: Marco R on Dec 6, 2011 3:27 AM
Edited by: Marco R on Dec 6, 2011 3:31 AM
Edited by: Marco R on Dec 6, 2011 3:33 AM
Edited by: Marco R on Dec 6, 2011 3:35 AM

Hi Andrew,
Looking at your statement I get the feeling you want this as a dimension/characteristic.
Since an expression has to be numeric and a characteristic in BW cannot be numeric, this will not work.
Only measures/keyfigures are possible.
The direction from SAP is to push any modeling to the BW query or even BW itself.
Hope this helps,
Marianne

Similar Messages

  • OLAP universe filter with pattern matching.

    Hi,
    I tried to create both a qaaws and a webi report which contained a filter with pattern matching on an olap universe .  When I ran this it took too long to be usable. I found note 1500666 which says that pattern matching is not supported in MDX and to use BEX query variables instead.
    I have created a bex query with a variable which has "Variable Represents" set to "Selection Option". I can run this query and using the search option I can do a pattern match search. I have built a universe based on this query but the filter that gets created automatically in the universe uses a "Between" operator.
    Does anyone know if it is possible to change the definition of the filter in the  universe so that it does a pattern match search and if so how?
    The end result is that I would like to be able to do a pattern match search on the text description of a BW employee object.
    Thanks
    Quentin.

    It would be better if you post the Filter definition here...
    And why don't you do Pattern matching at BO query panel level??
    Where you can find Matches pattern operator to do same stuff.
    Thank You!!

  • OLAP Universe : Objects LOV pointing to master table in BW

    The LOV's generated were pointing to master table in BW. Say like we have Material dimension along with LOV's generated by Universe based on Bex is poingting to Master table in BW. "0Material.Level 0". when we refresh or search for a purticular Material we are getting two errors: Partial Results and No Value found.
    I checked in the Parameter and we dont have any restriction bringing the number od rows. Can anybody advise how to show all the Materials in LOV's. I tried using delegated search option in the Object properties. But doing that we loose Search option
    and showing LOV. Because it expects User to key-in the Material Number.
    Thanks
    Pats.

    Hi,
    I believe that under universe option Under control uncheck every thing and export the universe and this will resolve the issue.  If not then go to following SDN link try to apply the solution provided in this section to see if you get your issue resolved.
    [Large volume data - WebI document fails;
    Bashir Awan

  • OLAP universe object parsing issue

    Hi,
    We have recently upgraded to Business Objects XI 3.1 sp3 with SAP 7.1 sp5 and SAP integration kit and all the transports are done for installation.
    Using enterprise authentication i am logging into universe designer and then created a connection using SAP BW client on BEx query by providing all the login parameters (sap login usr name and pwd, application server name etc).
    Universe is created and everything is fine, but when i tried to create a calculated measure i am unable to parse object.
    i created a simple measure like
    <EXPRESSION>(@Select(Key Figures\Orders) * @Select(Key Figures\Quantity))</EXPRESSION>
    when i parse i am getting  " XML expression is correct,however the MDX expression is not parsed in this process. (UNV 00050)"
    when i used this calculated measure in webi, column is empty.how ever other objects are working fine in webi report and i could able to perform all calculations in webi.
    Can any one tell me what could be the issue with object parsing.
    Thanks,
    Harsha

    Hi,
    I tried all the syntaxes but still the measure is not parsing, before upgrading In BO XI 3.1 sp2 i have created calculated measures and there was no issue.but after the upgrading to BO XI 3.1 sp3 i am not able to create calculated measures in universe I am using BEx query as source i have created some RKF's and CKF's in BEx, and i need to create some measures in universe as per reqmt.
    I ran the report including the measure with below formula
    <EXPRESSION>(@Select(Key Figures\Orders) * @Select(Key Figures\Quantity))</EXPRESSION>
    MDX generated is as below:
    WITH MEMBER [4IVR0WPP0WQB4EFAXRVX90OQ4].[BD4D9550-F4CD-4289-AA,CC,A4,21,82,3B,1B,EB] AS ' ([4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HB8NU8VBIMMCXYNRQZNZG] *
    [4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HBO0W62QJVP99MSGB3LF0]) '  SELECT  { [4IVR0WPP0WQB4EFAXRVX90OQ4].[BD4D9550-F4CD-4289-AA,CC,A4,21,82,3B,1B,EB],
    [4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HB8NU8VBIMMCXYNRQZNZG], [4IVR0WPP0WQB4EFAXRVX90OQ4].[4IW2HBO0W62QJVP99MSGB3LF0] }  ON COLUMNS , NON EMPTY
    [CS_LOCN].[LEVEL01].MEMBERS ON ROWS FROM [MP_003_BO] SAP VARIABLES [!V000006] INCLUDING [0FISCPER3].[001] : [0FISCPER3].[008] [0P_FYEAR] INCLUDING
    [0FISCYEAR].[Z12010] [!V000003] INCLUDING [CS_VAC].[020]
    here the MDX is incorrect the calculated measure is appearing before the SELECT statement in above MDX.
    I would like to know that any MDX driver is missing and also how to debug this issue.
    Thanks,
    Harsha

  • Resources for customizing SAP Universe objects with MDX

    Hello,
    Are there any recommended documents out there that provide a comprehensive resource regarding MDX syntax?  We are customizing objects in our SAP Universe using MDX, however the "customizing" chapter in the pdf..."Using SAP BW in Universe Designer" is not that thorough.
    Any recommendations?
    Thanks.
    Kevin

    Ingo...here is an example from one of my team members....
    We are able to create simple calculated measures such as:
    <EXPRESSION>(@SELECT(path\ObjectA)) + (@SELECT(path\ObjectB))</EXPRESSION>
    <EXPRESSION>(@SELECT(path\ObjectA)) - (@SELECT(path\ObjectB))</EXPRESSION>
    <EXPRESSION>(@SELECT(path\ObjectA)) * (@SELECT(path\ObjectB))</EXPRESSION>
    <EXPRESSION>(@SELECT(path\ObjectA)) / (@SELECT(path\ObjectB))</EXPRESSION>
    No problem.  Anything more complex than that does not work, e.g.
    <EXPRESSION>Sum(YTD(), @SELECT(path\ObjectA))</EXPRESSION>
    or even
    <EXPRESSION>Sum(@SELECT(path\ObjectA))</EXPRESSION>
    gets me an error when I try to include it in a Webi report at query execution time. It gives me an error:
    A database error occurred.  The database error text is: the MDX query ... failed to execute with error Unknown error. (WIS 10901)
    Ideally, I would like to get something like <EXPRESSION>IFF(period = this period, amount, 0)</EXPRESSION> to work.  Without this kind of control, either the number of BEx queries, BO connections and universes that will be required will grow to an unmanageable number or Webi reports will become very complex with all kinds of formulas and will not be be suitable for any end user modification.  I think that resolving this is critical to having further success with BO implementations on top of EDW.
    I am not sure if there is some patch level in EDW that is required or if I should be including some kind of specific date or time characteristic in my queries for this to work.  Any help is greatly appreciated.

  • Olap universe(creating new object)

    All,
    I am using bo 4.0 version and i have created an olap universe on top of bex query.i am new to olap universe.
    I have a need to create a new customized object in my olap universe out of two existing objects.As of now i am creating variables in my webi report generated out of the olap universe to fit my need.Instead i want to create a condition object or some kind of object in the universe itself.
    how can i do this?Any ideas or suggestions.
    For ex:
    my requirement looks like this,not exactly the same as indicated below but similar.
    existing objects
    city object has certain values 'hyd','new york'
    currency objecthas 'rupee','dollar'
    new person object out of the above mentioned existing objects
    if city='hyd' and currency='rupee' then 'indian' else 'non indian'
    how can i do this?Any ideas or suggestions.
    Regards,
    Reji.
    Edited by: reji2011 on Dec 7, 2011 11:10 PM

    Hi,
    there's a function builder / formula editor in Universe Designer, with OLAP universes this uses MDX syntax with XML markup.
    to build up some logic, you need to use the "IIF" operator.
    regards,
    H
    p.s.  in BI 4.0,   route-one should be the BICS BEx connection, not the OLAP .unv ..

  • How create filter in olap universe with MDX LIKE Function

    Hi all
    I need to create a filter in a olap universe with the LIKE MDX function.
    Problem:
    There is a dimension with account numbers whit 10 digits like this: 5683492703 and i need to create a filter whit all account numbers whit the number 7 in the sixth position in a olap universe.
    How to do this?
    Thanks all

    Try like this :
    <FILTER KEY="[Level Object Definition]">
         <CONDITION OPERATORCONDITION="Like">
              <CONSTANT CAPTION="_____7*"/>
         </CONDITION>
    </FILTER>
    Not sure if it is _ or ? to represent a single character. Try ? in place of _ if the above code doesn't work.
    Regards

  • Olap universe lov restriction on detail object key

    Hi,
    I created a restriction on dimension lov in SAP olap universe using 0PLANT dimension on Orders keyfigure as below
    <EXPRESSION>(@Select(Key Figures\Orders),[0PLANT].[1000])</EXPRESSION>
    this syntax works but webi results are not matching with BEx.
    Values of BEx RKF and formula object (
    =[Orders] Where([L01 Plant] = "1000")
    )created in webi are matching.
    I am trying to create restriction on detail key object,  like
    <EXPRESSION>(@Select(Key Figures\Orders),[0PLANT].[LEVEL01].[[20PLANT]].[Value].[1000])</EXPRESSION>
    above measure is giving error when i run the webi query.
    here both L01 Plant and L01 Plant Key are having same lov as 1000,but i wanted check exact values with detail key syntax.
    Can anyone please tell me the syntax for using detail objects keys for restriction in Select Clause.
    Thanks,
    Harsha

    Hi,
    why are you not creating this as a restricted key figure in the underlying BEx Query ?
    Ingo

  • Adding mandatory filter with own LoV to BW OLAP Universe

    Dear all,
    I want to add a own filter with custom LoV to a characteristics-filter in an OLAP Universe. This filter does not exist in the BEx Query, so I have to do it manually.
    So when the prompt shows up in WebI, the User should be able to select the Values from the custom LoV, for example:
    - Tokio
    - London
    - Paris
    The filter has to be mandatory and Tokio should be preselected. I was testing some things with the filter-XML, but always got errors. Can somebody tell me how this works?
    Thank you for help in advance!
    B. Wegner

    Hi,
    There are a few steps involved, I would suggest approaching them one at a time.
    First, try to set up a filter (condition in the universe) to only show data for Tokyo (no prompt). Ensure you can get this to work.
    Next, try and turn this condition into a prompt, but just define the LoV in the prompt syntax, not a separate object. Check that this works.
    Next, try and split out that LoV into it's own object that populates from the characteristic in the BEx query. This will be the tricky part (maybe), if possible, get a filter created in the BEx query (make sure it's set as 'ready for user input') so that you see how the LoV gets created.
    As a last resort, have a look in the manual: http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_sap_olap_univ_en.pdf
    Hope that helps.

  • Problem in WEBI Report with PCM OLAP Universe (PCM MDX Connector)

    We need to create reports in Web Intelligence from our PCM Models (Business Objects Profitability and Cost Management). We are able to create the olap universe using PCM MDX Connector and we have no problems creating the reports in webi. The problem is when we execute the report (run query): all the data from PCM model is loaded correctly (dimensions, levels, etc.), except the Measures. I mean, the values of all the measures are always zero (0). No matter the way we change the query (adding filters, adding or chopping dimensions, drilling levels, etc.) the value for every measure is zero.
    We've checked the aggretation method of each measure in BO universe designer and are all correctly configured.
    The model in PCM is calculated and even when we run the queries in PCM Model Builder tool directly to the model, the results are retrieved Ok and the measures have correct values (Revenue, lineitem values, etc.).
    Any ideas of what is going on?

    Hi Henry… thanks for your answer…
    The reports we are creating of PCM are not from BW universes, but PCM OLAP Universes. PCM have its own cube OLAP files, and BO universes for those OLAP models use the Business Objects PCM MDX Driver.
    Nevertheless I will try to catch the MDX statement, as you suggest, and see if something is wrong with it.
    The versions we have are: “Business Objects Enterprise 12.3 build 601” and “Business Objects Profitability and Cost Management (PCM) 7.5.11”
    Thanks again.
    Vladimir.

  • Edit an object's select statement of OLAP universe SAP BW

    Hi everybody
    I am new at working with Olap Universes BW, and I have to edit one universe SAP BW, I don't know if I can to use substring function on a select statement, for example  substring([0D_DIV].[LEVEL01],5,5), I try to use this function but I have a error,
    Could you help me? I need to returns part of a string, is correct to do it on a universe or is better to do at BW.

    Hi,
    First of all I recommend you read the documentation that gives you information about OLAP universes and especially SAP BW universes.
    I also recommend to download documents related to SAP universes deployment, administration and customization:
    [OLAP Universes - how to samples and recommendations |https://wiki.wdf.sap.corp/wiki/display/globalregions/OLAPUniverses-howtosamplesand+recommendations]
    [SAP Integration |https://wiki.wdf.sap.corp/wiki/display/globalregions/SAP+Integration]
    Now you can customize expression using MDX in OLAP universes. MDX expressions must be enclosed with <EXPRESSION></EXPRESSION> XML tags.
    Unfortunately SAP BW MDX does not support calculations that return string or date values.
    The onlyway to return string is to use NAME or UNOIQUENAME attribute.
    See answers I already in the forum: [Forum answer |Re: Create new dimension on top of SAP BW data]
    Regards
    Didier

  • OLAP Universe and drill through with Essbase

    Hi all
    Has anyone created an OLAP universe on top of Essbase that allows the user to drill through back to an Oracle database?
    If anyone has can you please let me know how you did this.
    Thank you and kind regards,
    Dean

    Hi,
    There is no way to activate drill-through from Essbase to any other database within OLAP universes.
    If you are using Web Intelligence you have 2 alternatives:
    <li> The first one is to create 2 data providers (1 on Essbase and 1 on Oracle) and synchronize them.
    This is not really a drill thorugh operation but you have both data sources in sync in the same document.
    <li> The second option is to create 2 Web Intelligence documents (1 on Essbase and 1 on Oracle) and then parameterize the Essbase document to use Opendoc capabilities (hyperlink) to dril-through on the Oracle document.
    Didier

  • Drill through with OLAP Universe on Essbase cube

    Hi all
    How can I achieve drill through from an Essbase cube to an Oracle database?
    Is there an option in OLAP universes to achieve this?
    If not do I have alternative options?
    Thank you for your help and kind regards,
    Dean

    Hi,
    There is no way to activate drill-through from Essbase to any other database within OLAP universes.
    If you are using Web Intelligence you have 2 alternatives:
    <li> The first one is to create 2 data providers (1 on Essbase and 1 on Oracle) and synchronize them.
    This is not really a drill thorugh operation but you have both data sources in sync in the same document.
    <li> The second option is to create 2 Web Intelligence documents (1 on Essbase and 1 on Oracle) and then parameterize the Essbase document to use Opendoc capabilities (hyperlink) to dril-through on the Oracle document.
    Didier

  • SAP BW OLAP Universe performance issue

    Hi,
    Based on BO recommendation, I created a universe on top of a big BEX query which included all characteristics and key figures from a cube. I then created a webi report with 5 characteristics and 1 key figure from this universe. I also create the same report in BEX query designer(same number of objects). I ran both. The Bex query completed under a minute and the webi report took more than 12 minutes to run. I did a bunch of other test with different number of objects combination and saw similar differential in query performance.
    I did a trace using 'sm50' and saw the open SQL submitted to BW from BEx was very different from what got submitted from the webi report. Here is what I saw in pseudo code.
    Bex:
    select dimension1.blah, dimension2.blah, dimension3.blah, dimension..... sum(measure)
    from dimension1, dimension2, dimension3, dimension..... factTable
    where dimension1.SID = factTable.d1SID
    and dimension2.SID = factTable.d2SID
    and ......
    and (query filters)
    OLAP Universe
    select dimension1,blah, dimension1.SID
    from dimension1, factTable
    where dimension1.SID = factTable.d1SID
    select dimension2,blah, dimension2.SID
    from dimension2, factTable
    where dimension2.SID = factTable.d2SID
    select dimension3,blah, dimension3.SID
    from dimension3, factTable
    where dimension3.SID = factTable.d3SID
    It seems the OLAP universe was querying the BW cube one dimension at a time and then somehow piece the result sets together to form the final result set. Dimension tables join to the fact table without any filter definitely causes performance issue. Beside, I have no idea why the query requests are submitted to the BW system like that.
    I looked in varies forums and found no similar issues posted by others. Has anyone had any performance problem with there OLAP universe? Is this a matter of configurations?
    My envrionment:
    SAP BW 3.5
    BOXI 3.0
    ORACLE DB (version ??)

    Hi,
    You cannot compare a BEx query and a universe query by just comparing the trace.
    BEx query makes ABAP calls and universe query makes MDX calls;
    Moreover there is only one MDX call sent to SAP, what you have noticed is that there is one MDX call to retrieve member for a given characteristic whereas a prompt has been set on.
    Last, Web Intelligence consume only flattened data (row sets) wheras BEx consume data sets.
    That means that there is a flattening operation between SAP OLAP engine and the data sent to the Web Intelligence document.
    A fix have been developed for a customer to improve performance on Web Intelligence queries, this fix will be available for all customers in SP2 planned in June 09.
    Here is a a brief summary of what the fix provide:
      -  Provide data directly from SAP server to Web Intelligence document. Avoid unnecessary conversion steps: row set --> data set --> row set
      -  Eliminate redundant sort operations
      -  Other optimization operations
    Didier
    Edited by: Didier Mazoue on Nov 20, 2008 8:38 AM

  • OLAP performance issue with Webi

    After lots of research I haven't found good information anywhere. We are an SAP shop, run SAP ECC, BW with BWA and for the last couple of years Business Objects as well. Since we are a utility company, our reporting needs for a good majority of our audience is transactional and detail oriented as opposed to analytical. Our biggest concern is poor Webi performance running against OLAP Universes. Currently, we are running BO XI 3.1 SP3, Integration Kit 3.1 and BW 7.01 SP7 and still experience very poor perfomance. Our user community is very frustrated with the timeouts and very slow running queries. They benchmark against popular websites and the performance they see there. We cannot restrict data sets any more than we already have, given the detailed/granular nature of data that the users need. What recommendations do you have for us? We seem to have hit a brick wall and don't want to lose our user base. Please advise.
    Thanks

    We had a Systems Integrator (who also happens to be an SAP partner) help us with the sizing.
    The website benchmarking was more from an end-user perspective and more generic. They are used to getting information very very quickly in the internet driven world and when reports don't perform well they get frustrated.
    I understand that there are multiple factors in play here. However, the need to get granular/transactional data is a very real business need and the use of the Webi tool to get the information out from an OLAP universe is a challenge. We are trying to give end-users more power and advocate self-service BI and so haven't popularized the use of Crystal as much. Also, we haven't implemented Advanced Analysis yet. Our belief is that we are using the right tool for the job and have structured our platform to work optimally but given the needs of the users the performance is still very slow and hence the frustration and the question.
    Thanks
    Edited by: Manoj Kumar on Feb 3, 2011 11:37 AM

Maybe you are looking for

  • Quality of image after projecting an image on a ball service

    I am working on a 3DJava Applet which shows a ball that rotates. The user can select a location on the ball and then an image will need to be added to the ball. The image is a blue cicle which contains a green letter with a black border (GIF formatte

  • Error in file filename : Database Connector Error

    Dears, I face a problem from several days with one of my deployed reports to CMS. The problem is the same reports run for some users and other users keeps to give them this error: Error in file <filename>: Database Connector Error Note: there is no f

  • Cs11, cs12 and cs13

    Hi, obsered that in cs13, certain raw materials are not appearing where as in cs11 all bom comonents were appeared. pls advise what is the difference between cs11, 12 and 13?

  • Newbie: First time creating a form

    I created a form using LifeCycle. I distributed the form. Now I have to make additional changes. Is there a way to replace certain pages with new ones without losing the fields and drop-downs I have already created. Also, once the form is distributed

  • Runtime Distribution for Crystal reports for Visual Studio 2010 framework 4

    Hi, Where can I find the msi for installing runtime distribution for asp.net web application that was created using visual studio 2010? Thanks. Rosa.