Again: two facts and one conformed dimension

Dear all,
I know this has been asked quite often but I haven't found a solution for my problem here. Believe me I have done a lot of searching across the net ..
What I want to do is the following:
I have two fact tables with a number of common dimensions. A report should show the two facts across these common dimensions.
To keep it simple I start with only one common dimension.
Here's what get's to the db from OBIEE:
*SELECT Revenue."Date (YYYYMMDD)" saw_0, Sales."Day Day Code" saw_1, Revenue."TPV (Total Payment Volume in Millicent [€])" saw_2, Sales.DEBIT_AMOUNT saw_3 FROM "Company KPIs" ORDER BY saw_0, saw_1, saw_3*
Note that *Revenue."Date (YYYYMMDD)"* and *Sales."Day Day Code"* are the same field from the common time dimension. I just put them in different presentation tables for the end users.
TPV and DEBIT_AMOUNT are facts from the two different cubes.
Everything fine, right?
Now I look at the nqquery.log:
RqList
Dim Time.Day Day Code as c1 GB,
Dim Time.Day Day Code as c2 GB,
*Tpv:[DAggr(Cube Revenue.Tpv by [ Dim Time.Day Day Code, Dim Time.Day Id, CUBE_SALES.DEBIT_AMOUNT] )] as c3 GB,*
CUBE_SALES.DEBIT_AMOUNT as c4 GB,
Dim Time.Day Id as c5 GB
OrderBy: c1 asc, c2 asc, c4 asc
now the bold thing looks odd to me. Is he trying to aggregate one cube based on the other? Could be the problem, but where to influence this?
And finally this translates into this query:
WITH
SAWITH0 AS (select distinct T4110.DEBIT_AMOUNT as c1,
T281.DAY_DAY_CODE as c2,
T281.DAY_ID as c3
from
DIM_TIME T281,
CUBE_SALES T4110
where ( T281.DIMENSION_KEY = T4110.DIM_TIME ) ),
SAWITH1 AS (select distinct SAWITH0.c2 as c1,
SAWITH0.c2 as c2,
*cast(NULL as DOUBLE PRECISION ) as c3,*
SAWITH0.c1 as c4,
SAWITH0.c3 as c5
from
SAWITH0)
select SAWITH1.c1 as c1,
SAWITH1.c2 as c2,
SAWITH1.c3 as c3,
SAWITH1.c4 as c4
from
SAWITH1
order by c1, c2, c4
As you see, the tpy ist gone and a NULL appears. That's what I see in the report. TPV is always NULL.
So where did I miss a configuration ???
Thanks, Knut

You only need to set the content levels on the measures themselves when you want non-conformed dimensions in the report, as your working with fully conformed dims just make sure your levels are set on the content tab for each Logical Table source in the Logical fact table. Leave the non-conformed dim hierarchies as blank.
Remember - You should put a hierarchy on each logical dim , even if there is no real hierarchy, just have a total -> Detail.
You should always always always set your content levels for logical table sources, both in Dimensions and Logical fact LTS's.
If they are greyed out, make sure your not in read only, have checked the object out if on-line mode, failing that, perform the changes off-line then re-start your BI Server.

