Displaying Months in Matrix Report like Jan-01  Feb-01

How can I display Months like Jan-01 Feb-01 in Matrix Report of Oracle Report 6i.
I tried using to_char(myDate,'Mon-YY') but it displayed months in Alphabetical Order like Apr-01 Aug-01 and so on.
I need something like this.
Item Jan-01 Feb-01 Mar-01 Apr-01
Item-A 100 200 300 400
Item-B 100 200 300 400
Best Regards,
Luqman

Dear Dan,
Thanks for your suggestion.
My problem is to display Oracle Data (Hiredate Field of Oracle Scott.Emp Table) in Matrix Report of Oracle Report Version R6i in the format of :
Dec-80,Feb-81 etc. as under:-
EmpNo Dec-80 Feb-81 Apr-81 May-81
7369 800
7499 1600
7521 1250
7566 2975
7698 2850
The query I tried in Sql Statement Window of Oracle Report R6i is as under:-
select empno,sal,to_char(hiredate,'Mon-YY') from emp
order by to_char(hiredate,'YY-MM')
The above query shows correct exactly what I need, when run in Oracle Sql Plus but in Matrix Report, it seems its Order By clause not working.
Your suggesion is related to change the format of today's date and not with Oracle Data, I presume.
I will appreciate if you please let me know directly at my E-Mail: [email protected] if you find any solution for my above problem.
Best Regards,
Luqman

