Date Range at Reports Section

Hi,
I am doing some Reports and my requirement is to put a Date Range with default operator as Is Between.  This functionality works in Query Groups in dynamic filters where it shows From Date to End Date. I just wanted to know if this funcationlity works in Reports Section if so How ? For me it is not working.

Hello,
Unfortunately, this will not work in the Reports section.
I was struggling with this and then I found out that the documentation states:
"Range and List are only supported in the UI for filters in queries which are used in list page query groups and on the report scheduled task page."
Regards,
Bogdan

Similar Messages

  • How to achieve the from and to date range in report builder 3.

    I AM TRYING TO CREATE ONE REPORT FROM REPORT BUILDER 3.
    WHERE I AM UNABLE TO DEFINE THE DATE RANGE.
    HOW TO ACHIEVE THE DATE RANGE IN REPORT BUILDER.
    NEED FROM DATE AND TO DATE FILTER IN REPORT BUILDER FOR PK DATE.

    Hi Ganesh,
    According to your description, you create a report in Report Builder 3.0, and create two parameters FromDate and EndDate, now you want to use the parameters in your MDX query, right?
    If in this case, here is a sample query for your reference.
    select
    {[Measures].[Internet Sales Amount]
    } on columns,
    {[Date].[Date].members} on rows
    from(
    select
    STRTOMEMBER("[Date].[Date].&["+@StartDate+"]"):STRTOMEMBER("[Date].[Date].&["+@EndDate+"]")
    ) on columns
    from [Adventure Works]
    Reference:STRTOMEMBER
    Regards,
    Charlie Liao
    TechNet Community Support

  • Date range in report output

    Hi Abaper,
    I have a requirment to display range of date in report output . I have fixed output to 7 days.
    when ever i input date range 7 days its display fine but when i input 3 days the report output date is display upto 3 is fine but in 5th to 7th column date should not display correct format.
    below is my code.
    date = p_date-low.
    wa_date-dat = date.
    APPEND wa_date TO it_date.
    CLEAR  wa_date.
    IF date LT p_date-high.
      date1 = p_date-low + 1.
      wa_date-dat = date1.
      APPEND wa_date TO it_date.
      CLEAR  wa_date.
    ENDIF.
    IF date1 LT p_date-high.
      date2 = date1 + 1.
      wa_date-dat = date2.
      APPEND wa_date TO it_date.
      CLEAR  wa_date.
    ENDIF.
    IF date2 LT p_date-high.
      date3 = date2 + 1.
      wa_date-dat = date3.
      APPEND wa_date TO it_date.
      CLEAR  wa_date.
    ENDIF.
    IF date3 LT p_date-high.
      date4 = date3 + 1.
      wa_date-dat = date4.
      APPEND wa_date TO it_date.
      CLEAR  wa_date.
    ENDIF.
    IF date4 LT p_date-high.
      date5 = date4 + 1.
      wa_date-dat = date5.
      APPEND wa_date TO it_date.
      CLEAR  wa_date.
    ENDIF.
    IF date5 LT p_date-high.
      date6 = date5 + 1.
      wa_date-dat = date6.
      APPEND wa_date TO it_date.
      CLEAR  wa_date.
    ENDIF.
    Can any one help me on this issue.
    Thanks in Advance.
    Thanks & Regards,
    Amit

    Hi Amit,
    pls see the code below:
    date = p_date-low.
    wa_date-dat = date.
    APPEND wa_date TO it_date.
    CLEAR wa_date.
    IF date LT p_date-high AND date is not initial.
    date1 = p_date-low + 1.
    wa_date-dat = date1.
    APPEND wa_date TO it_date.
    CLEAR wa_date.
    ENDIF.
    IF date1 LT p_date-high AND date1 is not initial.
    date2 = date1 + 1.
    wa_date-dat = date2.
    APPEND wa_date TO it_date.
    CLEAR wa_date.
    ENDIF.
    IF date2 LT p_date-high AND date2 is not initial.
    date3 = date2 + 1.
    wa_date-dat = date3.
    APPEND wa_date TO it_date.
    CLEAR wa_date.
    ENDIF.
    IF date3 LT p_date-high.
    date4 = date3 + 1.
    wa_date-dat = date4.
    APPEND wa_date TO it_date.
    CLEAR wa_date.
    ENDIF.
    Pls add the condition also in ur check for all the IF conditions..and just see if it works...
    Keerthi

  • XL Reporter - Selection of date range for report templates

    Dear All,
    I want to create a report using XL reporter and attach it to the main SAP B1 reports module . For this I have created the template using report composer .
    Issue:
    I have only one sub-period (ie,year wise in the posting periods)
    how i can select the date range in the Composer and attach it to the main menu.
    Regards,
    Suresh Kannan.P.

    Suresh,
                1. Goto Report Designer
                2. there u can find "Advanced Report Builder" on left side of the window
                3. At the below u can find three buttons like "Parameters", "Properties","Apply"
                4. Click on "Parameters"
                5. then Parameters window will populate
                6. Click the new Button
                7. Name: give as u like
                    Category: Literal
                    Type: Date
                    Attribute: Leave blank
                    Default Vale: Leave Blank
                    Prompt: From Date
             This is the process to create the parameters.
    create two parameters. one is fdate and ldate.

  • Changing date range in Report...

    Hi all,
    in report i have to change date range ..it is presently 1.1.2006 to 31.12.2006. i need to change year to 2007....
    can anyone please suggest me how to do that?

    Hi,
    In query Designer,select your date Char. expand u find Char. Variables.
    Select your Char. Varaible(the variable which is used to restrict the Values). right click ->edit,where u can change defalut date values or make it as blank.

  • YTD summaries in date range param report

    The notion is simple enough:  I need running YTD totals (not really YTD, but Year to a specific date) to display next to total fields selected via a date range parameter.  For instance:
    For 5/1/2008 to 5/31/2008
    Driver--Fund1--
    Total
    name      Trips    10               10
                    YTD Trips  50        50
    The date range parameter is used in the record selection formula using: table.Datefield >= Min parameter and table.Datefield <= Max parameter.
    The YTD formula I'm using is:
    NumberVAR YTDtrips;
    IF {table.Datefield} >= Date(Year(Maximum{?parameter})),01,01) and {table.Datefield} <= Maximum({?Parameter}) Then YTDTrips := {table.Trips}
    Unfortunately, the YTD totals equal the totals for the date range specified, so I'm doing something wrong--and I strongly suspect it's my YTDTrips formula approach.
    I'd appreciate any help.

    What you can do is :-
    1.)  Get all the records from FirstMonth of the Year to Maximum Data Range. So filter the records in the record selection formula like this:
    {table.Datefield} >= Date(Year(Maximum{?parameter})),01,01) and {table.Datefield} <= Maximum({?Parameter})
    2.) Doing Summary for {table.Trips} in the report will give u YTD Totals.
    3.) For summary related to data range parameter, create one running total and in the Evaluate option . Select formula and write the below code.
    table.Datefield >= Min parameter and table.Datefield <= Max parameter.
    This will give u total for the date range parameter..
    Hope this is useful to you..
    Bye
    kanak

  • Date Range Interactive report

    I have an interactive report
    I want to include
    where dte between to_date(:p38_from_date,'mm/dd/yyyy') and to_date(:p38_to_date,'mm/dd/yyyy')
    I have 2 date pickers and they both format 'mm/dd/yyyy' I can not get this to work
    Above what I am doing here is i want to include a NVL on each date parameter in the SQL statement.
    nvl(:p38_from_date, '01/01/2009') and '12/31/2050'
    I have looked at this forum extensively and I may be a little thick when it comes to dates in apex.

    I've had something similar and found it was a problem with the date strings. In my case, I wasn't handling a month that didn't have a leading zero properly, so it was an easy fix.
    Another thought is, what if you put a SELECT * FROM () around your UNIONed query and did the field comparison on the outer field? I'm guessing something's messing up in one of the UNIONed SELECTs.
    Feuerstein had sample code for taking in a string that supposedly held a date and matching it to multiple possible format strings, returning a date. Maybe you could try that?
    Good luck,
    Stew

  • Support date range and as of date in Universe

    Hi,
    I have some questions on Universe design best practices. Can you please help ?
    We are using BO4 SP7 and UDT for universe design.
    Little bit on our schema: snow flake schema with multiple fact tables. Most of our table are 'Pure Type 6' dimension tables in which start date and end date are used to track historical data.  We also have date dimension table. We want to support both 'As of date' and custom 'date range' type reporting.
    Out typical use cases are like
    1. All items As of date
    2. All items between dates etc.
    How can we model it in the Universe ?
    1. We can not join every dimension with date_d dimension. So we have decided to put default conditions at Folder level. Our typical date conditions as below.
    date_d.end_full_date_utc  between  diminetion1_d.start_date AND diminetion1_d.end_date
    But problem is, table condition are not always applied. If we have A, B and C folders and if I create report by using objects from A and C then non of the condition applied to B appears in the query. This is problem for us.
    2. Other approach we thought is to define start and end prompt and define a restriction condition  for each and every table.
          diminetion1_d.start_date > [start_date_prompt] AND diminetion1_d.end_date < [end_date_prompt]
    We thought it will be too munch work as we have more than 150 tables and also 2 prompts will always appear, even of as of date, which may not look good.
    3. Is there a way apply to apply these date conditions at the individual table level so that they will appear in Query when ever the table is involved in the join path ?
    3. What is the best way to handle this kind of requirements, please suggest ?
    Thanks

    Hi,
    I have some questions on Universe design best practices. Can you please help ?
    We are using BO4 SP7 and UDT for universe design.
    Little bit on our schema: snow flake schema with multiple fact tables. Most of our table are 'Pure Type 6' dimension tables in which start date and end date are used to track historical data.  We also have date dimension table. We want to support both 'As of date' and custom 'date range' type reporting.
    Out typical use cases are like
    1. All items As of date
    2. All items between dates etc.
    How can we model it in the Universe ?
    1. We can not join every dimension with date_d dimension. So we have decided to put default conditions at Folder level. Our typical date conditions as below.
    date_d.end_full_date_utc  between  diminetion1_d.start_date AND diminetion1_d.end_date
    But problem is, table condition are not always applied. If we have A, B and C folders and if I create report by using objects from A and C then non of the condition applied to B appears in the query. This is problem for us.
    2. Other approach we thought is to define start and end prompt and define a restriction condition  for each and every table.
          diminetion1_d.start_date > [start_date_prompt] AND diminetion1_d.end_date < [end_date_prompt]
    We thought it will be too munch work as we have more than 150 tables and also 2 prompts will always appear, even of as of date, which may not look good.
    3. Is there a way apply to apply these date conditions at the individual table level so that they will appear in Query when ever the table is involved in the join path ?
    3. What is the best way to handle this kind of requirements, please suggest ?
    Thanks

  • How to get XLR to show BPs with no transaction data for a given date range

    Hi -
    I am building an XLR report that does a comparison of net sales data across two periods for a given sales employee's BPs.
    The report has the row expansion:
    FACT BPA(*) SLP(SlpName = "ASalesPersonNameHere") ARDT(Code = "ARCreditMemo", "Invoice") Group by BPA.CardName
    and column expansions:
    FIG(SO_TaxDate = @StartDate:@EndDate)
    and
    FIG(SO_TaxDate = @StartDate2:@EndDate2)
    where @StartDate, @EndDate, @StartDate2, @EndDate2 are parameters that define the two ranges of dates.
    The column formulas are, from left to right:
    =ixDimGet("BPA", "CardName")
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for first date range
    =ixGet("SO_DocTotal")      <-- filtered by column expansion for second date range
    The report works fine except for one problem, I would like it to include BPs for which no transaction occurred in either date range as well.
    Any help is greatly appreciated!
    Thanks,
    Lang Riley

    Really appreciate your feedback!  Those are good suggestions. I should have mentioned that I had already tried both those suggestions.
    Removing FACT on BPA in this case ends up returning all the BPs and not respecting the SLP(SlpName = "aName") part of the query. 
    Using **, i.e., * or #NULL, makes no change in the resulting data in this case.  I had thought that ** would be the solution, but it didn't change the outcome.  I still have BPs for which when their sales employee is used as the filter and they have no transactions for either date range, and yet they still do not appear. 
    I should further mention that the IXL query, as it now stands, does return BPs for which one of the periods has no data, just not both, and I have verified that applicable BPs with no transaction data for both periods do exist in my data set.  It seems that perhaps the IXL query needs to be restructured?  Please keep the suggestions coming including how this query might be restructured if necessary.

  • Defining Date range and using the same range to search the documents.

    Hi Sap Gurus,
    in our business there are some documents which do have Validity period, like say Inspection certificates and valid for say 10 months, ex..  JAN 25th 2009 to Oct 24th 2009
    we store this certificate in DMS and link to some SAP object say an Asset,
    we have a requirement to list all the documents based on the expiry date range. say to get a list of documents which are about to expire in 15 days, or the list of documents which have already expired
    I tried to define a characteristic in date format, but it is a single value field, and search is only supported on that specific value only.
    like we cannot serch the DIR falling in between this Date Ranges.
    also report of Documents which are to expire in 15 days could not be got.
    is there a way to meet this requirement , if it is through a development also please tell me how the logic could be built
    Thanks and regards
    Priya S

    Hi SAP Gurus,
    Thanks much Thomas for your Promt reply.
    The solution provided by Thomas really works but the same thing is not possible in EDMS,
    in Easy DMS we cannot manually give any value in the date characteristics field, the system will ask to fill from the date window format.
    so we cannot enter < or > <> value in characteristics, hope there is any note or other procedure to get the same funtionality.
    please if any one worked on the same with EDMS  let me know
    Thanks and kind regards
    Priya S

  • 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 to be displayed  & Displaying multiple values on the report

    Hi,
    I have date range parameters, but I also need it to be displayed it on the report. Is there any way I can display it. E.G If a parameter is created one can drag and drop it on the report if it needs to be displayed on the report, I tried to do the same for the date range parameter but it does not work.
    Also If a parameter is created by selecting the option 'Allow Multiple Values', and if you drag and drop it on the report only the first value is displayed and the rest does not show. Has anyone tried this before and been successful in displaying multiple values in the report.
    Thanks in advance.

    Hi,
    A multi-value parameter is actually treated as an array in Crystal Reports.
    To display the values selected in the parameter, create a formula from the Field Explorer and type this code:
    Join({?ParameterName},",");
    Place this formula on the header or the footer sections of the report.
    Regarding the date range issue, please follow Sastry's advice and it should work fine.
    Make sure you're using the parameter in the Minimum and Maximum functions. For eg: If I was to create a date range parameter called OrderDate, my formula to show the start date would look like this:
    Minimum({?OrderDate})
    -Abhilash

  • Report that Forces a User to Input a Date Range

    Greetings,
    I am generating a work times report and would like to force the user to select a date range when the report first opens. This would pull only the data for the specified range from my database.
    I prefer drop down lists or calendars, but am wondering if this is possible.
    I guess one other important element is that I would like to "dumb down" the interface, so the user of the report does not have access to all of the features of the program.  Basically I only want them to have read privileges.
    I'm new to CR, so would appreciate any guidance.
    Thanks
    Peter

    Here is what the Help system has to say about the read only feature:
    You can make a report, section, area, or object read-only so it can't be formatted.
    When you set this option, choices in the Format Editor become inactive.
    The formatting options that are usually available on the toolbars or shortcut menus are also suppressed for the report or object.
    Note:    This feature is for your convenience in protecting report formatting; it is not intended to be used as report security.
    Also, if you want the user to be prompted for parameter values each time they open the report, take the check mark out of the
    "Save Data with Report" option.
    Jason

  • No Data in Reports Details in Custom date range

    Hello, iTunes U Public Site Manager Admins.
    As the iTunes U Public Site Manager admin, I've been trying to access our institution's iTunes U Reports Details for a couple of days. (I send a monthly report of usage to our course/collection contributors.) When I custom the date range, under Details, there is zero entry; "No data available in table" message is shown.
    This feature had been working well since Apple iTunes U added this enhancement on August 13, 2013. The report Details showed the exact stats for Browse, Subscribe, Download, Stream, and Enclosure for each course/collection in the custom date range.
    Now under "Details", the data is shown only when the date range is Last 30 Days. It shows no data in custom date range when the Calendar is used to select a Start Date and End Date.
    Has anyone else noticed this problem?
    Thanks.
    Q. Wang

    Erik.
    I used your suggestion and it worked very well. This is how I did it.
    Export the range of data that includes Feb. 1-Feb. 28, 2014 as .tsv file.
    Open that file in Excel.
    Add a blank column next to the Date column. Use function =Month() to just extract the month into the new column. Fill down the whole column. Then copy and paste special (value) into the same column (I have over 26,000 rows of data in the file.) Converting to Value will allow for the next step of PivotTable.
    Create a PivotTable for the 26,000 rows of data. Use Month as the Report filter, iTunes_ID as the Row Labels, Select Browse, Subscribe, etc. as the Sum Values. (The result is a summary table with about 200 rows.)
    I then do a Vlookup to my premade Master file to add Category (course, collection, resources) and Instructor Name to each of the 200 rows.
    That will do it for my monthly report.
    Thanks for your tip again. I did not know the .tsv file would have DATE for each item.
    Sincerely,
    Q. Wang

  • Date range query  problem  in report

    Hi all,
    I have created a report based on query and i want to put date range selection but query giving problem.
    If i am creating select list selection then it is working fine means it will display all records on the particular date.
    But what i need is that user will enter date range as creation_date1,creation_date2 and query should return all the records between these date range. i want to pass it by creating items, i created two items and passing creation_date range to display all records but not displaying and if not passing date then should take null as default and display all records
    Here is the query:
    /* Formatted on 2006/12/10 20:01 (Formatter Plus v4.8.0) */
    SELECT tsh."SR_HEADER_ID", tsh."SALES_DEPT_NUMBER", tsh."COUNTRY",
    tsh."LOCAL_REPORT_NUMBER", tsh."ISSUE_DATE", tsh."SUBJECT",
    tsh."MACHINE_SERIAL_NUMBER", tsh."MACHINE_TYPE", tsh."MACHINE_HOURS",
    tsh."STATUS"
    FROM "TRX_SR_HEADERS" tsh, "TRX_SR_PARTS" tsp
    WHERE (tsh.status LIKE :p23_status_sp OR tsh.status IS NULL)
    AND (tsh.machine_type LIKE :p23_machine_type_sp)
    AND ( tsh.machine_serial_number LIKE
    TO_CHAR (:p23_machine_serial_number_sp)
    OR tsh.machine_serial_number IS NULL
    AND ( TO_CHAR (tsh.failure_date, 'DD-MON-YY') LIKE
    TO_CHAR (:p23_failure_date_sp)
    OR TO_CHAR (tsh.failure_date, 'DD-MON-YY') IS NULL
    AND ( TO_CHAR (tsh.creation_date, 'DD-MON-YY')
    BETWEEN TO_CHAR (:p23_creation_date_sp)
    AND TO_CHAR (:p23_creation_date_sp1)
    OR TO_CHAR (tsh.creation_date, 'DD-MON-YY') IS NULL
    AND (tsh.issue_date LIKE :p23_date_of_issue_sp OR tsh.issue_date IS NULL)
    AND (tsh.country LIKE :p23_country_sp OR tsh.country IS NULL)
    AND ( tsh.local_report_number LIKE TO_CHAR (:p23_local_rep_num_sp)
    OR tsh.local_report_number IS NULL
    AND ( tsp.part_number LIKE TO_CHAR (:p23_part_number_sp)
    OR tsp.part_number IS NULL
    AND tsh.machine_type IN (
    SELECT DISTINCT machine_type
    FROM trx_sales_dept_machine_list
    WHERE sales_department_id IN (
    SELECT DISTINCT sales_department_id
    FROM trx_user_sales_department
    WHERE UPPER (user_name) =
    UPPER ('&APP_USER.'))
    AND SYSDATE >= valid_from)
    AND tsh.sr_header_id = tsp.sr_header_id
    can any one tell me wat is wroung in this query.
    Any other way to write this?
    Thank You,
    Amit

    Hi User....
    Here is some date range SQL that my teams uses with some success:
    For date columns that do not contain NULL values, try this (note the TRUNC, it might help with your "today" problem).
    The hard coded dates allow users to leave the FROM and TO dates blank and still get sensible results (ie a blank TO date field asks for all dates in the future.
    AND TRUNC(DATE_IN_DATABASE)
    BETWEEN
    decode( :P1_DATE_FROM,
    TO_DATE('01-JAN-1900'),
    :P1_DATE_FROM)
    AND
    decode( :P1_DATE_TO,
    TO_DATE('31-DEC-3000'),:
    :P1_DATE_TO)
    For date columns that contain NULL values, try this (a little bit trickier):
    AND nvl(TRUNC(DATE_IN_DATABASE),
    decode( :P1_DATE_FROM,
    decode( :P1_DATE_TO,
    TO_DATE('30-DEC-3000'),
    NULL),
    NULL)
    BETWEEN
    decode( :P1_DATE_FROM,
    TO_DATE('01-JAN-1900'),
    :P1_DATE_FROM)
    AND
    decode( :P1_DATE_TO,
    TO_DATE('31-DEC-3000'),
    :P1_DATE_TO)
    Note the 30-DEC-3000 versus 31-DEC-3000. This trick returns the NULL dates when the FROM and TO date range items are both blank.
    I hope this helps.
    By the way, does anyone have a better way of doing this? The requirement is given a date column in a database and a FROM and a TO date item on a page,
    find all of the dates in the database between the FROM and TO dates. If the FROM date is blank, assume the user want all dates in the past (excluding NULL dates). If the TO date is blank, assume that the user wants all of the dates in the future (excluding NULL dates). If both FROM and TO dates are blank, return all of the dates in the databse (including NULL dates).
    Cheers,
    Patrick

Maybe you are looking for