Built a report using two dimensons & two fact

Hi Experts,
We have a requirement where we need to built a report using two dimensons & two
fact i.e. the report contains columns for all the two dims & both the facts.
the structure is as follows.
1)we have two dimensions
as REGION_BRANCH (containing region & barnch information) and
PRODUCT_group(containing the product group info).
2)Two fact as WORKING_CAPITAL_DAYS & WORKING_CAPITAL_BUDGET.
FOLLOWING are the join conditions.
1)The Dim table REGION_BRANCH has joins with fact tabel WORKING_CAPITAL_DAYS as
REGION_BRANCH.REG_CD=WORKING_CAPITAL_DAYS.REG_CD
REGION_BRANCH.BR_CD=WORKING_CAPITAL_DAYS.BR_CD
2)the 2nd DIM table PRODUCT_group has joins with fact table WORKING_CAPITAL_DAYS as
PRODUCT_group.PG_CD=WORKING_CAPITAL_DAYS.PG_CD
3) The Dim table REGION_BRANCH has joins with the 2nd fact tabel WORKING_CAPITAL_BUDGET as
REGION_BRANCH.BR_CD=WORKING_CAPITAL_BUDGET.BR_CD
4)the 2nd DIM table PRODUCT_group has joins with fact table the 2nd fact tabel WORKING_CAPITAL_BUDGET as
PRODUCT_group.PG_CD=WORKING_CAPITAL_BUDGET.PG_CD
Now the requirement is as follows.
1)we need to build a report in OBI where we will have
REGION & BARNCH from REGION_BRANCH Dim table,
PRODUCT from Product Group dim table,
INV_ACTUAL_DAYS from WORKING_CAPITAL_DAYS (1ST fact TABLE)table.
INV_DAYS FROM WORKING_CAPITAL_BUDGET (2ND FACT TABLE) TABEL.
the issue is when we try to build the report..the OBIE answers gives an error as
[nQSError: 15018] Incorrectly defined logical table source
[NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table WORKING_CAPITAL_DAYS) does not contain mapping for [WORKING_CAPITAL_BUDGET.INV_DAYS]. (HY000).
How can we built a report using two FACT tables.
Regrds,

hi,
Create a dimension hierarchy for the dim tables and set the content level to fact tables.....
So that BI Server will identify at what level the facts are joined to dimension table
try this it should work
thanks,
saichand