Similar Messages

  • Drilldown Report-Drill on month filter target report from Jan-drilled month

    Hi All,
    As in requirement is to have a chart on parent record which has Month(Close Date Month of oppty) and based on click to navigate to target report showing opptys till the selected month.eg. if user clicked on March then Opptys from Jan - March should show up accod to Close Date.
    I am stuck as I make the Month(Close Date) column as prompted in target report it is getting filtered on the only one Month.If i Click on March target report is showing only for March records which is by design ofcourse.
    Another Drilldown has to be from a Chart where in Bar chart shows revenue per month.
    Any prompts will be really helpful.

    Got it to work!!!
    Using filtering on another analysis.

  • Customer exists for displaying monthly bugs per release

    I hav only little know ledge in ABAP. I hav to code for a variable, that has to display monthly incoming bugs per release.
    Dim Product
    Info Productrelease
    based on this i hav to display the data in report like this
    created week               2005.03 ...... 2006.03 2006.06 2006.09....
    06/17/2006                   32                   34              343         4324
    06/24/2006                   43                   45               56            454
    please specify a solution.
    Thanks in advance
    james

    I hav a cube with tech name zssen
    in that cube product is a Dimension with technical name zprdpid
    in that dimension i hav a infoobject called product description.
    product contains different like embedproducts like vg1, vg2 vg3 and so on
    productrelease contains descriptions of  releases 233.1 32.3 3443.34 and so on
    each new release i hav to create to restricted key(2006.09) figure based on the variable created on product release(for example 2006.09 ).
    instead of above procedure i have to create a new variable that has to automatically recognise the new version and it has to display on the report.
    please suggest me how to write the code for above scenerio.
    if u want a detailed description i will send a mail.
    please leave your mail id if possible.
    Thanks,
    James

  • Please help create this matrix report

    Hi,
    I'm using Reports6i.
    I want to create a matrix report like below.
    Country            JUN2008       JUL2008
                      Teu    Feu     Teu   Feu
    INDIA             13        9       1     10  .....
    .With the query i've written, i get the data like
    Country      Dt       Cnt       Typ
    IN     JUN2008           9             Feu
    IN     JUN2008           13     Teu
    IN     JUN2008           10             Feu
    IN     JUN2008           1     TeuPlease Help
    Edited by: Divya on Jun 21, 2011 5:55 AM

    Which tool are you using to create the report Divya?
    You may use PIVOT to create the matrix like report.
    For Ex;
    SELECT *
    FROM (SELECT product_code, quantity
    FROM pivot_test)
    PIVOT (SUM(quantity) AS sum_quantity FOR (product_code) IN ('A' AS a, 'B' AS b, 'C' AS c));
    A_SUM_QUANTITY B_SUM_QUANTITY C_SUM_QUANTITY
    210 90 160

  • Matrix Report

    Hi,
    I need to create a matrix report like
    for example
    item as row and average selling price and average cost price as columns. But the average prices are Year wise like for 1999,2000,2001 etc. And the years vary depending on the parameters passed to the report.
         Average sell price     Average cost price     
    Item Name     1999     2000     2001     2002     1999     2000     2001     2002     
    Item1     100     121     122     123     150     175     176     180     
    How can I generate the year columns twice in the report. Item name ,prices and year are from base table. But the range of years is passed as parameter.
    Pls help in this regard.
    Regards,
    Chandra
    ([email protected])

    Hi,
    Design a matrix report with Item as rows and year as column. You do not need to have year coulnm twice in the report. Create two additions formula coulmn for "average selling price" and "average cost price". These two column values shall be computed for every matix crosssection. Chosse these two columns as the matrix cell columns. You can use range of years passed parameter in query itself to limit the data.
    Hope this helps!
    Thanks,
    Rohit

  • Matrix report data with summary column in excel format

    Hi ,
    I want to display output of matrix report with summary column in excel format.
    I have tried using spreadsheet but column header and actual data is displaying in proper order.
    Please tell me the way how to do this ASAP.
    Thanks in advance.

    Hi ,
    I want to display output of matrix report with summary column in excel format.
    I have tried using spreadsheet but column header and actual data is displaying in proper order.
    Please tell me the way how to do this ASAP.
    Thanks in advance.

  • Month day display in matrix report

    in matrix report date field convert into day and it is as row filed if any day of month data not found but it display all 30 days in matrix report.

    try this query
    select rownum as run_num,to_date('01-' || :A_MONTH || '-' || :A_YEAR,'dd/mm/yyyy')+ (rownum-1) CV from
    (select 1 from dual group by cube (1,1,1,1,1))

  • Production report displaying months

    hi ,
    can anyone help me in getting month wise production report...  i e from jan to dec.... it shoulld display all months and show month wise production....
    example
    ITEM ITEM DESCRIPTION   JAN FEB MARCH
    DS01   SCREW                 10     10       30
    regards,
    Vignesh

    Hi Vignesh,
    Try this....
    select T1.ItemCode,T1.Dscription,
    sum(Case DATENAME(month,T0.Docdate) when 'January' then T1.Quantity else 0 end) Jan,
    sum(Case DATENAME(month,T0.Docdate) when 'February' then T1.Quantity else 0 end) Feb,
    sum(Case DATENAME(month,T0.Docdate) when 'March' then T1.Quantity else 0 end) Mar,
    sum(Case DATENAME(month,T0.Docdate) when 'April' then T1.Quantity else 0 end) Apr,
    sum(Case DATENAME(month,T0.Docdate) when 'May' then T1.Quantity else 0 end) May,
    sum(Case DATENAME(month,T0.Docdate) when 'June' then T1.Quantity else 0 end) Jun,
    sum(Case DATENAME(month,T0.Docdate) when 'July' then T1.Quantity else 0 end) Jul,
    sum(Case DATENAME(month,T0.Docdate) when 'August' then T1.Quantity else 0 end) Aug,
    sum(Case DATENAME(month,T0.Docdate) when 'September' then T1.Quantity else 0 end) Sep,
    sum(Case DATENAME(month,T0.Docdate) when 'October' then T1.Quantity else 0 end) Oct,
    sum(Case DATENAME(month,T0.Docdate) when 'November' then T1.Quantity else 0 end) Nov,
    sum(Case DATENAME(month,T0.Docdate) when 'December' then T1.Quantity else 0 end) Dec
    from oign T0
    inner join ign1 T1 on T0.Docentry=T1.Docentry
    Where T0.JrnlMemo like 'Receipt from %'
    group by DATENAME(month,T0.Docdate),T1.ItemCode,T1.Dscription
    Hope it will help you...........
    Thanks
    Sachin

  • How can i display the days of the month in my report, please help

    dear all
    my table name is day_close_table
    it contains these columns:
    product_code number,
    the_date date,
    sale_qty number,
    buy_qty number
    price number
    i need to make report like the fiollowing
    product : 10144 from: 1-jan-2006 to :10-jan-2006
    days | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
    Sale | 50| 10| 20| 15|10|5 | 6 | 11|12|6 |
    buy |10 | 20 | 10| 0 | 0 | 0 | 10| 1 | 1| 1|
    i created two query and i decieded to join them
    the first one is to display days in horizon direction
    my query is:
    SELECT TO_CHAR(THE_DATE,'DD-MONTH')D,
    FROM HS_DAY_CLOSE;
    my question is how can i display the records in horizone direction
    please help

    i solved this problem using this query
    SELECT STOCK_CODE, COUNTRY_ID,
    SUM(DECODE(to_char(the_date,'dd') ,'01', buy_qty)) "1",
    SUM(DECODE(to_char(the_date,'dd') , '02', buy_qty)) "2",
    SUM(DECODE(to_char(the_date,'dd') , '03', buy_qty)) "3",
    SUM(DECODE(to_char(the_date,'dd') , '04', buy_qty)) "4",
    SUM(DECODE(to_char(the_date,'dd') , '05', buy_qty)) "5",
    SUM(DECODE(to_char(the_date,'dd') , '06', buy_qty)) "6",
    SUM(DECODE(to_char(the_date,'dd') , '07', buy_qty)) "7",
    SUM(DECODE(to_char(the_date,'dd') , '08', buy_qty)) "8",
    SUM(DECODE(to_char(the_date,'dd') , '09', buy_qty)) "9",
    SUM(DECODE(to_char(the_date,'dd') , '10', buy_qty)) "10",
    SUM(DECODE(to_char(the_date,'dd') , '11', buy_qty)) "11",
    SUM(DECODE(to_char(the_date,'dd') , '12', buy_qty)) "12",
    SUM(DECODE(to_char(the_date,'dd') , '13', buy_qty)) "13",
    SUM(DECODE(to_char(the_date,'dd') , '14', buy_qty)) "14",
    SUM(DECODE(to_char(the_date,'dd') , '15', buy_qty)) "15",
    SUM(DECODE(to_char(the_date,'dd') , '16', buy_qty)) "16",
    SUM(DECODE(to_char(the_date,'dd') , '17', buy_qty)) "17",
    SUM(DECODE(to_char(the_date,'dd') , '18', buy_qty)) "18",
    SUM(DECODE(to_char(the_date,'dd') , '19', buy_qty)) "19",
    SUM(DECODE(to_char(the_date,'dd') , '20', buy_qty)) "20",
    SUM(DECODE(to_char(the_date,'dd') , '21', buy_qty)) "21",
    SUM(DECODE(to_char(the_date,'dd') , '22', buy_qty)) "22",
    SUM(DECODE(to_char(the_date,'dd') , '23', buy_qty)) "23",
    SUM(DECODE(to_char(the_date,'dd') , '24', buy_qty)) "24",
    SUM(DECODE(to_char(the_date,'dd') , '25', buy_qty)) "25",
    SUM(DECODE(to_char(the_date,'dd') , '26', buy_qty)) "26",
    SUM(DECODE(to_char(the_date,'dd') , '27', buy_qty)) "27",
    SUM(DECODE(to_char(the_date,'dd') , '28', buy_qty)) "28",
    SUM(DECODE(to_char(the_date,'dd') , '29', buy_qty)) "29",
    SUM(DECODE(to_char(the_date,'dd') , '30', buy_qty)) "30",
    SUM(DECODE(to_char(the_date,'dd') , '31', buy_qty)) "31"
    FROM HS_DAY_CLOSE
    GROUP BY STOCK_CODE,COUNTRY_ID

  • SSRS Matrix report. Variance expression by Month. Need to compare month from prior year to current month of current year VS2010

    Please help.  I have a matrix report.  In the report I have row group  PO Type.  One the Column groups I have a parent group by Fiscal Year, and then a child group by Month.  When I run the report, I get two years of data back broken
    out by month.  Please see below.
    Now here is where I am getting stuck.  I need to take the variance between the current month of the current year, from the same month of the prior year.  So I need to show the difference between Oct , 2014 from Oct, 2013. November, 2014 from November
    2013... etc. etc.
    In the example below, how do I create a column or row showing the variance for Contracts for October 2014.  I need to take the contracts for October 2014 which is 3 and subtract that from October 2013 which is 8.  Any suggestions? How do I do that
    for each month?  Then I need to do it for the quarter... then the year?  But I'll be happy if I can just get the month working first.
    Any help will be appreciated. 
    here is what my rdl file looks like.
    Here is what my report looks like when I render it.

    Hi Adrian_s2012,
    According to your description, you want to compare values for the month of current year with the month of prior year and get the variance. Right?
    In Reporting Services, we don't have any function to get this "Year to Year" Growth. In this scenario, if you data source is a cube, we suggest you use Analysis Services to achieve your requirement. If this data source is just from database, it will be hardly
    to calculate the variance because we need to compare the values within every two different column group and matrix generate adjacent columns one by one. Even we make it by using custom, every time executing the long code when generating result
    in a cell will reduce a lot of performance, we really don't suggest to do that in SSRS. Here is a thread with much easier requirement, please take a reference of that:
    http://social.msdn.microsoft.com/Forums/office/en-US/842e2dcb-d949-4297-9d91-eac989692cb5/difference-between-the-grouped-column?forum=sqlreportingservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Not able to pull report for only 2 months Jan and Feb of 2014

    I am not able to pull the report from Service Manager DWH for the months Jan and Feb of 2014. on attempting i am getting the below screenshot of error
    and the content of the same is:
    Date: 29-04-2014 15:31:04
    Application: System Center Service Manager Console
    Application Version: 7.0.6555.0
    Severity: Error
    Message: An error has occurred during report processing.
    System.Exception: An error has occurred during report processing. ---> System.Exception: Query execution failed for dataset 'Data_Incidents'. ---> System.Exception: For more information about this error navigate to the report server on the local server
    machine, or enable remote errors
       --- End of inner exception stack trace ---
       --- End of inner exception stack trace ---
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    System.Exception: Query execution failed for dataset 'Data_Incidents'. ---> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors
       --- End of inner exception stack trace ---
    System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors
    Further troubleshooting i ran the query
    USE DWDataMart1
    SELECT * FROM sysobjects
    WHERE name like 'ServiceManager_Report_%'
    and found out that below mentioned 8 of Stored procedure is missing, i am not sure if this has something to do with the error
    ServiceManager_Report_ReleaseManagement_SP_GetAllActivitiesOfReleaseRecord
    ServiceManager_Report_ReleaseManagement_SP_GetListOfReleaseRecords
    ServiceManager_Report_ServiceManagement_SP_GetCMCollectionContainsComputersMap
    ServiceManager_Report_ServiceManagement_SP_GetOMGroupContainsComputersMap
    ServiceManager_Report_ServiceManagement_SP_GetServiceContainsComputersMap
    ServiceManager_Report_ServiceManagement_SP_GetSMServiceGroupData
    ServiceManager_Report_ServiceManagement_SP_GetSMServiceSummaryData
    ServiceManager_Report_Common_SP_GetServicesAffectedByWI
    kindly help me in resolving this issue..
    thanks in advance
    Micheal Nishit

    looks like your data warehouse install is borked. unfortunately there's not much more we can determine based on this. you're obviously missing a lot of the stored procedures that service the default reports, but there isn't any reasoning. 
    The error from above is the generic "a bad thing, recorded elsewhere, has occurred" that you usually get from Web Services. Try running the report from the DW machine to see if you get better error details, or
    enable remote errors.

  • Display null rows / columns in matrix report

    Hi,
    Is it possible to display any character ('0' for example) in a matrix report where the entire row or column show no value at all ?
    My matrix shows Row1 and Row2 with values but no Row3 at all like this:
    Column1 Column2 Column3
    Row1 value1 value2 value3
    Row2 value4 value5 value6
    But I would like it to show my rows 3 with '0's :
    Column1 Column2 Column3
    Row1 value1 value2 value3
    Row2 value4 value5 value6
    Row3 0 0 0
    Thank you,
    Denise

    Make your query return 0 with nvl(column, 0) and an outer join, plus some stuff to avoid a double outer join.
    E.g. a sales per product per city:
          City1   City2  City3
    Prod1   10     100    12
    Prod2   25     110   200
    Prod3    0       0     0Could be made like this:
    create table city (c_city  varchar2(10));
    create table prod (p_prod   varchar2(10));
    create table prod_sales (ps_city varchar2(10)
    , ps_prod varchar2(10)
    , ps_sales number);
    <.....insert some values, except voor Prod3 .....>
    SQL> select p_prod, c_city, nvl(ps_sales,0)
      2  from (select c_city, p_prod from city, prod)
      3  ,    prod_sales
      4  where ps_city(+) = c_city
      5  and   ps_prod(+) = p_prod
      6  order by 1,2 ;
    P_PROD     C_CITY     NVL(PS_SALES,0)
    Prod1      City1                   10
    Prod1      City2                  100
    Prod1      City3                   12
    Prod2      City1                   25
    Prod2      City2                  110
    Prod2      City3                  200
    Prod3      City1                    0
    Prod3      City2                    0
    Prod3      City3                    0

  • Matrix report with row field as "dates of months"

    Hi all,
    I have a matrix report that requires such a format:
    Some database column -->
    1 cell cell cell cell
    2 null null null null
    3
    4
    31 cell
    now i cannot get the dates of the month in order of 1 to 31'st as column, if i give my database column datefield the records which are on following date are displayed but for the dates which dont have records, the cell fields should be null..
    How would i do this.
    Regards,
    Sreekanth.

    Hi all,
    I have a matrix report that requires such a format:
    Some database column -->
    1 cell cell cell cell
    2 null null null null
    3
    4
    31 cell
    now i cannot get the dates of the month in order of 1 to 31'st as column, if i give my database column datefield the records which are on following date are displayed but for the dates which dont have records, the cell fields should be null..
    How would i do this.
    Regards,
    Sreekanth.

  • Hi,report like roles with groups display?

    i am having roles /groups like following
    String arrRoles = {"devloper","admin","manager","clerk","other"};
    String arrGroups={"grp1","grp2","grp3","grp4","grp5","grp6"};
    each groups having separate access
    grp1 roles manager,developer
    grp2 roles manager,clerk,other
    grp3 roles clerk,admin
    grp4 roles other
    grp5 roles manager,develoepr,admin,clerk,other
    grp6 roles clerk,other
    finally after reading two array values and each group roles ,
    i need to values in report like this
    report
    role grp1 grp2 grp3 grp4 grp5 grp6
    devloper yes no no no yes no
    admin no no yes no yes no
    manager yes yes no no yes no
    clerk no yes yes no yes yes
    other no yes no yes yes yes
    i need to display values if the group having role need to display
    yes otherwise no.
    can any one help me how to do and display
    here roles and groups are not fixed values both are dynamicaly
    created arry objects
    thanks in addvance
    sai

    hi,
    thanks for your example.
    any way i solved this issue my self another way.
    class Report3Test
         public static void main(String str[])
              String[] arrRoles = {"develop","admin","manager","clerk","other"};
              String[] arrGroups = {"grp1","grp2","grp3","grp4","grp5","grp6"};
              String arGrp1[] ={"manager","develop"};     
              String arGrp2[] ={"manager","clerk","other"};
              String arGrp3[] ={"clerk","admin"};
              String arGrp4[] ={"other"};
              String arGrp5[] ={"manager","develop","admin","clerk","other"};
              String arGrp6[] ={"clerk","other"};
              String DELIMINATOR = "\t";
              String strGroups = "";
              strGroups = "Roles"+DELIMINATOR;
              for(int i =0; i<arrGroups.length;i++)
                   strGroups = strGroups+arrGroups[i]+DELIMINATOR;
              System.out.println(strGroups);
              for(int i =0; i<arrRoles.length;i++)
                   String groupStatus1 = "No";
                   String groupStatus2 = "No";
                   String groupStatus3 = "No";
                   String groupStatus4 = "No";
                   String groupStatus5 = "No";
                   String groupStatus6 = "No";
                   for ( int k =0; k<arGrp1.length;k++)
                        if(arGrp1[k].equals(arrRoles))
                             groupStatus1 = "Yes";
                   for ( int k =0; k<arGrp2.length;k++)
                        if(arGrp2[k].equals(arrRoles[i]))
                             groupStatus2 = "Yes";
                   for ( int k =0; k<arGrp3.length;k++)
                        if(arGrp3[k].equals(arrRoles[i]))
                             groupStatus3 = "Yes";
                   for ( int k =0; k<arGrp4.length;k++)
                        if(arGrp4[k].equals(arrRoles[i]))
                             groupStatus4 = "Yes";
                   for ( int k =0; k<arGrp5.length;k++)
                        if(arGrp5[k].equals(arrRoles[i]))
                             groupStatus5 = "Yes";
                   for ( int k =0; k<arGrp6.length;k++)
                        if(arGrp6[k].equals(arrRoles[i]))
                             groupStatus6 = "Yes";
                   String roleParam = (String)arrRoles[i];
                   System.out.println(roleParam+DELIMINATOR+groupStatus1+DELIMINATOR+groupStatus2+DELIMINATOR+groupStatus3+DELIMINATOR+groupStatus4+DELIMINATOR+groupStatus5+DELIMINATOR+groupStatus6);               
    ===================
    sai

  • How to display Month values in SSRS report

    Hi All,
        I have a requirement to display month values in SSRS Chart. x-axis should display all month names from January till current month. How can I set this properties and show it in a line graph
    Thanks & Regards,
    Regards RCP

    Hi,
        The above link is not meeting my requirement. I need January till July to be displayed in x-axis
    labels of graph. How this can be achieved ??
    Regards RCP
    You can create a calendar table on the fly and use it for your dataset to be used in the graph. Use logic as below
    http://visakhm.blogspot.in/2010/02/generating-calendar-table.html
    For getting January till current month use query as
    DECLARE @Start datetime,@End datetime
    SELECT @Start = DATEADD(yy,DATEDIFF(yy,0,GETDATE()),0),
    @End = GETDATE()
    SELECT *
    FROM dbo.CalendarTable(@Start,@End,0,1) f
    As a long time persistent solution best option would be to create a calendar table in the database.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • A Web Hosting Diary...guide/?'s/Help!

    I'm moving this thread here, because it wasn't getting any attention.  I had it buried in some obscure tutorial comment section--a niche void of the netherworld.  Anyway, I copied it all over because I was tired of listening to myself.  My hope is to

  • Error while doing usage decison using moment type 321

    Hi, I have created a batch by confirming process order (t code COR6). But when I do usage decision for this batch using transaction QA11, material stock from batch created by order gets transferred to new batch. When I checked material document, ther

  • Rsync system backup to disk image

    Hi, I had quite 'small' HD ~60Gb and I backed up on ~1.5 Tb NAS with ext3 file system via DiskUtility - it was creating an exact copy of my hard drive in a .dmg file (and I can mont them, etc). Now I have ~250 Gb HD, and some free space, but also a l

  • Should I install a Solid State Drive..?

    Hello I am editing and rendering HD 1080p and sometimes 4k video from an XD Cam in Final Cut Pro 7 running on a 17" 2011 MacBook pro i7 2.2ghz, 8GB DDR3 1333mhz RAM with 720GB 5400rpm Hard Drive. the video is captured on an external 2TB Hard Drive co

  • Set up Port Forwarding?

    Is it possible to set up port forwarding directly on an iMac? This is for video streaming from a house camera, over the net. I have a simple cable modem, and no router or gateway. I would rather avoid buying a router, or airport exteme, if I could. T