Not getting desired fact measures in answers

Hello, In my schema I have 2 fact tables and 5 Dimension tables. In a particular case, I have two fact tables F1 and F2 and a Dimension D1.
The relationship is like this D1 -< F1>- F2. That is there exist a relationship between the fact tables.
In my repository I have D1-<F1 and D1-<F2
Now, in Answers, when I am selecting a column from D1 and a measure column from F1 and F2 both; I am getting blank results and only values for Dimension Column are shown. When I remove one of the Fact columns I can see the values from Dimension and Fact measures and vice-versa.
Any idea why this is happening and how can I correct it?
Thank you for your time!

Ashish,
This scenario has been discussed so widely resulting with no widely accepted solution.
Note: Bmm layer is not good at supporting joins between multi-star schemas - in other words between multi fact tables, apart from summary or aggregate tables. Whenever a query involving a non-conformed dimension is fired, the fact table that doesn't have a direct raltionship with the dimension is treated as null.
Thus to overcome such kind of scenarios here are 2 solutions I recommend:
1. To eliminate nulls in f2 column when f1,f2& d1 are queried associate f2 measures with grand total level of d1. <-- It is associated with only a grand total level just becasue it does not in anyway refer to dimension d1, when compared to other levels which have keys associated with dimension. (I assume this as a quirk in OBIEE).
2. Create an logical table source alias (by dragging f2 onto sources folder) and within this logical source join f1 to d2 and d2 to f2 (hope now you understand, we are joining them through a conformed dimension). Thus whenever a query invloving f1,f2,d1 is fired is routed through this source. <-- You might ask why i need to route only through d2? well it is a conflicting scenario and is left upto the developers.
mark as answered if helpful& let me know if you have further questions.
P.S Also i think i did publish a post on this on my blog...
-bifacts :-)
http://www.obinotes.com
Edited by: bifacts on Nov 3, 2010 11:26 PM

