Median function in BEx query based webi report

Hi Experts,
          I have a requirement to have a median function in a chart in my webi report. I'm using BO 4.0 SP2 Fix pack 2.9 and using IDT connection to connect BEx queries. I have 3 dimension objects in X axis and Median as y axis. When i'm calculating median, it need to have the child dimension aslo be part of the chart. but my requirement the child dimension should not be in the chart.
Example: i have Region, Country and state dimensions as X axis, and Median of sales revenue by city as y axis.
In my chart, i should not include city. So i have written the formula like "Median(Sales revenue) Forall(City) in (Region;Country; state)" and i tried all the combinations of this.
When i'm including the city object its working fine, but when removint it, its not. Please help me in this.
Thanks.

Hi Suman,
thanks aigain for your reply!
I have tried your proposal before you have posted it.
In my special case the following if/else statement works successfully:
CKF = calculated key figure
Formula1 = (CKF1 == 0) * 0 + (CKF1 <> 0) * CKF2
In my case the CKF2 is the result value from "Incoming Order value" - "Turnover"
So I had to define a separate Formula (1:1 equals to CKF2) and then I was able to set "*CKF2" in the statement.
The statement CKF2 = (CKF1 == 0) * 0 + CKF2 is not possible (because it´s not possible to calculate from CKF2 itself).
Now it works
Best regards,
Michael

