Vertical Column Report in OBI Publisher

Hi All,
I have a requirement to create a Vertical Report (column) detail report of employees loan deduction (January -December). The report should be in vertical format.
Emp_No    Name       Jan     Feb    Mar    April   > >>>>>> Total
can anyone help me plz..
thanks,

Hi,
I solved the problem,
i wrote a query and i got my result.
check below :
select
      TO_CHAR(TRANS_DT, 'YYYY') AS RECO_YR , emp,
     sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =1 THEN adv_amt  ELSE 0 END ) AS Jan,
      sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =2 THEN adv_amt ELSE 0 END ) AS FEB,
       sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =3 THEN adv_amt ELSE 0 END ) AS MAR,
        sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =4 THEN adv_amt ELSE 0 END ) AS APR,
         sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =5 THEN adv_amt ELSE 0 END ) AS MAY,
          sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =6 THEN adv_amt ELSE 0 END ) AS JUN,
           sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =7 THEN adv_amt ELSE 0 END ) AS JUL,
            sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =8 THEN adv_amt ELSE 0 END ) AS AUG,
             sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =9 THEN adv_amt ELSE 0 END ) AS SEP,
              sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =10 THEN adv_amt ELSE 0 END ) AS OCT,
               sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =11 THEN adv_amt ELSE 0 END ) AS NOV,
                sum (CASE WHEN TO_CHAR(TRANS_DT, 'MM') =12 THEN adv_amt ELSE 0 END ) AS DEC
   from
      Hrt_Loan_Reco
          where emp='11155'
           group by
     TO_CHAR(TRANS_DT, 'YYYY'), emp
   order by
          RECO_YR, emp
hope it will help someone...
thanks

