How to create a report of vm-info of several scripts?

Hello

I combined several scripts for the following and it ceates 4 correct outputfiles.

But it is possible to create a 1fichierdesortie with all the lines?

Thank you, Robert

  1. Initialization section *.

##################################

  1. Declaring global and static variables

  2. VMware VirtualCenter server name

$vcserver = 'coat '.

  1. Path to the output file

$outputfile1="D:\Output_scripts\VMware\VMinfo_part1.csv".

$outputfile2="D:\Output_scripts\VMware\VMinfo_part2.csv".

$outputfile3="D:\Output_scripts\VMware\VMinfo_part3.csv".

$outputfile4="D:\Output_scripts\VMware\VMinfo_part4.csv".

$outputfile_total="D:\Output_scripts\VMware\VMinfo_Total.csv".

#################

  1. Add VI-toolkit

#################

Add-PSsnapin VMware.VimAutomation.Core

Initialize - VIToolkitEnvironment.ps1

to connect-VIServer $vcserver

  1. *************   Start Process 1   *********************************************

$report1 = @)

Get - VM | % {

$vm = $_ | Get-VMGuest

$row = "" | Select VMname VMTools, IPAddr1, IPAddr2, IPAddr3, OsFullName, host name

$row. VMname = $_. Name

$row. VMTools = $vm. State

$row. Host name = $vm. Host name

$row. IPAddr1 = $vm. IPAddress [0]

$row. IPAddr2 = $vm. IPAddress [1]

$row. IPAddr3 = $vm. IPAddress [3]

$row. OsFullName = $vm.osfullname

$report1 += $row

}

$report1 | Sort - property VMname | Export-Csv $outputfile1 - NoTypeInformation

  1. *************   Start Process 2   *********************************************

$Report2 = @)

Get - vm | % {

$vm = get-view $_.ID

$row = "" | Select-Object VMname, VMState, TotalNics, TotalCPU "TotalMemory Mb.

$row. VMname = $vm. Name

$row. VMState = $vm.summary.runtime.powerState

$row. TotalNics = $vm.summary.config.numEthernetCards

$row. TotalCPU = $vm.summary.config.numcpu

$row. {TotalMemory MB} = $vm.summary.config.memorysizemb

$report2 += $row

}

$report2 | Sort - property VMname | Export-Csv $outputfile2 - NoTypeInformation

  1. *************   Start Process 3  *********************************************

$report3 = @)

Get - vm | % {

$vm = $_

$disksize = (($_ | get-harddisk | mesure-objet-propriété CapacityKB-somme).) Sum) / 1 Mb

$_ | Get-Datastore. Where-Object {$_.} Type - eq "VMFS"} | % {

$row = "" | Select "Disc Total GB" data store, Aantaldisks, VMname

$row. VMname = $vm. Name

$row. Aantaldisks = $vm. Harddisks.Length

$row. Data store = $_. Name

$row. {Total GB drive} = $disksize

$report3 += $row

}

}

$report3 | Sort - property VMname | Export-Csv $outputfile3 - noTypeInformation

  1. *************   Start Process 4  *********************************************

$ROTAP = @{name = "ROTAP"; Expression = {$_.} CustomFields.Item ("ROTAP")}}

$User = @{name = 'User'; Expression = {$_.} CustomFields.Item ("User")}}

$Description = @{name = 'Description'; Expression = {$_.} CustomFields.Item ("Description")}}

Get - VM | Select-Object - property 'name', $ROTAP, $User $Description | Sort - Name property. Export-Csv $outputfile4 - noTypeInformation

  1. *************   End Process   ***********************************************

Disconnect-VIServer-confirm: $false

Run the Export - Csv cmdlets 4 each write a specific table in the CSV file.

Each group has different properties or columns if you want to make the analogy with the CSV file.

Because you can't have a CSV file with different columns that will not be possible as far as I know.

An alternative could be that you collect all the information in a line that has all the properties.

This way you go you end up with 1 table that you can export to CSV file 1.

Here's how it could be done for the first 2 CSV files