Similar Messages

  • Not getting data from Essbase in Answers...

    Hi there
    Been somewhat mystified by this problem. We have several Essbases which we would like to use i OBIEE. The metadata is imported into a RPD and made available in Answers. When making a report and trying to run, it says that the query generated no results. Ive checked, double and triple checked that were I look for data, there actually is data. Ive been checking with Essbase and the data is there.
    The funny thing is, that when I test on the Essbase DEMO database, and can see data fine, and drill about.
    The only thing I can find is in the the logfile, where it gives me the following error. The error message below here is the one that makes the most sense...
    "Failed to initialize SharedServices security instance. Component for SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PRODUCT is null in EPM System Registry. Check EPM System Registry configuration."
    at com.hyperion.hit.registry.Registry.getConnection(Registry.java:178)
    at com.hyperion.hit.registry.Registry.lookupComponentsWithException(Registry.java:1316)
    at com.hyperion.hit.registry.Registry.lookupWithException(Registry.java:517)
    at com.hyperion.hit.registry.Registry.lookup(Registry.java:593)
    at com.hyperion.css.registry.RegistryManager.<init>(RegistryManager.java:99)
    at com.hyperion.css.registry.RegistryManager.getInstance(RegistryManager.java:124)
    at com.hyperion.css.CSSSystemFactory.getCSSMode(CSSSystemFactory.java:100)
    at com.hyperion.css.CSSSystemFactory.getCSSSystem(CSSSystemFactory.java:69)
    at com.hyperion.css.CSSSystem.initCSSSystem(CSSSystem.java:290)
    at com.hyperion.css.CSSSystem.getInstance(CSSSystem.java:251)
    at oracle.bi.security.token.epm.CSSHelper.<init>(CSSHelper.java:37)
    at oracle.bi.security.token.epm.CSSHelper.getInstance(CSSHelper.java:45)
    at oracle.bi.security.token.epm.JPSToCSSTokenConverter.getCSSUser(JPSToCSSTokenConverter.java:46)
    at oracle.bi.security.token.epm.JPSToCSSTokenConverter.convertToken(JPSToCSSTokenConverter.java:21)
    at oracle.bi.security.service.SecurityServiceBean.convertToken(SecurityServiceBean.java:339)
    at oracle.bi.security.service.SecurityWebService.convertToken(SecurityWebService.java:263)
    at sun.reflect.GeneratedMethodAccessor2180.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    And a whole lot more...
    But it gives me the same errors when drilling about in the DEMO database.
    Can this be about some privileges on the Essbase server? We are using OBIEE 11.1.1.3 and Essbase 9.3.3.
    Any ideas?

    Jacob,
    I think I have your answer.
    The 11g Release only supports connectivity with Essbase 11.1.1.2 out of the box.
    Clearly you need to pull over the correct Essbase client libraries for any other version of Essbase that is not 11.1.1.2 and put them in the appropriate location on your BI Server. In addition you are using Essbase System 9 which actually requires a patch to integrate into OBIEE 11g. If you haven't done on or more steps above then your integration with OBIEE 11g will have difficulties perhaps like what you are experiencing.
    A wrote a post last month partially on this topic but you can see where its going from here, http://www.artofbi.com/index.php/2011/03/configure-obi-11g-for-essbase-metadata-import-integration-ootb/. I think a search on support.oracle.com will turn up the path for Essbase System 9 integration with OBIEE 11g but I believe you'll need a password (get from Oracle Support contact) to get it.
    That's all I have for now. If this was helpful please throw some points my way. : )
    Cheers,
    Christian
    http://www.artofbi.com

  • Not getting desired output

    declare
    v_sys number ;
    v_amt number ;
    dt date;
    cursor c is (select hcode,amt,EDATE,
    dense_rank() over(order by hcode)x from a );
    begin
    v_sys :=1 ;
    v_amt :=0 ;
    for var in c loop
    insert into b values(var.x,var.hcode);
    if (v_sys = var.x ) then
    v_amt := v_amt + var.amt ;
    else
    insert into c values(v_sys,v_amt,var.edate );
    v_amt := var.amt ;
    v_sys := var.x ;
    dt:=var.edate;
    end if ;
    end loop;
    insert into c values(v_sys,v_amt,dt );
    end;..All is well with this code except it returns the value of table b as:
    SQL> select * from b;
            ID      HCODE
             1         10
             1         10
             2         20
             2         20I need to get the output as:
    SQL> select * from b;
            ID      HCODE
             1         10
             2         20Any idea?
    Thanks

    Well, hcode = 10 and hcode = 20 both appear twice in the cursor you are walking through. The first thing you do after fetching a record is INSERT INTO b. Since there are two records in the cursor for hcode = 10, you get two records in b.
    I'm not entirely sure what you are trying to do here, but I suspect that you are rolling you own SUM for some reason. If so, then I think you need something more like:
    DECLARE
       v_sys NUMBER;
       v_amt NUMBER;
       dt    DATE;
       CURSOR c IS
          SELECT hcode, amt, edate, DENSE_RANK() OVER(ORDER BY hcode) x
          FROM a;
    BEGIN
       v_sys :=1;
       v_amt :=0;
       FOR var IN c LOOP
          IF (v_sys = var.x ) THEN
             v_amt := v_amt + var.amt;
          ELSE
             INSERT INTO c VALUES (v_sys, v_amt, var.edate);
             INSERT INTO b VALUES(var.x, var.hcode);
             v_amt := var.amt;
             v_sys := var.x;
             dt:=var.edate;
          END IF;
       END LOOP;
       INSERT INTO c values(v_sys,v_amt,dt );
    END;John

  • Problem in query not getting desired output .

    i have the following table
    mysql> select * from emp;
    +------+-------+--------+-------+
    | eid  | ename | salary | depid |
    +------+-------+--------+-------+
    |   11 | ram   | 5000   | d1    |
    |   22 | shyam | 3000   | d1    |
    |   23 | mohan | 5500   | d2    |
    |   44 | radha | 8000   | d3    |
    |   48 | abhi  | 10000  | d3    |
    +------+-------+--------+-------+
    i am  executing  the following query :
    mysql> select  depid,count(depid) from emp where salary >5100 group by depid;
    and getting following result :
    +-------+--------------+
    | depid | count(depid) |
    +-------+--------------+
    | d2    |            1 |
    | d3    |            2 |
    +-------+--------------+
    2 rows in set (0.00 sec)
    i wants out put like this :
    +-------+--------------+
    | depid | count(depid) |
    +-------+--------------+
     |d1    |            0 |
    | d2    |            1 |
    | d3    |            2 |
    +-------+--------------+
    thanks in advance .
    csghanny.

    Hi
    csghanny,
    You question seems to be wrong.
    Because you are providing the filter condition where salary is greater than 5100. and for department d1, there is no salary more than 5100.
    +------+-------+--------+-------+
    | eid  | ename | salary | depid |
    +------+-------+--------+-------+
    |   11 | ram   | 5000   | d1    |
    |   22 | shyam | 3000   | d1    |
    |   23 | mohan | 5500   | d2    |
    |   44 | radha | 8000   | d3    |
    |   48 | abhi  | 10000  | d3    |
    +------+-------+--------+-------+
    select  depid, count(depid) from emp where salary >5100 group by depid;
    so there is no chance that this query will return the output what you are expecting.
    let us know, if you requirement is something different, so we can help you.
    Please Mark as Answer if my post solved your problem or Vote As Helpful if this helps. Blogs: www.sqlserver2005forum.blogspot.com

  • Pattern matching problme - not getting desired result.

    Hi,
    According my program , If 'san' is in 'sangeetha', then it should display "hello".
    but I am getting only 'hi'
    Why ? any idea?
    <%@ page import="java.util.regex.Pattern"%>
    <%
    if(Pattern.matches("san", "sangeetha"))
    out.println("hello");
    else
    out.println("hi");
    %>
    Result : Hi

    sangee wrote:
    Hi,
    According my program , If 'san' is in 'sangeetha', then it should display "hello".No, that isn't what your patten say. You should read about regular expressions and learn how to use them, or switch to String.indexOf or contains.
    Kaj

  • Can not get keyboard to work , any answers?

    I am unable to get my keyboard to work, any answers on what I need to do?

    Try Resetting the SMC.
    Intel-based Macs: Resetting the System Management Controller (SMC)
    But if the keyboard has failed you won't be able to do that. In that case you need to take the system to Apple to be diagnosed as to what the problem really is and get an estimate on the cost of repairs if you are out of Warranty.

  • Not getting desired result in Calculated column

    Hi
    I am using below formula in a caculated column,
    =IF(OR(ISBLANK([Start Date]),ISBLANK([End Date])),"",IF(ISERROR(DATEDIF([End Date],TODAY(),"d")),(IF(ISERROR(DATEDIF([Start Date],TODAY(),"d")),IF([Start Date]-TODAY()<=7,"New",""),"Ongoing")),IF(DATEDIF([End
    Date],TODAY(),"d"),"Completed","Ongoing")))
    my requirement is that
    1. If start date, or end date is blank the value of Status column is blank
    2. when the today date is 7 days before the start date value of Status column is New
    3. If the Today date is between the Start date and end date value of Status column is Ongoin
    4. If the Today date is after the End datevalue of Status column is Completed
    Thanks
    Paru

    Hi Paru,
    Please check the data type returned from formula.
    In SharePoint 2013, we can use JSLink to achieve your requirement.
    Example code:
    https://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a
    Best Regards
    Dennis Guo
    TechNet Community Support

  • 6681 not getting detected by update software

    the 6681 is detected by PC suite but not by the update software..plz help me on this

    First go to www.nokia.com/softwareupdate and enter your product code (should be found on the back of the device) and check if there is any new SW upgrade for your phone.
    If no, then NSU might not get this.

  • JSP page in a Struts Application not getting refershed

    I have made changes to one of the jsp file in a Struts project
    but even after refershing the page , loading the page thru Tomcat Manager 'Reload Applications ' , it's showing me the output of the old jsp page
    only
    Even , stopping & restarting Tomcat does no changes to jsp file
    What's the issue?
    How to resolve
    Regards

    Possibly:
    1. Browser could be caching the page.
    2. If you use a proxy, the proxy may be caching the page.
    3. The page is not getting recompiled.

  • I ttunes wants to keep on restoring my phone and I restored a few time now but can not get past the restore screen to load my purchaseed apps etc or sync my phone with new data, it sort of does not recognise the fact that i ihave synced already. Please he

    I Tunes wants to conituiosly restore my phone and after every restore it just goes back to the restore screen and i can not get past that to get to my apps etc.  It is as if the system does noet regognise the fact that the resotre has been done.................

    Follow this very helpful user tip by wjosten:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • I'm trying to print halftones to a wide format Savin 2404 WDP printer. I can select the halftone desired in the output window and select Separations. I don not get a halftone dot output but instead I get shades of grey. HELP.

    I'm trying to print halftones to a wide format Savin 2404 WDP printer.
    I can select the halftone desired in the output window and select Separations.
    I do not get a halftone dot output but instead I get shades of grey. HELP.

    That worked really well (Resolution and Halftone screen Lpi, Angle and Dot shape).
    My only issue now is when art is created in Illustrator CS6. I can't get those results for gradients.
    I guess I would need to bring those files one color at a time back into photoshop.
    Keep me posted if you have any other thoughts.
    Thanks again.

  • Table entries not getting displayed in desired format

    Hi All,
    In my adobe layout I created a table . I used data format Align Right and align middle for the table entries. In the Output  some entries of the table are not displaying in align right and align middle.
    Output:In the below output the first row data is not in desired format .
    Thanks in Advance,
    Suneel.Uggina.

    That is pretty to much information to help you.
    You need to share your technical setting. How did you create the table? Subforms, Table-assistent... what are the values in? Format, what happens when you also pass more than 1 digit to the numbers in the first row, does it show up correct?
    So please share more details and explain exact what you have tried to fix the issue. The community is able to help you, but not meant to suggest enaything you could have done.
    ~Florian

  • When installing Server 2008 Datacenter from disc, I get the error message "Windows could not parse or process the unattent answer file for pass [specialize].

    This is a clean install from s disc onto a 3TB GPT drive. This is for testing. I'm not concerned with finding a more practical solution for this installation.
    There is no image or answer file involved. But at the "Completing Installation" phase, I receive this error message about an answer file.
    Has anyone else expecrienced this problem? The only results I find here are regarding actual imaging with answer files.
    EDIT: [Redacted]
    EDIT 2: Since this now happens with every single installation of Server 2008 on this system, I feel the need to keep this open and elaborate on my situation.
    I originally installed Server 2008 on the 2TB partition of this 3TB drive. The partition type was MBR. I reinstalled it (there was a false alarm for malicious software) since it was a fresh install without updates or anything else installed. And for the
    second time, it installed fine.
    I decided to make the most of my 3TB drive and try GPT partitioning. So I went into the command prompt > diskpart > ran "clean" on the disk, then "convert GPT"
    That is when I tried another install of Server 2008 and received this error message about an answer file.
    I decided to convert it back to MBR and get on with what I wanted to test in the first place. So I went into Diskpart again, ran "clean", rand "convert MBR" and started the install. But this resulted in the same error message about an
    answer file.
    I went back to Diskpart, "clean"ed the disk, ran "convert dynamic" to make sure it was dynamic, then tried the install again, with the same result.
    Now, I've tried installing on the disk as GPT, MBR basic and MBR dynamic. I've tried a different installation disc, as well. I got the same result. At this point, I'm going to switch hard drives, but I'm still open to input. Thanks for reading!

    Hi,
    As you swapped the hard disk, whether the same issue occurs again if you redo the same steps?
    I asked "OEM or retail" because of this known issue:
    "Windows could not parse or process the unattend answer file for pass [specialize]" error message when you perform an in-place upgrade in Windows 7 or in Windows Server 2008 R2
    http://support.microsoft.com/kb/2425962
    An answer file may already contain in the disc which causes the issue.
    If issue still exists you can click Shift + F10 during the installation process to see the log. Check if the installation error for detailed information.
    If you have any feedback on our support, please send to [email protected]

  • HT5621 I am being prompted for the questions for my apple ID. I have put what I think are the answers and it is still not letting me purchase games from my account. I try to send the answers to my e-mail and I am not getting them.

    I am being prompted for the questions for my apple ID. I have put what I think are the answers and it is still not letting me purchase games from my account. I try to send the answers to my e-mail and I am not getting them.  I had account issues about a year ago where my id was spelled wrong. Could this be associated with that?
    <Email Edited by Host>

    Hi gymdad1959,
    This article has instructions for resetting security questions:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Cheers!
    - Ari

  • I want to change my password but can not get passed verification even though the answers are correct, so I have asked for an email and none has come.Can some one help?

    I have tried to change my password and get to the part where you need to verify by answering the questions, and I get can not get any further, as it tells me the answers aren't the ones they have but I know it is correct, so I have asked for an email to be sent, but no email comes.I receive other emails from iTunes but not the one helping me to change the password. Has any one got any idea why?

    Contact iTunes customer support, no one in these user to user support forums can assist  you.

Maybe you are looking for