Similar Messages

  • Two fact and one dimension table

    Hi folks
    i am new to this field ( 3 months ), my TL has given me one task i have to finish it up today itself, Can anyone one give me some idea how to implement
    req. The req is
    1. there are 2 fact and one dimension table is there, i have to create reports on Quaterly and monthly basis by using one dimension table.
    Can any one tell me what all are the steps in need to follow
    2.What is standalone and integrated systems?
    Regards
    Reddy

    Hi
    If u r having mapping keys for quarter level n monthly level then create a Alias for the dimension table.Use the original dim table for quarter level mapping and the alias dim for monthly level.
    Thanks
    Don

  • Problem: two fact tables and one conformed dimension

    Hi everyone!
    I need to solve this situation:
    I have two fact tables, let's say F1 and F2, that are both linked to D1, my conformed dimension
    I just need to select fields from D1 but I know that, when querying, OBIEE links it to a fact table anyway..how does it choose the fact table? That is, if I only want fields from D1, does the system queries also from F1 or F2? Is it a random choice?
    Is there a way to "force" this choice, telling the system for example to choose only from F1?
    Is there a workaround to solve this situation? Remember, I only need fields from D1.
    Thanks!!

    The solution of your problem is "Implict Fact Column"
    Go to presentation layer and double click on your subject area. then you will see Implict fact column option. click on set. give corresponding fact column there( in your case give F1 fact column)
    references: http://oracle-bi.siebelunleashed.com/articles/implicit-fact-column/
    Thanks
    GSR
    Edited by: GSR on Mar 20, 2012 3:22 PM

  • Need to pull the information from two facts and associated dimensions

    HI All, i need to pull all the columns from the two Facts and their associated dimensions, get the results.
    here is the example:
    Fact1 --> D1, D2, D3
    FACT2--> DA, DB, DC, D1
    D1 Dimension has a Join with two fact tables, as long as i'm using columns from D1 and FACT2, DA, DB, DC report works.
    but my requirement is to get the results when pulling the columns from all the dimensions and two facts like Fact1, FACT2, D1, D2, D3, DA, DB, DC
    how to achieve this requirement, can someone pls help me with this.
    your responses are much appreciated.
    Thanks
    rar

    Hi RAR,
    I assume you have created proper dimensional hierarchies for all the dimensions in your subject area. Also, ensure that all of them have a Total Level created.
    Assuming the above, since D1 is a conformed dimension, if you create a report having columns from only D1,Fact1 and Fact2, the report should show you proper results.
    For creating a report having columns from all tables, ensure the following:
    1. For all measure columns from Fact1 to be included in the report, set them to be calculated at the Total Level of dimensions DA, DB and DC
    2. For all measure columns from Fact2 to be included in the report, set them to be calculated at the Total Level of dimensions D2 and D3
    The physical sql will fire separate queries for the 2 star schemas and then join them using the conformed dimension.
    Hope this helps,
    Gaurav

  • Single Fact with Multiple Conformed Dimensions

    Hi,
    I have a fairly simple report:
    Dim A and Dim B are joined with Fact 1
    Now, I want all rows from Dim A and Dim B along with Fact 1 values. If there are no matching values of Dim A and Dim B in Fact 1, I should get NULL or some message "No Data Available".
    If I make left outer join from Dim A to Fact 1 and Dim B to Fact 1 (to consider all rows from dimension tables), I dont get matching records. Because Fact 1 may not have all records for Dim A or Dim B.
    I dont want to make Full outer joins between Dim A and Fact 1 and DIme B and Fact 2. Do I have any other solution?

    Hi,
    ok let's assume,
    I have something like voucher used flag in one fact table, this is not a measure, it's a degenerated dimension entry.
    What to do with this one? My model is at the moment clear, we have managed to have 15 facts and 10 conformed dimensions, without issues.
    Now they want to analyze over this flag "voucher used" in best case over all facts and dimension combinations.
    This is the main requirement
    regards,

  • Conforming and Non-Conforming Dimensions

    Hi,
    How do we identify conforming and non-conforming dimensions in our OBIEE 11g repository? There are so many of each so was wondering if there is a simple rule i can follow while browsing my repository

    To identify them as you are browsing it's not really possible.
    From a logical digram you could right click the dimension and select "add joins"... if it adds any facts to the diagram then obviously the dimension is conformed.
    Use the Query Repository functionality in the admin tool to identify logical tables that are dimensions, and related to more than one logical table which is a fact.

  • I have two iPads and one iPod Touch and they are using iTunes on the same computer.

    I have two iPads and one iPod Touch and they are using iTunes on the same computer. I have not been able to backup the second iPad. Is there a reason this is happening? iPad one is an iPad 1 and the second is an iPad 2 not sure if this has something to do with it. I just tried to upgrade to IOS 5 and when it went to back up it gave me an error code (-5000). I tried to back up using iTunes and it told me that my backup was corrupted and to delete it and try to back up again. When I went into the device portion where I was instructed to go to delete the backup I found that there was no backup for my iPad just the iPad 1.
    I have synced many times and all of the apps, podcasts, music, etc... show up in iTunes, and iTunes recognizes that is is the second iPad but there is not a backup for it.
    Any Ideas?

    Read this:  How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • HT204053 I have two iPads and one apple ID. How can I FaceTime to/from each iPad? Do I need to set up a second apple id or is there a way around this?

    I have two iPads and one apple ID. How can I FaceTime to/from each iPad without creating a new apple Id. Anyone know a way around this I.e trying to FaceTime 2 IPads that have the same apple id associated with them?

    Have a look here...
    setting-up-multiple-ios-devices-for-messages-and-facetime.html

  • A Tale of Two iPhones and One iTunes

    So this little problem has plagued us for years... nearly three to be more precise.  We have two iPhones and one PC.  Wife syncs contacts with GMail and I sync contacts with Outlook.  Funny thing was that the tab for contact sync would not 'stick' with the phone... if I synced mine first, when I plugged hers in it would still be setup for Outlook.  Or if I changed it to Google for her and then plugged mine in it wouldn't remember my phone wanted Outlook and would sync with Google.  I gave up trying to get it working and setup a seperate profile on the PC for my wife that really was only used for her to sync her phone.  The only drawback we could see was we couldn't have a single repository for apps and I had to add music to libraries twice (one for each profile on the computer). 
    Well, now that we're on the 4S I thought I'd see if iTunes has evolved since 3 years ago when I gave up.  I uninstalled all Apple applications and loaded the latest iTunes.  The cool part of iOS 5 and the new iTunes is we don't have to connect phones any more   So now both phones show up at the same time.  I can toggle through all the tabs and see how they differ... different sets of applications are selected, different photo options, music options, etc.  EXCEPT the tab with contacts.  If I set her phone to google, my phone changes too.  I set mine back to Outlook and hers changes to Outlook.  We've mixed and matched contacts several times trying to get them to stay in tune and that is a huge PITA to clean up. 
    I tried the Genius bar.  The Genius answer was that we should probably do a restore on the phone.  I asked him to help me understand how restoring one phone would solve a problem that existed across 4 phones (two 3G's and two 4S's) and untold versions of iTunes over three years.  He just insisted that we probably need to do a restore on the 4S.  You know, because that would clearly explain the problem we also had on the 3G.  His backup plan was to call Apple support.
    So before I submit a ticket to Apple, anyone else able to confirm this limitation?  I've checked with my friends and the ones that have iPhones don't sync their contacts anywhere.  iCloud will help but we use XP and the PC software requires Vista or better so for now we're still unable to sync our contacts to our PC.
    Thanks!
    david

    On your wife's phone, when you said you've done a restore, was that a restore from backup or as a "new" device? I would suggest deleting the .ipsw file/files on your computer, connecting your wife's phone and restore as "new". When finished, DO NOT SYNC, rather eject the phone and test, verify that all is working correctly. If so, connect her phone & sync her content back.
    The .ipsw file is located here, delete all you find, there should only be one:
    ~/Library/iTunes/iPhone Software Updates
    If this works, under preferences, devices, in itunes, delete her backups, as they are most likely corrupted.

  • TS3367 I have two IPhones and one IPad all with the same Apple ID. I can call facetime between the two IPhones, but I cannot call the IPAD from either of the IPhones and when I call my IPhone from the IPad it rings my wife's IPhone after briefly calling m

    I have two IPhones and one IPad all with the same Apple ID. I can call facetime between the two IPhones, but I cannot call the IPAD from either of the IPhones and when I call my IPhone from the IPad it rings my wife's IPhone after briefly calling mine.

    Each device needs a separate address. Use an email address (gmail.com) on the iPad.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
     Cheers, Tom

  • ICloud - have two iPads and one Macbook and want to sync reminders on all three

    iCloud - have two iPads and one Macbook and want to sync reminders on all three. I have managed to get the Macbook and one iPad to sync, but wjat about the other iPad?

    First check that all your settings are correct, that reminders syncing (calendars on a computer) is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the reminders you are adding are added to your 'iCloud' account and not an 'On My Mac', 'On My Phone'  or other non iCloud account (you can do this by checking in accounts on an iOS device by tapping the icon with three lines in the top left corner of the screen, or the right side panel by clicking on the small triangle to the right of the word 'Reminders' in iCal on a computer), non iCloud reminders will not sync.
    If you are sure that everything is set up correctly and your reminders are in the iCloud group, you might try unchecking reminders syncing (calendars syncing on a computer) in the iCloud settings, restarting your device and then re-enabling notes syncing.

  • I have two iPads and one is connected to the internet but my other iPad was connected then was not and since then I have not been able to add my internet back onto my iPad it only says cannot connect to the server any help would be great thanks

    I have two iPads and one is connected to the internet but my other iPad was connected then was not and since then I have not been able to add my internet back onto my iPad it only says cannot connect to the server any help would be great thanks

    If you are having WiFi problems it is necessary to isolate whether the problem is with your network or your iPad. Note: Do NOT consider your network to be blameless if some other devices can connect to it.
    First, test your iPad on some other WiFi networks: a friends, Starbucks, Barnes & Noble, etc.
    If it works well there then the problem is probably with your network. Try restarting your WiFi router by removing power for 30 seconds. If that does not help check for a firmware update for your router. If none exists which corrects the problem consider replacing the router.
    If your iPad does not function well on other networks it possibly has a hardware problem. You could try Settings > General > Reset > Reset Network Settings to see if that corrects the problem. If not, contact Apple Support or visit an Apple store for evaluation. They can provide a replacement if your iPad is bad.
    If you need more help please give the make, model, and version of your WiFi router and how you have it configured.

  • Hi. We have two iphones and one Itunes account. How do back up each one without getting the others contacts

    Hi. We have two iphones and one Itunes account. How do back up each one without getting the others contacts and without syncing each phone to each other?

    Welcome to the Apple community.
    Ideally you should each have your own iCloud account, providing you with your own contacts, calendars etc, not doing so will result in exactly what you have experienced. The contacts have likely been lost due to the options you have chosen at the login stage on each device.
    Unless you have the missing contacts in a backup file, they won't be recoverable unfortunately. You can add them manually to the contracts that already exist and continue to share the iCloud account if you wish, but I suggest that you each have your own iCloud account.
    Note, you can each have your own iCloud account, but continue to share an iTunes account for purchases of apps, books, music, TV shows etc etc.

  • Three CMs or Two CMs and One SRST Reference

    Noticing documentation on CUCM and phone registration stating that a phone can receive "either up to three CUCM servers or two CUCM and one SRST reference." (emphasis mine).  Does this mean it is one OR the other; you can either have three CMs in your CM Group or you can have two CMs in a group and one SRST reference?  We've normally configured three CMs in a CM Group AND an SRST reference.  Suppose I could view a cnf file and look at it myself, but thought it would be good to ask the question here for future reference.  
    Thanks,
    Ryan

    That's 3 CUCM servers in the CUCM group + SRST reference.

