Filter on Fact columns at report level- obiee 11g

Hello,
The error I am getting in my report is : Incorrectly defined logical table source (for fact table SUMM) does not contain mapping for [LEDGERFACT.CD, LEDGERFACT.YEARID].
The Model(Physical and BMM Layer) is as follows: DIM_LF_B is joined to 2 fact tables LEDGERFACT and SUMMARY
DIM_RPT_PARAM -> DIM_LF_B -> LEDGERFACT
DIM_RPT_PARAM -> DIM_LF_B -> SUMMARY
Note that the aggregation is not set for any of the Fact columns. (I am aware that all measures have to be set some aggregation type , but Client restrictions as not to edit the rpd :( )
Now on the report front, i have pulled following columns:
>> Col name: Description ||| Forumla: DIM_RPT_PARAM.ITEM_DESC
>> Col name: Actual Amt ||| Formula: case when SUMMARY.MONTHID=3 and SUMMARY.YEARID=2012 then sum(SUMM.AMT_1) else 0 end
>> Col name: Plan Amt ||| Formula: case when LEDGERFACT.YEARID=2012 and LEDGERFACT.CD=300 then sum(LEDGERFACT.AMT_1) else 0 end
I am not able to understand as to why the BI server is throwing the error.
I tried removing the case condition and just applying the sum(as below), and the report comes up.
Col name: Description ||| Forumla: DIM_RPT_PARAM.ITEM_DESC
Col name: Actual Amt ||| Formula: sum(SUMM.AMT_1)
Col name: Plan Amt ||| Formula: sum(LEDGERFACT.AMT_1) Also for the following combination the report works
1)
>> Col name: Description ||| Forumla: DIM_RPT_PARAM.ITEM_DESC
>> Col name: Actual Amt ||| Formula: sum(SUMM.AMT_1)
>> Col name: Plan Amt ||| Formula: case when LEDGERFACT.YEARID=2012 and LEDGERFACT.CD=300 then sum(LEDGERFACT.AMT_1) else 0 end
2)
>> Col name: Description ||| Forumla: DIM_RPT_PARAM.ITEM_DESC
>> Col name: Actual Amt ||| Formula: case when SUMMARY.MONTHID=3 and SUMMARY.YEARID=2012 then sum(SUMM.AMT_1) else 0 end
>> Col name: Plan Amt ||| Formula: sum(LEDGERFACT.AMT_1)
Any help appreciated.
Thnks,
Shruti
Edited by: 970002 on Mar 28, 2013 7:18 AM

Hi Shruthi,
To be clear you have one table 'DIM_LF_B' and its separated out as FACT and DIM in BMM layer with respective formulas ? If yes check this http://www.varanasisaichand.com/2012/04/fact-and-dimension-from-single-source.html
let me know if it is different
Thanks,
Saichand