Similar Messages

  • RWI 00200 Error while scheduling the Bex Query based Webi report

    Dear All,
    I am facing the below error while scheduling the Bex Query based Webi report.
    Error:RWI 00200
    We are using BO XI 4.0 Sp05.
    Please advise

    Hi,
    I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
    Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
    Please suggest what could be done.
    Thanks and Regards,
    Ankit Sharma

  • Getting Java error while connect BEx query to WebI report (SAP BI4.0 )

    Not able to connect BEx query to WebI report (SAP BI4.0 ) . Below is the error I get while creating a new BEx connection to BOBJ WebI report .
    Please find the below error and help me ,
    "Select a BW Bex query window box "  displayed "Nothing to display " and server error as mentioned below
    Java.uti.concurrent.executionException: Com.sap.sl.sdk.repository.service.repositor******
    at Java.uti.concurrent.futuretask (Unknown source )
    at java.swing.swing.timer.fireactionperformed(Unknown source )
    at java.awt.event.invocationEvent.dispatch(Unknown Source)
    Thanks ,
    Pradeep Gorpadu

    Hi,
    I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
    Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
    Please suggest what could be done.
    Thanks and Regards,
    Ankit Sharma

  • BEx query based on virtual cube donu00B4t display a valid List of Value (LOV)

    Hello
    I have a problem with an invalid LOV. The scenario is the following; There´s a BEx query based on a virtual cube. The query has an exit variable on caracteristic that is based on 0CALMONTH.
    At Universe Designer I simply create a connection, a universe based on this query and export.
    At Web Intelligence (also at Live Office), when I try to execute de query, the prompt to fill my exit variable display a list of value that doesn´t match with the values of the caracteristic at the cube.
    Actually, the list at the prompt starts with 01.0000 and finishes with 05.0968.
    In Universe Designer, the option to edit the list of values is not available. But I think that editing the LOV is not the correct way.
    I´ve tried creating a new query based on the DSO that is the source of the virtual cube. In this case, I had a valid list. Unfortunately, I can´t use this DSO.
    Did anyone already have this problem?

    Hi James,
    can you explain what you mean with "input length for that filed" ?
    The field in the table is varchar2(120). I coudn't found options for the List of value.
    Thanks for your response
    Carsten
    null

  • BEx Variable in Webi Report questions

    Hi Gurus,
    Here is my issue.
    I created a BEx Query 0SD_C03 Cube with following fields
    Two Columns
    One Key Figure:                   Subtotal1
    One Restricted Key Figure:  Subtotal with restriction " Sales Organization 1000"
    Two Rows                             Plant, Sales Organization
    One Variable with Sales Organization.
    When I ran this query in BEx Analyzer I can see all Sales Organization values in prompt list, How ever when I created a Universe and ran a webi query I can see 1000 in the Sales Organization list.
    Is this because I have restricted Key Figure with Sales Organization 1000 in the query?
    I removed my Restricted Key Figure from my query and tried again this time I see some 10 Sales Oraganizations but I didn't see all available Sales Organizations. Does BO Universe LOVs restricte the list?
    Thanks
    Sasi

    Identical entry so this is being closed:
    duplicate:
    BEx Variable in Webi Report questions
    Ingo

  • Error When Launcging BEX query into Web Browser

    Hi all,
    When Launching Bex query into Web browser from BEx Analyser it's giving this error message. We are using Bex 3.x tools.
    Technical Information for Message:
    Error loading template 0ADHOC
      Notification Number BRAIN 276
    Any help will appreciated!.
    Thanks,

    If you want to continue to use the ABAP-based runtime, create the template using the Web Application Designer (SAP BW 3.x).
    The templates called using the new Web Application Designer have new objects that are independent of the objects saved using Web Application Designer 3.x. This means that, unlike the old templates, they can no longer be called using parameter template_id=abc. Instead, you can address them from an iView using template=abc and they use the Java Web runtime in the portal. Only the old templates can be executed in transaction RSRT.
    In Web Application Designer 3.x, you can use parameter template_id=abc to call saved objects.
    Note 1014795 - Error BRAIN 276 when you execute a Web template
    Hope it Helps
    Chetan
    @CP..

  • Bex Query in ABAP report

    Can i call a BEx query in ABAP report and display in ALV grid. if so please give me the syntax.
    Thanks
    Akila.R

    Look at the FM "RSDRI_INFOPROV_READ".
    With this you can read data into a internal table of your program.
    With this FM, you can do a selective read and select only the key figures and characteristics that you wish to read in your ABAP.
    I am not ure, if you can call a BEx report in your ABAP. But with what I mentioned here, you can acheive what you want.
    Ravi Thothadri

  • Building a JSP-based Web Report with a Parameter Form

    Hi,
    I tried in building a report as shown in the example in OTN under reports in the url
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
    i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
    Thank you in advance.

    hi,
    we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
    as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
    for a regular select list you would use the following (only pseudo-code)
    <select ...>
    <rw:foreach>
    <option value="<rw:field .../>">
    </rw:foreach>
    </select>
    to populate a select list.
    regards,
    philipp

  • Can I directly access BEX query from web version

    Hi expert,
            Can I directly access BEX query from web version ? I know we can access bex query from webi rich client.
    Many Thanks,

    Hi,
    Yes, you can access BEx query via BICS connection (OLAP Connection).
    In SAP BusinessObjects BI 4.0 you have multiple options to connect your SAP BusinessObjects BI client to your SAP NetWeaver BW system.
    Direct BI Consumer Services (BICS)
    SAP BusinessObjects BI 4.x Relational Universe (UNX)
    SAP BusinessObjects XI 3.1 OLAP Universe (UNV) used in a SAP BusinessObjects BI 4 environment
    Web Intelligence
    Yes
    Yes
    Yes
    SAP BusinessObjects Dashboards
    Yes
    Yes
    No
    Analysis, edition for Microsoft Office
    Yes
    No
    No
    Analysis, edition for OLAP
    Yes
    No
    No
    SAP BusinessObjects Explorer
    No
    Yes
    No
    SAP BusinessObjects Design Studio
    Yes
    No
    No
    Visual Intelligence
    No
    Yes (1)
    No
    Predictive Analysis
    No
    Yes (1)
    No
    Design Studio
    Yes
    No
    No

  • Reporting on BEX Query in WEBI 4.0

    Hi ,
    I am new to 4.0 we are created webi reports based on the Bex queries with out universe..
    can any one share me the documents or links  webi Bex queries ,what is possibility's and customization in the webi level.
    Thanking you Advance
    Regards,
    G

    Hi Bhargav,
    Please find the following link for more clarification on Bex Query designer in Webi.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0de5857-8c84-2e10-08b4-c92b99d90065?overridelayout=true
    Thanks & Regards,
    Jigar Shah.

  • How to Apply sign flipping applied in Bex Query in Web i report

    Hi,
    We have created a universe on top of Bex query and we have applied sign reversal to two of our rows in bex query,
    unfortunately when I run a report in webi the reversal of sign  is not getting reflected in web i report.
    Could any one please help me out in achieving the same  in web i
    Thanks in Advance,
    Any help is greatly appreciated.

    Hi,
    That BEX Property will not be surfaced to the OLAP API
    Same goes for Conditions, Scaling Factor etc.  Please take a look at Note 1387793 - BEx functionality features that are not supported or integrated in WebIntelligence
    Regards,
    H

  • Multiple Universes (based on SAP BI Query) & single WebI Report

    Hi,
    We build OLAP Universes on SAP BI Queries. One of the ways to consume multiple universes in a single WebI report is to "add query" from another universe into the same WebI page / another WebI tab for the report.
    Is there a possibility to pick and choose fields from different Universes (based on SAP BI Queries), into a single WebI report ... of course respecting their technical linkage.
    regards,
    Rajesh K Sarin

    Hi Ingo,
    We have created multiple subject Area Universes (based on SAP BI Queries). Is there a possibility to select a particular object from one of the Universe and another object from another Universe into the same grid eg. Notification Number from Work Management Universe (SAP BI Query based on Customer Service Data Flow / Multiprovider) and Invoice Number from Invoicing Universe (SAP BI Query based on Invoicing Data Flow / Multiprovider). Common aspects for both of these could be say a Customer Account Number.
    As per my understanding, we cannot do this if we have created Universes on SAP BI Queries.
    Nearest possible option is to display two tables on the same WebI report - one from Work Mgmt Universe and other from Invoicing Universe.
    Please guide.
    regards,
    Rajesh K Sarin

  • Report to Report functionality in bex query

    Hi All,
    I've created two queries... query A and query B. In Tcode RSBBS I have set up query A as the sender and Query B as the reciever. Query A contains summarised data about milegae claims e.g. total miles and cost. Query b has further details about the mileage claim such as travel location, travel reason etc.
    The user is then able to right click on a line in query A from the summariesed data to query B to the more detailed data relating to that line. My problem is that not all the lines in query A have more detailed data relevant to it. My question is, is there a way to create something in query A so that it indicates whether the line is available for drilldown or not such as colour.
    Regards
    Forhad

    Forhad,
    This is what I had in mind:
    Report A:
    Comp Code   Sales Org   Amount  Count
    0100          ABCD      $200       5
    0100          EFGH      $100       2
    Effectively, the InfoProvider has 5 records with company code 0100 and sales org ABCD. When a user right-clicks on that row and goes to dependent query, the detail report has to show only 5 records because InfoProvider has only 5 rows for those filters.
    In other words, you are not referencing the child query count in parent query. It is just the way the data is in the cube and both reports show the data independently.

  • How to migrate SAP Bex Query to BO report

    Hi All,
    I want to migrate some of the reports from Bex Query to SAP BO.
    Will you suggest me what are the best ways to do this,Whether there are any tools to do this??
    Regards,
    Shiva Kumar G.C

    Hi,
    When you say migrate do you mean to use BOBJ for reporting?
    If your answer is yes then other questions come into picture.
    What type of reports you have in SAP- Adhoc, WAD, Formatted etc?
    BusinessObjects is combination of some tools.
    WebI is a web base tool and mostly used for Adhoc. You will have to create a Universe on the top of your Bex Query and then WebI Document (WebI Report)
    Crystal Reports is used for formatted reporting. You will create connection on the base of your requirement. You can create a Universe or make a direct connection with your InfoProvider and then create your reports. Use MDX functionality to create Reports.
    Crystal Xcelsius is used for dash board reporting.
    And if your answer is no to above question and you want to migrate your reports to BOBJ like and upgrade without recreating the reports then it is not possible.
    Regards,
    Bashir Awan

  • Dynamic filter on time characteristics on OLAP SAP BEX query based universe

    Dear all,
    I'm currently working on the integration between SAP NetWeaver BI 7.0 and SAP BusinessObjects XI 3.1 FP 1.5 via integration kit.
    I've built an OLAP universe on the top of a BW query based on a multiprovider that contains 10 infocubes.
    Everything works fine but I need to create a filter in the OLAP universe that allows to restrict data by current date (e.g. using TIME characteristic of Infocube such as 0CALDAY or 0CALMONTH). From that filter we could start creating other conditions to compare data to different time periods.
    I've already tried to use a SAP exit variable in  a BW query but this kind of object would restrict query data only by current date and for example it would be impossible to browse data by previous years (to bypass this problem we could use restricted key figures with different offsets but we have too many key figures in the query and the number of restrictions
    would rise exponentially). 
    In a relational DataBase we can do that using a "where condition" based on 'CURRENTDATE' (SQL DB2 syntax).
    Now, we need to apply the same logic but translated in MDX syntax. 
    Is it possible to enter a dynamic filter in the OLAP universe or just fixed or promt values ?
    Any advise?
    Thanks in advance.
    Best Regards.
    M.

    Hi Ingo,
    1) My question is: "How can I have to manage variable in BEX queries and in the UNIVERSE in order to obtain the maximum flexibility to create reports with measures on actual day (for example) without asking the user to promt a value ?"
    I want to use an unique BEX query to define an unique UNIVERSE. On this UNIVERSE I want to create many reports (actual day, previous day, and so on).
    If I restrict 0CALDAY with an EXIT variable then shall I be able to create a different restrictions on the same Universe based on 0CALDAY ?
    2) Another question is:
    Is it possible to insert an XML / MDX filter on the OLAP Universe with dynamic derivation of the system date ?
    For example:
    Instead of this:
    <FILTER KEY="[0FISCYEAR].[LEVEL01].[NAME]">
        <CONDITION OPERATORCONDITION="Equal">
            <CONSTANT CAPTION="Z12008"></CONSTANT>
        </CONDITION>
    </FILTER>
    Is it possible to insert a tag with a dynamic function to derive the system date ?
    Thanks in advance.
    Best Regards.

Maybe you are looking for

  • How to get the data in a table in horizontal order

    when i execute the command "select empno from emp" i would get the output in vertical order How to get the output in horizontal order

  • Converting Model from E72-1 to E72-2

    Hi, i would just like to ask if its possible to convert my E72-1 Model to E72-2? Its just that im not able to connect to 850 band of my operator. Though from screen it display 3.5G i was just able to camp at instead 2100 band only. Thanks!

  • Itunes crash with iphone 4

    Itunes 10.6 work properly, but if i plug in my iphone 4 it crash immidiately. Any one has a suggestions? Sorry for my bad engish!!!

  • Why am i getting an error when trying to download ios6

    Why am i getting an error when trying ios6

  • Material at 0 value

    Hi all, I have an issue. we purchase raw materials and get those raw materials in drums. we then create fininshed good using those raw materials. we want to sell this finished good to customers in those drums in which we got raw material. But we want