Maybe you are looking for

  • My music will not sync to my iphone

    I wanted to add an MP4 file to my phone, I've done this last week with no problem, this week once I added it and sync'd my phone over 700 of my songs disappeared and I cannot get them back on my phone, I even reset my phone from an earlier date and i

  • I used Migration Assistant and now it says the itunes is not up to date/will not let me open or update itunes. What do I do?

    How do I go about downloading or reloading Itunes onto my computer, without loosing all of my uploaded music?  I have attempted to reupload itunes and it will not successfully complete the download/does not give me an option to update itunes when i t

  • How do I add a page?

    Hi all, I saw that this topic has been up several times, but I felt that 11.000 hits is slightly too much to scan through. I have built my own template and I'm now creating a document including 15-20 pages. While writing it I intend to add new pages.

  • Crashes when I do nothing at all

    I'm using Logic 6.4.2 (I know it's old but it has worked great for me everyday for 5 years). Today, when I start a new file (no plugins loaded), Logic will crash after about a minute with the "Try to Save Your Song" message. It happens when I do abso

  • ORA-01722: Nombre non valide

    Hi community, so here's my problem: I tried to create a cube with pentaho workbench ( Business Intelligence tool) unfortunately the cube doesn't appear. The error is : Caused by: java.sql.SQLException: ORA-01722: Nombre non valide ( unvalid number)