My request shows a diff Fact table when new Dim columns added to OOB report

Hi,
I am facing this strange problem with the out-of-box BMM metadata mapping and report:
The "Dim_W_GL_ACCOUNT_D" is joined to "Fact_W_GL_OTHER_F" and "Fact_W_GL_BALANCE_F" facts. Both these fact tables have a inner join to "Dim_W_GL_ACCOUNT_D". The change I have made in th BMM is - I added 2 new logical dimensions DimA and DimB and joined these to the above 2 fact tables.
The O-O-Box "GL Account Balance" Report works fine which has 3 logical columns (GL Account Number, Financial Statement Item, GL Account Category) from the "Dim_W_GL_ACCOUNT_D" and 1 Fact column "Closing Amount" which points to the "Fact_W_GL_BALANCE_F"."BALANCE_GLOBAL1_AMT" fact.
When I add 1 logical column each from my 2 new Dims I created, the report output shows the Fact column "Closing Amount" as $0.0. Upon investigating the log, the query shows it is using the "Fact_W_GL_OTHER_F" instead of "Fact_W_GL_BALANCE_F" fact which has the "Closing Amount" column. I am not sure how. When I drop the logical column "GL Account Number" and keep my 2 new logical columns in the request, the "Closing Amount" is shown correctly. I also saw there is a Dim Hierarchy for "GL Accounts" --- the "GL Account Number" is on a lower level than the "Financial Statement Item" and "GL Account Category" columns from the same logical dimension table which are 1 level higher.
How do I make the request pull data at the "GL Account Number" level and still have the query fetch data from "Fact_W_GL_BALANCE_F"."BALANCE_GLOBAL1_AMT" (Closing Amount) with my 2 new logical columns included?
Any help is appreciated. Thanks a bunch.

I was able to fix the problem.

