Print Date Range

Hello,
Database: ORACLE10g
BO Version: BOXIr3
I have created a filter in Universe named as Previous N Days and the folrmula which I placed is as follows:
@Select(Time Resolutions\Five Minutes) between (trunc(SYSDATE,'DD') - INTERVAL '@Prompt('Please enter the number of previous days to retrieve','N', {'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','29','30'},Mono,free,persistent,{'30'})' day(4)) and (trunc(SYSDATE,'DD')- interval '1' SECOND)
When I will run the report with putting the above in query filter, it will ask me for number of days and data will come for the previous N days.
Now in report I want to show the From and To date. How can I show that since with a given number how can I get the dates for which data was fetched. I tried to use the SYSDATE in formula to get the dates but its not working.
Please suggest.
Thanks & Regards,
Vijesh Chandra

Vijesh,
Would it be possible to build two local variables in your report from the object "Time Resolutions\Five Minutes":
[my max date]
=max(Time Resolutions\Five Minutes)
[my min date]
=min(Time Resolutions\Five Minutes)
Thanks,
John

Similar Messages

  • I want to print a calendar by specifying the date range

    I want to be able to print from ICal in a 4 week block but not by month. Our calendar is updated regularly and I want to be able to print out the forward 4 weeks, not this month which gives me dates already past.
    And I do not want to print out 4 individual weeks.
    I know how to print Month and Week but these don't do it for me.
    How can I specify a date range?
    Cheers
    Rusty

    Hello @jgolf ,
    I would like to direct your attention to the following post by PrintApper .
    HP Apps Service Retired on several printers
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Document printing ignoring posting date range

    I am in Banking/Document Printing and selected my bank account,
    doc type = checks for payment,
    print checks = to be printed. 
    Posting date from/to fields = 2/1/09 - 2/28/09. 
    I click the OK button and the results show me 2 checks with 3/13/09 posting dates.  I only have these 2 checks iin my test db, but I was testing the february date range to verify it would exclude them from the results as it should. 
    Why are my 2 march checks showing in the results when my posting dates are only for February?

    This date has not relation to your posting date.
    The 03/13 is the check date.  Your transactions are still from your February date range.
    You created the checks today and a check needs to have a date on it and this 03/13 is the date that will be printed on the check
    By default the date you process the checks will be the date check date.
    Posting Date is nothing but the date the transaction / JE is posted on.
    Suda

  • Date Range based on print date

    What would be the formula for a date range that references the most recent 7am-7am period from the print date?

    What would be the formula for a date range that references the most recent 7am-7am period from the print date?
    Assuming the print date is todays date, then this should work
      in DateTime  currentdate -1 +time (07, 00, 00)  to DateTime currentdate +time (07, 00, 00)

  • How to take unreconcilled transactions report for a date range ?

    hi all,
    How to take unreconcilled transactions report for a
    data range ?
    we have taken unreconcilled transactons from
    external reconcillation using filter option mentioning
    range of dates,But when we take print out using PLD,
    it showing unreconcilled transactions for all dates.
    But our client requires it as a standard report from SAP ?
    Our client is using SAP B1 2005B PL39.
    Jeyakanthan

    Hi
    Financials -> Financial Reports -> Accounting -> General Ledger.
    In the 'Display' dropdown select, 'Unreconciled' .
    Hope this should help you.

  • How can I get the start and end of a date range?

    Post Author: RobR
    CA Forum: Formula
    Greetings!
    I have a report whose records are selected if a date field is within the date range returned by the LastFullWeek function.  I want the header for that report to print the first and last dates in that range.  I don't see a way to extract those dates from a date range.  How do I do it?
    Also, I think it would be nice to be able to walk through a date range using a for loop, something along the lines of the following:
    for (thisDate in LastFullWeed)(    do something;)
    but I didn't see syntax like that in the help system.  If I could do this, then I could get the first and last date.  Is this possible?
    Thank you!
    RobR

    Post Author: SKodidine
    CA Forum: Formula
    If all you want is the starting date and ending date of the function LastFullWeek, then all you have to do is this:
    minimum(LastFullWeek) & '          ' & maximum(LastFullWeek);
    On a side note, from your post: for (thisDate in LastFullWeed)  Whatcha smokin'  Willis?? 

  • POSTING DATE RANGE INCLUDED IN CUSTOMER RECEIVABLE AGEING REPORT PLD

    Dear All,
    Please can you tell me how to print the posting date range selected in the parameter selection for Customer Receivable Ageing Report PLD.
    Thanks
    Gary

    Dear Rahul,
    I know that but it is really painful to develop the whole report in crystal where it is available in SAP itself. Imagine just for one requirement i will have to build the whole report in crystal. I think SAP should give flexibility to change the hard coded reports.
    Regards,
    Gary

  • Oracle 10g - Problem with Date Ranges using Between

    I am keeping track of patients who have not been contacted during a date range. if a nurse adds an event or note and the note is type 1,3,4 then this is a contact. The following works but if the event or note was made on the same day as the report is run, the current contact is not printed. Any help to improve the query and identify the problem would be appreciated. Also, if you add '1' to' n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)' so it is ' n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE) + 1'. It works. What is wrong?
    SELECT upper(symptom_text),
      COUNT(UNIQUE(c.patient_id)) ,
      COUNT(UNIQUE(
      CASE
        WHEN e.eventdate BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)
        OR (n.created_date_time BETWEEN '10-Jan-2010' AND TRUNC(SYSDATE)
        AND n.note_type_id                                             IN (1,3,4))
        THEN c.patient_id
        ELSE 0
      END)) - 1
    FROM patient c,
      cust_info ci,
      event e,
      note n
    WHERE c.physician_id = 74
    AND c.patient_id      = ci.patient_id
    AND ci.info_type_id    = 32
    AND ci.symptom_text      IS NOT NULL
    AND c.patient_id      = e.patient_id(+)
    AND c.patient_id      = n.pk_id(+)
    AND n.table_name(+)    = 'patient'
    GROUP BY upper(symptom_text)
    ORDER BY DECODE(upper(symptom_text), 'A+', 1, 'A', 2, 'B', 3, 'C', 4, 'D', 5, 99)I suspect the end date is not inclusive. Fields are Date data types. Thanks for any help.

    Hi,
    achtung wrote:
    Understood. Frank was correct. Do you mean about the dates? Is that issue solved now?
    It would help a lot if you posted some sample data (CREATE TABLE and INSERT statements) and the results you want from that data. Simplify as much as possible. For example, if everything involving the e and n tables is working correctly, forget about them for now. Post a question that only invloves the c and ci tables.
    But, additionally, when a record in the cust_info doesn't exist my contact count is inaccurate. How can you explain this conceptually. I understand the query path is checking for this record due to the predicate. Perhaps the query should be redesigned. Thanks for your input!Again, you can see the results, and you know what they should be. Nobody else has that information. Please post some sample data and the results you want from that data.
    In your earlier message you said
    Could there be a problem if a record does not exist in the ci table?The condition:
    AND ci.symptom_text IS NOT NULL
    filters for this right? Maybe this could be part of the problem. why I'm not seeing records when a note is added to a patient's doc. How would this be technically be explained? You're doing a inner join between c and ci:
        AND c.patient_id      = ci.patient_id
        AND ci.info_type_id   = 32
        AND ci.symptom_text   IS NOT NULL ...Rows from c will be included only if there is a row in ci with the same patiend_id: even more, that matching row in ci must also have info_type_id=32 in a non-NULL symptom_text, otherwise, the row from c will be ignored.
    If you want rows from c to be included even if there is no matching row in ci, then do an outer join, like you're already doing with the e and n tables:
      WHERE c.physician_id = 74
        AND c.patient_id         = ci.patient_id (+)
        AND ci.info_type_id (+)  = 32
        AND ci.symptom_text (+)  IS NOT NULL
        AND c.patient_id         = e.patient_id(+)
        AND c.patient_id         = n.pk_id(+)
        AND n.table_name(+)      = 'patient'

  • Date Range - CM14 and BI Publisher

    Is there a way to make a date range prompt for reports for CM14 with BI Publisher.
    I can get it to work in BI Publisher but it does not transfer to CM14.
    Any ideas?

    Hi,
    The prompt for criteria will need to be added to report's data model within BI Publisher.  After logging into the Oracle BI Publisher User Interface, do the following:
    1.- Click the Edit link for the data model that is associated with the report that you want to add the prompt to.  If you are prompted that the Default Data Source is invalid, select the correct data source from the available drop down list.
    2.- Click the Parameters link located towards the bottom left of the screen.
    3.- Click the green plus symbol to add a new, blank row.
    4.- For the Parameter Name field, enter the following: CRITERIA
    ***Note - Ensure that the Parameter Name field is populated with all capital letters***
    5.- For the Data Type, select String
    6.- For the Default Value, you will enter information about every field you would like to prompt on.  The format for this information will be: table_name.column*datatype(length)^.  This will be repeated for as many columns as you would like to be able to prompt on.  Here is an explanation of each component:
    table_name - The table or view that the field being prompted on exists in.
    column - The column name of the field being prompted on.
    * - The asterisk connects the field's database information with the field's input specifications
    datatype - The data type of the field being input.  This tells Contract Management how to handle the input. For example, if you use datetime, it will know to put a calendar picker in the Prompt for Criteria window when printing.
    length - The maximum length that a user will be able to input in the Prompt for Criteria text box.  This value will not always be required, as datetime do not allow manual entry, only picker selection.
    ^ - The carrot denotes the end of the column specification.  Any other columns could then be added after in a continuous string. You can add as many as you like.
    Example: The following would be used to be able to prompt on a Contract's To Vendor, Total Cost, and/or Document Date:
    cnmt.to_vendor*char(8)^cnmt.total_cost*int(16)^cnmt.document_date*datetime^
    7.- For the Parameter Type, select Text
    8.- Click the Save (Floppy Disk) icon in the top right to save the changes and test the report further.
    9.- Log into the Contract Management Administration page (http://server_name:port/exponline/adminlogon.jsp)
    10.- Click the Server Configuration link and then click the Import Reports & Forms button
    11.- Restart the Contract Management web server to make this new prompt available to your end users.
    Best regards,
    Matías G. Uribe

  • Possible to pass a date range to a subreport?

    Hi,
    I've created a report with three groups and I suppress the second and third group. The first group displays a summary of the details.  If I "hide" the details I have a nice summary looking report which I can then click on to drill down into the details. However, I cannot enable the "hide" functionality because of two reasons: 1. I'm using the crystal java viewer and it has serious limitations when using the hide/drill-down feature; and 2. in order to print I have to click on each group item in order to print - so when I have 20 values in my group I'm going into each group 20 times and printing 20 times.
    So, I still want a summary view of all my group summaries at the front of my report.  How can I consolidate the group values into a single summary view? I attempted creating a subreport that is the same as the main report however the issue is that the initial parameter used is a date *range". I'd like to pass the date range to the subreport and then I'm sure this would all work. Does crystal support passing a date range to a sub-report? If so, how is this done?
    thx!
    Mark

    Hi Mark,
    Yes, you can pass a date range value to the SUbreport!
    Here's how its done:
    1) Create a formula in the Main report; call it Start_date:
    Minimum({?Date_parameter})
    2) Create a second formula in the Main report and call it End_date:
    Maximum({?Date_parameter})
    3) Insert the sub-report and then Right-click the sub-report > Select Change Subreport links > Move the Start_date and End_date formulas to 'Fields to Link to' area and make sure you uncheck the 'Select data in subreport based on field' option.
    4) Edit the sub-report (Right-click > Edit) and insert a Record Selection formula to include the parameters from the Main Report.
    Go to Report > Selection Formulas > Record:
    {date_field} >= {?Pm-@Start_date} and {date_field} <= {?Pm-@End_date}
    Hope this helps!
    -Abhilash

  • Developing prompts to enter a date range

    I need to develop a report for an agency allowing their user to select information from a table, between a user specified date range, which could change daily. The user needs to be prompted to enter a city, a start date, and an ending date... Then display and print this report based on their entered criteria. I would like to use the pop-up date pickers if possible. Can you give me some direction as to how I would go about developing the required prompts.

    Raj,
    Thank you for your help, I believe it is what I am trying to do. I am still having trouble bringing back data.. I feel that I am very close..
    The new page I created was PAGE 33.. On this page I have
    REGION:
    REGION: (Title-Retail-Labels)
    TYPE : SQL Query
    REGION SOURCE:
    select name,address,city,state,zip
    from retail
    where RENEWAL_DATE between to_date(:P33_START_DATE,'DD-MON-YY') and to_date(:P33_END_DATE,'DD-MON-YY')and POD =:P33_POD
    X Use Query-Specific Column Names and Validate Query
    ITEMS:
    10: P33_START_DATE Date Picker (DD-MON-YY) (Source:SQL Query)
    20: P33_END_DATE Date Picker (DD-MON-YY) (Source:SQL Query)
    30: P33_POD TextField (Source:SQL Query)
    I am querying data from the Retail table with the following columns.
    ID, Name, Address, City, State, Zip, Telephone, Fax, Permit, Renewal_Date, Owner, Contact, SalesTax, Violations, Compliance, Lease, Look, County, POD
    If I modify my query to say where renewal_date is not null or POD is not null I pull back the appropriate records..
    POD (column name) is basically point of destination and is a city..
    When I run the page it allows me to select two dates and type in a city. I have a Submit button to submit to page 33... It says no data found (the default).
    Does anything look incorrect..
    Thank you in advance for your help,
    Kevin

  • Dynamic Date Value for Date Range Parameter - Scheduling in BI

    Hi,
    I am New to BO Enterprise XI R3. I want to schedule the Crystal report which takes Date Range as parameter. Is any option available to calculate From Date automatically based on Current Date based on the range required?
    Currently, Parameter option accepts parameters and enterprise process the report for configured parameters. In this case, report always prints only for configured date range eventhough report generated after one month. I am expecting report has to print data for date range (eg. 1 weeks, 4 days, or any range) based on system current date.
    Thanks in Advance,
    Venkateswaran.P

    I'm am in the same situation.  I need to be able to have the date parameter dynamically change based on the current day's date when I schedule a report.  However, because this parameter comes from a Stored Procedure from the database, it cannot be modified in the Report Designer (as far as I know).  I've tried to set a default for it to use "currentdate" but it doesn't seem to take.  Anyone know if this can be accomplished in the scheduler?
    Thanks
    -Tom

  • Date range formula

    Post Author: Drumcode
    CA Forum: Formula
    Hello,
    My first post, I'm a total newb using CR11, I hope you forgive me if I'm asking a very simple question here. Is there a generic formula for date range I could use in the page header based on the date range from selection expert? I can probably get away with just the text field up there, but it'd be nice to automate it on my other reports. Thanks for any help you can provide.
    Jack

    Post Author: Drumcode
    CA Forum: Formula
    Alright, so I've created the parameter fields for the date range. It pulls the data correctly but now, how do I make this date range visible in the page header?I want it to look this way:
    Report Title                                              Date Range: 00-00-0000 to 00-00-0000                    Company Name                                                                                Print Date
    DataDataData----
    Again, I can live with that date range to be a text object but how can I have it use the same data range as the parameter field?

  • Printing A Range of Invoices

    Hi Experts,
    I have a smartform which prints invoices - one at a time. Works perfectly. One header line and multiple detail lines.
    I want to print a range of invoices at one go. There will be multiple header lines and multiple detail lines.
    Please advise how to go for it..
    Thanking u in advance as i hope the experts can give me the correct suggestions..
    Regards
    Kaushik M

    Hi,
    For mass printing of invoices use VF31 transaction.
    But if you want to use the same smarform to print multiple invoices data  then use a loop and within the
    loop use a command to trigger a new page for each new invoice number .
    Then print all the other sections.
    Regards,
    Ram
    Edited by: Ramakrishna Peri on Dec 22, 2008 12:18 PM

  • Multi-month, year, and date-range views

    My apologies for wasting everyone's time if I've missed something really obvious here, but am I correct in concluding that there is no way to generate anything beyond a static one-month view in iCal? No multi-month view? No year view? No "view date range"? At this stage of the game, how is it possible that something so elemental could be omitted from this program?
    At this point I'm reduced to exporting each month to a pdf file and then arranging them as tiles on the screen. But there has to be a better way.
    Short of a new version from Apple, are there any plug-ins that would do this? Does anyone have any other work-arounds? Thanks in advance.

    A quick search of the forums shows that this is a HIGHLY sought after feature (including by me). We all need to use the feed back link (below) to let Apple know this. In my experience with the tech support folks, they seem to have NO idea about what these forums say. In the past I have actually had them log in to these forums and search the issue I was calling them about and they have been blown away when they see the hundreds / thousands of posts with the very same thing they're discussing with me. So, as the wise man says .. "you don't ask, you don't get!" Use the form and let them know...
    http://www.apple.com/feedback/ical.html

