To display summary based on monthly comparison.

Hi all,
I have the main query to display my result which include the whole year data ( 01/01/2010 - 31/12/2010 ) but I need to show it in the monthly column such as Jan-2010, Feb-2010, Mar-2010 till Dec-2010. I can't to summaries all in the main query because there are other calculation involved in formula columns. I was able to view have my vertical column with difference month. In order to have 12 difference formula column to have the 12 difference month figure. Does any one has idea to display that ?
Example data
Product____Qty___Date
100_______5_____31/01/2010
200_______50____5/02/2010
100_______200___01/03/2010
required output...
Product _____ 31/01/2010______28/02/2010_____30/03/2010
100_________5_______________0_____________200
200_________0_______________50____________0
Thanks.
Lim

When creating this matrix report, you should base it not on your date, but on last day of the month.
select last_day(to_date('05/02/2010','dd/mm/yyyy')) ld from dual;
LD      
28-FEB-10

Similar Messages

  • How to display dates in half-months?

    How can I display dates in half-months from dim_date table? like shown below:
    Assume that 8/14/2012 is current date..
    07/15 - 07/30 - no. of opties created between those dates
    07/01 - 07/14 - no. of opties created
    06/15 - 06/30 - ...
    06/01- 06/14 - ...
    How can display the dates in those buckets? Any ideas appreciated.
    Thanks in adv.

    Try to build the same in RPD using the below sql.
    I've created a Flag based on W_DAY_D."DAY_OF_MONTH" <= 14 then 'F' else 'S' end
    in answers I've got min and max based on exp: min(Time."Row Wid" by Time.Flag)
    WITH
    SAWITH0 AS (select distinct T31328."PER_NAME_MONTH" as c1,
    case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end as c2
    from
    "W_DAY_D" T31328 /* Dim_W_DAY_D_Common */
    where ( T31328."PER_NAME_YEAR" = '2012' ) ),
    SAWITH1 AS (select min(T31328."ROW_WID") as c1,
    max(T31328."ROW_WID") as c2,
    case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end as c3
    from
    "W_DAY_D" T31328 /* Dim_W_DAY_D_Common */
    where ( T31328."PER_NAME_YEAR" = '2012' )
    group by case when T31328."DAY_OF_MONTH" <= 14 then 'F' else 'S' end )
    select distinct SAWITH0.c1 as c1,
    case when SAWITH0.c2 is not null then SAWITH0.c2 when SAWITH1.c3 is not null then SAWITH1.c3 end as c2,
    SAWITH1.c1 as c3,
    SAWITH1.c2 as c4
    from
    SAWITH0 full outer join SAWITH1 On SAWITH0.c2 = SAWITH1.c3
    Hope this helps, pls mark

  • Returning  'Day' value based on month and year parameters

    Hi,
    Is there a code that would return an end of the month  Day value based on month and year parameters?
    For example if my parameters yield 9 or September for a month value and 08 or 2008 for the year value, can a formula generate a value of 30 (the last day of the given month in the specific year)?
    This way the formula would pick up the different last day of the month in February for the leap years.
    Thank you.
    Vic

    1. Open the formula workshop.
    2. From the Repository Custom Functions, under Crystal and then Date, RIGHT click on cdlastdayofmonth, click on ADD TO REPORT.
    3. Create a new formula, in the formula workshop, under FUNCTIONS, go down the list till you see "CUSTOM FUNCTIONS", expand that till you see cdlastdayofmonth.
    4. In your formula, type cdlastdayofmonth(currentdate)
    5. Save and close and display the formula in your report, you should see 11/30/2008.
    If you want just the day then modify the formula to:
    totext(day(cdlastdayofmonth(currentdate)),0,'','');
    since you have parameters for month and year, do this:
    totext(day(cdlastdayofmonth(date({?year},{?month},01))),0,'','');
    to give you the last day of the month.

  • How do I display more than one month calendar in the day-view?

    iCal has always had a nice feature that allowed me to display little, what I call, mini-month calendars while in the day-view.  This allowed me to quickly jump to a day two or three (or more) months ahead (or behind) to check appointments on that day or set an appointment, without switching out of the day-view.
    The mini-month was a small clickable calendar that looked something like this:
    1   2   3   4   5   6   7
    8   9  10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    There was also a forward and backward arrow box [ < ][ > ] that allowed me to quickly scroll to the mini-month to find the day I wanted to click into.  And, if I wanted to give it more room by adjusting the frame, I could display up to three months at a time within my day view.
    Since upgrading iCal to 5.0 with the Lion upgrade, I can no longer display more than the current mini-month calendar on the day view.
    This is REALLY inconvenient.  Now, there is no way (that I know of) for me to stay in the day view and be able to jump ahead to a specific day two or three months out, or even to a day in the NEXT month without either going to the year view (a big waste of time) or click on the last day of the current month and then clicking the ">" day arrow to get to the next day which then shows that month's mini-calendar.
    How do I display more than the current month's mini-month calendar in the day view on Lion?

    Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.

  • How can we display Alerts based on Exceptions in BI7

    Hi,
    <b>How can we display Alerts based on Exceptions in BI7?</b> My requirement is a dashboard kind of scenario where the alerts will be displayed using WAD in Portal.
    In 3.5, we used to schedule the alerts from the Reporting Agent and display that using the Alert Webitem in Web Application Designer. But I couldn't find the Reporting Agent and the Alert Webitem in BI7. I would like to know how we can do Exception Reporting in BI7. I appreciate your suggestions/comments. Thanks in advance.
    Regards
    Hari

    Hi,
    Please go through this link:
    bw 7.0
    Regards,
    Habeeb

  • Issue with displaying summary in the Page Bottom

    Hi Friends,
    I have an issue with displaying summary in the page bottom. for this i am using command BOTTOM and ENDBOTTOM in Main Window.
    I designed 2 pages are First and Next, in the first it displays PO Header details and Item details in the Main window and also Item details continuious in the Next Page also.
    If the lines are enough in Bottom then it displays the summary. But if the lines are not enough in bottom then it does not trigger the new page, so that it doesn't displays the Summary in Bottom.
    for ex: Total lines of the page 50 and Bottom required 15 lines. In the next page contains upto 35 lines, it triggers the Bottom.
    But if the lines are more than 35 and below than 50, it does not trigger the new page so that it does not shows the bottom.
    Please help me on the same, this is very urgent.I will give a rewatrd if it is helful.
    Regards,
    Subbarao

    HI,
    Try with printing the bottom data with Protect and ENDPROTECT along with your Bottom and endbottom.
    Eg: Protect
    bottom
    text
    endbottom
    endprotect.
    Regards,
    Venkatesh

  • Problem in displaying totals based on the Unit of measurement.

    Hi,
    I have Problem in displaying totals based on the Unit of measurement.
    I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
    Matnr           Quantity      UOM
    51                10              EA
    61                10              KG
    71                10              KG
    In the total i should get
                    10         EA
                    20         KG
    Can anyone tell me how to do this?
    The basic req is the exclude the qty with unit EA(each) in the totals.
    Thanks,
    Amit

    H i,
    you can use the collect statement
    to get the proper result
    loop at itab.  ( all the records)
    move all the fields from itab to another
    collect itab1.
    write: itab1-fields, itab1-fields.
    endloop.
    this will solve your problem
    reward points if helpful,
    thanks & regards,
    venkatesh

  • The calendar sync is recently not working correctly, not display "All events" but it only displays the last six months for my individual entries. My repeating entires do go back further, though. How do I fix?

    I have an iPad 5.1.1. The calendar sync has started to not work correctly. I have it checked "All events," but it only displays the last two months for my individual entries. My repeating entires do go back further, though. How do I fix?

    HI Jason269. Thanks for your reply, however I wrote that I already have "All events" checked. If All Events is checked and it doesn't diaplay all events, how do I fix? It seems this is a common issue, as I have read many others on here state the same problem.
    I believe my problem occurred when I synced my iMac calendar to my iPad calendar using yahoo. Yesterday, I unsynced them on my iMac controls. When I checked my iPad calendar, all of my old entries reappeared - but only for five seconds and disappeared again. So, the data is saved and still there but cannot be displayed, even when I have All events checked. In fact, it only shows my individual entries for the last two months, but does show all my recurring entries. If I switched to last six months, I will see everything for the last six months. If I switch back to all events, it is only for the last two months.
    As I mentioned, others on here have expressed exactly the same issue, including the two month example and having used yahoo.
    For legal purposes, I need to be able to use the information from my indidual calendar entries in an upcoming court case. So I really need to fix this ASAP!

  • Issue with new 'Display Summary Type in Table' Attribute

    JHeadstart Version: 10.1.3.1.26
    JDeveloper Version: 10.1.3.1
    We have configured our top level groups in our JHS Application Definition Editor to have each table's first column (Primary Key) set to 'count' for the 'Display Summary Type In Table' field level attribute.
    Our problem is that now that we have this handy counting functionality, we found that it breaks the row focus when entering data in a table-forum. To be precise, when typing in or modifying the field that contains the defined 'count' attribute, when we 'tab off' from that field the page seems to run some JavaScript (the recounting of the rows I presume) and loses the keyboard's focus from that row. This outright prevents users from tabbing to the next field to continue entering data - which is rather important for our application.
    I am presuming that this is a bug. Any ideas on how to fix it?

    Erik, Michael,
    I checked with ADF Faces development. I have a logged a bug for this against ADF Faces. Hopefully it will be solved in release 11.
    There is nothing JHeadstart can do to fix this. Wherever we have autoSubmit=true generated on an item to get AJAX-style partial page requests (LOV item, summary item, depends on item), then tabbing out the field will loose the cursor, and pressing Save immediately after entering a value in the item will not save the data.
    Steven Davelaar,
    JHeadstart Team.

  • Choose display template based on result type - Content search webpart

    Hi 
    Is it possible to choose display template based on result type in content search webpart same like search results web part? If not available can it be achieved programmatically?
    The content search web part is queried against document content type. Based on the document type, the document has to be seen in the hover template.
    Please advise.

    Hi,
    From your description, my understanding is that you want to choose display template based on result type as search result Webpart in Content Search Webpart.
    You could customize your display template for Content Search Web Part, please refer to this article:
    http://www.benprins.net/2014/05/21/sharepoint-2013-custom-display-template-for-content-by-search-web-part/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Sort the month name column based on month id in rpd itself only

    sort the month name column based on month id in rpd itself only without creating the logical column.

    Hi,
    sort the month name column based on month id in rpd itself only without creating the logical column. Can you be bit specific?
    Is this what you want..http://www.biconsultinggroup.com/knowledgebase.asp?CategoryID=198&SubCategoryID=368
    Regards,
    Srikanth
    http://bintelligencegroup.wordpress.com

  • PWA 2010 - Displaying summary task levels in the Timesheet

    LS
    We use 2 summary task levels for some projects and I am strugging to get the summary task info displayed in the timesheet (needed for clarity to distinguish between same tasks under different summary tasks).
    to display summary level one (of one) I use the task hierarchy field successully (if and only if I so the first project publish from the client - not from the browser).
    With 2 summary levels present in the project plan, I can't get the task hierarchy field to display anything - if it did display what should I expect it to show - task summary 1, or 2, or both?
    All help appreciated (what if i could just get those pesky PMs so simplify their GANTTS :) - working on that too...)
    A reluctant Texas Tonie

    My company just upgraded from Project 2003 to Project 2010. In PWA 2003 timesheet view, we were able to see our summary tasks, as well as the Task IDs. I cannot find a way to display either in PWA 2010. I've read the above notes, and I have to believe that
    there is some way to create a custom view or change the existing Timesheet View to allow the display of where each task is in the plan. I've tried creating a custom Timesheet View, using the "Timesheet" template, but that doesn't provide an option to select
    either field (Summary task or Task ID).
    Here's the deal: I have a project plan that has over 1,800 tasks, many of which repeat multiple times within each phase and across phases, and the resources are also repeating the work across the phases. This plan has up to 6 levels of tasks in various places.
    So now, my resources see dozens of the same task name in their timesheet views with no context as to where each task falls in the plan.  The Task Hierarchy column is NOT a sufficient solution for my needs.
    I would appreciate any and all help in figuring out how to display Summary Tasks and Task IDs in the Timesheet View.
    Thanks and happy planning!

  • Web-browser only display Summary Status and no menu for configing

    Guys,
    I have 4 Cisco Aironet 1140. I open a web browser IE 8 and type their address "http://<ip address>". Then I enter my username and password in the browser and successfully login to the access point.
    But, There is something strange, why I only see Summary status of my access point after the login process success??? I can't config anything...
    I add a new username and use highest privilage, but the result still the same. Same unusual web display, only displaying summary status of the access point, I can't config ssid, vlan, etc.
    Here's my configuration:
    username Zicco privilege 15 password 7 123A551A02055F106B
    username Bl4st privilege 15 secret 5 $1$UJom$UoNBR07HmSGXdoxTUR1W40
    ip http server
    ip http authentication local
    no ip http secure-server
    Is there any configuration command that must be added? Please help me.
    Thank you

    Hi George, today we solved the problem. With adding this command: "config(terminal)#ip http authentication local" all of 5 access points now able to managed via web browser.
    Sometimes, we can use access point's web browser without adding this command. But in my cases, only using command of"ip http server" isn't enough. You must add "ip http authentication local" command to your configuration. I dont know why.
    And we must have at least one: username <username> privil 15 pass <password> that is full privileged user to use as username and password logon in your access point browser. Otherwise we can't logon to our access point.
    Thank you George, I appreciate your kindness. Regards

  • Summary based on above condition

    I have master and detailed blocks
    In master block base table items -
    1)total_import - stored summary of weight from details blocks based
    2)total_export - stored summary of weight from details blocks based
    In details block i have two base table colummn
    1)transaction_type
    2)weight
    when user input the weights it will check the transaction_type
    transaction_type=1 (ie import ) it should added with total_import
    transaction_type=2 (ie export ) it should added with total_export
    I want to make summary based on above condition
    Help me this issue
    thanks
    rdk

    Hello rdk
    Pls in ur details block ....
    1.*Create 2 non-db summary* column for both :total_import & :total_export
    2.*Then Create When-Validate-Item Trigger* for the weights then write the following code...
    IF :transaction_type=1 THEN
    :total_import := NVL(:weights ,0) ; -- will assign all the import transactions or inputs...
    ELIF transaction_type=2 THEN
    :total_export  := NVL( :weights ,0);  -- will assign all the export  transactions or inputs...
    END IF;3.Then in PRE-INSERT & PRE-UPDATE Trigger assign the 2 non db items to it's equilavent db ones in the Master-Block
    Hope it works just fine :)
    Regards,
    Abdetu...
    Edited by: Abdetu on Feb 27, 2011 6:24 AM

  • Record selection based on month in 1 years worth of data.

    Hello,
    I have a table that has 1 years worth of data up until the current month (June 07 to June 08).  I'd like to create a record selection that displays a range of months worth of data, say November 07 to February 08.
    The requirement is that the parameter be only in month format, ie. user selects November and February, no years.
    The problem I'm finding is that I can't do a number range where the start is greater than the end, Start=11 End=2. A date range doesn't seem to be an option either.  Do I need to do a couple of parameters with a formula?
    Thanks in advance for your suggestions,
    Murray

    Hey Murray,
    If Start>End then
          Year(Start) = Year(End) - 1
    ...at least, that's the idea. 
    so, if Start is "Dec" then it's assigned the number 12,
    and if End is "Jan" then it's assigned the number 1.
    so
    if Start (12) > End (1) then
             the year for Start is 1 year less than the year for End.
    Of course, you have the static parameter with "Jan", "Feb", etc.
    and the Case statement to evaluate the incoming parameter value.
    Is that what you mean?
    The Panda
    ...and yes, I think you need a formula with a couple parameters
    Edited by: pandabear on Jun 25, 2008 3:54 PM

Maybe you are looking for