Report Generation from Multiple Facts

I am looking at the options to generate reports based on facts with different grains. The requirement I present here is generic and Im exploring options on this.
Lets say we have two facts fact1 and fact2. The common column between these facts is named - common_column
Now as the grain is different at any point of time, the report generates the data based inline with following SQL
SELECT fact1.column_1, fact1.common_column , aggregate_fun(fact2.column_2 group by fact2.common_column ) from....
Options
*1. Creating a third fact* - A straight forward solution is to create a fact3 and store all the info the report needs
*2. Using fx in OBIEE report* - Use an expression to get the desired output using fx
Do you have any better options that you would suggest to meet this ?
Thanks

I understand what you are speaking about. Not sure if that would stop us down the name but as of now, my requirement is slightly different hence I believe it should work fine.
Did you refer any good article that shows us how to create logical tables and use it ?
I created a logical table with the two facts as the sources and try to save it. It fails with consistency check and My_Logical_Table. does not join to any other logical table.
Do I need to create two logical tables in my case one for the first fact and one the second fact and use them.. ?
Apparently I wasnted to create a single logical table with the sources as fact1 and fact2 so that it shows the segregated data in one logical view. Any thoughts ?

Similar Messages

  • OBIEE report from multiple facts at different levels

    Currently we need to develop a report with columns from 3 different facts surrounded with conformed and non conformed dimensions at different levels.
    After setting the hierarchial levels and putting the facts into single logical table with different sources OBIEE is generating 2 different queries and does a full outer join.
    I would like to know how we can do a left outer join instead of full outer join between the 2 queries based on a common column?
    Thanks in advance.

    Hi Vinod,
    The scenario provided in the link above doesnt match to my issue.
    We need to develop a report from multiple fact tables at different levels with conformed & non conformed dimension columns.
    I have 7 dimensions D1, D2, D3, D4, D5, D6 and D7 & two fact F1 and F2 tables.
    F1 is tied to dimensions D1,D2,D3,D4,d5
    F2 is tied to dimensions D3,D4,D5, D6 and D7.
    In my report I have columns from D1, D2, D3, D4, D5, D6, D7, F1 and F2.
    So OBIEE generates 2 queries with columns from D1,D2,D3,D4,d5 & F1 measure and another query with D3,D4,D5, D6, D7 and F2 measure.
    and then does a cross fact join out of box between 2 queries.
    But I need to do a left outer join between the 2 queries on a common column instead of cross fact join. I would like to know how we can achive this.
    Thanks.

  • Filters on non-conforming dimensions when fetching data from multiple facts

    Hi,
    I would like to confirm my understanding about how OBI fetches data from multiple facts. I have set up the BMM layer. Through Answers I am getting data from multiple facts as expected. However, is it necessary to base filters only on the conforming dimensions? If I do so, I am getting the correct data. But if I filter data on non-conforming dimensions, then I am getting more data which I am not expecting.
    Suppose, Fact1, Fact2 and Fact3 share a CommonDim dimension. If I have a filter on CommonDim, then the filter is used on the three fact tables. However, if I filter data based on Fact1's DimTwo which is not shared by Fact2 and Fact3 and I have measurements from all the fact tables, then from the SQL generated, it seems that OBI is fecting all data from Fact2 and Fact3 and data from Fact1 where DimTwo = 'SomeValue'. Then it seems to be merging the data from the three result sets.
    Is this expected, esp. a scenario where a filter is based on a non-conforming dimension (DimTwo in the example)? Have I missed anything? What do I need to do, if I want to return rows from Fact1 based on DimTwo's filter and then if there is data on Fact2 and Fact3 based on the value in CommonDim corresponding to DimTwo's filter?
    Please let me know.
    Thanks and regards,
    Manoj.
    PS.: I have got a link now which is http://obibb.wordpress.com/2010/06/06/multiple-fact-reporting-on-non-conforming-dimensions-part-ii/
    Edited by: mandix on 25-Oct-2011 12:01

    Hi
    The problem you describe is similar to mine (I wrote several threads ago).
    That is, if there is a non-conformed dimension in a report then the column from the fact table which is not connected with those non-conformed dimensions containes zeros or blanks.
    Was this problem solved? I didn't quite catch one of previuos messages... If you can please repeat it more detailed.
    What I tried to do is to set Total level in the Content tab (LTS properties). In this example - I could set Total level to JOBS in the plan type dimension. But it didn't help.
    So if you know what to do then please describe it here...

  • Print Report - Choose from Multiple Formats Part II

    Hello again!
    I followed the instructions to create a report that gives the client the option to select an output format using a select list. ( http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm#t2 ).
    This works great, but I have a predefined template that I created using BI Publisher that I would like the PDF report format to use instead of the generic layout. All the other formats can use the generic layout option, but the PDF report needs to use the .rtf file. Is this possible, and if so, how?
    Thank you!
    T

    Here is one possible idea, from bi publisher forum: Re: Automatically  selecting a rtf template from multiple templates
    Thank you,
    Tony Miller
    Webster, TX
    "Understanding is a three edged sword. Your side, their side, and the truth" - Kosh Naranek

  • Print Report - Choose from Multiple Formats

    Hello!
    I need to give the client the option to print a report to a pdf file and an xls file via 2 different buttons/links. I have a functioning button right now that opens a pdf file (.rtf created using BI Publisher) but I'm trying to figure out how to do the same for an xls file (no specific layout; client needs to sort columns). I can create a link to an xls file via the Print Attributes tab, but then my button to open a pdf file breaks (I get a 'missing expression' error).
    TIA!
    T

    If I may suggest looking at this article.. It shows how to let the user select their output from a dropdown list...
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm#t2
    Might be easier then multiple buttons on a page, just a thought..
    Thank you,
    Tony Miller
    Webster, TX
    "Understanding is a three edged sword. Your side, their side, and the truth" - Kosh Naranek

  • Diadem report generation from LabView: textbox, textobject​, table

    Hello everybody,
    I'm trying to generate a report from LabView and want to use DIAdem reports as templates because they easy (I thought) to configure and design.
    Well, I managed to include several pictures and textboxes that I can fill dynamically with the information I want using the reort generation vi, but I ran into some problems when it gets into detail:
    I also need to include a bunch of statistical data in the report together with the name of the variable. e.g. it's supposed to look like this:
    testname: 

    duplicate

  • Runtime report generation from legacy Sales tool

    My organization (IT) is looking to move the runtime contract/invoice reporting from an existing product and service sales tool (contracts and invoices are produced for the customer) to an environment where report template design and ownership can be maintained by the business and not IT and its vendor.  Mostly due to the complexity involved in designing and maintaining these reports at the vendor for a tool that is not explicitly designed for reporting.  Crystal Reports looks like it might accommodate this requirement.  However, I'm having trouble located examples of implementation.
    Specifically, we'd like our current sales tool, on user selection to generate a quote to customer, to output an xml data set and via rpc/web service/etc initiate a CrystalReports service, resulting in a docx (or similar) file back to the client. 
    Where can I find historical examples of such implementations?  Or where might I find use case -> solution mappings that might address this sort of implementation?  What about methods, ie, direct service call or via web service.
    Thanks in advance.

    I moved your query to the .NET Development - Crystal Reports forums because
    1) the query is really not about Crystal Reports design
    2) the query touches on web services or other application development
    Your query will probably require a bigger discussion than what a forum can provide, but here is a small overview of how I see this coming together.
    I think you need to define a bit better the following;
    rpc/web service/etc
    Which one? Why web service? Why something else? Any solution will require coding. Which language? With Crystal Reports you have the option of using SDK for .NET or Java. Which one is your preference?
    output an xml data set and via rpc/web service/etc
    If you decide to go with .NET you will have to create an ADO datset dll populate it with the XML data and then get CR to connect to the dll. Consuming an XML directly with the .NET SDKs is tricky and full of gottchas at best. If consuming an XML directly is the prefered way to go, use the Java SDK and then you will have to post your questions to the [Java Development - Crystal Reports|SAP Crystal Reports, version for Eclipse; forum.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Problem with RTF Report Generation From OAF Page

    Hi,
    I have a requirement where from OAF page, on a button click, a RTF report should be generated. Template has been already defined for the same. If I want to generate report in .xls or pdf, it is working fine but in case of RTF it is showing that "Word cannot start the converter mswrd632" and then onclick of ok, it is displaying some junk data in word doc.
    Below is the code written in PFR-
    else if((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
           outputType = "application/vnd.msword";//"application/vnd.ms-word.document";//"application/vnd.ms-word";
           ext = ".doc";
    if ((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
          TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, TemplateHelper.OUTPUT_TYPE_RTF, null, pdfout);
    else
          TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, (byte)btype, null, pdfout);
    Please help urgently by sharing your ideas about solving this problem.
    Thanks,
    Annie

    hi Annie,
    Please check the links may be it will help you:
    https://forums.oracle.com/thread/2185528
    https://forums.oracle.com/thread/2545516
    https://forums.oracle.com/thread/2543842
    https://forums.oracle.com/thread/2342141
    if you get the right solution please mention here, it will help others.
    Regards
    Mahesh

  • How to fetch data from multiple fact tables from a normalized schema?

    Hello everybody,
    I am working on a normalized schema to build my repository. I have categorized the tables into dimensions and facts. I have 3 fact tables in my schema and they have a 1:m:1 relationship i.e. if I have table A, B, and C; A has 1:m relationship with B and C also has 1:m relationship with B. How can I use measures from these tables to create a star schema. If A = Sales, B = Transaction, C = Payment_Amount
    Sales(Sales ID, Amount, Tax pct, ...)
    Transaction(Transaction ID, Sales ID, Payment ID,Transaction Amt, ...)
    Payment_Amount(Payment ID, Check ID, Payment Made, ...)
    Please give me some direction to pursue.
    Thank you!
    D

    Hi dcole,
    Go through this link for snowflake schema http://gerardnico.com/wiki/datamodeling/snowflake_
    http://www.rittmanmead.com/2007/06/19/obiee-data-modeling-tips-1-integrating-1-1-and-1-many-source-tables/
    I suppose it should work with snowflake schema...Im interested in this topic please let me know what is your approach every now and then.
    By,
    KK

  • Crystal Reports generation from XML datasource or file.

    How to generate the crystal report(.rpt file) from XML/XSD file as input..?
    I'm trying out this from 'Crystal Reports in Eclipse'.

    Same problem here using CR4J v.2 sp1<BR/>
    This is the complete StackTrace:<BR/>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error al cargar el conector de base de datos. No se pudo obtener acceso a la clase 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
         at com.businessobjects.samples.InformePruebaXML.main(InformePruebaXML.java:64)
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Error al cargar el conector de base de datos. No se pudo obtener acceso a la clase 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
         at com.crystaldecisions.reports.queryengine.Connection.ur(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.uB(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.br(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.bs(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.t1(Unknown Source)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         ... 4 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         ... 32 more
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: No se pudo cargar el conector de base de datos 'crdb_xml.dll'.
         at com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader.loadDriver(Unknown Source)
         ... 36 more
    Edited by: Asier Camara Martin on Jun 1, 2009 2:16 PM

  • SSO in BO if the Report  is from Multiple Datasources

    Hi,
    We have requirement to design crystal reports from both Bex query and CRM table.
    Saved in BOE and wile running the report i'm getting an Error:
    "Database log in information for this report is Incomplete or Incorrect"
    We assigned a generic ID &Password and select the option u201CUse same DB Log on as when report is runu201D then it will work.
    But this scenario doesn't apply when comes to Data security.
    Can someone advice how the SSO in BO works psl?.
    Thanks,
    Jothi

    With assigning Aliases of the systems and roles and still went further to have the same password for the data sources that has been used in report then the SSO issue got solved.
    I afraid when User runs the report in NW portal and they will enter their Network User-id & Password and report might returned an Error.
    Can you suggest, why there is need of having a same password for different data sources to get the SSO work?.
    Is there any other work around available ?.
    Thanks,
    Jothi
    Edited by: Jothirmayee on Mar 1, 2012 2:57 PM

  • Report generation from BI with HUGE data base.

    Dear All
    Can anyone gimme solution for problem given below ?
    I am trying to generate Customer / Vendor related report from BI.  Data base is too too big.  Whenever i try to generate report, system gets hanged and report does not get generated.
    Need help in this.
    Regards
    Ramesh Barve

    Hi Ramish,
    Not enough info...
    What verison of Crystal Reports are you using?
    Are you sure it's hanging and you simply have to wait for the report to generate? If there are millions of records being returned and client side  or second pass filtering/formatting it can take time to render that report.
    Are there any errors being reported? CR will apeear to be hung, it's simply waiting for the database to start streaming the data back and appears to be not responding.
    If you add record selection filtering does that retunr data?
    WHY are you returning that much data? It can't possibly be of any use to anyone. Do not use CR as a database archiving tool.
    Don

  • Report generation from oracle database

    I need help in generating a report and the data needs to be populated from the oracle database
    Thanks,
    Balaji

    Hi,
    1 do you need somehow to persist the report data in CRX?
    2 do you want to use CQ Reporting tool? (http://dev.day.com/docs/en/cq/current/administering/reporting.html)
    If no & no, you just have to do a servlet that access your database through a datasource.
    If 1, you have to do a background job, that will regularily retrieve data from a datasource.
    If 1&2, please refer to http://dev.day.com/docs/en/cq/current/developing/developing-reports.html
    If 2 without 1, you would have to override the tool to use your homemade servlet that access the datasource

  • How to trigger report generation from a external application?

    Post Author: samdc
    CA Forum: General
    Dear,
    I've a service desk and if a button is pressed a report should be generated with the information in that service desk database and that report should be visualized. The report design is done and can be generated now only the call from the service desk application has to be added?
    Can anyone help me with this?
    Thanks in advance
    Best regards
    Sam De Coster

    The Essbase Java API is a part of the Analytic Provider Services (APS) product in Essbase 9.3.x, Analytic High Availability Services (AHAS) in 9.0.x through 9.2.x and the Essbase Deployment Services (EDS) product in Essbase 7x. When you install it, there is a samples subdirectory with many java code examples.
    Tim Tow
    Applied OLAP, Inc

  • Report Generation Toolkit (Word) : How to use correctly bookmark and cross-reference without "Error! Reference source not found"

    Hi,
    I try to generate a report using a template. In my template I use some cross-reference to refer to one bookmark. For exemple in the first page I created a bookmark for my name and in the header I created a cross-reference refer to my name. The problems is when I run my VI the bookmark actualise perfectly but the cross-reference refer to the bookmark can't actualise with the same value and generates an error : "Error! Reference source not found".
    Can somebody help me please!
    Nki
    Solved!
    Go to Solution.
    Attachments:
    01.jpg ‏72 KB

    Hi,
    When i create the word template, the bookmaks and the cross-reference referred to the bookmark update correctely. The problem is when I try to change the bookmark using "report generation from template vi" the bookmark change but not the cross-reference and the error generated is "Error! Reference source not found". 
    I make coople reasherch and i think they have no solution for this because : "if the text in a heading referred to in a cross-reference is revised, the cross-reference to the heading may no longer work" (http://office.microsoft.com/en-us/word-help/troubleshoot-cross-references-HP005189368.aspx).
    To "resolved" this problem I create an other bookmark in the template who have the same value white the principle bookmark.   
    I use Labview 2011 and Micosoft office 2010.

Maybe you are looking for

  • Flex Time error: Too many disk I/) tasks (Elastic Audio)...

    I've been using flex time to take a sample in straight time and make it swing, but I've been having playback issues. I get two different error windows 1) Extreme compress factor detected during playback (Elastic Audio) (-10025) and 2) Too many disk I

  • Working with bootstrap css file after opening the browser

    working with bootstrap css file after opening the browser when i came back on working on bootstrap my computer started hanging and opning new tabs  and showing message " A caused the program to stop working correctly.Windows will close thoe program a

  • SHA-256 with WebLogic Server

    We are being forced to migrate our SSL certs from SHA-1 to SHA-256. We will be using Oracle WebLogic Server 10.3.4 for Oracle FMW Portal. Can anyone tell me if WebLogic supports serving SHA-256 certificates? If so, is there any documentation on this?

  • Correct my UDF

    If TXT02 is null then Blank else OBJ= TXT02 is under one segment say X My logic which dint work If X and TX02 exist and TXT02 =(Equals ,text function) null ->if Then " " else TXT02="OBJ= " actually we used BPM in this scenario. Using the above logic,

  • Field P0003-TRVFL trips assigned not set in IT0017

    Dear SCN-Members, in IT0017 field "trips assigned" (p0003-trvfl) should be set automatically when employee has trips. I have one employee, where this field is not set although he has trips and I do not have any idea why. I have other employees with s