Similar Messages

  • Scrolling to next range in advanced table when new rows are added.

    I programatically implemented Add New Row in an advanced table.
    "Records Displayed" attribute of advanced table =10, so as log as I add upto 10 new rows the table displays 10 rows,if I add 11th record the new record is appended @ 11th position but I've to choose "Next" link on the advanced table to see the 11th row.Is it possible to show the last rowset in the advanced table when new rows are added?
    The underlaying VO executes the following code when "Add New Row" button is pressed:
    int rCount = this.getFetchedRowCount();
    int rangeSize = this.getRangeSize();
    int rangeStart = this.getRangeStart();
    if (rCount < rangeSize) {
    this.insertRowAtRangeIndex(rCount, newRow);
    } else {
    this.setRangeSize(rCount+1);
    this.insertRowAtRangeIndex(rCount, newRow);
    this.setCurrentRow(newRow);
    To scroll to the 11-20 rows (when added more than 10 rows),I tried with following options, but none of them helped:
    1) int newRangeStart = ( rCount / 10 ) * 10 ;
    this.setRangeStart(newRangeStart);
    2) this.scrollRange(newRangeStart);
    3) this.scrollRange(rCount);
    4) int newRangePage = rCount / 10;
    this.scrollToRangePage(newRangePage+1);
    5) this.getNextRangeSet();
    Please let me if it is possible to achieve.

    What happens if you just add the new row without specifying where to add it ? doesn't it add the new row on the same page as the last row ?
    Thanks
    Tapash

  • Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer

    I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
    Is there any workaround to this error?  so that drillthrough can be done even with multiple selection.

    Hi Vikas,
    The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
    Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted. 
    For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
    When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
    1. Select a single Item.
    2. Select all items.
    Hope this helps!
    Please mark as Answer if this helps! Thanks, Rajasekhar.

  • Record count is more in the Fact tables when compared to Cube data!

    When i delete request from my cube it is not getting deleted from the fact table. Cube shows around 3.5 million records but when I checked in the fact table it was showing more than 11 million records.

    Hi Kingsley,
       You may try this approach.
       1. Use TCode listschema
       2. Select the type of cube abd give the cube name as well.
       3. This will display the table sinvolved in the cube(star schema).
       4. Select the Ftable listed there and see the number of rows in it.
       Inorder to delete the entire data from cube, you may need to delete all the load requests that has happened before as well.
       Hope this helps...
    Thanks,
    Raj

  • Record count is double in the Fact tables when compared to Cube data!

    Hello BW Gurus,
    I have 2 question to be answered!
    1. I have a cube which consist of 3 years of data. Due to some bad data in it, I have dropped the cube data completely from fact and dim tables and did an init. from ODS. the load failed due to "No SID found for value '2000000000000000000000010' of characteristic 0MAT_PLANT". I have run a RSRV test to find if there is any inconsistency in SID's for 0MAT_PLANT but everything looks great. Considering the time span in mind to finish the load I have removed that record from PSA and re-pushed the data from PSA which was successful, however I wanted to know if anyone has come across such kind of error.
    2. The load finished successfully in the cube but the performance of the cube was very bad coz my cube request shows only 3.5 million records but when I checked in the fact table it was showing double i.e. 7 million records, which is because I deleted the failed init. request and re-pushed the data from PSA. can anyone suggest me how to overcome this I mean how to bring back my fact table records to 3.5 million?
    please advise me and thanks so much!
    Swathi.

    hi Swathi,
    1. for 0mat_plant no sid, beside rsrv, you can try rsd1, infoobject maintenance, there is menu (about 3rd from left) 'fill sid ...'.
    for infocube update, please make sure you 'delete data',
    'fact and dim...'. check again if fact table counts 0 records then you can update from ods with 'initialize'. or if you go by psa then delete data both infocube and ods (from ods to cube should sufficient).
    2. for performance, check in infocube -> manage -> performance, make sure index and statistic is green. you can create index there, also refresh the statistic.
    hope this helps.

  • How to update a fact table when a dimension table is reloaded

    We have implemented BI Apps 796. Insertion into W_EMPLOYEE_D table which stores all the employee information had stopped one year back as some company security policy restricted the informatica worklfows to pick up the data. (PER_ALL_PEOPLE_F was a HRMS table and it contained sensitive information line SSN and salary, was inaccessible to the user which informatica uses and the SDE mapping used to return 0 rows).
    Now we have the approval to see those rows and the dimension table is loaded with some 100 new employees who joined in last one year.
    The ROW_WID of W_EMPLOYEE_D is referenced in lot of fact tables and for all those missing employees the WID in the fact table is 0.
    Now that we have all employees, how to make the FACT table point to the correct WID and not store 0. Has anyone faced this problem before?? Writing an update statement will be a tedious task as there are so many fact tables that join to w_employee_d. Also our company uses Sales, Procurement, Finance modules of OB Apps (which constitutes atleast 20 fact tables)
    Any guidance is appreciated. Thanks in advance

    Hello Kostis,
    thank you for your answer. I don't fully understand you. Can you show me short example, please? I create alias table for time dimension on Physical Layer - original table is TimeDayDim and I create aliases TimeDayDim1, TimeDayDim2, TimeDayDim3, TimeDayDim4. Then I create foreign key Fact.Time1 -> TimeDayDim1, Fact.Time2 -> TimeDayDim2, Fact.Time3 -> TimeDayDim3, Fact.Time4 -> TimeDayDim4. And what now? Must I create these table api Bussines Model and create new time dimensions at bussiness model????
    I need in Answers ONE Time dimension. I think I must split my fact table to four tables ... (time1, place1 ...) (time2, place2 ...) (time3 place3...) (time4 place4...) then link those tables to Time dimension (but I dont know where I can split those tables - on Physical Layer or on Bussines Layer).
    I suppose that I will have in Answers one time dimension and four facts tables and I will be able to query them. (for example: Time.Days, Fact1.Place1, Fact3.Speed, Fact4.Count Criteria: Time.Year = 2008)
    Best Regards Vlada

  • OBIEE: incorrect selection of fact table when generating SQL

    I have 2 dimension tables ("DimA" and "DimB") connected with one fact table ("Fact1").
    Also (only) "DimB" is connected with another fact table "Fact2".
    When I want to make a report with one attribute ("Attribute_A") from "DimA" and another one ("Attribute_B") from "DimB", I receive a error like this:
    "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Fact2) does not contain mapping for [DimA.Attribute_A]. (HY000)"
    Remember that is not supposed "DimA" to be connected with "Fact2", only with "Fact1".
    The only factor that I see that can be a problem is the fact that in Presentation Catalog was defined a implicit column from tact table "Fact2".

    Hi,
    While I don't know the need to generate a report based on 2 dimensions only, I mean you are trying to generate a report between 2 dimensions. Dimensions are not joined together in OBIEE. OBIEE will try to pull any fact and try to obtain the relationship between the two dimensions. In your case it is taking Fact2.
    One way could be if u just pull in some measure from Fact1, then u should be able to get the report.
    Else u can try setting content level for DimA in fact 2 to grand total level. This can be done even though dimA and Fact2 are not joined. Although I am not sure whether this will work.

  • Best way to connect two fact tables when no conformed dimension exists

    Can anyone please elaborate how would I connect two fact table without any conformed dimension. Let say FACTA, FACTB. FACTB is related to a dimension "StatusDim". I want to select the count of all FACTA item which are related to FACTB items with
    a particular status. I have found the following article but just wondering whether it is the best practise to connect two fact tables directly.
    http://bifuture.blogspot.com/2011/11/ssas-selecting-facts-with-reference.html
    Thank you

    Hi Ahsan,
    After read the blog you posted, I think it's a pretty good solution to create a view in the relational database or a named query in the Data Source View containing as the the columns in FACTA and FACTB. Then build a dimension from it, setting the "Null processing"
    property (you have to click the "plus" two times for the "Key Columns" property of the attribute in BIDS to access this property) to "UnknownMember". And then use this dimension for the many-to-many relationship. Dimensions from FactA can benefit of the reference
    relationship between FactA and FactB and therefore a powerful solution it is.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Unexpected results getting data from two fact tables through conformed dim

    Hi all,
    We are getting an unexpected behaviour in our OBIEE 10.1.3.3.3. We have this scenario:
    We have {color:#0000ff}2 fact tables{color}{color:#000000} called F1 and F2. F1 has one measure, f1m1 and F2 has another one, f2m1.
    We have {color:#0000ff}4 conformed dimensions{color}, called D1, D2, D3, Date.
    When we are requesting for individual fact tables, we are getting:
    date d1 d2 d3 f1m1
    dt1 - x - y - z - m1
    dt1 - x - y - z' - m2
    date d1 d2 d3 f2m1
    dt1 - x - y - z - m3
    dt1 - x - y - z'' - m4
    But, trying to obtain a compare scenario, we are getting
    date d1 d2 d3 f1m1 f2m1
    dt1 x y z m1 m4
    Instead of
    date d1 d2 d3 f1m1 f2m1
    dt1 x y z m1 m3
    Looking at query log, we have catched the reason. That's why BI Server is using to solve this request using ROW_COUNT() to join SAWITH0 and SAWITH1 in SAWITH2 result set. So, the order may not be the same in the results sets in every fact table. More or less, generated query is like:
    WITH
    SAWITH0 AS
    (select ....
    from F1),
    SAWITH1 AS
    (select ...
    from F2),
    SAWITH2 AS
    select from (select ...
    ROW_NUMBER() OVER PARTITION (....) c10
    from SAWITH0.d1 full outer join SAWITH1.d1 ....) D1
    {color:#ff0000}where (D1.c10 = 1){color}
    select SAWITH2. ....
    from SAWITH2
    order by c1..c10
    The problems seems to be that BI server is ordering the result sets SAWITH0 and SAWITH1 and getting row number to join this results sets, but this is not getting the correct result.
    Any ideas?
    TIA
    Javier
    {color}
    Edited by: jirazazábal on Mar 13, 2009 2:46 PM

    I have done a logical fact table with two fact table source on it.
    The Sql performed against the database was this one.
    -------------------- Sending query to database named PRODS_AIX (id: <<153418>>):
    WITH
    SAWITH0 AS (select sum(T21296.CONSUMERS_SALES_EURO) as c1,
         T21309.DIVISION_CODE as c2
    from
         DIVISION T21309,
         C_CONSUMERS_SALES T21296
    where  ( T21296.DIVISION = T21309.DIMENSION_KEY )
    group by T21309.DIVISION_CODE),
    SAWITH1 AS (select sum(T21356.ORDER_VALUE) as c1,
         T21309.DIVISION_CODE as c2
    from
         DIVISION T21309,
         DWH_SALES_ORDER_OVERVIEW T21356
    where  ( T21309.DIMENSION_KEY = T21356.DIVISION_KEY )
    group by T21309.DIVISION_CODE)
    select distinct case  when SAWITH0.c2 is not null then SAWITH0.c2 when SAWITH1.c2 is not null then SAWITH1.c2 end  as c1,
         SAWITH0.c1 as c2,
         SAWITH1.c1 as c3
    from
         SAWITH0 full outer join SAWITH1 On nvl(SAWITH0.c2 , 'q') = nvl(SAWITH1.c2 , 'q') and nvl(SAWITH0.c2 , 'z') = nvl(SAWITH1.c2 , 'z')
    order by c1As you can see one select (SAWITH0) for the first fact table C_CONSUMERS_SALES and one select for the second fact table DWH_SALES_ORDER_OVERVIEW (SAWITH1 ) and the two statement are joined with a full outer join.
    I ask me why you have the three select (SAWITH0,SAWITH1 and SAWITH2). Can you please paste the complete SQL performed ?
    Can you tell us also which SQL is performed if you select only the columns from one fact table and not for the other ?
    Regards
    Nico
    http://gerardnico.com

  • Create a fact table from two Dim Tables - is it possible in powerpivot?

    I have two comma delimited flat files.
    1 - Customer Details (customerCode, Name, Address etc)
    2 - Order Details(OrderNumber, OrderLineNumber, CustomerCode etc)
    The two link by CustomerCode. I can bring both into powerpivot and link them directly, so cna deliver a report quickly. This model will grow however, with product dimension, store dimension and a few others.
    So, i want to design it correctly from the outset, having a DimCustomer & a DimOrderDetail, that both link via a FactTable. I cant figure out how to create a factTable using both Dimensions using only powerPivot & dax. Is it possible?

    Shaping the data before it gets to PowerPivot using Power Query is the easier option:
    http://office.microsoft.com/en-us/excel-help/introduction-to-microsoft-power-query-for-excel-HA104003940.aspx
    http://www.microsoft.com/en-us/download/details.aspx?id=39379
    Ideally, with Power Pivot, the best model is a star schema where you have a single fact table and all the dimensions are linked directly to the fact table and not to one another.  This isn't always possible in real world modeling but it is definitely the
    easiest to deal with when writing measures and designing pivots.  It also generally gives the best performance.

  • How to restore from an incremental backup when new datafiles are added

    1) Source - We have a base backup and then take differential (LEVEL 1) backups every day. Due to business needs, new datafiles keep added daily in the database. So you will see an incremental backup having new datafiles that got created after the LEVEL 0 backup.
    2) Destination - We want to restore this database in the destination host "continiously".
    a) I first restored from the BASE FULL - LEVEL 0 . This was successful (restored and recovered, but did not OPEN the database)
    b) But restoring a LEVEL 1 now on top of the already restored LEVEL 0 makes the restore start all over again if there are NEW DATAFILES added after the LEVEL 0 backup in the source database.
    This is not a problem when no new datafiles are added/modified between the "BASE" and "LEVEL 1" backup.
    So how do you "just restore only the new datafiles" instead of "starting from BASE LEVEL 0 restore" again " ?
    -Thanks
    Srini

    Hi Srini,
    So how do you "just restore only the new datafiles" instead of "starting from BASE LEVEL 0 restore" again " ?The recovery process after the restore should add the newly created datafiles on the destination host.
    Can you check by querying v$datafile in mount mode and post the output?
    Regards,
    Tycho

  • How to show two seperate pivot tables with one select column

    Hi All
    My client wishes to have two pivot tables, one showing positive results and the other showing negative results.
    For Example:
    DIMENSION
    BUSINESS A          1000
    BUSINESS B          500
    BUSINESS C          100
    DIMENSION
    BUSINESS A          -1000
    BUSINESS B          -500
    BUSINESS C          -100
    Is it possible to then select the different DIMENSION with one select column for both?
    Thanks

    Not sure I got it right try this
    for Number column pull twice and set col*-1
    use 2 pivot table for each number type
    cool as ~ http://cool-bi.com

  • Old icons on ALV  report dissappears when new ones are added

    Hi friends
    I have created an ALV report. However, when I tried adding new icons using Set PF-STATUS,
    the original icons are not being shown. THey are totally dissappearing from the screen.
    Is there a way to avoid this.
    Any feed back will be greatly appreciated.
    Thanks
    Ram

    Hi,
    How did you create the GUI status..
    you have to copy the standard gui status..STANDARD from the program SAPLKKBL and then add the button..
    GO to SE41..
    Press Copy status button..
    Frm
       program - SAPLKKBL
       Status   - Standard
    To
      Program - Your program name
      Status    - Your Status
    Once it is copied..
    In the new status add your buttons and activate..
    Now it will show the custom buttons along with the standard..
    Thanks,
    Naren

  • Thanks Roger, but I'm still confused. Can you show me what to put under 'New Item" for adding new episode

    Is there a feed cleaner- upper program  :-)  that I can use for my messed up feed in feedburner?  what are the minimum steps to put under a new episode "item"    Do I need an enclosure withe mp3 < new episode> for each new episode?  I want to just use the album art on my original itune podcast and just add new episodes to my podcast.  I am so confused and frustrated.   :-(
    This is what I would like to see in final product, in itunes store.
    Redeemer Lutheran Church - Sunday Worship Archives    <title>   That's okay
    Description --   yada, yada, yada, yada, etc     < just example >  That's okay too
    Redeemer Lutheran Church - Sunday Worship Episodes
    1 episode
    2 episode
    3 episode
    4 episode
    5 episode
    6 episode
    7 episode
    8 episode
    9 episode
    10 episode
    and so on, with many more episodes
    As it is, I only have the one <original mp3> episode that itunes is showing
    Thanks Roger

    I hate to tell you this but I am not aware of a way that you can. Either you will have to get it out of the radius server or copy the config from the old wlc to the new wlc. Like a PSK its encrypted and you cant extract it.

  • Photostream crashes Windows Explorer when new photo is added

    I am running Windows 7 64 bit, and as my title states, Windows Explorer crashes most of the time when a photo is uploaded from my iOS devices (iPhone 4, iPad 2) to Photo Stream.
    I have seen many posts regarding the imcompatabilites between iCloud and Windows machines. Regardless, I thougght I would post this on here in hope that someone might know the fix to this. As many of my background program relies on Windows Explorer to be consistent, this restarting of Explorer cause me to manually restart many other programs, as well as fear of file corruption.
    I personally haven't uninstalled iCloud as of yet as it is a great part of my workflow. In addition, this is a new machine I have purchased, but this problem has carried over from my last laptop onto here, so I'm certain that iCloud is the culprit. Furthermore, in hope of preventing this problem as I received this new machine, I had installed iCloud after many of my other programs. Still the problem persists.
    Thank you for reading, and any help would be appreciated. Thank you.

    Unfortunately I have uninstalled iCloud long ago. For good. Pretty much lost faith in the whole product and altered my workflow to live without it. Sad I know. But installing again and facing the errors again is not fun until I know it's been revamped majorly.
    I will try again when Apple releases iOS 7. Maybe they'll have some updates on iCloud too.
    Pretty annoying that iTunes asks me to install iClous everytime I plug in my phone though.
    And yes, I use Dropbox with no problems too.

Maybe you are looking for