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.

Similar Messages

  • 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.

  • Using mulitple data models in a report

    Is it possible to use more than one data model in a report? For example, we have many reports that are based on several data models. There are also various sub-templates that could be associated with a report, independent of the report's main data model. I cannot see a way to join data models, leaving me with only two apparent choices:
    1) Add (replicate) all the sub-template data sources and data sets to each data model
    2) Create a mega model that has everything.
    Any ideas for a better solution? Seems like a common problem...
    Thanks,
    Armand

    Hello, and thank you for answering.
    Puting a # infront of portal30.wwctx_api.get_user didn't work
    When i did that, it resulted in this pl/sql code in the package:
    if l_column.get_value = '#portal30.wwctx_api.get_user' then
    l_style := l_row.get_style;
    l_style.set_color('blue');
    l_style.set_background_color('red');
    l_style.set_font('');
    l_style.set_bold('NO' );
    l_style.set_italic('NO');
    l_style.set_underline('NO');
    l_style.set_blink('NO');
    l_row.set_style(l_style);
    end if;
    It looks like the portal treat all that is inside the value field as text.
    I tried to come around the problem by editing the plsql code which is stored in the database. This worked, but when i tried to edit it from the portal afterwards, my changes wasn't reflected.
    Regards Per-Jarle

  • Data model in Interactive Reporting

    Hi,
    Could any one clarify me on What is Data model in Interactive report and how we can use exactly.

    A data model is the physical representation of your tables joined together.
    In SQL terms it the FROM and WHERE (JOIN) clauses.
    an IR Query section depends on a Data Model. That Data Model can be a Master Data Model (Shared with many Query Sections) or a regular Data Model.
    Master Data Models cannot be changed within the Query Section - Their Background is Grey and will indicate so in the upper left corner of the screen...
    Locked Data Model: {data model section name}
    Master Data Models are useful in that you only design it once and then it and its connection are shared with many Query Sections. And modifications to the Data Model are then applied in the Data Model Section and each dependent Query Section has those changes.
    For a more comple defintion open Interactive Reporting and go to HELP. In the Search type "Data Modeling"
    You will have plenty to read.
    Wayne Van Sluys
    TopDown Consulting

  • 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).

  • 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

  • Custom Reports Data Model - can't report on custom dictionaries

    Custom Reports Data Model - can't report on custom dictionaries
    In QA and Prod I see custom dictionaries in the Custom Reports Data Model, in Test there are none.
    Dictionaries and Sevices marked Reportable are not showing up under Dictionaries and Services Dimensions.
    I rerun the ETL and the scheduled tasks, but no luck. any suggestions?

    Do you see any error when you run the ETL, i.e. the Java ETL embedded with the app server? 

  • 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

  • Getting two selection screen in one report

    Hello Friends,
    I am Making report, In my report on first screen i have given two pushbutton, like this :
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    PARAMETERS : p1_but RADIOBUTTON GROUP g1,
                             p2_but RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b2.
    now i want when user click on any one pushbutton it shows another selection screen, whose select options are:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS: so_erdat FOR lf_date,
                    so_vbeln FOR lf_vbeln MATCHCODE OBJECT zvbeln..
    SELECTION-SCREEN END OF  BLOCK b1.
    Please guide me can i use two selection screen in one report?, If yes then how can I use? Please revert back me as soon as possible.........

    Hi,
    you can achieve it only by using two USER_DEFINE_SELECTION SCREEN.
    For detail check the link
    http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba83d35c111d1829f0000e829fbfe/content.htm
    Regards,
    anirban

  • Create data models using interactive reporting

    Hey guys,
    I was wondering how you create data models using interactive reporting. An simple example would be great? I would really appreciate if I could get an answer.
    Also, I wanted to understand a real world situation that you guys might have faced with creating data models, etc...thanks a ton :-)
    -- Adi

    Your question is not that much clear on what you are asking for.
    But for reference please have a look at the below doc which explain the Integration with IR and webanalysis what you require.
    IR and WebAnalysis with Essbase
    Thanks,
    ~KKT~

  • 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

Maybe you are looking for

  • Failed process not in SXMB_MONI_BPE list

    Hi, I'm on Pi7.1 and have a BPM monitoring related problem: In SXMB_MONI I can see, that my process was aborted due to a faild send action (target system not reachable). When I invoke SXMB_MONI_BPE the process instance is not contained in the list of

  • 2 screens and tv-out

    Hi there.. I have nvidia geforce fx5200 with dualhead and tv-out. I have two DFP's connected and now I want to use the tv-out at the same time. Is that possible?, if so please help me, cause i cannot figure it out. Thanks

  • [JS] select blocks of text

    Hello, How to select blocks of text embedded in the image to change their size? thank you very much Bonjour, Comment sélectionner des blocs image ancrée dans le texte pour leur changer la taille? Merci beaucoup

  • Another user downloaded apps and now some of my apps and content are missing.  Can I get them back?

    My son downloaded apps to my Ipad and when I syched  I lost some apps and content.  Can I get it back?

  • Wrong BIOS in support page for Satellite A300D

    Hi all, half hour ago i was searching a driver for my a300d and i found a new bios version 2.80-win64 10/02/12 latest bios is 3.30 back in 2009 new versions are always with biggest numbers ..and never after almost 3 years i'm not stupid enough to try