Similar Messages

  • Matrix report in XML publisher with dynamic column groups

    hi,
    i have one matrix report in txt format having 5 columns under 1 month heading.
    Now i want that all these 5 columns should repeat for multiple months depending upon input parameters.
    S. No.
    Organization Name
    Organization Id
    Project Code
    1
    GRANDWOODS 2
    6825
    1495
    month
    January
    Wrk Count Ven
    Wrk Cont Prw New
    Wrk Amt Ven New
    Wrk Amt Prw New
    Tot Amt New
    New
    0
    0
    0
    0
    0
    Existing
    0
    1
    0
    255000
    255000
    Total
    0
    1
    0
    255000
    255000
    rtf template is as follows:
    S. No.
    Organization Name
    Organization Id
    Project Code
    F CS_11
    ORGANIZATION_NAME
    ORGANIZATION_ID
    PROJECT_CODE E
    month
    Wrk Count Ven
    Wrk Cont Prw New
    Wrk Amt Ven New
    Wrk Amt Prw New
    Tot Amt New
    New
    F WRK_COUNT_VEN_NEW
    WRK_CONT_PRW_NEW
    WRK_AMT_VEN_NEW
    WRK_AMT_PRW_NEW
    TOT_AMT_NEW
    Existing
    F WRK_CONT_VEN_EXISTING
    WRK_CONT_PRW_EXISING
    WRK_AMT_VEN_EXISTING
    WRK_AMT_PRW_EXISTING E
    TOT_AMT_EXIS
    Total
    TOT_CONT_VEN_NEW_EXIS
    TOT_CONT_PRW_NEW_EXIS
    TOT_AMT_VEN_NEW_EXIS
    TOT_AMT_PRW_NEW_EXIS
    TOT E
    E
    now, please help me as to how repeat these 5 columns for multiple months.
    if anybody has some template for matrix report with multiple coloumn group repeatation, pls. share along with sample data.
    regards,
    mohit gupta

    Hi,
    Check this link for developing the matrix report
    Oracle Database and Oracle Applications: Matrix Report in XML Publisher
    Regards
    Srikkanth

  • Error when trying to run an FSG Report via XML Publisher...

    hello.
    Hope someone can help.
    This is our first look into the benefits of XML Publisher in order convince Manager to start using it. Thing is, we really need to get both FSG reports and Dunning Letters working.
    We've currently got XML Publisher 5.0.0 and BI Publisher Template Builder for Word v10.1.3.2.0
    First up, FSG reports. Having followed this link here:
    http://solutionbeacon.blogspot.com/2007/07/simple-tutorial-for-publishing-fsg.html
    Ive managed to create a template based upon the basic FSG template supplied. I’ve follwed easy steps but on submitting the request against ANY [its what the notes said] FSG report the error messages from both the log and output files are given.. Those being..
    Output file displayed the most productive error message:
    DECLARE
    ERROR at line 1:
    ORA-06550: line 133, column 8:
    PLS-00306: wrong number or types of arguments in call to 'SUBMIT_XML_REQUEST'
    ORA-06550: line 133, column 5:
    PL/SQL: Statement ignored
    Can anyone help please? Or perhaps suggest an alternative to running FSG reports through XML Publisher.
    Other thought was, do I need any different versions and/or Publisher Enterprise installing?
    Many thanks for reading this..
    Steven

    ..having tried an alternative presentation I got a singular FSG report to generate in PDF via XML Publisher..
    www.darrylcarson.com/Dice/OVOAUG/MAY_2007/XMLP_and_RM.ppt
    question closed..

  • OBI Publisher 11.1.1.5 install questions

    Hello,
    I am new to OBI Publisher. I need OBIP for production PDF reports that are initiated through an APEX webpage.
    I am installing all of these on the same server:
    11.2.0.2 database
    Oracle HTTP Server (OHS)
    OBI Publisher
    I am having trouble installing OBIP. I ran the 11.1.1.5 RCU and selected the OBI component/schemas. The RCU went fine. However, at the end of the OBI install, I received an error at the "Creating ASInstance" step.
    Here is a snippet of the error log:
    [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 35] [ecid: 0000JGFm4uPFw000jzwkno1ErHoD00000Q,0] Created ASInstance. Calling opmn start command
    [as] [ERROR] [] [oracle.as.provisioning] [tid: 35] [ecid: 0000JGFm4uPFw000jzwkno1ErHoD00000Q,0] [[
    oracle.as.management.opmn.optic.OpticException: Error in starting opmn server
    Operation aborted because of a system call failure or internal error
    at oracle.as.management.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:310)
    at oracle.as.management.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:87)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:254)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
    at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
    at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
    at oracle.as.install.bi.biconfig.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:81)
    Any assistance is greatly appreciated.
    Thanks,
    Reid

    Reid -- I suggest you log a service request with Support for this issue
    Mike

  • OBI Publisher 11.1.1.5 Desktop add in not showing in MS word

    Hi Experts,
    I have installed OBI Publisher Desktop 11.1.1.5 and OBIEE 11.1.1.5,
    I worked with Publisher, and created template and reports.
    Once I tried to insert pivot table into template and clicked on preview button,
    I lost the Add-in into MS word 2007,
    I have reinstalled both MS - Office 2007 and BIP Desktop but didnt got Add-In in MS-WORD,
    Thanks in Advance

    Reinstalling Office is a bit extreme. All you needed to do was click on the Office button and view add-ins.
    Similar to:
    BI publisher on Microsoft word dissapeared

  • How to display horizontally to vertically column in oracle

    Dear All
    How to display horizontally to vertically column in oracle,Please give me Sol. ASAP

    Sunil,
    Which column is the sal column? I can’t see any numeric columns in your query. If you use htmldb_item calls in your query column, then this makes them strings and you can’t build sums on string columns. If you want to build sums in an updateable report / tabular form, then don’t use the htmldb_item API. Instead use the built-in display types on the report column attributes page. Using the built-in display types is the better options in most cases anyway and they do allow you to calculate sums even if the column is a text field or display and save type field.
    Regards,
    Marc

  • OBI Publisher display user role

    Hello,
    I have googled for a few hours but cant find a global variable to display the user group(s) on the OBI Publisher report.
    Is that possible without setting up a session variable in the repository (because right now we use OBI without the BI Server repository). If it does not work, how
    do I access a OBI Repository session variable in OBI Publisher? From somewhere I need to get the runtime session user groups.
    Thanks

    The LDAP is configured correctly now. I created a BIConsumer_new catalog group in the presentation services admin console. I can use that
    console to set the permissions for the BI publisher report (somehow it does not work when I try to set the permissions using the bi publisher admin page - the permissions window does not open).
    the question is still out there. how can I query with that catalog group OR ldap group in the BI Publisher data model?

  • OBI Publisher Data Template

    Hi all
    Please can some one tell me where can i find description about Data Template .
    I want to call a PL/SQL Proc inside some package and get data from it.
    I am using OBI Publisher to create new report and defining data model in it.
    Please guide me to some good online tutorial ablut data templage.
    Thanks a lot
    Amit

    Hi,
    You can get some info about DataTemplate (structure etc.) in OBI Publisher Report Designer`s Guide.
    If you want to call PL\SQL procedure you should define your default package and then call proc from it in DataTrigger section.
    Read this guide for additional info and examples =)

  • Query Designer: how to keep all char. in one vertical column when running?

    In query designer, if dragging char. one by one from the left to the row section, when running the query, these row characteristics all show in different columns.  How to show them in one column?  Just give you an example, usually the query result format would like the following:
    Salesman--Sales Office-Sales Org----Quantity
    John--Office1Org1--
    50
    Mark--Office2Org2--
    100
    Kevin--Office3Org3--
    30
    Now, we would like the query result looks like the following format:
    Salesman------Quantity
    John----
    50
    Mark----
    100
    Kevin----
    30
    Salesman Total------180
    Sales Office------Quantity
    Office1----
    xx
    Office2----
    xx
    Office3----
    xx
    Sales Office Total------xx
    Sales Org-------Quantity
    Org1----
    xx
    Org2----
    xx
    Org3----
    xx
    Sales Org Total------xx
    How to generate the above query?
    Thanks and we will give you reward points!

    Hi,
    What you want to do is 3 different views of the same report
    If you publish the information in Excel (workbook) you have to call 3 times the query in three different sheets, and manually do a summary....
    If you publish in the web, then you can have 3 times the same query but with different views on the same page. you can then control the three tables with the same navigation block...
    But your request is not the way Bex works...
    PYG

  • Time Table // vertical ordered report

    Hi
    I need to create a kind of Time Table or vertically ploted report, and i have not exactly an idea how this is possible with APEX.
    the rows / columns of this report should be calculated in a dynamic way, so i cant "hardcode" the size of this table.
    So if anyone has some ideas or tips, it would be great .)
    so far...thank ya

    Hi,
    Tme Table is usually a Pivot Report or Matrix Report. You will find a wealth of inforation on the SQL PL/SQL Forums on how to write SQL queries for that.
    In Apex you may want to consider using SQL Query (PL/SQL Function returing SQL Query) type of report region. Construct your SQL dynamically in the PL/SQL block in the Source.
    Regards,

  • Error while creating a report in BI publisher

    Hi all ,
    I am getting an error while creating a new report in BI publisher .
    the error shown in console is --
    java.lang.SecurityException: /
    In the front end - i am getting
    Operation failed: d:/OracleBI/xmlp/XMLP/Users/~administrator/annapurna/test/test.xdo
    please suggest if anyone knows.

    Hi,
    I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined .

  • Error Code:942 While Scheduling a report in BI Publisher

    Hi All,
    I am trying to schedule one report in BI Publisher.
    After Clicking Submit Button while scheduling report,i get following error:
    Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist Error Code: 942 Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + 50 WHERE SEQ_NAME = 'JOB_ID_SEQ' Query: DataModifyQuery()
    Kindly Help me in resolving this issue
    Regards
    Amrita Singh

    i know the issue,i can give quick fix, but in-order to make sure you don't get another glitch like this.
    I would recommend, you to install the scheduler in another schema or another db.
    Re-installing the scheduler schema tables will fix this.

  • Error while creating DataTemplate based Report in BI publisher

    hi,
    i am trying to create dataTemplate in BI Publisher when i view the report in BI Publisher its gives a error Attribute "valueSet" required
    anyone please help me
    <dataTemplate name="SrBysrtype" description="ServiceRequestBySrtype" defaultPackage="sr" dataSourceRef="demo">
         <parameters>
              <parameter name="owner" dataType="number" defaultValue="57"/>
              <parameter name="srtype" dataType="character" defaultValue="Customer Call"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[
    SELECT incident.Incident_Id IncidentId,
    incident.incident_date IncidentDate,
    incident.Incident_Number IncidentNumber,
    incident.Caller_Type CallerType,
    incident.Status_Flag Status,
    incident.Summary Summary,
    severity.name IncidentSeverity,
    urgency.name IncidentUrgency,
    itypes.name IncidentType
    FROM cs_incidents_all_b incident,
    cs_incident_severities_b severity,
    cs_incident_urgencies_b urgency,
    cs_incident_types_b itypes,
    cs_incident_statuses_b status
    WHERE severity.incident_severity_id= incident.incident_severity_id
    AND urgency.incident_urgency_id =incident.incident_urgency_id
    AND itypes.incident_type_id = incident.incident_type_id
    AND status.incident_status_id = incident.incident_status_id
    AND incident.incident_owner_id=nvl(:owner,incident.incident_owner_id)
    AND itypes.name=nvl(:srtype,itypes.name) ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_SR" datatype="varchar2" source="Q1">
                   <element name="IncidentId" value="incident.Incident_ID"/>
                   <element name="IncidentDate" value="incident.incident_date"/>
                   <element name="IncidentNumber" value="incident.Incident_Number"/>
                   <element name="CallerType" value="incident.Caller_Type"/>
                   <element name="StatusFlag" value="incident.Status_Flag"/>
                   <element name="Summary" value=" incident.Summary"/>
                   <element name="IncidentSeverity" value="severity.name"/>
                   <element name="IncidentUrgency" value="urgency.name"/>
                   <element name="IncidentType" value="itypes.name"/>
              </group>
         </dataStructure>
    </dataTemplate>

    Hi,
    check in your Report definition if there's a parameter defined as Type MENU but without a corresponding LOV.
    Regards
    Rainer

  • Unable to create a report in bi publisher 10g

    Hi All,
    Unable to create a report in bi publisher. When we tried to create a report abcd, then it is giving the below error.
    Operation failed: /abcd/abcd.xdo.
    When we tried to create a report with the existing name, it is saying
    An object with the same name already exists: /crm/crm.xdo
    I can say this is not any permissions problem, I have logged inwith Administrator user.
    Thanks

    Hi,
    Can any one..???

  • Creating the report in BI Publisher with SQL SERVER 2008

    Dear Team,
    I want to create report on BI Publisher....i am able to create report with the help of oracle database ...but i dont'nt know how to create DATA MODEL in sql server 2008 ...
    plz tell me the wright way....
    Thanks,
    Him..

    Hi Jin Chen,
    Thank you for your response. I have disabled all the Symantec End Point Protection Service, but problem persists..
    Further, I have checked through the ULS Log in SharePoint, there is more error reported there:
    11/03/2010 15:19:48.44 ReportingServicesService.exe (0x3510)  
    0x4064
    Windows SharePoint Services   Database                      
    6f8g Unexpected
    Unexpected query execution failure, error code 282. Additional error information from SQL Server is included below. "The 'proc_GetTpWebMetaDataAndListMetaData' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be
    returned instead." Query text (if available): "{?=call proc_GetTpWebMetaDataAndListMetaData(?,'F77D6A37-F8D2-492C-911C-923C8A135DEB',?,NULL,1,?,?,6187)}"
    11/03/2010 15:19:51.46 ReportingServicesService.exe (0x3510)  
    0x4064
    Windows SharePoint Services   General                      
    8e2s Medium  
    Unknown SPRequest error occurred. More information: 0x80020009
    11/03/2010 15:19:51.69 ReportingServicesService.exe (0x3510)  
    0x1EEC
    Windows SharePoint Services   General                      
    8e2s Medium  
    Unknown SPRequest error occurred. More information: 0x80020009
    Do you have any idea based on the error above?

Maybe you are looking for

  • Taking a picture in LabVIEW with USB camera

    Hello: I am trying to find a way to use a Logitech USB camera (or potentially a different USB camera - perhaps a more expensive Edmund Optics camera) to snap a picture in LabVIEW. I have NI Vision software installed as well as the IMAQ USB extension

  • Regarding hr programming

    hello,   can u gave a link having better presentation in hr(human resources) programming comcepts.   thankx,   nagalakshmi

  • Extraction Job in R/3 not started

    Hi Experts, I have deleted setup tables for 12 appl area.and again filled setup table for some delivery documents.But when we are trying to do init with data transfer ,the BI* job in r/3 not started.I mean extraction is not scheduled. We waited also

  • Start Workflow Java Code

    Hello I want to initiate WLI 8.1 Process Flow from a java client. I ahev searched BEA/Google without any results. Please anyone pull me out of this. Thanks in advance. Re, Pranay P Parsatwar

  • Airport wont turn on mac mini

    Hi all this is an incredibly frustrating problem which i hope you can help with. I have a Mac mini (intel) which was running happily running a fully updated leopard os, then for no aparent reason the airport would not turn on rendering wifi conection