Similar Messages

  • Creating BAM report using data of two database tables. Say "EmployeeTable" and "DepartmentTable

    I want to populate data from two database tables into a BAM report. I have created two data objects for the tables and want to create 3rd data object so that it can take the data from the other data objects automatically. Is there any such facility within BAM?

    Hi
    1. I am not sure if you have option to combine multiple DataObjects like that.
    2. For your scenario, on Database side itself, I would recommend Create a VIEW that joins these 2 Tables and pull the required Columns and add required conditions. Verify the VIEW has all the rows expected.
    3. Then create DataObject for this View. Once you have DataObject, create the Report.
    Thanks
    Ravi Jegga

  • Can distributed reports use current data?

    My company bought Crystal Reports 2008 because we wanted to give users reports that reflected the data currently in the database.  After doing the following:
    1. Installed Crystal Reports 2008 on my computer.
    2. Built a report using data from our database server.
    3. Installed the Crystal Reports Viewer and my report on another user's desktop.
    We discovered to our dismay that the data in the report was old -- I mean, it was data from the last time I'd run it on my computer.
    We don't have any use for outdated reports... we need each user to produce reports that reflect the data that is CURRENTLY in the database.
    Is there any way to do this, short of installing Crystal Reports 2008 on each user's computer?  (Which is one thing we will NOT do.)
    Is there an interface in VB or C# that we can use to this end?
    Is there some other means of distributing reports so we can get fresh data when they are run?

    Try to save the report without saved data (go to file-->uncheck save data with report) and refresh the report in crystal report viewer to get the latest data.
    Regards,
    Raghavendra

  • Link two reports using parameters

    Hi,
    We are using business object XI.
    I am trying to link two reports using parameters. I cannot use subreport option becuase inside the subreport I should link another report too. So,
    Report 1(High level summary)
    Report 2(Middle level summary)
    Report 3(Detail level)
    I tried to use hyperlink option and used following string.
    http://<server_name>/<Virtual Directory>/object.rpt?prompt0={?param1}&prompt1={?param2}
    Here is my question.
    1. Server name: Does it include port number??
    2. Virtual Directory: I am absolutely lost. I tried the "frsinput" directory the actual rpt file is storing. It is not working.
    Do you have general path??
    3. Parameters: I have 5 parameters to pass. 3 of them are Strings and the rest are DateTime.
    Basically, I need any tutorial about this kinds of things. The tutorial I have got only discribe link like "www.yahoo.com"
    BTW, is this even possible solution??

    Hi,
    I am trying to link two reports in the crystal report designer->deploy to the server->show in the DHTML viewer.
    When I create a URL from report A, it looks like "&" disapears. For example, I created a hyper link from report A using formula,
    http://server:port/........openDocument.jsp?sDocName=reportB&sType=rpt&paramName1="Trim(ToText({?param1},"#####"))"&paramName2="+Trim(ToText ({?param2},"#######"))
    But when I see the actual URL, all the "&" disappears so it looks like
    http://server:port/........openDocument.jsp?sDocName=reportBsType=rptparamName1="Trim(ToText({?param1},"#####"))"paramName2="+Trim(ToText ({?param2},"#######"))
    No wonder it is not working.
    I guess I need special protection for "&" sign. Do you know any?

  • Report Data in to two alternate Unit of Measures

    Hi
    We Implemented "How to Report Data in to two alternate Unit of Measure". I have a question
    1 Could we maintain Two alternate Unit of Measures for one Base Unit of Measure?
    For example if Base unit is EA ( Each) we need to maintain this as CAR( Carton) and PAL ( Pallet).
    Thanks
    Naga

    Hi Naga,
    Are you talking about Qty Unit conversion. We can surely maintain CAR,EA,PAL and all. The Numerator and Denoms are maintained in T006. And accordingly the conversion happens.
    Apart from that you can have your own customized Qty conversion using Transaction 'RSUOM'.
    Lemme me know if this helps.
    -Bikas

  • Using iPhone with two computers

    Home PC - MacBook Pro
    Work PC - Windows
    both running iTunes 7.7
    My music is on my home Mac and I manually create playlists, add music etc.
    With my 3G Nano, I can connect and listen to songs on my iPod from my work PC. I can't seem to do this with my iPhone - my PC sees the iPhone but all of the music is greyed out and cannot be selected.
    Is it a limitation of the iPhone that I cannot use it with two computers in this way, or is it a configuration issue?
    I would prefer not to have to buy a set of external speakers just to use my iPhone to play music at work.
    thanks
    Shane

    Actually, there are several articles on the web about the fact that you CAN
    synch the itunes with two computers. Music, Video, and Ringtones can be done from one computer, and Mail, Contacts, etc. can be done from a second computer.
    Just do a Yahoo search on "synching iPhone with two computers."
    If you are trying to do music from two computers, you are right, that will not work. There is a program, which I think the Yahoo search above will also uncover that allows you to do a "swap," where you can have the songs from one computer show up on the iPhone, and when you swap, the songs from the other computer show up. I am not sure if this utility survived the upgrage to version 2.0 of the softweare.
    cheers,
    Ray

  • Create a Crystal report on top of two queries

    Hi All,
    Is it possible to create a report on top of two Bex queries in Crystal reports 2008 & Crystal report 2011 & CR enterprise version 4.0?
    Please explain the steps if possible.
    Thanks in Advance....

    Not possible!
    You'll need to use a Subreport to separate the queries.
    -Abhilash

  • Webi Report Data compare between two columns

    There is two different queries in Webi Report BI 4.1
    Query 1 - Name_1 == 100 records
    Query 2 - Name_2 == 75 records
    On the report need to compare the data between Name_1 and Name_2.
    Need report level flag as a second column
    name_1 = name_2 = Y
    name_1 <> name_2 = N
    One the report there is only two columns Name_1 Flag(Y/N)
    1. If statement is not working at all in this scenario
    2. Merge dimension is not useful since I need to treat these columns separately on the report.

    Hi Suri,
    As the objects belong to two different queries, the comparison might not work as they are not merged and incompatible.
    You can try creating a seperate query and can use subquery in it.
    For example:
    SELECT NAME_1 FROM QUERY_1
    WHERE
    NAME_1 NOT IN (SELECT NAME_1 FROM QUERY_2)
    This will display the names which are not common.
    Hope it will help.
    Regards,
    Yuvraj

  • How to convert Resulset to two dimenson array

    Hello,
    I have a Resulset, i want to store it in 2 dimenson array, but i can't.
    so I store the resulset in Vector:
    Vector row = new Vector();
    ResultSet rs = stmt.executeQuery(sql);
    ResultSetMetaData meta = rs.getMetaData();
    int colCount = meta.getColumnCount();
    while(rs.next()){
    String[] records = new String[colCount];
         for(int i=0; i<colCount; i++){
              records[i] = rs.getString(i+1);
         row.addElement(records);
    However i don't know to convert this Vector to two dimenson array.
    Can you help me:
    1. store the resulset to two dimenson array
    2. or convert the vector that store the resulset to two dimenson array

    The problem with storing the result into a two dimensional array directly is that you don't know the size required for the dimensions of the array, so you need to use something that is dynamic ( like a Vector, or a better use would be an ArrayList if you didn't need the container to be thread safe ).
    I might suggest something like this:
    ArrayList list = new ArrayList();
    ResultSet rs = stmt.executeQuery(sql);
    ResultSetMetaData meta = rs.getMetaData();
    int colCount = meta.getColumnCount();
    while(rs.next()){
    String[] records = new String[colCount];
    for(int i=0; i<colCount; i++){
    records[i] = rs.getString(i+1);
    row.add(records);
    String[][] resultArray = new String[ list.size() ][ colCount ];
    for ( int i = 0; i < list.size(); i++ ) {
        resultArray[ i ] = (String[])list.get( i );
    }

  • Can I use iCloud on two Windows 7 PC's? (same apple ID)

    Hi!
    I am a new user of Apple products and would like to use iCloud on two Windows PC's to upload Pictures and be able to see them on iPad. I manage to setup one computer and upload a few pictures for test and it worked, however when I setup computer number 2, nothing happens after I put the pictures on the required location to upload.
    Please let me know if this is feasible and if is not, what do I need to do to enable computer number 2 as the one to use and disable using computer 1 (the one working so far)
    Regards

    You can only create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher.  After creating your account on one of these devices you will then be able to sign into the account using your iCloud ID on your PC.

  • In the report level user wants two persons against each work center.

    Hi Experts,
    Please let me know the solution, I have provided scenario below.
    check the query which the user is referring to report:
    Example
    Work center     Person
    KNE33102     44003850
    According to the user, the names for the Work centers should be as follows:
    Work center          Person
    KNE33102         44003850,
    KNE33102        44003603
    I have check the data in T-code-CR03, each work center getting two persons, as can be shown below.
    Work center        Person
    KNE33102           44003850,
    KNE33102           44003603
    In RSA3 it can be seen that both the records are being extracted
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    In BI , when checking in PSA, it can be seen that the data is also being loaded to BI (Two persons loaded against Work center-KNE33102)
    Work center     Start date     End date     Person
    KNE33102     09.02.2009     31.12.2009     44003850
    KNE33102     09.02.2009     31.12.2009     44003603
    But when loading to the Info Object, one person has deleted. Because of this, in the report level displaying one person.
    Note:-Please let me know what is the procedure, in the report level user wants two persons against each work center.

    Hi,
    As you said in your post the data has mentioned up to 2009. can you try execute the query till to date .
    Regards
    sivaraju

  • My itunes is on an old computer.  So old that I can't update it and so Haven't used it in two years.  How can I move it to my new laptop and make sure this doesn't happen again?  Very frustrated that I've spend $$ but can't get my music.

    My itunes is on an old computer.  So old that I can't update it and so Haven't used it in two years.  How can I move it to my new laptop and make sure this doesn't happen again?  Very frustrated that I've spend $$ but can't get my music.
    I want so set up itunes on my laptop and make sure that I get all of my old music and any music shared from my sons' itunes accounts.  Do I have to set up itunes on my new laptop first and then use the same logins?  Really concerned about losing any music, etc.

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have failed to move contacts and calendar items across you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • Hi, I have two iPads, two separate accounts I have purchased apps on one Acc. and would like to use them on my second iPad. How is this possible

    I have two iPads, two separate accounts I have purchased apps on one Acc. and would like to use them on my second iPad. How is this possible

    If you go to Settings > iTunes & AppStore , you can sign out from your account, and sign in with the one you've used to purchase apps.This will not remove any apps you already have on it.
    Then you can go to AppStore and download apps you've purchased (either via "Purchased" button in "Updates", or simply search for them and download them.
    That way you can have multiple accounts' apps on your iPad. When updating, you will be prompted for the credentials for account you've purchased given App with.

  • Can I put my library on an external hard drive and use it between two computers?

    Can I put my library on an external hard drive and use it between two computers? I have two MBP; I will refer to one as computer A and to the other as computer B. I would like to be able to plug in my external hard drive, boot up iTunes, and if there were any changes made to the library previous to its last time accessed on this compluter, they show up on that computer, regardless of being imported on the other.
    A hypothetical example: I import three albums called 1, 2, and 3 on computer A over a week or so. I take the external hard drive and plug it into computer B. The entire library which was visible on A, is visible on B, including albums 1, 2, and 3.
    Is this possible? If so, what files need to be copied onto the external? I'm trying some different combinations, trial and error basically. Hopefully someone knows and can answer before I mess up my library. I also want to do this to free up space on my computer. All importing will be done from disc.

    iTunes/Preferences/Advanced : point your iTunes to the new location of the Library.
    Set "Share on local network" in the Sharing tab, and you or everyone on the local network can play your music.
    You make a backup first of the Library.
    Move the follwing to the new location:
    /Users/your username/Music/iTunes/iTunes Music
    have fun.

  • Can i use ichat between two separate macs on the same mobile me account?

    Can i use ichat over two separate macs on the same mobile me account?
    I have an imac at home and may be getting a macbook for work. Can i use my mobile me account to chat between the two macs or would i need a mobile me account per mac??

    Hi,
    No.
    You need two names that can login into AIM.
    In iChat you can use the Get an iChat Account which shows after you use the Plus Button in Accounts.
    This will give you a free @mac.com Name
    AIM Names are also free.
    9:31 PM Saturday; July 4, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

Maybe you are looking for

  • App-V Office 2013/Office 365?

    Hi, In order to App-v Office 2013, apparently you need Office 365 ProPlus? How to get it, we do have Office 2013 ProPlus but that's not sufficient? Don't get what the difference is actually. Note: we don't want to use  Office 2013 click-n-run. J. Jan

  • Just Updated iTunes/Quicktime and it still won't open...

    Ok so I have Windows XP and I went to open iTunes a little bit ago and it told me that iTunes couldnt open because I had Quicktime 7.0 and i needed at least 7.1. So I downloaded a the newer version of iTunes and Quicktime 7.1 or whatever and it still

  • E-Mail Alerts/User Accounts

    Hi folks, Is it possible to configure an e-mail alert to the Admin team to flag up when a user has locked their account? Not interested in any automatic unlocking or anything of that nature.  Just a simple e-mail alert. Many thanks Paul

  • Layout incorrect with Images? Using made template

    My template(you can see I am trying to place 3 photos) DWLive views (I created Draw Ap Div and inside I placed the images) I have to add borders etc. Notice how its off. Inside browser photos are off: I tried not using the Draw ApDiv tool and it is b

  • Q - Can media dynamically protect-&-serve SWF on an LMS?

    Hi, here's the problem: I want to protect SWF files that contain graphics, code and audio from rippers. I want to sell the SWFs online via credit card but not allow unauthorised use or sharing. I want customers to be able to use the dynamically serve