How to load data from matrix report in the base using ODI table data

Hello

How to load matrix report data in the base table data using oracle Data Integrator?

Description of the requirement:

This is the data from matrix report:
JOB                       DEPT10                DEPT20  
___________________________ _____________
ANALYST                                           6000
CLERK                   1300                     1900 
Need to convert it to the format below:
JOB                             Dept                        Salary
_____________________________________________
ANALYST                  DEPT10      
ANALYST                  DEPT20                     6000
CLERK                       DEPT10                    1300
CLERK                       DEPT20                    1900
    
Thank you for your help in advance. Let me know if any other explanation is needed.

Your list seems to be a bit restrictive, you can do much more with the procedures of ODI.

If you create the new procedure and add a step. In the 'source' tab command you define technology and pattern according to your source database. Use the unpivot operator as described in the link, please, instead of using "SELECT *' use the column names and aliases for example:"

SELECT workstation,
deptsal as deptsal,
saldesc as saledesc
OF pivoted_data
UNPIVOT)
deptsal-<-->
FOR saldesc-<-->
IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->
)

Then in your tab 'command on target' defined technology and drawing on your target db, then put your INSERT statement for example:

INSERT INTO job_sales
(employment,
deptsal,
saledesc
)
VALUES
(
: job,.
: deptsal,.
: saledesc
)

That's why you use bind variables from source to load data into the target.

Obviously if the source and target table is in the same database, you can have it all in a single statement to the "command on target' as

INSERT INTO job_sales
(employment,
deptsal,
saledesc
)
SELECT workstation,
deptsal as deptsal,
saldesc as saledesc
OF pivoted_data
UNPIVOT)
deptsal-<-->
FOR saldesc-<-->
IN (d10_sal, d20_sal, d30_sal, d40_sal).<-->
)

also assign the log count "Insert" on the tab corresponding to your INSERT statement, so that you know how many rows you insert into the table.

I hope this helps.

BUT remember that this feature is out in Oracle 11 g.

Tags: Business Intelligence