Similar Messages

  • Filter two different columns in a Dashboard, OBIEE 11g

    Hi everyone,
    I have read many times this forum, but I this is my first post. I have a problem with OBIEE 11g and I hope you guys could help me.
    In the dashboard I have created, there is an analysis table which has the following columns:
    (1) Month - (2) Doctor's Name - (3) Num. of Appointments Month 1 - (4) Num. Appointments Month 2
    The point is that I want the users to choose in their dashboard a month to filer column (3) and a month to filter column (4), so they can have a comparative view of the number of appointments for each month. I have tried to do this with prompts, but what happened is that the prompt filtered ALL the columns, not just one of them.
    So, is there any way of filtering just one column? I mean, when in the dashboard view, not in the analysis creation view.
    Thank you in advanced! :)
    Javier
    Edited by: user13724353 on 07-jun-2011 7:30

    Hang on a minute... I think this is possible.
    Set up two dashboard prompts to populate 2 presentation variables for your first and second months.
    Once you have a presentation variable you can fix the value of column 3 and 4 using the "Filter using" syntax (check the functions list when you edit the column formula). By using Filter using you should be able to pass in the value of your presentation variable.
    Paul
    http://total-bi.com

  • Query on filter on fact column

    Query on filter on fact column
    IN OBIA AR Transactions subject Area
    the fact is filtered on (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='UNEARN') in the Informatica ETL
    (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='UNEARN')
    I need to bring in the Tax information  within the subject area from the table above and extend the Filter to include 'Tax'
    (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='UNEARN')
    and
    (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='TAX')- which comes from Account_class
    will this amendment affect the existing subject area and  in turn produce higher report numbers
    secondly
    if i would  like to understand how i would try and work out the report
    AR amount split by tax
    Invoice Number Account class AR Amount
    001  REV  100
    001  Tax  20
    to produce the above report i have to remove the filter on the ETL
    but make sure that when  the user DOES NOT hits the Column Account class in analysis then by default put a filter on the fact column source which keeps only 'REV' or 'UNEARN'
    thanks

    The answer lies in GL revenue analysis subject area 

  • Union report in obiee 11g problem

    HI,
        I build union report in obiee 11g.In that report i have one column i.e Financial month.I have excluded Financial month column in table view.
        Now my requirement is I have to show results based Financial month at dashboard.For example if i select particular month in dashboard prompt,that month data has to reflect on dashboard.
        For getting results I created one dashboard prompt i.e Financial month and kept 'is prompted' at report level.But am not getting results means if i select any value from Financial month prompt then the report on         dashboard will not reflect.Please help me how to get data based on Financial month.
    Regards,
    Kumar.

    Hi,
    you said about writing query in DB.......whether U meant of trying checking the query in toad..or something else..........
    Since im giving only one join from dim to fact in the physical diagram........
    But more than one join exist between those dim and fact, but im giving only one join mainly the primary key column of the dimension table to the fact table....Whether i need to give all the joins that exist(even if it has 2 or 3 joins between those fact and dim) tables....
    If i give count distinct means it is giving count for every nation as 1....like i mentioned below
    NATIONALITY<----------------------------------------------------->NATION COUNT
    INDIA---------------------------------------------------------------------1
    AUS------------------------------------------------------------------------1
    CAN------------------------------------------------------------------------1
    Since you said to check about depts of the particular column....i couldn't able to understand about "depts" that you meant????
    Whether i made any logical mistake...........
    thanks,
    Harry...
    Edited by: HariPrasad on Oct 10, 2010 9:55 PM

  • How to apply filters for union all report in OBIEE 11g

    Hi All
    Can we apply saved filters to union reports in obiee 11g?
    I am able to apply saved filters for normal reports but not for union reports.
    The catalog pane is blank, when i click on result columns or each criteria.
    The only option i see is to manually create the filters for each criteria, dont i have any choice to use a saved filter for union report?
    Is this a bug or something i am unaware. Please guide me
    Thanks

    Hi manu,
    Filter is created based on subject area.we can't use save filter in any other subject areas.
    now we can use new filter for union reports.
    if Helps please mark as correct.. :)

  • Problem in Getting Count answer for the report in OBIEE 11g..

    Hi friends,
    I created a report in OBIEE 11g, but i'm not getting the correct answer as i expected...I'm getting answer in presentation services but the answer is wrong..
    I'll explain to you with an example report: Suppose in the report "NATIONALITY COUNT IN DEPARTMENT WISE" manner
    i dragged the Nationality column from per_all_people_f which is dim table and i dragged the column that i applied aggregation rule "count" for the column "nation count" from per_all_assignments_f which is fact table......If i viewed answers means i'm getting correct answer
    (i.e.) nation count per Nationality..........
    NATIONALITY<---------------------->NATION COUNT
    AUSTRALIA 40
    INDIA 20
    AFRICA 10
    USA 5
    The above is the answer I'm getting with out including the department column from hr_all_organization_units...........
    But since according to the report i need count in department wise manner, so for that along with nationality and nation count column i dragged department column from hr_all_organization_units which is dim table and also i hide that column as i dont want to view the department column in answers..........
    If i clicked answers, means then I'm not getting the nation count for the nationality......... I'm getting the answer 0 for each and every nationality, if i included the hided department column
    NATIONALITY<----------------->NATION COUNT
    AFRICA 0
    AUSTRALIA 0
    INDIA 0
    USA 0
    I'm getting answers like the above if i include the department dimension column which is in hided manner.........................
    What is wrong with it........Whether i made any logical mistake for the report.....If so guide me friends..........
    Cheers,
    Harry...........

    Hi,
    you said about writing query in DB.......whether U meant of trying checking the query in toad..or something else..........
    Since im giving only one join from dim to fact in the physical diagram........
    But more than one join exist between those dim and fact, but im giving only one join mainly the primary key column of the dimension table to the fact table....Whether i need to give all the joins that exist(even if it has 2 or 3 joins between those fact and dim) tables....
    If i give count distinct means it is giving count for every nation as 1....like i mentioned below
    NATIONALITY<----------------------------------------------------->NATION COUNT
    INDIA---------------------------------------------------------------------1
    AUS------------------------------------------------------------------------1
    CAN------------------------------------------------------------------------1
    Since you said to check about depts of the particular column....i couldn't able to understand about "depts" that you meant????
    Whether i made any logical mistake...........
    thanks,
    Harry...
    Edited by: HariPrasad on Oct 10, 2010 9:55 PM

  • How to build a Analysis report in OBIEE 11g

    Hi All,
    I have a query regarding 'How to' to build an analysis report in OBIEE 11g.
    The data model is a financial data model, where information such as Actual, Plan, Forecast, What - if etc for current AND prior year need to be displayed in a dashboard.
    I created two analysis reports one for current year Rep1 and second for prior year Rep2 each with filter criteria as current year and prior year respectively based on years column. and then in the dashboard I created prompt based on scenario column (radio button) for Actual, plan, Forecast, and wht if.
    I am able to show the current vs prior year data in the same dashboard for Actual or Plan or forecast or what if (depending on data availability in the database).
    I want to achieve the same information in a single analysis report instead of two separate analysis reports. I do not want to create separate physical report for current and prior year data.
    I need one analysis report which I can use in dashboard and depending on selection for scenario (actual , plan, forecast or wht if) I want to show the current AND prior year data the way I achieved in with two seperate reports embedded in their respective sections as explained above.
    Does any one have idea how to achive this by building single analysis report?
    If you need any more clarificaiton or have any queries, please let me know.
    Thanks and Regards
    Santosh

    As per I understand your requirement,
    In your Dashboard create a Presentation variable which receives the value of year you select.
    Now in your analysis, select the year column along with all the measures you want (Actual, plan, Forecast, and what-if, etc).
    Create a filter on Year column and convert it into SQL. Put the condition as:
    "Year" BETWEEN @{Presentaion_Variable} - 1 AND @{Presentation_Variable}
    You will get the result for selected year and the previous year.
    Hope it helps..
    Regards,
    A.K.

  • Can we apply saved filters to union reports in obiee 11g?

    Hi All
    Can we apply saved filters to union reports in obiee 11g?
    I am able to apply saved filters for normal reports but not for union reports.
    The catalog pane is blank, when i click on result columns or each criteria.
    The only option i see is to manually create the filters for each criteria, dont i have any choice to use a saved filter for union report?
    Is this a bug or something i am unaware of , Please guide me.
    Regards
    Pranati

    I get the same issue. I thought that it's a problem in a security - the catalog pane is clear in a union report. But saved filters work in 11g. I migrated catalog from 10g to 11g and I see saved filters in the conditions. But you may add saved filters directly into xml. Go on Tab Advanced and edit Analysis XML. You have to add code like this
    <sawx:expr xsi:type="sawx:savedFilter" path="/shared/FOLDER/_filters/FOLDER/FILTER_NAME" name="FILTER_NAME"/> in a right place.

  • Essbase reports in OBIEE 11g

    Hi Experts,
    The Essbase reports in OBIEE 11g is displaying the member names instead of the Alias names. However in OBIEE 10g the Alias names are rightly displayed.
    Can anyone please suggest on how it is possible to display the alias names in OBIEE 11g?

    Hi,
    thanks for ur reply. I checked the above workaround but found that the option Display Column -> Alias is not enabled. So am not able to select it. Hence now Member names is selected.
    Please let me know if i am missing something else.

  • Scheduling a report in OBIEE 11g and BI Publisher

    HI Everyone,
    I have a report. Now i want to schedule this report on monday, tuesday for first week, and monday , tuesday, wednesday for second week , monday, tuesday, wednesday for third week.... etc., like this i want to schedule. Can anyone please help me how This i have to implement for a report in OBIEE 11g, And another report , i have to schedule in the same manner in BI Publisher. Please help me out .,.,.,.
    Regards
    ....

    Hi Everyone,
    I dint get the proper answer to schedule a report which i want it exactly. Let me explain clearly.., Take a month of march, if a schedule a report, it has to schedule like, iin 1st week of march it has to deliver for first two days, in 2nd week, it has to deliver for first three days etc.,.,.,.
    Regards...

  • Is It Possible to create multiple tab report in OBIEE 11g?

    Is It Possible to create multiple tab report in OBIEE 11g?

    Triple post even! Multiple tabs in a single OBIEE  &  https://forums.oracle.com/thread/2560266
    Stick to one post!

  • Diplay all rows for a single report in OBIEE 11g

    Hello All,
    Do we have any way to display all rows by default for only one report in OBIEE 11g rather than the regular 25 rows and clicking on all the rows. Without changing the configuration on instanceconfig.xml.
    Please advice.
    Thanks,
    VidyaS.

    Using Table View:
    Table Properties->Edit View
    Se the max number at 'Rows per Page'
    Or use Pivot Table View
    If helps pls mark as correct
    Edited by: Srini VEERAVALLI on Jan 8, 2013 8:12 AM

  • How to create report in OBIEE 11g?

    Hi,
    I am new to OBIEE 11g.
    Please help me, How to create new report in OBIEE 11g.
    Thanks in advance,
    A. kavya

    Try here: https://apexapps.oracle.com/pls/apex/f?p=44785:24:15065577435567::NO::P24_CONTENT_ID,P24_PREV_PAGE:8113,2

  • Column level filter at RPD level - OBIEE 11g

    Hi all,
    How do i add a filter at the column level in logical layer for one of the metric , it has the following calculation
    case when id in (1,2,3,4,5,5) and category='AS' then case when points=10 or points=9 then 1 else 0 end end
    I want the metric to reused for other id's as well... so i want to put case when id in (1,2,3,4,5,5) in filter of the column. how do i achieve it? plz help
    Thanks,
    Lona

    Your question is not clear, I assume you want points to be reused for other ids, so try this
    case when id in (1,2,3,4,5,5) and category='AS' then
    case when points in (10 ,9) then 1
    else 0
    end
    else points
    end
    if helps mark
    ~ http://cool-bi.com

  • Different calculation on each column in table in obiee 11g report??

    Hi ,
    I have to display values in a table for measures in obiee 11g report which should hold different calculation on each column. For ex:
    Result 1:
    Flag  Display   Transaction  Amount
      C      'A'                 2              3
      C      'B'                 3               0
           SubTotal1            5             3
    Result 2:
    Flag  Display   Transaction  Amount
      H      'C'                 2              11
      H      'D'                  0              0
           SubTotal2          2             11
    Result 3:
    Flag  Display   Transaction  Amount
      H      'C'                 1              0
      H      'D'                  1            0
           SubTotal3          2            0
    Final Result:(Transaction shd hold :-subtotal1-subtal2 , Amount should hold:-subtotal1-subtal2+subtota3)
    Flag   Display               Transaction         Amount
    C    'total tran(1-2)              3                     8
           Total Amnt(1-2+3)'     
    Please help me how can i achieve this ... ??? I am new to OBIEE 11g.
    Thanks,
    Pavi

    There are a few things I cannot understand; I'm assuming Transaction and Amount are fact columns. Then how do they have different values for the same values of Flag and Display ??
    Anyway, sub total can be achieved by going to edit view for the table and from columns and measures area under the Layout pane click on the summation icon and select After.  This will automatically display a grand total value at the bottom of each fact column.
    Now, to get the final result, say Total Transaction you can add a dummy column and edit its formula.
         Total Transaction = trans_subtotal1 - trans_subtotal2 and
         Total Amount = amt_subtotal1 - amt_subtotal2 + amt_subtotal3
         Now if we could say that trans_subtotal1 is the total of transaction value when Flag = 'C' or something like that then you can get this value of subtotal1 by using the formula FILTER(SUM("Subject Area"."Folder".Transaction Column") USING (DESCRIPTOR_IDOF("Subject Area"."Folder"."Flag column") = 'C')).  Similarly we can obtain subtotal2 and subtract them to get the total transaction value.  But I am sure if we can do this because for the same values of Flag and Display, Transaction has different values.  But by using the above formula, the values we obtain for subtotals 2 and 3 will be the same.  So calculating Total Amount would be a problem.
    The above formula is obtained by going to edit formula and selecting the filter option at the bottom of the edit dialog box.
    Hope I made my point clear

Maybe you are looking for

  • What video format do I send a client in France?

    What video format do I send a client in France?

  • How to find ThinkPad serial number if label is worn?

    QuestionI'm having some trouble with my T500 ThinkPad and want to contact service, but am not sure how I can find out the machine type and serial number to provide to support when I call because the sticker on the bottom of the laptop is faded so I d

  • Reader 8.1.2 memory leak??

    I finally caught the thing in time, before reader consumed every bit of memory, RAM and swap, locking up my workstation. top showed 2 instances of acroread, each with 47%+ of memory, and the OS swapping like hell. Fedora 8, current updates - 3.0 G P4

  • Cap on Mail? Need help, important

    Ok, so I have a gmail account and so does my business partner. I have been working on a single photoshop file that is about 128MB. I am trying to send it to him via e-mail, but I keep getting two problems. Either I keep getting a message from Mail at

  • Install OEM for general users

    Is it possible to give access to OEM to general users who are supposed to only view the information and be able to run any admin commands. I am looking at monitoring Oracle for high level things like tablespaces, sqls etc so that someone could watch