How to aggregate a column based date column (for weekly single row)?

How to aggregate a column based date column (for weekly single row)?

Hi,
Consider the below statement for daily bases which is ok
SELECT ID, DATE, SUM(AMOUNT) FROM TABLE_NAME GROUP BY ID, DATE ORDER BY ID, DATE
The same like the above statement, I want output on weekly, fortnightly, and monthly bases, How to do this? Need your help...

Similar Messages

  • Where is Employee Nationality column in data warehouse for OBIAPPS 11.1.1.7.1 ?

    Hi,
    Where is Employee Nationality column in data warehouse for OBIAPPS 11.1.1.7.1 ?
    OS: windows 2008 R2
    BI APPS: 11.1.1.7.1
    ODI: 11.1.1.7.0
    Offering: HCM
    Thanks
    Rafeek Abd Elmonsef

    Hi,
    I checked BI APPS 7.9.6.4 Nationality column is available in W_EMPLOYEE_D table but in version OBI APPS 11.1.1.7.1 I did not able to find NATIONALITY Column in W_EMPLOYEE_D ?
    Thanks
    Rafeek

  • How can I monitor my monthly data usage for all 3 computers in my house? I have an Airport base station and it seems there should be software to monitor it from that point rather than monitoring the usage for each computer and then adding it up.

    How can I monitor my monthly data usage for all 3 computers in my house? I have an Airport base station and it seems there should be software to monitor it from that point rather than monitoring the usage for each computer and then adding it up.

    The following example was one of dozens that showed up on a simple Google search of.....
    monitor Internet data use on a Mac
    Watch your Internet usage with NetUse Monitor | Macworld
    Most service providers have an application for their users as well.

  • How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors

    Hi SAP Gurus,
    Could you help me on this, How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors.
    Regards
    Mohan

    Hi Ramakrishnappa,
    If you clear the invoice against payment, then the invoice clearing date would be payment document posting date.
    Regards,
    Mukthar

  • How to avoid the Amount and Date values for VOID Cheques

    Hi All,
    I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
    Can any one tel me how to avoid the Amount and Date values for VOID Cheques
    Your help will be greatly appreciated.
    Regards
    Yathish

    Hi,
    I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
    If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
    Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
    Regards
    Subramanian

  • How to prompt date range for a single column in reports

    Hi All,
    I am having a prompt which shows from date and to date, both these columns will come from day column of calendar .We want that our report values should be between the from date and to date.Can someone tell me how can this be achieved.Because if we build a report we will pull day column from calendar and say its prompted.How can we get the condition that day clumn should be between from date and to date of prompt.
    Thanks and Regards,
    Amrit

    Hi vineet,
    Thanks for your reply
    I am having one prompt where we will have two columns from date and to date, both these columns are coming from same column called day in mth_calendar.I am having 1 report where the date range should lie between from date and to date of prompt.In this case should I use your second suggestion or the first one.
    Thanks,
    Amrit

  • How to transfer data from CHAR column to DATE column?

    I have a column with varchar2 data type contains data with format: dd/mm/yyyy hh24:mm:ss for example 24/11/2013 8:15:22
    I want to execute an update statement to put this data also in a date column how?
    Note: I'm using Oracle DB 10g

    BillyVerreynne wrote:
    The question you need to ask is why a date value is in a string data type?
    And the only (IMO) valid reason for that is when the presentation layer reads the value from a user's input as a string. But even in that case, the client/presentation layer should convert it to a date when binding the value, as date type, to the bind variable of the SQL (or PL/SQL) code executed.
    Dates as strings should only exist in the presentation layer.
    Well, given the OP's question/problem, it sounds like they may be in the process of trying to correct that bad design.
    On the other hand, they could simply be applying a band-aid and thereby be actually compounding the problem.
    It would be nice to get a clarification on this point from the OP.

  • How to involve time in a date column in JDBC OCI 8.0.5.2.

    Hi,
    I need to involve time in a date column in JDBC OCI 8.0.5.2.
    The default date format is like "09-Sep-1999". I could use it
    but just need time involved too, like "09-Sep-1999 10:11:12".
    I tried to use JDBC's Timestamp whose format is like
    1999-9-9 12:00:00.000, just same as the dates selected from my
    table,
    but got an error message "literal doesn't match format string".
    The JDBC document said Oracle's date could be JDBC date,
    timestamp and char.
    Thanks a lot!
    -Ninon
    null

    : The only oracle driver that vcan run with JDK 1.2.x is in the
    OTN
    : download area and is named "816SDK for JDK 1.2"
    : it will work with the JDK 1.2.X using the JDBC 1.22 spec from
    JDK
    : 1.1.X.
    : IT DOES NOT PROVIDE THE FULL JDBC 2.0 FEATURES/ FUNCTIONALITY
    : THAT ARE INCLUDED IN THE JDK 1.2.X CLASSES.
    Does anyone know which versions of Oracle this driver will work
    with? I'm trying to use JDK 1.2 and Oracle 8.04 with the above
    mentioned driver, but it's misbehaving on prepared statements:
    I'm getting a 'ORA-8001 not all variables bound' error even
    though I'm correctly specifying binary data (using
    PreparedStatement.setBytes(..)) for a LONG RAW column...
    Please don't tell me I have to upgrade my Oracle installation in
    order to use JDBC with JDK 1.2.x
    Feedback is greatly appreciated!
    thanks!
    // Tor Kleiberg
    null

  • How to generate 3 payment due dates& 3 posting against single invoice?

    Hello Experts,
    Kindly provides some inputs on below requirement.
    For example :- In the Utility Bill,
    Consumption months: June, July, August
    Meter Reading taken in August
    Billing Months: September, October, November
    Bill generated in August
    Consumer receives the bill on September month
    Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
    Issues-:
    1.How to generate three posting against single invoice?
    2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
    1st due date = posting date + 15 days
    2nd due date = 1st due date + 30 days
    3rd due date = 2nd due date + 30 days
    Requirement description:-
    The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
    In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
    Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
    Looking forward for valuable suggestions
    Thanks in advance
    Regards,
    Vaseem
    Moderator note - question reposted - OP notified of violation Issue on quarterly bill
    Edited by: William Eastman on Jun 3, 2010 3:25 PM
    Edited by: William Eastman on Jun 3, 2010 5:01 PM

    Hello Experts,
    Kindly provides some inputs on below requirement.
    For example :- In the Utility Bill,
    Consumption months: June, July, August
    Meter Reading taken in August
    Billing Months: September, October, November
    Bill generated in August
    Consumer receives the bill on September month
    Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
    Issues-:
    1.How to generate three posting against single invoice?
    2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
    1st due date = posting date + 15 days
    2nd due date = 1st due date + 30 days
    3rd due date = 2nd due date + 30 days
    Requirement description:-
    The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
    In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
    Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
    Looking forward for valuable suggestions
    Thanks in advance
    Regards,
    Vaseem
    Moderator note - question reposted - OP notified of violation Issue on quarterly bill
    Edited by: William Eastman on Jun 3, 2010 3:25 PM
    Edited by: William Eastman on Jun 3, 2010 5:01 PM

  • How can I find out my data usage for the past 3 months?

    Greetings all, I have been a long time Verizon customer, and as such I, along with my husband, was grandfathered into the unlimited data plan. When I last spoke to a representative, they informed me that the only way we were going to be able to keep our unlimited data was by paying the full retail price ($600+) to get a new phone. So we were considering upgrading and changing to one of the newer data plans so we could still get the discounted price on the new phone, but I would like to make sure I choose one with enough data, without paying for a bunch of data that I don't use, however MyVerizon only shows me the amount I have used since the start of the billing cycle. Is there a way to find out the data usage for both my husband and myself for the last 3 months so I can choose the right option?
    Thanks in advance for your help!

        Hello sweetpea1221! How exciting that you're considering upgrading with us. mrhelper is helpful, indeed. You can view your data usage for each line under the View Bill option via your My Verizon account. You can also view your 3 month average  data usage with our Account Analysis feature. Here's a link that will be helpful in doing so http://bit.ly/vnLjqO. I'm confident that we have a great plan to match your data needs. Please let us know if you have further questions.
    TanishaS1_VZW
    Follow us on Twitter @VZWSupport

  • How to track total call duration & data usage for ...

    How do I track my total call & data usage for Nokia Lumia 620. I had search for datasense from the store however unable to find? Is there any other applications that can be use to track.

    Datasense requires network support so if you can't see it your network doesn't support it. Some networks have their own apps in the store for monitoring data and some have mobile websites for that purpose.
    The only other app that can do it is "call credit" but it doesn't support every network, install it and see if yours is supported.
    http://www.windowsphone.com/en-gb/store/app/call-credit/cdd917a0-bef7-df11-9264-00237de2db9e

  • How to make linkage query In Data Model for search

    I want to make an linkage query as a condition for my  report in BI Publisher. how to make the linkage in Date Model ?

    This is the forum for SQL Developer, not for general SQL or PL/SQL questions.
    Please repost this in the SQL and PL/SQL forum.

  • Can we make a fact column to be displayed as a single ROW in obiee 11g

    Hi,
    I have a requirement recently, where i need to show a fact column which shows the total value, as a single row in the main report.
    Total
    1000
    1000
    1000
    1000
    Changed to..
    Total
    1000
    Can we achieve this in OBIEE.
    Please share your inputs. Much Appreciate it !
    Thanks,
    Ramya

    Shailja,
    Yes you can. Follow these steps:
    1> Create the LOV (which you can create from another table, as you mention). and test it.
    2> Now you create one ADF Table on the page.
    3> Select the Table in staructure window > select af:column(the column where you want put you lov) > Inside the af:column, Replace the Uicomponent by the LOV(which you created in step-1)
    4> Save & Run
    --Neelmani Jaiswal
    http://www.jneelmani.blogspot.com

  • HT202197 How do I cancel a Verizon data plan for a lost ipad?

    My wife has lost her ipad, which is the most current version. How do we cancel her Verizon data plan without having the ipad in our possesion?

    Contact Verizon.
    http://www.verizonwireless.com/support/

  • How to develop simple time based ramp driver for lab view VI

    how do I develop simple time based ramp driver for lab view VI

    Here it is converted to LabVIEW 2010.  However it is missing the AO and AI read and write vis since I don't have that package.
    Attachments:
    SRI_TimeProportion.vi ‏70 KB

Maybe you are looking for

  • ?Multiple IPod's on one ITunes?

    I am in the process of buying another IPod. I want to know if I would be able to be able to use both IPod's on the same computer. Would they be able to interface with each other?

  • Uploading Excel file to SAP

    Hi Friends, Iam trying to Upload Excel file into SAP using the FM ALSM_EXCEL_TO_INTERNAL_TABLE. But it is going to dump n the error is                                                                              The call to the function module "ALSM_

  • Transferring files from old computer with fire wire

    I'm transferring files from my old computer to my new one. The old one has three hard drives. Everything from the startup drive transferred OK over fire wire, but the new computer doesn't see the 2nd and 3rd hard drives on the old one. Is there a way

  • Windows Search Not Working

    Hi, Windows search (Windows Explorer) does not return anything everytime i am looking up for some files that i know exists in my laptop. Could anyone help me with this please? Thx. Youjine Config : Fujitsu LifeBook S752 OS : Windows 7 SP1

  • Using Workspaces and Chat without OCS E-mail

    What are the limitations if I to use all the other OCS components except E-Mail ? For example, can I still use Workspaces and Chat without OCS E-mail ?