Maybe you are looking for

  • Grey Screen Of Death appears daily! What's wrong with my computer?!?

    I'm really worried! This happens maybe 30 minutes to 2 hours after waking my computer from sleep. I usually don't run too many applications at one time, maybe four (internet, itunes, ichat, and maybe mail). Does anyone know whats going on? I'm really

  • I can't get iWeb to work...HELP

    I'm not sure what I'm doind wrong, but whenever I click on iWeb and try to start a new page, it won't work. It opens, but I can't clik on anything on it, because nothing's active. I have the whole iLife program (by the way I'm new to the whole mac ex

  • CO-PA Report - Urgent

    Hi We have a report with form, but when go to dispay the form in KE34 I don't see the form in drop down, but I can see the form through the report attached to it (in the report with form - diaplay form in KE33) I need to create a new report with this

  • Premiere cc 2014+ENCODER cc 2014

    ЗДРАВСТВУТЕ появился вопрос:используя Premiere cc 2014 вместе с ENCODER. при экспорте в него и выводе образуются офлайн кадры! какова вероятность, что это глюк или я не правильно настроил что-то не так?  ENCODER cc 2014 - обновился до версии где голу

  • Cant Install ANY versions of Linux

    Hi All I have a desktop that i'm wanting to install arch onto, which currently has windows 7.  It has a Gigabyte GA-Z68P-DS3 Motherboard, Nvidia GeForce 550Ti Graphics Card, Atheros AR922X Wireless Card etc ... Now when i insert any linux distro and