Similar Questions

  • How to load data from ms sql to the by the file rules and maxl essbase

    Hi, everybody!
    Pretty Shure the kind of topic exists already on the forum, but unfortunately can't find it.

    I want to understand, how to load data from the database to ms sql for the PB of essbase application.

    (I) so I have:
    1. a request for 'society '.
    2 and its database 'Plan '.
    3. with simple outline, which contains only two dimensions:

    -The time period < 1 > (Label only)
    -Total year (~)
    -Qtr1 (+)
    Jan (+)
    Feb (+)
    Mar (+)
    -Qtr2 (+)
    APR (+)
    May (+)
    Jun (+)

    -Accounts < 1 > (Label only)
    -Lost / based (~) (Label only)
    -Revenues (+)
    L1.1 (+)
    L1.2 (+)
    -Costs (-)
    L2.1 (+)
    L2.2 (+)

    (II) also, I created a rules file called "CO_DWH" and associated with this schema
    It (Rules file) a 3 columns:
    Data of the 'period', 'account '.

    There is also the option checked "load data".

    (III) in MS SQL Server, I have a database of "hypdb" and "essadmin" with "password" login

    (IV) I executed my bat file:
    C:\Hyperion\EssLoad.bat
    There is only one line:

    EssLoad.bat-
    startMaxl.cmd EssLoad.txt
    ----------------------------------------------

    EssLoad.txt-
    login password admin on erpserver;
    Import database data Company.Plan connect in essadmin password using the server rules_file 'CO_DWH' error abort;
    disconnection;
    "exit";
    --------------------------------------------


    All plans that I copied well worked ERP system, but I don't understand, this is exactly table in the MS SQL database, data loading to essbase db?

    TOU have to do a few things
    1. on the server of Essbase, put in place a system odbc for your MySQL database connection
    2. in the State of charge, go to the file menu and select open source SQL database and in the source of data in your SQL statement. A few tips. Where it says select, don't put in the select Word and when he says to not put in of. The system adds for you. TI enter a simple SQL statement is to do this in the box so select if your SQL would be normanlly as select * from myTable just enter the code as * from myTable in the upscale neighborhood

    The ol/recover the click and fill your connection information. Should bring back the data in the State of charge. Save the State of charge and use

  • How to load data from workflow

    How to load data from workflow (POAPPRV.wft, QAPPRV.wft)

    11i apps

    Hello

    Use WFLOAD to load the workflow data I.

    WFLOAD apps / 0 Y FORCE xxxx.wft
    WFLOAD apps / 0 Y FORCE xxxx.wft

  • How to load data after Migration?

    Hi all

    I've finished in cubes essbase migration from one environment to another using the EAS migration wizard, however I understad it's only brings the application and databases and data. How to load data?

    Thank you.

    Fix. Section Administrator's Guide of the database on migration: "you can reload is to export the data to a text file, upload the file of text on the new server and then use the text file to load the data.

    If you use EAS to do this, see the sections of the user guide on the export of data (http://docs.oracle.com/cd/E17236_01/epm.1112/eas_help/exportdb.html) and loading data (http://docs.oracle.com/cd/E17236_01/epm.1112/eas_help/loading.html). Note that for an export created in this way, you do not need a rules file.

    You can also use MaxL (data export / import data commands).

  • How to load games from Windows 7 in Windows 8?

    How to load games from Windows 7 in Windows 8?

    Could you explain in detail what you want to achieve?

    In general, if you upgrade from Windows 7 to Windows 8, your application, including games is move and run in Windows 8 without getting any action. In some cases, it might be question of compatibility that Windows will notify you during the upgrade process.

  • URGENT: How to load data into essbase R12 by ODI

    Hi all

    Could you please provide me with step by step document "How to load data into essbase R12 directly through the ODI".

    Kind regards

    Rubi

    Hello

    You need below KM

    RKM E-Business Suite

    IKM E-Business Suite (open Interface)

    then follow the link below

    Red shift: ODI for eBusiness Suite integration - in 4 steps

    Hope it helps

    Thank you

  • How can I connect from a PC to another PC using LabVIEW

    New IAM for LabVIEW and need help. How can I connect from a PC to another PC using LabVIEW. IE how to connect to the IP of the PC, another address using LabVIEW. Thanking you.

    There are a few methods of network communications in LabVIEW.

    Some of them, in no particular order:

    -Network shared Variables

    -Flow network

    -Screw HTTP and Web Services client

    -TCP

    -UDP

    (There are also libraries of pre-written e-mail based on UDP/TCP)

    Which the decision to go for depends on many factors (e.g. should you read the last value of variables, flow without any loss of data, data dissemination or send messages/packets of data, etc.). I suggest take you a look at some examples in the finder of the example (help-> find examples...). If you are really new to LabVIEW, I suggest you take some free LabVIEW tutorials - take a look at the links at the bottom of the first post in this thread.

  • How do I update from first pro to the latest version?

    How do I update from first pro to the latest version? My first start screen is changed and projects does not work. Help, please

    Now is that

    Before was the following

    After.jpg

    Hi Prvza,

    Please, open the desktop application creative cloud and update of Premiere Pro.

    Upgrade to Adobe Creative cloud 2015 applications

    Thank you

    Ilyes Singh

  • How can I unsubscribe from all discussions of the Illustrator?

    Hello!
    Some time ago I tried to solve my problem with Amnesty International.
    I got all the answers to the questions that I was interested.
    I get hundreds of messages every day!
    I would like to stop this. How can I unsubscribe from all discussions of the Illustrator?

    Jan

    Go to the main page of the Illustrator forum and click on "Stop email notifications".

  • I have Dell ispron B130 running windows xp, how do I print what is displayed on the screen using the PRNT SCRN key?

    I have Dell ispron B130 running windows xp, how do I print what is displayed on the screen using the PRNT SCRN key?

    The 'Print screen' button is misnamed.  In fact, what happens when you press it, it is that an image of the screen is copied to the Clipboard.  You must then open an application that can work with images (paint works) and paste in the opened window (or right-click > paste or edit > paste).  Then you can use the regular print of this application (for example, the file > print).

    You can also download free IrfanView.  It is a very handy utility.  It allows you to open and view a wide variety of image file formats and also has the capability of the bulk renaming of files and - for your current number - capture screen images and prints them out.

  • How can I get my document to save the last used rotated view?

    How can I get my document to save the last used rotated view?

    Possible with Adobe Acrobat, Adobe Reader No.

  • How to load data from different tables, but record to another table?

    Hi all

    I use the apex and I understand how it updates and saves the files normally.

    In this case, I would need to load from a table, but save on another Board on the button "submit".

    I am aware that it would be easy as forms where I could do a manual insert process. im making in tabular form and I don't really know how to handle this process.

    Suppose that I am loading a set of questionnaires in the form of tables and have a yes / no selection.

    If the questions would come from table A and I need to save it in table B.

    in this case that I can't put just the value default by the tabular row for questions coz it would be dynamic and this example is on a small scale. I would need to load the table A and record in table B.

    could someone guide me on this operation or provide tutorials any?

    Maybe that's what you're after.

    (1) create region report using SQL like this:

    Select apex_item.hidden(1,rownum).

    apex_item.display_and_save(2,question_column) in Question,

    apex_item. Text(3,,4,4) as answer

    from table_a

    apex_item documentation of package found:

    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35127/apex_item.htm

    The pidx (first number) in each apex_item parameter is used to identify this item in the same row of the report' / tabular form.

    (2) create a submit in procedure a bit like that.

    Start

    because I 1.apex_application.g_f01.count loop - identifies the "apex_item.hidden(1,rownum)" at the top and gets a count of how many times it occurs

    Insert into table_b (question, answer)

    values (apex_application.g_f02 (i), apex_application.g_f03 (i));

    end loop;

    end;

  • How to load data from the EBS to HFM

    I'm new to HFM. Now, I need to load the data from the EBS to HFM. How can I do this? Version of the EBS is R12.1 and HFM is 11.1.1.3.

    Hello

    Have you looked in the help of FDM 11.1 x version. It has adapters for EBS and you can also map the HFM entities.

    Thank you

    Partnered Bhatti

  • How to load data from Oracle tables into essbase?


    Hello

    I'm fairly new to essbase. We are working on essbase 11.1.2.2.

    I want to build size & load data using pre-existing data warehouse which is built on Oracle.

    I try to use "Open SQL". I use OIC.  It is gicing me connection error (1021001).

    The following log shows:

    [Sea 14 Aug 14:15:06 2013] Local/SA_EB_1/MIS_FIN/SA0053580@Native Directory/10868/Info (1021097)
    EssOCI Initializes the connection to the Oracle database on the server [tmdwtst1]

    [Sea 14 Aug 14:15:25 2013] Local/SA_EB_1/MIS_FIN/SA0053580@Native Directory/10868/Info (1021099)
    EssOCI could not connect to the Oracle database with error message [ORA-12154: TNS: could not resolve the connect identifier specified]
    ]

    [Sea 14 Aug 14:15:25 2013] Local/SA_EB_1/MIS_FIN/SA0053580@Native Directory/10868/Error (1021001)
    Cannot establish a connection to the SQL database server.  See the log for more information

    [Sea 14 Aug 14:15:25 2013] Local/SA_EB_1/MIS_FIN/SA0053580@Native Directory/10868/Warning (1080014)
    Transaction [0 x 2650001 (0x520b4392.0x69b68)] abandoned due to the State [1021001].

    Help, please.

    Thank you

    Sam

    You use the correct format for the OIC:

    Host: port / Oracle_service_name

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • How to load data into the App MVDEMO schema example

    Hi all

    I'm a POC on Oracle Mapviewer and try to build some reports in OBIEE using MApviewer.

    This POC, I use Oracle MVDEMO example Data (11g). I think that these sample data covers few countries like the USA.

    I need to make PDS for the Brazil, I downloaded data from the map of the site as Shapefiles Brazil

    http://GADM.org/country

    in these data of the Brazil, I got from .csv files 4 extensions, .dbf, .shp and SHX

    I need to know how can I load these files into my Oracle 11 g DB? Should I load data into the same pattern of mvdemo, if yes then which table?

    Any help will be appreciated a lot.

    Thank you

    Amit

    Use the Java shapefile Converter utility (http://www.oracle.com/technetwork/database/options/spatialandgraph/downloads/index-093371.html)

    GDAL (gdal.org) FME (Safe) or or MapBuilder.

    Specify the to SRID (i.e. the SRID for loading in Oracle geoms) 4326 or 8307.

    Load into a new table named anything you want. for example brazil_gadm with the geometry named GEOMETRY column

    Once it's loaded, verify that there is an entry for the table and column (BRAZIL_GADM, GEOMETRY) in user_sdo_geom_metadata

    Create a space on brazil_gadm.geometry index if the tool has not created a.

    Add the definitions of topic for the country, State or whatever the admin areas exist in the dataset.

    Import them as layers in OBIEE.

Maybe you are looking for

  • Maddening dialog box keeps popping up

    Sometimes I get in a situation where a dialog box keeps popping up and the only way to stop it is to close Labview via Manager Windows tasks. Currently, for example, its happening with the error below. Is it possible to end with elegance the program?

  • Iphone6: impression from my iphone

    I have an iphone 6 and I can't print to hp about impression every time I try to print it says my printer is offline, but in fact it is that I am able to print from my Tablet and desktop computer online. All suggestionds woould be useful. Thanks Jo

  • I'm trying to connect two monitors and one using the hdmi port and the other vga. How can I get the pc to recognize the two?

    Original title: multiple monitors I'm trying to connect two monitors and one using the hdmi port and the other vga. How can I get the pc to recognize the two?

  • Inspiron 15R or XPS 15?

    I found these two laptops in my price range, and here are the specs: Inspiron 15R- Intel Core i7 Windows 7 Hard drive 500 GB 8 GB RAM 1 GB NVIDIA GeForce GT 525 M graphics card £599.99 XPS - 15 Intel Core i7 Windows 7 Hard drive 320 GB 8 GB RAM 2 GB

  • E10: Insight Eloqua roadblocks

    We met some roadblocks with Eloqua Insight on obtaining the reports you need scoring and lead campaign.Filtering currently Eloqua Insight and metrics are limited to fields like name, address email, company, system and created Eloqua date. Criticism,