Option to join two dataproviders

Hi,
I hope this is sent to the right forum.
This is a question where I believe that the answer is "no - not possible" but I would really like it to be "yes it is possible".
Can anyone confirm my assumptions? Does anyone else feel this should be on a wish-list?
First some words on the setup.
I have two dataproviders. DP1 and DP2. The source data are from different universes as the datasources are on different servers.
The dataproviders have multiple non-equal dimensions, so linking the datsets is not an option. To effectively linking two datasets you must link all dimensions from one of the datasets to the other. 
In some (many?) cases I think this is overly strict.
Say we build a clever universe/query so that the DP1 query has a dimension which is essentially the PK of the dataset retreived. This would require only that dimension to be linked and the rest of the data would be fine.
One option I've been considering is to make all dimensions in the universe as "details" under that "PK" of the retreived dataset. However that would mess up the dimensional hierarchy that is setup in the universe (i.e. an object is either a detail or a dimension / or you need duplicate definitions of ALL dimensions and you really need to keep track of what you're doing).
To generalize - in other setup we could have the data organized in granularity hierarchies. Assuming straight hierarchies we would only need to link the most granular detail of each such hierarchy in order to link two data providers.
/regards Mats

Hi,
Thank you Alex and Pizzaman for you insights into this.
I found a workaround that works. It is possible to re-define the dimensions as details in a report variable. This is only possible if that source is really unique on a key, i.e. it is a true detail.
It is a bit more work. But it will allow me to combine the results into one results report. Still, I think this should be possible to define on universe level instead.
/Mats

