Two Data models in one tile class

Hi
I have a requirement where two data models have to be linked by a
common field and printed as one record in a tile. Is it possible to
associate two models directly to one tile class.
Or could you please tell me the work arround.
Regards
Ajai C

Hi Jagjit,
I created one report with 2 SQL queries:
select count(*) from employees where department_id < :P_1
and
select count(*) from departments where department_id < :P_1
And it worked fine. So your report should be OK. By the way, a report has just one "Data Model". It is possible to have 2 or more "Queries" in the data model.
Navneet.

Similar Messages

  • Two data Models in one report

    Hi There,
    I have created two data model for my report. The queries have no relation to each other. Is that possible to put both these in one report with same user parameters. or do u have any better suggestion to do this.
    For Example:
    select count(*) from (select name "Worker" from person
    where start_date between (:P_1) and (:P_2)
    select count(*) from (select name "ADMIN PERSON" from admin
    where start_date between (:P_1) and (:P_2)
    Thanks

    Hi Jagjit,
    I created one report with 2 SQL queries:
    select count(*) from employees where department_id < :P_1
    and
    select count(*) from departments where department_id < :P_1
    And it worked fine. So your report should be OK. By the way, a report has just one "Data Model". It is possible to have 2 or more "Queries" in the data model.
    Navneet.

  • Demantra - can it run with two Data Models in parallel?

    Hello,
    we face the following situation: we have items that have to planned on a daily basis; many other items, however, only need weekly planning.
    Demantra only allows one base time unit in its data model. If we choose "daily" for all products, the system size will increase enormously.
    If we choose "weekly" for all products, we can not plan our daily products for specific days in the week.
    The idea is now to set up a Demantra System with two data models in parallel. Is this possible? Would they reside in different databases or database users?
    The Business Modeller allows to create new models, but can they run in parallel? If they can, how would the user access the different data models?
    Thanks for any hints on this! 

    Can you please elaborate on this issue?
    Thanks

  • Accessing two data sources in one method

    I wanted to access two connection pools in one EJB project. I manage to create two connection pools in weblogic server and I successfully wrote the lookup code. I wanted to call these two data sources in one method. But it only gives result from one data source connection. other is null. Im getting following message also
    Connection has already been created in this tx context for pool named jdbc_informix_pool. Illegal attempt to create connection from another pool: JDBC_informix_webdata
    "jdbc_informix_pool" and "JDBC_informix_webdata" is the names of my connection pools. the two data sources works perfectly when they are accessed separately. but whenever im tryng to call two data sources in one method it retrive data from only one data source and gives me above message.
    anyone know how to fix it.?
    thnx
    sameera

    hi...
    thnx man.. it worked. But there is another problem. I cant close my data source connection. whenever im tryng to close it, it says
    Result set already closed
    i manage to run my program without closing the data source connection. but after a while it says
    No resources currently available in pool JDBC_informix_webdata to allocate to applications, please increase the size of the pool and retry
    i can increase the size of the pool and run my program. but i guess if I close the data source connection this will be resolved. But how can I close my data source connection. I tried finally clause. but it gives me the result set already closed message
    how can i do it.?
    thnx
    sameera
    Edited by: Sameera on Jun 18, 2009 8:35 PM
    Edited by: Sameera on Jun 18, 2009 8:40 PM

  • Can I have two Data Files in One control file of sql*loader tool

    hi,
    Can someone help me out. is it possible to have two Data Files in one control file of Sql*loader.
    And isit possible to run 10,000 records before lunch and 10,000 records before tea and 10,000 records before evening session by giving breaks after every 10,000 records.
    Thanks
    Ram

    Yes. You can specify two datafiles in one control file and can load using sql loader.
    I give you the sample control file.
    Load DATA
    INFILE 'TEST1.CSV'
    INFILE 'TEST2.CSV'
    TRUNCATE
    INTO TABLE TEST_P
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (COL_1,
    COL_2,
    COL_n)
    Hope It will help you.
    -Karthik

  • Obiee 11.1.1.6.6 - analysis displays two dates instead of one prompted

    Hi all,
    my analysis somehow displays two dates instead of one prompted.
    How can it be?
    Tell me please what additional information should I include for you to help me.
    obiee 11.1.1.6.6
    Upd: prompt screenshots
    http://marchello.ccx-grads.org/img/BI_prompt_001.png
    http://marchello.ccx-grads.org/img/BI_prompt_002.png

    This is from "Administration" -> "Manage Sessions" section of obiee
    1) everything seems fine, WHERE clause shows correct date
    SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
       0 s_0,
       "VB"."VBIREP8"."AASYSDATE" s_1,
       "VB"."VBIREP8"."ADAY" s_2,
       "VB"."VBIREP8"."AMONTH" s_3,
       "VB"."VBIREP8"."ARCDATE" s_4,
       "VB"."VBIREP8"."AYEAR" s_5,
       "VB"."VBIREP8"."CONTRAGENTID" s_6,
       "VB"."VBIREP8"."CONTRAGENTNAME" s_7,
       "VB"."VBIREP8"."CREDITS" s_8,
       "VB"."VBIREP8"."DEPOSITARY" s_9,
       "VB"."VBIREP8"."DEPOSITS" s_10,
       "VB"."VBIREP8"."IDENTIFYCODE" s_11,
       "VB"."VBIREP8"."OVERDAY30" s_12,
       "VB"."VBIREP8"."RESTRUCTURED" s_13,
       "VB"."VBIREP8"."SEGMENT" s_14,
       "VB"."VBIREP8"."STATUS" s_15,
       "VB"."VBIREP8"."TOBO" s_16
    FROM "VB"
    WHERE
    (CAST("VBIREP8"."ARCDATE" AS DATE) = date '2013-08-15')
    ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
    FETCH FIRST 100000001 ROWS ONLY
    2) and now attention, I press "next rows" arrow, my WHERE clause is simply ABSENT! 
    SET VARIABLE QUERY_SRC_CD='Report',SAW_SRC_PATH='/shared/VB/8.RB-213.BI.1';SELECT
       0 s_0,
       "VB"."VBIREP8"."AASYSDATE" s_1,
       "VB"."VBIREP8"."ADAY" s_2,
       "VB"."VBIREP8"."AMONTH" s_3,
       "VB"."VBIREP8"."ARCDATE" s_4,
       "VB"."VBIREP8"."AYEAR" s_5,
       "VB"."VBIREP8"."CONTRAGENTID" s_6,
       "VB"."VBIREP8"."CONTRAGENTNAME" s_7,
       "VB"."VBIREP8"."CREDITS" s_8,
       "VB"."VBIREP8"."DEPOSITARY" s_9,
       "VB"."VBIREP8"."DEPOSITS" s_10,
       "VB"."VBIREP8"."IDENTIFYCODE" s_11,
       "VB"."VBIREP8"."OVERDAY30" s_12,
       "VB"."VBIREP8"."RESTRUCTURED" s_13,
       "VB"."VBIREP8"."SEGMENT" s_14,
       "VB"."VBIREP8"."STATUS" s_15,
       "VB"."VBIREP8"."TOBO" s_16
    FROM "VB"
    ORDER BY 1, 3 ASC NULLS LAST, 4 ASC NULLS LAST, 6 ASC NULLS LAST, 5 ASC NULLS LAST, 7 ASC NULLS LAST, 8 ASC NULLS LAST, 12 ASC NULLS LAST, 15 ASC NULLS LAST, 16 ASC NULLS LAST, 9 ASC NULLS LAST, 14 ASC NULLS LAST, 13 ASC NULLS LAST, 11 ASC NULLS LAST, 10 ASC NULLS LAST, 17 ASC NULLS LAST, 2 ASC NULLS LAST
    FETCH FIRST 100000001 ROWS ONLY
    Sure, I receive another date (01.02.2013). Just one thing is strange here - why do I receive only one extra date (I should receive ALL dates in Oracle table when I perform query without any WHERE clause).

  • Two data sources to One Infosource?

    HI GURUS
    Can we connect Two data sources to One Infosource?
    Regards
    Durai

    Hi Expert !
    Thanks
    If we assigned two data sources to an Infosource, all those fields will be availabe in the transfer rule maintanence screen that we can choose and assign to Infosource infoobjects.
    Am I correct?
    Regards
    Durai

  • Combine two date field into one timestamp field

    Hello all,
    I need help combining two date fields into one timestamp field.
    I have separate Date and Milliseconds fields and want to
    combine to one Timestamp field can some suggest sql???

    This is my data
    01 JAN 1989 12:01:00.001 AM
    this is my insert drag_time is a timestamp field in another schema
    INSERT
    INTO DRAG (drag_time)
    SELECT to_char(drag_time, 'DD MON YYYY HH12:MI:SS')||(drag_second)||to_char(drag_time, ' AM')
    FROM sa.drag;
    This is the error
    ERROR at line 3:
    ORA-01855: AM/A.M. or PM/P.M. required

  • Data Load into two data targest from one DataSource

    Hi,
    I want to load data into two data targest from one DataSource. I did full load, then Initialization & delta settings for that DataSource. But I want to load data into one data target using delta InfoPackage & into 2nd data target using Full Load InfoPackage. Can I schedule execution of these 2 infopackges one delta & 2nd Full load InfoPackage for the same DataSource simaltaneously?
    Regards,
    Pradip

    Hi,
    In BI, You can achieve this. As thorugh info package, you laod data till PSA only. Then it is being loaded to other data targets.
    Create two DTPs, one with FULL load and another one with Detla Load. It will work.
    In R/3 Side, As sandeep has mentioned , there might be possibility that if you run full load after delta , your delta may get corrupt. i am not sure about that , but there is a possibility.
    - Jaimin

  • How to use two RFC models in one Data Source for a Interactive Form UI Elem

    Hi
    I want to use two RFC models (two Function Modules from a SAP Backend system) in one context node of a View Controller in order to pass it as the data source to a Interactive Form UI element. Can I use the data binding mechanism directly or have I to copy the data into a Value Node within the view controller.
    Thanks for helping
    René Morel
    SAP (Schweiz) AG

    Rene,
    You can create a local context node in component controller and copy the data from both the RFC's to this node, then bind it to the view controller. Then you can make this view context node as the datasource of the interactive form.
    Regards,
    Anand

  • BCS Data Model (which one is the best)

    Hi,
    We are implementing SEM-BCS 6.0 with SAP BI 7.0.
    We have 2 possibilities for a data model and we need help to decide which one is the best.
    The first possibility is:
    1)       SAP ECC 6.0:
    a.      Define 2 (two) charts of accounts (company chart of accounts and consolidation chart of accounts) that are mapped/linked in transaction FSP0;
    b.      Define Balance and an Income Statement hierarchy for the group/consolidation chart of accounts;
    2)       BW (BI 7.0)
    a.      In BW we also have both charts of accounts, with a Balance and an Income Statement hierarchy for the group/consolidation chart of accounts. These ones were replicated from source system SAP ECC;
    3)       SEM-BCS 6.0
    a.      IN BCS we update the Financial Statement Item automatically based on/equal to consolidation chart of accounts (and not based on Balance and Income statement);
    b.      For reporting issues, we will define BW workbooks,  based on the Group Balance and Income statement,  for Consolidation reporting. In resume, we will have the Balance and an Income Statement hierarchy for the group/consolidation chart of accounts, created in SAP ECC, replicated in BW in order to report consolidated data.
    The second possibility:
    1)       SAP ECC 6.0:
    In R3 we only have the company chart of accounts. For consolidation purposes  we will define a Balance and an Income statement item hierarchies, one for legal report and the second one for management report, which the superior nodes (items) are the aggregation of G/L Accounts (below nodes).
    2)       BW (BI 7.0)
    In BW we will replicate the Balance and Income Statement that was created in SAP ECC.
    3)       SEM-BCS 6.0
    In BCS we would have to:
                                                      i.      Create automatically the Financial Statement Item, based on the items of Balance and an Income Statement hierarchies, which would be a concatenate of the two item hierarchies.
                                                     Or
                                                        ii.      Create 2 Financial Statement Items, where which one would depend on the balance or the income statement hierarchy.
    Which of the possibilities is the best?
    Having 2 charts of accounts (company and consolidation) or just have one chart of accounts (company) and have a balance item hierarchy consolidated and create the financial statement item in BCS having this hierarchy in account and not a consolidation chart of accounts?
    In our opinion the first scenario is the best one, because is seem to be more flexible and as we have the intention to use SEM BPS in the next year, for budget purpose. Furthermore, we think that with the first scenario we can have a FS Chart of accounts (in BCS) that is not dependent of reporting purposes (based on Balance and Income statements). 
    Is this interpretation correct?
    Thanks

    Hi Ricardo,
    Yes, The first one is the best choice and it is the way to work.
    SAP has given some How-to documents, which are available in service market place. These documents also suggest almost same path as first choice.
    Thanks

  • Syncronise two data sets were one set is not constantly logging

    Hello,
    I’m trying to collect data from two counters
    and three analogue signals. The problems I have are that the shaft encoders connected
    to the counters sometimes do not rotate. So no signal is sent and subsequently
    stops the analogue data from being collected until the counters get a signal
    again. I was told to use two independent while loops one or the counters and
    the second one for the analogue signals. To further improve the system and make
    use of the dual core technology I separated the loops completely this means I
    save the data into to files also. But when I want to synchronise the data I
    have no synchronising point in the two sets to align the data to.
    I attached the vi file that might make it easier.
    Thanks for your help in advance.
    Regards,
    Fred
    Attachments:
    parallel_task_11.vi ‏393 KB

    If what you want is synchronize analog input and counter measurement, I suggest you go for buffered AI and buffered count edge measurement. For synchronization, use the AI sample clock as the clock for counter edge measurement. Configure all the tasks (two counter and one AI) and start the counter tasks first and then the AI task. In this way measurement will be synchronized with respect to a common clock.
    Configure counter 1 (CI. Cnt Edges)--> Cnfigure Counter 2 (CI. Cnt Edges)---> Configure AI (continuous)---> Set counter 1's clock as AI Sample clock ---> Set counter 2's clock as AI Sample clock --->Start Counter 1task --->Start counter 2 task --->Start AI task----> read counter 1, counter 2 and AI in parallel loops...
    Have a nice day!!!
    LabVIEW | LabWindows/CVI | TestStand
    Certified LabVIEW Architect

  • Data Modeler 3.3EA2 Driver Class Not Found

    When trying to connect to a SQL Server 2008R2 instance I get teh message "Status : Failure -Test failed: Driver class not found. Verify the Driver location"
    I have added the SQL Server JDBC Drivers to my PATH environmental variable, and even tried to put the JDBC driver into a folder without any white spaces in the directory name
    C:\Progra~1\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar;C:\Progra~1\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc.jar;C:\Temp\sqljdbc4.jar
    I also added the sqljdbc4.jar to the Data Modeler: Third Party JDBC Drivers screen.
    Any thoughts on what can be causing this issue?

    I was unable to get the JDBC ThirdParty Driver to work, since no matter what I did I could not get the Oracle Data Modeler to map to the JDBC jar file. Here is a work around...
    Steps to connect Data Modeler to a SQL Server database.
    On Windows 7
    1. Go to Adminstrative tools -> Data Sources (ODBC)
    2. Select System DSN and setup a connection to your SQL Server database
    3. In Data Modeler click File -> Import to bring up the Database connection string
    4. Click on the JDBC tab
    5. For the OCDBC alias use the connection name you created in step #2
    If anyone else is able to get the JDBC ThirdParty driver to work will you please post it here.

  • Two Data Objects is one too much

    I got a field in a database named 'Date'. Now i want to get the date and formate it. For both operations i need the packages java.sql (for database) and java.text.SimpledateFormatter (to formate the date). Now i get the errror message that java don't now which Date Object i mean in my code, cause Class data is part of the package java.sql and java.text.SimpleDateFormatter. Has anyone an idea?

    I take it you are getting the 'amibiguous' error message returned? To eradicate this, simply import the exact classes of the specific packages you require, as opposed to simply importing the whole package. ie do not just import java.sql.*, on different lines import specific classes. Since this produces no performance degredation it does not matter, and some poeple would say it is a better programming style (unless you are using several classes from a package) since readers of your code can see exactly what you are using and where.

  • Two data sources in one file

    I would like to write capacitance (double) and fluxvalue (double) as a
    function of time to a single file, preferably a spreadsheet. 
    Currently, each one is written to its own file using "Write LabView
    Measurement File".  This causes problems in data synchronization.
    Do I need to create an array first?  If so I had difficulty inputing the correct data type into the array.
    Also, is it possible to save all of my subvi's into a single vi? 
    Thanks for your time and consideration,
    rjhinton
    Attachments:
    capacitance and mag field.vi ‏255 KB

    You can also just use merge signals.
    To write to a plain spreadheet, you could double-click the lvm express VI and configure as follows:
    No Headers
    comma separated
    Now name the file *.csv at the dialog and excel will open it without problems later.
    Message Edited by altenbach on 12-16-2005 11:46 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    MergeSignals.png ‏4 KB

Maybe you are looking for