Get-VM | % {
     $vmGuest = $_ | Get-VMGuest
     $vm = Get-View $_.ID

     $row = "" | Select VMname, VMTools, IPAddr1, IPAddr2, IPAddr3, OsFullName, Hostname,
                        VMState, TotalNics, TotalCPU, "TotalMemory Mb"
     $row.VMname = $_.Name
     $row.VMTools = $vmGuest.State
     $row.Hostname = $vmGuest.Hostname
     $row.IPAddr1 = $vmGuest.IPAddress[0]
     $row.IPAddr2 = $vmGuest.IPAddress[1]
     $row.IPAddr3 = $vmGuest.IPAddress[3]
     $row.OsFullName = $vmGuest.osfullname

     $row.VMState = $vm.summary.runtime.powerState
     $row.TotalNics = $vm.summary.config.numEthernetCards
     $row.TotalCPU = $vm.summary.config.numcpu
     $row.{TotalMemory Mb}= $vm.summary.config.memorysizemb

     $report += $row
}
$report | sort -property VMname | Export-Csv $outputfile -NoTypeInformation

As the basis of each report is the loop through all the guests (Get - VM cmdlet) should be quite easy to incorporate the other 2 files CSV in a similar way.

Tags: VMware

Similar Questions

  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • How to create a report in excel for a table?

    How to create a report in excel for a table?

    Creating an excel report

    the forage value off markup html on spool on

    coil emp.xls

    Select * from noshow.

    spool off

    moved the markup html off the coast of the coil

  • How to create a character of text in Illustrator by Script?

    I want to add a Rectangle around characters.

    With indesign: I can create the outline of the characters,: ex: Dim oaPols = oRange.CreateOutlines (False)

    But with Illustrator can only create TextFrame shape.

    How to create a character of text in Illustrator by Script?

    Thank you all.

    AHA!

    You can duplicate your original text block, put a coat of any color on the range of text you want and then create the contours of this copy. Now, the characters who are all developed in transparent traces will be in their correct positions and contours more will be your flagged - items you can delete the rest.

  • Need advice on how to create the report

    I don't know how to do this, so I ask for advice from the gods apex...

    Here is the question, I have two tables I need to combine the info from. not a problem in his car. I can do it. but here's the question. in table A, I have some data such as title, theids, disc_id, etc... Table B contains fullname, theid, emplid

    now in the table A column "theids" is filled with apex as a multi select list. the values in the column is therefore something like 48; 3; 88

    He got these identification numbers of the Table B (popup lov) query that returns theid of the one of the person.

    now, I need to create a report that will be used in an excel download and what they want is a line by disc_id and they want the most useful "cost" in the field where to run the "theids." It is instead of:

    disc_id title theids
    101 the 48 test; 3; 88

    they want:

    disc_id title Theids
    101 N33456, N3457, try N43562

    so I'm a bit stuck, I can understand how to write a sql using instr to get something like this:
    101 N33456 of test
    101 N3457 of test
    etc.

    but this isn't what they want. so I think I need to create a package to do this and some sort of return values. the problem is that I can't figure out how I can replace the 48; 3; 88 to N33456, N3457, N43562

    I'm still new to this kind of things pl/sql and apex sorry if this appears to be an obvious answer.

    If you have a look at this example:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:138

    You'll see there

    SELECT empno, ename, job, mgr, sal
      FROM emp
     WHERE INSTR(':'||:p138_select_empno||':', ':'||empno||':') > 0
    

    and

    p138_select_empno is a multiple selection list displaying the names of the employees and containing the string of nosm as 7888; 8900; 3499.

    This info is enough to get to a function like this:

    CREATE OR REPLACE FUNCTION get_string (p_string IN VARCHAR2)
       RETURN VARCHAR2
    IS
       v_string   VARCHAR2 (4000);
    BEGIN
       FOR c IN (SELECT ename
                   FROM emp
                  WHERE INSTR (':' || p_string || ':',
                               ':' || empno || ':'
                              ) > 0)
       LOOP
          v_string := v_string || ', ' || c.ename;
       END LOOP;
    
       v_string := LTRIM (v_string, ', ');
       RETURN v_string;
    END;
    

    and use this function in a report like this:

    SELECT get_string (:p138_select_empno)
      FROM DUAL
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • How to create the report using the procedure.

    Hi all

    I want to create the report in the apex. But I don't have a sql code. I have a single procedure. Is it possible to create the report using this procedure in the apex.

    CREATE OR REPLACE PROCEDURE headcsv_prc2

    AS

    CURSOR cr_header

    IS

    SELECT ood.organization_code, fm.formula_no AS "FORMULA_NAME."

    FM.formula_vers AS "FORMULA_VERSION."

    FM.formula_desc1 AS "FORMULA_DESC."

    DECODE (fm.formula_status,

    100, 'new ',.

    400, "approved for use in the laboratory."

    700, "allow the general."

    800, "We Hold."

    900, "frozen."

    1000, "obsolete/archived.

    ) AS "FORMULA_STATUS."

    DECODE (fd.line_type, '1', msib.segment1).

    DECODE (fd.line_type, '-1', msib.segment1 ') ingrediant.

    DECODE (fd.line_type, '2', msib.segment1) AS "BY_PRODUCT."

    DECODE (by_product_type,

    "W', 'waste."

    "R',"rework. "

    "Y', 'Yield."

    The of ', 'Sample. "

    NULL VALUE

    ) AS "BY_PRODUCT_TYPE".

    Of org_organization_definitions ood,.

    fm_form_mst fm,

    fm_matl_dtl fd,

    mtl_system_items_b msib

    WHERE ood.organization_id = fm.owner_organization_id

    AND fm.owner_organization_id = msib.organization_id

    AND msib.organization_id = fd.organization_id

    AND fd.organization_id = ood.organization_id

    AND fm.formula_id = fd.formula_id

    AND msib.inventory_item_id = fd.inventory_item_id

    - and fm. FORMULA_NO like '% THE % '.

    AND fd.line_type IN ('1 ', ' 2', '-1' ")

    Ood.organization_code GROUP,

    FM.formula_no,

    FM.formula_vers,

    FM.formula_desc1,

    FM.formula_status,

    FD.line_type,

    MSIB. Segment1,

    by_product_type

    ORDER BY fm.formula_no, fm.formula_vers;

    BEGIN

    Dbms_output.put_line (INITCAP ('the ORGANIZATION CODE')

    || ','

    || INITCAP ('NAME FORMULA')

    || ','

    || INITCAP ('FORMULA VERSION')

    || ','

    || INITCAP ('FORMULA DESC')

    || ','

    || INITCAP ('FORMULA STATUS')

    || ','

    || INITCAP ('PRODUCT')

    || ','

    || INITCAP ('INGREDIANT")

    || ','

    || INITCAP ("PER PRODUCT")

    || ','

    || INITCAP ('PER TYPE OF PRODUCT")

    );

    FOR ch IN cr_header

    LOOP

    Dbms_output.put_line (ch.organization_code

    || ','

    || ch.formula_name

    || ','

    || ch.formula_version

    || ','

    || '"'

    || ch.formula_desc

    || '"'

    || ','

    || ch.formula_status

    || ','

    || ch. Product

    || ','

    || ch.ingrediant

    || ','

    || ch.by_product

    || ','

    || ch.by_product_type

    );

    END LOOP;

    EXCEPTION

    WHILE OTHERS

    THEN

    Dbms_output.put_line (' No error: ' |) SQLCODE. "Error Msg: ' '.

    || SQLERRM

    );

    END;

    EXEC HeadCSV_Prc2



    Thank you

    Rambeau

    Hi Christian,

    In addition to the fact that the Oracle database has an internal Java engine and it would be possible for Apex call a Java stored procedure, the Apex really has nothing to do with Java. To create a report, you discovered, you specify a SQL query. In certain circumstances, you can embed a query in a PL/SQL function, but the incorporation of an arbitrary Java application and waiting for it to be called from Apex for a kind of security is there with the fairies.

    I recommend you research the Apex and then enter your so-called "higher authorities" how things work.

    Concerning

    André

  • How to create new report in 11g Server?

    Hello experts,
    I use fusion middleware 11g. I know in 10g
    start the re [server ports such as:]
    rwserver Server = repsrv1 start

    same thing I want to do in 11g.

    as I started the weblogic server-wls_reports and wls_forms

    I'm calling the report with the following code:

    {code}
    DECLARE
    pl_id PARAMLIST;
    Temp VARCHAR2 (7);
    config_path varchar2 (100);
    IP varchar2 (20);
    RepID report_object;
    store_var varchar2 (150): ='z:\NEWTON\FAC\REPORTS\RFAC009. RDF ';
    vc_reportserverjob varchar2 (100);
    v_rep_status varchar2 (100);
    report_job_id varchar2 (100);

    BEGIN
    Select trim (ip_addr) in the bms_ip_m investigation period;
    IF: block_m.fromdate IS NOT NULL
    AND:Block_M.ToDate IS NOT NULL
    THEN

    Rep: = find_report_object ('RP2RRO');
    set_report_object_property (RepID, report_filename, store_var);
    set_report_object_property (RepID, report_server, 'REPSRV1');
    set_report_object_property (RepID, report_execution_mode, LENGTH);
    set_report_object_property (RepID, report_comm_mode, SYNCHRONOUS);
    set_report_object_property (RepID, report_destype, cache);
    set_report_object_property (RepID, report_desformat, 'pdf');
    --------------------------------parameter code---------------------------------------------------------------------
    pl_id: = Get_Parameter_List ('tmpdata');
    IF this is Id_Null (pl_id)
    THEN
    Destroy_Parameter_List (pl_id);
    END IF;
    pl_id: = Create_Parameter_List ('tmpdata');
    Add_Parameter (pl_id, 'PARAMFORM', TEXT_PARAMETER, "NO");
    Add_Parameter (pl_id, "model", TEXT_PARAMETER,: global.company_name);
    Add_Parameter (pl_id, 'LOCN_CODE', TEXT_PARAMETER,: global.company_gl_locn);
    Add_Parameter (pl_id, 'FROM_DATE', TEXT_PARAMETER,: block_m.fromdate);
    Add_Parameter (pl_id, 'TO_DATE', TEXT_PARAMETER,: block_m.todate);
    --------------------------------------------------------------------------------------------------------------

    vc_reportserverjob: = RUN_REPORT_OBJECT (repid, pl_id);
    report_job_id:=substr(vc_reportserverjob,length(:global.r_server)+2,length(vc_reportserverjob));
    v_rep_status: = report_object_status (vc_reportserverjob);
    If v_rep_status then 'DONE' =
    Web.show_document ("http: / /'|: global .host |': ' |: global .port |' / Reports/rwservlet/getjobid ' |")
    report_job_id |'? Server ='|: global .r_server, '_blank');
    on the other
    message ("error when running report" | v_rep_status);
    end if;
    end if;
    end;
    error is: unable to find the report server REPSRV1.
    
    i am new to 11g. 
    
    please help me how to start report server and if i want to create the new report server with name REPSRV1 then how to create it.
    
    thanks
    yash                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    At first, component report in 11g is the same in 10g, so if your code worked in 10g then it will work on 11g.

    But I think without having to create report server as what you were doing, Oracle fusion middleware already creating for report you the server and you can use it.

    You can find the name of the report server in the following path:
    'C:\Oracle\Middleware\asinst_1\config\ReportsServerComponent\ '.
    In this way, you will find the file, which is the report server, you can use this one, named something like this "RptSvr_yourcomputername_asinst".

    I hope this will help you.

    Kind regards
    Ahmad karajh

  • How to create a report in this style

    Hello

    I faced a problem with the display of reports in the dashboard.

    There is a prompt of the year, if I choose to 2010, the report will show sales of three years, namely 2009,2010,2011, given three years.

    as:

    2009 2010 2011 YEAR
    SALES 100 200 300

    and if I choose to 2009, it will display 2008,2009,2010, given three years.

    How can I achieve this requirement?

    waiting for your help, thank you!

    Here you go... Just blindly follow these steps and you're done.
    (1) create a command prompt of the year with variable presentation as pv_year

    (2) create a report saying report Mid year with selected 3 times column
    -Put a filter of pv_year presentation on the first column of the year with a default variable tell @{pv_year} {2008}
    -Rename the second time column say YEAR + 1 and change the fx to CAST (TIME_DIM. ("' YEAR ' AS INT) + 1
    -Rename the second time column say YEAR-1 and change the fx to CAST (TIME_DIM. ("' YEAR ' AS INT)-1
    Now when you run the report environment, this will give you a records whose value as 2008-2009-2007

    (3) create your main report with criteria such as pass year and measure
    -Change the fx for column year as CAST (TIME_DIM. ("' YEAR ' AS INT)
    -Now to put a filter on the year column with filter based on the results of another application and select them:
    Relationship = superior or equal to one
    Registered request = browse mi report
    Use the values of column = YEAR-1
    -Again, put a filter on the year column with filter based on the results of another application and select them:
    Relationship = less than or equal to one
    Registered request report Mid = browse (incase it does not select and select any other application first, then report Mid)
    Use the values of column = YEAR + 1

    This will select year > = 2007 AND year< =="" 2009.="" hence="" the="" results="" will="" be="" for="" year="">

    This will 100% work...
    http://i56.Tinypic.com/wqosgw.jpg

    See you soon

  • How to create the report of this style?

    Hello

    I have a problem when creat a report using obiee, this is a monthly report, the layout like calendar,.

    There is a quick baseed on the month, if I choose 201109, the report will be poster of daily sales and the number of customers in September.

    Every day have the sale and every day must be listed, first line display name of 7 days, second row shows sales and number of customer information,

    third row display name of 7 days, and all the following steps.

    1 sep | 2 sep | 3 sep | 4 sep | 5 sep | 6 sep | 7 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    8 sep | 9 sep | 10 sep | 11 sep | 12 sep | 13 sep | 14 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    15 sep | 16 sep | 17 sep | 18 sep | 19 sep | 20 sep | 21 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    22 sep | 23 sep | 24 sep | 25 sep | 26 sep | 27 sep | 28 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    29 sep | 30 sep
    Sales: sales 10: 10
    No: 10 no: 10

    Thank you! waiting for your response.

    So you're a user same as below:
    How to view the report by using the style of calendar in obiee

    Follow my instructions. Also, give a look at this http://bischool.wordpress.com/2010/10/22/calendar-view-in-obiee-and-applications/

    You can have dates instead of the name of the day, but you must ensure that your definition is very clear in your time dimension i.e. each week week 7 days. You table looks like his week to jump and you have each month as 30.31 or 28 days...

    Come and play and you're done... hope its helpful

  • APEX4: How to create a report whose data are based on the date of entry of the user fields

    With the help of 4 Apex I create a report that allows the user to enter two dates and displays a report between the date range.

    How can I do this?

    Thank you.

    Go to Actions > filter in your IR and ther, you can create several conditions to filter your report.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to create a report for the various sets of payroll

    Would like to know the select query which can help me to create a report for a monthly payroll payroll courses in a single pay period.
    We sometimes 1 or 2 payroll run as long as single pay period.
    I want to see all my reports based on a payroll including run how can I do this please?

    Help, please!

    SELECT< columns="">
    of pay_payroll_actions App.
    pay_all_payrolls_f women's wear,
    TPP per_time_periods
    where papf.payroll_id = ppa.payroll_id
    and ppa.effective_date between papf.effective_start_date and papf.effective_end_date
    and ppa.action_type IN ('Q', 'R')
    and ptp.payroll_id = papf.payroll_id
    and papf.payroll_name =: pPayrollName
    and ppa.date_earned BETWEEN ptp.start_date AND ptp.end_date
    and: pDate BETWEEN ptp.start_date AND ptp.end_date

    Make a Date and the name of payroll. The query should list all series pay down in the period in which falls the date.

  • How to create the report in the following form?

    Hi all

    How I use studio EN to create reports.
    I want to create a report that will show me accounts and accounts of each entity, which means I want to keep the entity in the size of the page in the dimension of the line. The report should be done in such a way that if I take an entity in the dimension of the page then it will show a few accounts in the dimension line that
    are specific for this entity and in the same way, if I take another entity in the dimension of the page then it should show me another different set of accounts in
    the dimension of the row corresponding to this specific entity.
    How can I do this in my report?


    Thank you

    There are two ways that you can achieve this goal.

    You have never given in combinations of entity/account disabled? If this isn't the case, I would like to delete missing lines.

    Is there the potential for existing data in invalid combinations of entity/account, then I would create a specific account that defines the valid combinations. Think of it as a Boolean, a value of 1 for the valid combinations or 0 for invalid combinations. I would then use the 'Advanced Options' en to delete values based on this account.

    Hope this helps,
    -Jake

  • How to create interactive reports database connection?

    I installed the interactive web reporting client of hyperion workspace.

    When I create a new document for creating interactive reports in the workspace file > new > Document > create a document of interactive report > data source >

    He is asked to select the database connection, which I am unable to create. Please guide me.

    Thanks in advance.

    Hello

    To create the ECAS, you first have to decide whether to use an ODBC connection or ike Client.Then Oracle create using the Interactive Studio Reporting of the OCÉ customer. Then check if the BQY works with this OCE connection.

    After that you need to publish (import) in the workspace. Also, in the workspace, you must make entries of data (DAS entries) that will allow to use the drivers to connect to the database of the ECO.

    Then, you must publish the BQY and associate it with the ECO.

    HTH,

    Thank you

    KK

  • How to create editable report manually even as a default with on report send the page


    Hello

    Is it possible to create the report updatable manully would even editable report by default.

    I created 4 report can be updated in a single page, but submits the entire page when adding empty lines.

    I need to add additional blank lines using dynamic measurements or any otherwise with the page request.

    Thank you

    RJ

    Thank you Lakshmi,

    His work!

  • How to create a report (timesheet) with columns as the row values?

    Hello

    I created a table in APEX 4.2.2.00.11...

    CREATE TABLE "TRIAL_3_DETAILS"
      ( "CONSULTANT" VARCHAR2(20),
    "CLIENT" VARCHAR2(10),
    "PROJECT" VARCHAR2(20),
    "BILLABLE" VARCHAR2(10),
    "TASK" VARCHAR2(50),
    "DATE_" DATE,
    "EFFORT" NUMBER
      )
    /

     

    now, I want to create a report "Time Sheets" where the date values are columns in the weekly timesheet with other columns like customer name, project name, etc...

    also, I want the value of the estimated effort to the title of the column date of...

    Task

    Customer

    Project

    Bill (Y/N)

    < date >

    < date >

    < date >

    < date >

    < date >

    < date >

    < date >

    Hours

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >.

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    Is it possible to create this type of report?

    Syed

    MikeKutz wrote:

    Use TO_CHAR() to 'calculate' the day of the week.  Then, use this value.

    1. WITH e
    2. (
    3. SELECT consultant, client, project
    4. the task, effort
    5. TO_CHAR(date_,'Day') day_of_week
    6. billable
    7. OF trial_3_details
    8. -WHERE date_ between ____ and ____
    9. )
    10. SELECT *.
    11. E
    12. PIVOT (sum (effort)
    13. FOR that day_of_week IN ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday')
    14. )

    Note that you actually need to use 'fmDay' as the mask of format of date with this approach. Using of 'Day' will result in all the day_of_week values be padded with blanks to the length of the longest value (Wednesday), then this will be the only match value in the pivot:

    SQL> with t as (
      2    select
      3        to_char(trunc(sysdate) + (level - 1), 'Day') d
      4      , round(dbms_random.value(0, 100), 2) z
      5    from
      6        dual
      7          connect by level <= 10)
      8  select
      9      *
    10  from
    11      t
    12  pivot (
    13      sum(z)
    14      for d in ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'));
    
      'Monday'  'Tuesday' 'Wednesday' 'Thursday'  'Friday' 'Saturday'  'Sunday'
    ---------- ---------- ----------- ---------- ---------- ---------- ----------
                                83.23
    

    Using "fmDay" avoids filling and the pivot works according to the needs:

    SQL> with t as (
      2    select
      3        to_char(trunc(sysdate) + (level - 1), 'fmDay') d
      4      , round(dbms_random.value(0, 100), 2) z
      5    from
      6        dual
      7          connect by level <= 10)
      8  select
      9      *
    10  from
    11      t
    12  pivot (
    13      sum(z)
    14      for d in ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'));
    
      'Monday'  'Tuesday' 'Wednesday' 'Thursday'  'Friday' 'Saturday'  'Sunday'
    ---------- ---------- ----------- ---------- ---------- ---------- ----------
        60.16    125.09      44.17      77.5      3.63      82.89      26.22
    

Maybe you are looking for

  • Is there a firefox download that does not require 7zip to extract?

    For me, 7-zip is blocked by Group Policy (which I can't control) and I want to find a full exe which is not extracted using 7zip. Several posts already evoke here goes https://www.mozilla.org/firefox/all/ to get the full download, but at least the En

  • Dashlane module does not work after updating firefox 33.1.1

    The add-on dashlane does not work after last update of firefox for 33.1.1. Gray Impala stays and seems to be offline. Re-install the add-in dashlane does not work, delete also en reinstall firefox does not work.I am running dashlane and firefox on ma

  • Satellite A30 crash

    My lap top crash when I run antivirius scan. So I thought it was a virus and wiped all the provided disks but after charging fully charge zone alarm pro and avg antivirius tried to scan and less than 10 minutes it crashed again. It starts well and ru

  • KQ246AA

    How to test this webcam to see if it works?  I can see the device in the control panel. Thank you

  • address ipvn/IP begins with 169 instead of 162

    Well, I have a HP all-in-one 20 BO13w which had win 8 OS and a client wanted to win 7 32 bit on it so I installed a new copy with product and has been authenticated by Microsoft and when I plugged the internet both ethernet and wireless, everything w