Comparing 2 segments based on the same data

Hi All,
I'm using OBIEE 11g and Oracle database. I'm writing a report that compares several measures in 2 populations based on several dimensions (conditions). I tried using prompts, different presentation variables for population 1 and population 2 and using the filter function for each data point in the column formula. The performance is really poor so I'm looking for suggestions.
I have also tried to split up the two populations into two different reports and to use the built-in OBIEE filters with presentation variables. The problem there is that I need to have conditional formatting or some sort of a flag based on the values of both of the measures of the two populations. I hope I made this clear. Help would be highly appreciated!

Well, then put the "population" column in the Sections area of the pivot table. Now you have everything in one report and segregated.
BTW, based on your vague requirements, you have received two correct answers. Before you respond, if my answer is not correct for you, explain in greater detail. For example, if there is something you tried and it didn't work, explain the steps you did. If there was an error message, what was it? Etc., etc.
It is hard to give but simple advice when the parameters are not clear. If I did solve your problem, then simply mark the post correct so others can reference it when searching for the same answer you sought. Thanks.

Similar Messages

  • I currently have one input but need to run two loops. I cannot get the two while loops to run so that they both pick up the same data, they are both picking up alternate samples. How can I get them to both pick up all of the values?

    The system I am trying to create calculates a number of values based on an input. I need to make the calculations and display the values for an entire production run and for each hour. The only way I know to do this is to create two while loops, one looking at all the values that are received and one looking only at the values for hour long periods.
    Any help would be great.
    Thanks
    RossH

    Why do you think that you have to have two loops to accomplish this task? Why not use one loop and accumulate the same data into two data sets based on the two sets of criteria?

  • The interaction between differents power view report (differents spreadsheet in the same workbook - based on the same datamodel)

    Is it possible to connect different spreadsheet of powerview based on a same data model?
    For eg, i have 2 powerview reports based on 2 differents spreadsheets in the same workbook.
    If i filter a year (for eg YEAR = 2002) in the 1st report, i want the 2nd report automatically filter by my choice (<=> YEAR = 2002).
    Thanks,

    I don't think this is possible right now. But you will be able to add  a view level filter which will filter all the visualizations at the same time if multiple visualizations are on the same sheet. Hope it helps.

  • How to compare two fields from the same table in the select statement

    Hi, friends
    I try to compare tow fields from the same table, but no result,
    For example, this
    data: cptotchek tyep i.
    select count(*) into cptotchek
    from aufk where erdat = aufk-idat2 .
    The result is  cptotchek = 0, but there are the records in aufk , where,  aufk-erdat = aufk-idat2.
    Please, help me, i don't use the loop statement for optimize my program.
    Regards

    Hi  ,
           it will not return  any value   when you are using   column of same table 
           such as Date Field   , Because  while Using Aggregate Function  it will not check with self column
    .      For that you have to take data in one internal table and then you can work on it  .
         And if you are worried about Performance  it will not affect  , untill you are selecting only required data  .
    you can try this way  .
    data: cptotchek type i.
    types : begin of  w_aufk.
            include structure aufk  .
          types : end of  w_aufk .
    data : it_aufk type standard table of w_aufk with header line  .
    select * into corresponding fields of table it_aufk
    from aufk  .
    loop at it_aufk .
    if it_aufk-erdat  = it_aufk-idat2 .
    write : / it_aufk-erdat , it_aufk-idat2 .
    else .
    delete it_aufk .
    endif  .
    endloop.
    Regards
    Deepak.

  • Query Performance Issue based on the same Multiprovider

    Hi All,
    I am facing a performance issue with one of the BEx Query 1 based on a particular Multiprovider.
    I have done all the kind of testing and came o a conclusion that the OLAP: Data Transfer time for the query is the max at around 820 Secs.
    The surprising part is another Query 2 based on the same multiprovider runs absolutely fine without any hassles with OLAP : Data Transfer time with merely 3 Sec.
    Another, surprise is that Query 2 has even more Restricted Key Figures and Calculated Key Figures but it runs smoothly.
    Both the queries use cache memory.
    Please suggest a solution to this.
    Thanks.

    Hi Rupesh,
    There is no much difference between the 2 queries.
    Query 1 - which has performance issue has the same filters as that of Query 2 - which is working fine.
    The only difference is that the selection of Fiscal Week is in the Default Values Pane for Query 2 whereas its in Characteristics Restrictions in Query 1. I doubt whether this setting will have any effect on the performance.
    Both restriction i.e Fiscal Week restriction is based on Customer exit and the rows include Hierarchy for both the queries.
    I assume creating aggregates on hierarchy for the Cube can be a solution.

  • Delivery tolerance (based on the delivery date)

    Dear All
    How to maintain delivery tolerance (based on the delivery date) in Purchasing Order
    Would you help me, please
    thanks
    imron

    YOu can try with
    u2022     ST: Date variance (value x days)
    The system calculates for each item the product of amount * (scheduled delivery date - date invoice entered) and compares this product with the absolute upper limit defined. This allows relatively high schedule variances for invoice items for small amounts, but only small schedule variances for invoice items for large amounts.
    IN transaction code OMR6 for a company code.
    IN SPRO - Materials Management -- LIV -- Incoming  Invoice -- Invoice Block.

  • Compare two members from the same dimension in HFR

    Hi,
    Is it possibe to compare two members from the same dimension in HFR? The requirement is to compare Year and Week members from the same dimension. The Week date will be selected from POV. The corresponding Year date should be displayed in the report. Week dates are in the format W2008-03-07 and Year dates are in YTD2008-03-07.
    The dates are same except the preceding character.I am unable to compare these two. In my understanding there's no substring or replace functions in HFR.
    Kindly help. Thanks in advance.
    Regards,
    Uma

    Hi,
    How is your database structured? it may be possible to use the 'RelativeMember' function if it will always be the same number of steps between the 'W' member and the 'YTD' member, e.g. if your hierarchy is something like:
    Time
    .Weeks
    ..W2008-03-07
    ..W2008-03-10 etc.. for 52 weeks
    .YTD
    ..YTD2008-03-07
    ..YTD2008-03-10 etc.. for 52 weeks
    In your report select 'Current Point of View for Time' in one row/column and in the other use:
    RelativeMember set up as follows:
    Member: Current Point of View for Time
    Offset: 52
    Hierarchy: Time
    RelativeMemberList: Lev0, Time
    UseFirstDescendant: leave unselected
    Hope this helps
    StuartGame
    www.analitica.co.uk

  • Multiple Purchase Requisition generate in the same date WHY ?

    Hi All,
    In MD04 Tcode for one Material No , I can see multiple PR getting generated for the same Date !! I would like to know based on what settings same date is appearing ?? and also please tell how to combine all this PR into one PR !!! Please guide me
    Thanks & Regards,
    Vinoth.

    Hi,
    Che on it:-
    Re: Third party Drop Ship
    Re: Single PO for Multiple PR
    Re: MD04 + Auto PR generation
    pherasath

  • Would it be fair to expect that importing images would also create folders based on the international date std???

    I am very fond of the light and easy to use PhotoShop Elements.
    I am situated in Denmark and would expect an image import to allow the creation of folders based on the international date standard (yyyy mm  dd).
    This "feature" would allow image folders to be created as follows:
    2014 05 06 (6. May 2014)
    2014 05 07 (7. May 2014) and so forth
    When using the US date format folders are created 2014 06 05 and 2014 07 05 which doesn't make sense if folders should be viewed in a logical order.
    It seems that the international date standard has been removed from PhotoShop Elements some where arround version 9-10 and it does create some rather annoying problems for me.
    Am I really the the only one to experience this problem?
    Since I cant figure out how to setup the organizer by using preferences, then how can I have the folders created automatically in the "normal" numeric/date order ?
    Sincerely
    Henrik

    Thx for the prompt repåly.
    Yes, you are quite right. PSE 12 is the thing.
    I checked the import settings under preferences, but still the same problem with the date format.
    But I did find though, that  the APD Dialog Advanced allows me to actually automatically create the folders as wanted.
    So for now it seems to be solved, only not through PSE Preferences, but via the APD Dialog.
    Cheers,
    Henrik

  • Query for retreiving table names that have the same data

    Hi,
    Does anybody know how to retreive all the table names that have the same data in their respective tables but i dont know the table names or its fields. Is there any possible query to perform this action???
    Thanks in Advance,
    Balaji.

    What about...
    WITH manager_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id
      AND   m.name = :P_MANAGER)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    ), all_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    SELECT a.*
    FROM   manager_list m,
           all_list a
    WHERE  m.employees = a.employeesWould be easier in 11g, but I don't have an installation here so this is based on 10g.
    Cheers
    Ben

  • Two idocs with exactly the same data have statuses 51 an 53. Why?

    Hi all,
    There are two idcos with exactly the same data, however when they are processed, one is ok with status 53 whereas the other is not processed and has the status 51.
    When I say same data, I mean both the idocs have the same message type, basic type, extension, partner no, partner type etc. Also, the data at the segment level is also the same.
    Could you please let me know the reason for this?
    Thanks and regards,
    Anishur

    Hi Azam
    Me too faced the same for the Inbound Invoic Idoc Application . alternatively I used to get the error . Once 53 next 51 ... like that .It was the data issue in segment field E1EDS01-SUMME Total value of sum segment.It was resolved after ging the proper value .
    Rgds
    Sree M.
    Edited by: Sree  Merugu on Jul 2, 2008 6:14 PM

  • Error while adding a second template to the same data definition

    Hi,
    I am quite new to XML Publisher. I am developing a report using XML Publisher.
    I have added one template to the Data Definition. When I tried to add another Template(with different name as previous, to the same concurrent program and application) to the same Data Definition I am getting the following error.
    Error: You entered a duplicate template entry. Please change the Name, Code and/or Application and reapply.
    Can anyone help me out solving this problem. I am reaching my deadline. Please suggest me what can be done.
    Regards,
    Sita

    Hi
    Try to change the Template code name also and then check it.
    Thanks
    Sudheer

  • Multiple MM schedule lines for the same date

    Hello All Gurus,
    I am facing a problem where the MM schedule lines are divided into various quantites for the same date. For example on 02/11/2010 the total quantity is 120, it is appearing in the below form in ME38:
    02/11/2010 - 40
    02/11/2010 - 40
    02/11/2010 - 40
    Although this is not an error, but my client is not happy with this. Can someone tell me why I am getting this error? Is it because of the rounding value that we maintain in MRP 1 view of material master record? Or is there any other setting that I am missing?
    Please let me  know. I would be very much thankful to you.
    Thanks and Regards,
    Umakanth

    Hi,
    Before changing the setup, note that sometimes it is beneficial to split one demand into multiple delivery schedules. Especially if the demand is bigger than equipment type (container/truck etc.). If you want to manage inbound transportation for such delivery schedules, it is much simpler to do this when each delivery schedule is not bigger than one equipment.
    Regards,
    Dominik Modrzejewski

  • Multiple repeating SubForms binding to the same data node

    Having multiple repeating SubForms binding to the same data node : In our documents, many times we need to display information from same table in multiple locations. For example, if document displays information of Insureds on one page and information of drivers on another page, we need to create a LiveCycle document with two SubForms. Each SubForm needs to have a repeating binding to CommonInsured element in XSD.  LiveCycle Designer is not able to handle such case. We cannot have two subforms bound to the same node, ONLY in a case where repeating option is selected for data binding.
    The only way I have found out is the following Javascript
    //Get the data node from XML. You will find the code for this function in //JavaHelperFunctions library.
    // InsuredDataRepeatingSubForm is a second subform.
    //You need to manually add instances to this subform at the
    //runtime and Insured data to each instance.
    var insuArray = JavaHelperFunctions.getInsureds();
        var i=0;
        for( i=0; i<insuArray.length; i++)
           if (i>0)
    var thesubform = this.InsuredDataRepeatingSubForm.instanceManager.addInstance(i);
                  thesubform.InsuredName.rawValue = insuArray[i].fullName.value;
           else
                   this.InsuredDataRepeatingSubForm.InsuredName.rawValue = insuArray[i].fullName.value;
    Is there any way I can achieve directly using bindings since we are trying to minimize javascript that changes the layout of the form?
    Thanks in advance!

    Unfortunately not. I've spent countless hours/days trying to do the same thing. You have to use code. The form consumes all the data it can into the repeating elements until there is none left and it is not reused.
    Here's a function I wrote just for that purpose. Feel free to use it:
    function loadData(source,target){
    target.setInstances(source.count);//set the target's subform instances to match the source's
    for (var a=0;a<source.count;a++){//loop through each subform instance
      var sourceSubform=source.resolveNode(source.name.substr(1)).all.item(a);
      var targetSubform=target.resolveNode(target.name.substr(1)).all.item(a);
      for (var b=0;b<sourceSubform.nodes.length;b++){//loop through the children of each
       if (sourceSubform.nodes.item(b).className=="field" && targetSubform.resolveNode(sourceSubform.nodes.item(b).name)!=null)//check for matching fields
        if (typeof(targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData)=="undefined" ||
         typeof(targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData.body)=="undefined")
         targetSubform.resolveNode(sourceSubform.nodes.item(b).name).rawValue=sourceSubform.nodes.item(b).rawValue;
        else
         targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData.loadXML(sourceSubform.nodes.item(b).value.exData.saveXML(),1,1);
       if (sourceSubform.nodes.item(b).className=="instanceManager" && targetSubform.resolveNode(sourceSubform.nodes.item(b).name)!=null)//check for matching subforms
        loadData(sourceSubform.nodes.item(b),targetSubform.resolveNode(sourceSubform.nodes.item(b).name));
    Just make sure the source and target subform hierarchies are identifal, same name and all. It will recurse down the tree and transfer source fields (rich text and plain) to their sister targets.
    Kyle

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

Maybe you are looking for

  • Keynote and Flash CS3

    I have read the threads on lack of support for transparency in animated GIFs and QT Flash tracks. I just installed Adobe CS3 and iWork '08, and Keynote '08 seems willing to import Flash 9 files (although I have yet to try features not in Flash 5). Th

  • Error while executing the proxy service

    Hi, I have a procedure which uses a database link to access my tables. And business service will invoke this procedure through JCA. We have created a datasource (Driver : non - XA for Service connections). However, while executing the proxy service i

  • Does Sun One crashes with Win 2003 ?

    When I deployed the app in a Win NT 2000 I dont have any problem but when I'm using Windows NT 2003 server, with cold fusion and Sun One Server 6.1. I faced that images and css files are not loaded correctly. In some desktops I can not see the app si

  • Font book crashes on launch, can't use MS Office

    Hi there, I have a problem which started with MS office not opening. As soon as I tried to open a Word document, it would close saying that it has encountered a problem and needs to close. After a spot of googling I discovered that this might be a pr

  • Work Item redirected to different approver without substitution

    Hi All, We are facing an issue for Purchase Order Approval Workflow whereas Work Items are going to different approver without substitution is activated. Regards Chayan