Similar Messages

  • Join two dataProviders

    I have a chart with a secondary axis and two ArrayCollections because I want the series on the left axis to update independently from the series on the right axis. Flex charts support only one dataProvider.
    How do I join two ArrayCollections to make one data provider?

    This code uses two data providers, or perhaps I'm not understanding the issue (perhaps post code):
    <?xml version="1.0"?>
    <!-- charts/StyledMultipleAxes.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script><![CDATA[
         import mx.collections.ArrayCollection;
         [Bindable]
          public var SMITH:ArrayCollection = new ArrayCollection([
            {date:"22-Aug-05", close:41.87},
            {date:"23-Aug-05", close:45.74},
            {date:"24-Aug-05", close:42.77},
            {date:"25-Aug-05", close:48.06},
         [Bindable]
          public var DECKER:ArrayCollection = new ArrayCollection([
            {date:"22-Aug-05", close:157.59},
            {date:"23-Aug-05", close:160.3},
            {date:"24-Aug-05", close:150.71},
            {date:"25-Aug-05", close:156.88},
        [Bindable]
        public var deckerColor:Number = 0x224488;
        [Bindable]
        public var smithColor:Number = 0x884422;
      ]]></mx:Script>
      <mx:Stroke id="h1Stroke"
            color="{smithColor}"
            weight="8"
            alpha=".75"
            caps="square"
      />
      <mx:Stroke id="h2Stroke"
            color="{deckerColor}"
            weight="8"
            alpha=".75"
            caps="square"
      />
      <mx:Panel title="Column Chart With Multiple Axes">
         <mx:ColumnChart id="myChart" showDataTips="true">
            <mx:horizontalAxis>
               <mx:CategoryAxis id="h1" categoryField="date"/>
            </mx:horizontalAxis>
            <mx:horizontalAxisRenderers>
                <mx:AxisRenderer placement="bottom" axis="{h1}"/>
            </mx:horizontalAxisRenderers>
            <mx:verticalAxisRenderers>
                <mx:AxisRenderer placement="left" axis="{v1}">
                    <mx:axisStroke>{h1Stroke}</mx:axisStroke>
                </mx:AxisRenderer>
                <mx:AxisRenderer placement="left" axis="{v2}">
                    <mx:axisStroke>{h2Stroke}</mx:axisStroke>
                </mx:AxisRenderer>
            </mx:verticalAxisRenderers>
            <mx:series>
               <mx:ColumnSeries id="cs1"
                    horizontalAxis="{h1}"
                    dataProvider="{SMITH}"
                    yField="close"
                    displayName="SMITH"
                >
                    <mx:fill>
                        <mx:SolidColor color="{smithColor}"/>
                    </mx:fill>
                    <mx:verticalAxis>
                       <mx:LinearAxis id="v1" minimum="40" maximum="50"/>
                    </mx:verticalAxis>          
               </mx:ColumnSeries>          
               <mx:LineSeries id="cs2"
                    horizontalAxis="{h1}"
                    dataProvider="{DECKER}"
                    yField="close"
                    displayName="DECKER"
                >
                    <mx:verticalAxis>
                        <mx:LinearAxis id="v2" minimum="150" maximum="170"/>          
                    </mx:verticalAxis>
                    <mx:lineStroke>
                        <mx:Stroke
                            color="{deckerColor}"
                            weight="4"
                            alpha="1"
                        />
                    </mx:lineStroke>
               </mx:LineSeries>
            </mx:series>
         </mx:ColumnChart>
         <mx:Legend dataProvider="{myChart}"/>
      </mx:Panel>
    </mx:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

  • I do not have an option to join tracks in Itunes 11.2.2.3. My options button has only two choices after selecting multiple tracks.

    I do not have an option to join tracks in Itunes 11.2.2.3. My options button has only two choices after selecting multiple tracks - get track names and submit cd track names. How do I join multiple tracks into one?

    Weird, works for me.
    tt2

  • Join two ThemeBasedFOI in one

    Hello,
    I am working with the Mapviewer Javascript API and I would like to know if it is possible to join two ThemeBasedFOI in one. I have 2 themebasedfoi each one with one style applied and I need to show both of them as only one.
    Thanks in advance.

    No, not with iPhoto.
    You'll need to use an external editor for the job.
    In order of price here are some suggestions:
    Seashore (free)
    _[The Gimp|http://www.gimp.org/macintosh>_ also free
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    [Pixelmator|http://www.pixelmator.com> ($60 approx.)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

  • How to make a curve to join two objects editable?

    Hi, I'm involved in a project in which we're doing a visual editor (written in Java). Now, I'm trying to make curves that join two different objects that I'm painting in a class that extends JPanel (this class is what I'm using to paint, inside a JFrame, overriding the method paintComponent). I'm in troubles because I'm using the class QuadCurve2D to make this, but I cannot make it clickable (I'm using the method contains, but it doesn't work everytime), make it editable (for example, setting a square in its middle point to modify its curvature. The point that is used on the middle of the QuadCurve2D when the constructor is called is outside the curve) or something (method, variable, iterator, etc) that could tell me which Points are in the QuadCurve2D.
    After looking for all of that some time, I have no answer, so I'm trying posting it here to find a solution. Is there anyway to make it with the QuadCurve2D class, or do I have to try with some external library?
    Edited by: mccrank on Jul 2, 2009 10:09 AM

    Used the Pen tool, but click on the correct icon on the top left on the Options Bar. That way you can get a Path instead of a Shape Layer.
    Once you have your Path you can stroke it with a Brush or any drawing tool. Various options appear in the Brushes palette. For a dotted line you will need to increase the spacing. If you want dashes, use a square brush and set the Angle Jitter to Direction.

  • How can i join two libraries from two different users

    how can i join two libraries from two different users in the same computer?

    I should add that you can turn on SHARING where each user can see the other user's library and play stuff out of it. But they can not import those tracks to their own library or put them into their own playlists or burn CDs of the shared library.
    Also note, to do this you need to have the fast switching option enabled with the accounts so both can be running at the same time and both must have iTunes running at the same time.
    Patrick

  • How to join two partition

    How can I join two partition on my macintosh from System Ultility

    You'll have to be more specific.
    IF you are talking about two partitions that were set up through Boot Camp Assistant and you want to remove windows and go back to one partition, then simply run Boot Camp Assistant again and choose the option to reunite the partitions.
    IF you are talking about two Mac, HFS+ partitions, there is no easy way to do it. The only solution would be to make a backup (easiest by making an image in Disk Utility), and then repartitioning both drives as one, then restoring from the backup image.
    Partitioning is usually a "final" process that cannot be reversed; boot camp is one exception.

  • How to join two open endpoints?

    How to join two open endpoints?
    I keep getting this error message even though the endpoints do not have this: "To join, you must select two open endpoints. If they are not the same path, they cannot be on text paths nor inside graphs, and if both of them are grouped, they must be in the same group."
    I've ungrouped everything.
    I've tried using the pen tool to manually join.
    I've moved the endpoint, then tried joining them.
    I've tried command+J.
    Same message everytime.
    And if I use the Pathfinder, I'll get unwanted results (i.e. a new path going right though the art)
    What's going on!?

    blueribb,
    While uploading an AI file is unsorted, you may consider at least one option:
    One is that you have at least one hidden extra Anchor Point, either on one of the paths or as stray or belonging to a third path.
    You may find out by:
    1) Using the Direct Selection Tool to click, not drag over, both end Anchor Point and then Cmd+J, and/or
    2) Using the Direct Selection Tool to click, not drag over, each end Anchor Point by itself and then move it a bit.

  • Outer Join Two tables

    I got two Tables.APPROVAL_ROUTING_TAB and doc_issue_tab where APPROVAL_ROUTING_TAB has more rows. I need to do the join two tables such that All the rows in APPROVAL_ROUTING_TAB should be displayed ( more rows) but still connect with the doc_issue_tab. I did an outer join syntax failed.
    What is the correct syntax for this.
    Key_ref takes the following pattern "DOC_CLASS=PR_CLASS_1^DOC_NO=1000007^DOC_REV=A3^DOC_SHEET=1^"
    SELECT
    ar.line_no LINE_NO,
    ar.step_no STEP_NO,
    ar.lu_name LU_NAME,
    ar.key_ref KEY_REF,
    ar.description DESCRIPTION,
    di.status STATUS
    FROM APPROVAL_ROUTING_TAB ar, doc_issue_tab di
    WHERE
    ar.key_ref = 'DOC_CLASS='||di.doc_class||'^DOC_NO='||di.doc_no||'^DOC_REV='||di.doc_rev||'^DOC_SHEET='||di.doc_sheet||'^') (+)
    Thansk in advance
    Prash

    Other options include:
    with t1 as (select 1 id, 'd1=fred^d2=john^d3=bob^' col2 from dual union all
                select 1 id, 'd1=fred^d2=john^d3=george' col2 from dual),
         t2 as (select 'fred' d1, 'john' d2, 'bob' d3 from dual union all
                select 'jim' d1, 'john' d2, 'bob' d3 from dual)
    select *
    from   t1, (select t2.*, 'd1='||d1||'^d2='||d2||'^d3='||d3||'^' full_col
                from t2) t3
    where  t1.col2 = t3.full_col (+);
            ID COL2                      D1   D2   D3  FULL_COL              
             1 d1=fred^d2=john^d3=bob^   fred john bob d1=fred^d2=john^d3=bob^
             1 d1=fred^d2=john^d3=george                                     
    with t1 as (select 1 id, 'd1=fred^d2=john^d3=bob^' col2 from dual union all
                select 1 id, 'd1=fred^d2=john^d3=george' col2 from dual),
         t2 as (select 'fred' d1, 'john' d2, 'bob' d3 from dual union all
                select 'jim' d1, 'john' d2, 'bob' d3 from dual)
    select *
    from   t1 left outer join t2 on (t1.col2 = 'd1='||d1||'^d2='||d2||'^d3='||d3||'^');
            ID COL2                      D1   D2   D3
             1 d1=fred^d2=john^d3=bob^   fred john bob
             1 d1=fred^d2=john^d3=george             

  • While joining two tables

    Hi all,
    Assume that someone needs to join two tables called PA0002 and PA0008 with keyword PERNR and
    that person needs to read the data of PA0008 aedtm's max.
    That is there are many records based on the aedtm and the user wants to read the last date update and wants to use this in join, not separately.
    Any idea?
    Thanks.
    deniz

    hi use this..
    report.
    tables:pa0002,pa0008.
    data: begin of itab occurs 0,
          pernr like pa0002-pernr,
          vorna like pa0002-vorna,
          nachn like pa0002-nachn,
          begda like pa0002-begda,
          endda like pa0002-endda,
          end of itab.
    data: begin of itab1 occurs 0,
          pernr like pa0008-pernr,
          begda like pa0008-begda,
          stvor like pa0008-stvor,
          ansal like pa0008-ansal,
          end of itab1.
    data:begin of final occurs 0,
          pernr like pa0002-pernr,
          vorna like pa0002-vorna,
          nachn like pa0002-nachn,
          begda like pa0008-begda,
          stvor like pa0008-stvor,
          ansal like pa0008-ansal,
        end of final.
    select-options:s_pernr for pa0002-pernr.
    start-of-selection.
    select pernr
           vorna
           nachn
           begda
           endda
           from pa0002
           into table itab
           where pernr in s_pernr.
    sort itab by pernr begda descending.
    select pernr
           begda
           stvor
           ansal
           from pa0008
           into table itab1
           for all entries in itab
           where pernr = itab-pernr.
    sort itab1 by pernr begda descending.
    loop at itab.
    final-pernr = itab-pernr.
    final-vorna = itab-vorna.
    final-nachn = itab-nachn.
    read table itab1 with key pernr = itab-pernr.
    final-begda = itab1-begda.
    final-stvor = itab1-stvor.
    final-ansal = itab1-ansal.
    append final.
    clear final.
    endloop.
       loop at final.
       write:final-pernr ,
    final-vorna ,
    final-nachn ,
    final-begda ,
    final-stvor ,
    final-ansal .
       endloop.
    regards,
    venkat.

  • Joining two tables in two different schema

    Hi All,
    I have a requirement to join two tables in two different schema. How to join these two tables in view object.
    Many thanks in advance.
    Regards
    Kaushik Gopalakrishnan

    1) If these tables are in one and same database instance, then you can join them by specifying the fully-qualified table names (inlcuding the schema name), for example:
    SELECT ...
    FROM schema_A.table1 T1, schema_B.table2 T2
    WHERE T2.parent_code = T1.code
         AND ...2) If the tables are in different database instances, then you can create a database link in one of the databases and access the table from the other database via the DB link, for example:
    SELECT ...
    FROM schema_A.table1 T1, schema_B.table2@mydblink T2
    WHERE T2.parent_code = T1.code
         AND ...3) If the tables are in different database instances and there is no option for DB links, then you cannot join the tables in an ADF ViewObject.
    Dimitar

  • Problem encountered when join two remote tables in a materialized view

    I'm using oracle 9.2.0.6
    1> I have two tables:
    CREATE TABLE TEST
    A VARCHAR2(100 BYTE),
    C DATE
    CREATE TABLE TEST1
    A VARCHAR2(100 BYTE),
    B TIMESTAMP
    2>. I defined a prebuild table:
    CREATE TABLE MV_TEST1
    ID1 ROWID,
    A VARCHAR2(100 BYTE),
    ID2 ROWID,
    B TIMESTAMP(6),
    C DATE
    3> I created mview logs:
    CREATE MATERIALIZED VIEW LOG ON PSI_TEST.TEST
    WITH ROWID
    INCLUDING NEW VALUES;
    CREATE MATERIALIZED VIEW LOG ON PSI_TEST.TEST1
    WITH ROWID
    INCLUDING NEW VALUES;
    4> when I create mview:
    CREATE MATERIALIZED VIEW PSI_TEST.MV_TEST1
    ON PREBUILT TABLE WITH REDUCED PRECISION
    REFRESH FAST ON DEMAND
    WITH PRIMARY KEY
    AS
    select
    test.rowid id1,
    test.a,
    test1.rowid id2,
    test1.b,
    cast(null as date) c
    from test , test1
    where test.a = test1.a(+);
    It is created successfully.
    5> problem:
    when I use remote tables to do the same thing, say test and test1 are in another instance and are connected by a dbLink, I couldn't create the mview successfully:
    CREATE MATERIALIZED VIEW PSI_TEST.MV_TEST1
    ON PREBUILT TABLE WITH REDUCED PRECISION
    REFRESH FAST ON DEMAND
    WITH PRIMARY KEY
    AS
    select
    a.rowid id1,
    a.a,
    b.rowid id2,
    b.b,
    cast(null as date) c
    from test@dbl a, test1@dbl b
    where a.a = b.a(+);
    when run above statement, I got:
    ORA-12015: cannot create a fast refresh materialized view from a complex query
    Any ideas? Or joining two table through a dblink for a mview is not allowed at all?
    Thanks in advance.

    No one has a clue?
    Message was edited by:
    lzhwxy

  • Need help to join two tables using three joins, one of which is a (between) date range.

    I am trying to develop a query in MS Access 2010 to join two tables using three joins, one of which is a (between) date range. The tables are contained in Access. The reason
    the tables are contained in access because they are imported from different ODBC warehouses and the data is formatted for uniformity. I believe this cannot be developed using MS Visual Query Designer. I think writing a query in SQL would be suiting this project.
    ABCPART links to XYZPART. ABCSERIAL links to XYZSERIAL. ABCDATE links to (between) XYZDATE1 and ZYZDATE2.
    [ABCTABLE]
    ABCORDER
    ABCPART
    ABCSERIAL
    ABCDATE
    [ZYXTABLE]
    XYZORDER
    XYZPART
    XYZSERIAL
    XYZDATE1
    XYZDATE2

    Thank you for the looking at the post. The actual table names are rather ambiguous. I renamed them so it would make more sense. I will explain more and give the actual names. What I do not have is the actual data in the table. That is something I don't have
    on this computer. There are no "Null" fields in either of the tables. 
    This table has many orders (MSORDER) that need to match one order (GLORDER) in GLORDR. This is based on MSPART joined to GLPART, MSSERIAL joined to GLSERIAL, and MSOPNDATE joined if it falls between GLSTARTDATE and GLENDDATE.
    [MSORDR]
    MSORDER
    MSPART
    MSSERIAL
    MSOPNDATE
    11111111
    4444444
    55555
    2/4/2015
    22222222
    6666666
    11111
    1/6/2015
    33333333
    6666666
    11111
    3/5/2015
    This table has one order for every part number and every serial number.
    [GLORDR]
    GLORDER
    GLPART
    GLSERIAL
    GLSTARTDATE
    GLENDDATE
    ABC11111
    444444
    55555
    1/2/2015
    4/4/2015
    ABC22222
    666666
    11111
    1/5/2015
    4/10/2015
    AAA11111
    555555
    22222
    3/2/2015
    4/10/2015
    Post Query table
    GLORDER
    MSORDER
    GLSTARTDATE
    GLENDDATE
    MSOPNDATE
    ABC11111
    11111111
    1/2/2015
    4/4/2015
    2/4/2015
    ABC22222
    22222222
    1/5/2015
    4/10/2015
    1/6/2015
    ABC22222
    33333333
    1/5/2015
    4/10/2015
    3/5/2015
    This is the SQL minus the between date join.
    SELECT GLORDR.GLORDER, MSORDR.MSORDER, GLORDR.GLSTARTDATE, GLORDR.GLENDDATE, MSORDR.MSOPNDATE
    FROM GLORDR INNER JOIN MSORDR ON (GLORDR.GLSERIAL = MSORDR.MSSERIAL) AND (GLORDR.GLPART = MSORDR.MSPART);

  • Can you join two DSO's?

    We have tried joining two DSO's and are getting the warning that "more than one datasource has been used in this report". It appears that the DSO driver does not support joins. The report runs but it is VERY slow, the same sort of performance you get when you try to join data from two datasources that are actually different (like two different SQL Server databases or an Oracle table joined to a SQL Server table). It appears that this is not a supported function with the DSO driver. Any thoughts?

    Yes, we have created the joins between the two DSOs. We are looking into using the Open SQL driver to go against the base tables to see if that will work.  This is how the original ODS driver used to work.
    Update: After changing the join type to a left outer join the performance improved signficantly. Although not ideal it looks like it will be fine for our requirements. This particular report will be run monthly and scheduled to run overnight.
    Edited by: Mike Garrett on Oct 27, 2009 4:28 PM

  • My husband and I have different taste in music....do we have to have two different itunes accounts, or can we somehow share the account (itunes cards, credit card...payment options) but have two different setups???  HELP.

    My husband and I have two different tastes in music....do we have to have two different itunes accounts, or can we somehow share the account (itunes cards, credit card....payment options) but have two different setups???  How does this affect things if you use icloud?? 
    confused....
    thanks for the help.
    Danielle

    If it is in your itunes on your computer, then select it to sync just like everything else that you sync.
    The music must be on your computer.
    iTunes: Understanding Home Sharing

Maybe you are looking for

  • Connecting oracle with php

    hi all, i am using Xammp 1.7.4, PHP version 5.3.5, apache 2.2, and oracle 11g. actually i know how to connect MySql using php, but now i am trying to connect oracle using php. Can any 1 tell me the clear cut steps to do the same ?

  • NAKISA : Flexibility of authorization management

    Hi Experts, Can the authorizations in Nakisa modules be managed independently from those defined in SAP Back-End/Portal knowing that SSO is needed ? Does it depend on the Nakisa module version ? To provide more details : hereafter are the requirement

  • Deactivate default PO price from Info Record

    Dear all, Would someone enlighten me how to deactivate PO price from Info Record. PO condition is setup as not control at plant level. Regards, Peck Har

  • Maxify MB5320 How do I make a duplex document flippable ( reverse side upside down)

    I have a 40 page docuiment, in landscape mode, that I duplex. The doc. will be placed in a binder and when the reader reads it he/she will flip the pages top to bottom. I wish to print the reverse side of each page  upside-down so the reader will not

  • Regarding Adobe Form in WDA

    hai experts, I have incorporated the adobe form in web dynpro ABAP application and then i have placed submit button in web dynpro ABAP application.I wrote the coding in onclick of the submit button.But that onclick event is not triggerd when i run th