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

Similar Messages

  • Reports / intranet/ In some detail,  the user will input a date range from and 2 and will out put the records in the int

    Hello there,
    I am totally green in web development.
    my goal is to, for the user will input a date range from and
    to and will out put the records in the intranet when they press a
    button.
    However, the good news is: I have experience in programming.
    I have written applications for desktop in VB>NET and I
    understand RDBMS /sql concepts .
    But CF and WEB development is new to me.
    My current projects involves in connecting to DB and testing
    it. (it works fine)
    And outputting reports by to a intranet page. (records)
    i need help on how to start this asap. I will even do some
    practice at home.
    Tools I have at work
    • Development server(test)
    • Home site.
    • Toad for db connection.
    • Html reference guide
    • Cf dummies book.
    How can start my projects.
    (ex. Create cf, outputpage?)
    seriously, I am new to this.
    Thanks.

    Well, I had a really nice response with some concepts and
    ideas for you to practise on etc, but these dumb forums timed out
    and I lost it all
    If you want to pop me an email we could probably do a few
    exercises together that way - or even by MSN Messenger if you want.

  • Moving average price  based on date range, site and article.

    Hi ABAPers,
    I am working on SKU wise sales report. Based on user input of date range ,site and article I fetch data from VBRP table i.e., (billing data from stores) . I have searched a lot to find MAP but dint get convincing solution.
    I tried to get data from MBEW-VERPR but that doesnot give MAP for a given date. I also tried with condition record table and KONP table but not helpful.
    I also got to know about s031 and LIS configuration I am not sure whether functional consultant should do the changes.
    Kindly help me in obtaining the MAP for particular bill date, article and site(store).
    Regards,
    Dep

    You can found the moving average price in MBEW (current) and MBEWH (history table)
    The first goods movement after the period closing program updates the period in MBEW and writes the data of the previous period to table MBEWH
    - If you actually need map on a daily (or less) basis, you will have to calculate it from MBEW, MBEWH, MSEG and BSIM (...)
    - You could also look for the actual cost in MSEG related to records of VBRP.
    Regards,
    Raymond

  • Date range

    Hi,
    How do I group by to have a date range count and it will sum up the letter1 that is obtained from that one month.Currently i knwo how to run it daily but summarizing by one month of teh postcodes, i am not too sure.
    This is table counters.
    Date Postcode Letter1 Letter2
    31/05/2009     810     MOM MOM
    1/01/2009     810     MOM MOM
    1/02/2009      810     MOM MOM
    29/05/2009     812     DAD DAD
    30/04/2009     832     DAD
    31/05/2009     835     DAD
    29/05/2009     812     MOM
    29/05/2009     812     MOM MOM
    DDL
    create table counters
    (DATETIME date,
    Postcode number,
    letter1 varchar2(5),
    letter 2 varchar2(5));
    Query I have tried:
    <pre>
    SELECT TO_CHAR(DATETIME, 'DD/MM/YY'),POSTCODE,
    count(letter1) as letter1_TOTAL,
    count(letter2) as letter2_TOTAL,
    sum(case when letter1 ='MOM' then 1 else 0 end) as "MOM",
    sum(case when letter2 ='DAD' then 1 else 0 end) as "DATE"
    FROM counters
    WHERE DATETIME >= (sysdate -180)
    GROUP BY TO_CHAR(DATETIME, 'DD/MM/YY'),POSTCODE
    ORDER BY TO_CHAR (DATETIME,'DD/MM/YY') DESC;
    </pre>
    Not sure how to do this month based.
    Liek my expected results should be
    Date Postcode letter1 letter2
    1/01/2009 -1/02/2009 810 2 null --------->MOM occured twice in that month
    1/03/2009 -1/04/2009 810 null null
    1/05/2009 -1/06/2009 810 1 null
    1/01/2009 -1/02/2009 812 null null
    1/03/2009 -1/04/2009 812 null null
    1/05/2009 -1/06/2009 812 1 1
    At that one month how many times MOM/DAD has summed up in that postcode.
    Edited by: CrackerJack on Jun 3, 2009 10:30 PM

    Still not very clear about our requirement.
    SQL> WITH counters AS
      2       (SELECT TO_DATE ('31/05/2009', 'DD/MM/YYYY') datetime, 810 postco
      3               'MOM' letter1, 'MOM' letter2
      4          FROM DUAL
      5        UNION ALL
      6        SELECT TO_DATE ('1/01/2009', 'DD/MM/YYYY'), 810, 'MOM', 'MOM'
      7          FROM DUAL
      8        UNION ALL
      9        SELECT TO_DATE ('1/02/2009', 'DD/MM/YYYY'), 810, 'MOM', 'MOM'
    10          FROM DUAL
    11        UNION ALL
    12        SELECT TO_DATE ('29/05/2009', 'DD/MM/YYYY'), 812, 'DAD', 'DAD'
    13          FROM DUAL
    14        UNION ALL
    15        SELECT TO_DATE ('30/04/2009', 'DD/MM/YYYY'), 832, 'DAD', NULL
    16          FROM DUAL
    17        UNION ALL
    18        SELECT TO_DATE ('31/05/2009', 'DD/MM/YYYY'), 835, 'DAD', NULL
    19          FROM DUAL
    20        UNION ALL
    21        SELECT TO_DATE ('29/05/2009', 'DD/MM/YYYY'), 812, 'MOM', NULL
    22          FROM DUAL
    23        UNION ALL
    24        SELECT TO_DATE ('29/05/2009', 'DD/MM/YYYY'), 812, 'MOM', 'MOM'
    25          FROM DUAL)
    26  SELECT * FROM COUNTERS
    27  ORDER BY datetime
    28  /
    DATETIME    POSTCODE LET LET
    01-JAN-09        810 MOM MOM
    01-FEB-09        810 MOM MOM
    30-APR-09        832 DAD
    29-MAY-09        812 MOM MOM
    29-MAY-09        812 DAD DAD
    29-MAY-09        812 MOM
    31-MAY-09        835 DAD
    31-MAY-09        810 MOM MOM
    8 rows selected.I changed your group by clause to include the date range. However if you want month wise you should understand that 01-Jan-2009 to 31-Jan 2009 is considered as one month. So the date range for one month you specified in your expected result was wrong. (01-Jan-2009 to 01-Feb-2009) .
    Hope the following code helps:
    SQL> WITH counters AS
      2       (SELECT TO_DATE ('31/05/2009', 'DD/MM/YYYY') datetime, 810 postco
      3               'MOM' letter1, 'MOM' letter2
      4          FROM DUAL
      5        UNION ALL
      6        SELECT TO_DATE ('1/01/2009', 'DD/MM/YYYY'), 810, 'MOM', 'MOM'
      7          FROM DUAL
      8        UNION ALL
      9        SELECT TO_DATE ('1/02/2009', 'DD/MM/YYYY'), 810, 'MOM', 'MOM'
    10          FROM DUAL
    11        UNION ALL
    12        SELECT TO_DATE ('29/05/2009', 'DD/MM/YYYY'), 812, 'DAD', 'DAD'
    13          FROM DUAL
    14        UNION ALL
    15        SELECT TO_DATE ('30/04/2009', 'DD/MM/YYYY'), 832, 'DAD', NULL
    16          FROM DUAL
    17        UNION ALL
    18        SELECT TO_DATE ('31/05/2009', 'DD/MM/YYYY'), 835, 'DAD', NULL
    19          FROM DUAL
    20        UNION ALL
    21        SELECT TO_DATE ('29/05/2009', 'DD/MM/YYYY'), 812, 'MOM', NULL
    22          FROM DUAL
    23        UNION ALL
    24        SELECT TO_DATE ('29/05/2009', 'DD/MM/YYYY'), 812, 'MOM', 'MOM'
    25          FROM DUAL)
    26  SELECT      TO_CHAR (TRUNC (datetime, 'MONTH'), 'DD/MM/YYYY')
    27           || '-'
    28           || TO_CHAR (LAST_DAY (datetime), 'DD/MM/YYYY') date_range,
    29           postcode, COUNT (letter1) AS letter1_total,
    30           COUNT (letter2) AS letter2_total,
    31           SUM (CASE
    32                   WHEN letter1 = 'MOM'
    33                      THEN 1
    34                   ELSE 0
    35                END) AS "MOM", SUM (CASE
    36                                       WHEN letter2 = 'DAD'
    37                                          THEN 1
    38                                       ELSE 0
    39                                    END) AS "DAD"
    40      FROM counters
    41     WHERE datetime >= (SYSDATE - 180)
    42  GROUP BY    TO_CHAR (TRUNC (datetime, 'MONTH'), 'DD/MM/YYYY')
    43           || '-'
    44           || TO_CHAR (LAST_DAY (datetime), 'DD/MM/YYYY'),
    45           postcode
    46  ORDER BY    TO_CHAR (TRUNC (datetime, 'MONTH'), 'DD/MM/YYYY')
    47           || '-'
    48           || TO_CHAR (LAST_DAY (datetime), 'DD/MM/YYYY')
    49  /
    DATE_RANGE              POSTCODE LETTER1_TOTAL LETTER2_TOTAL        MOM         DAD
    01/01/2009-31/01/2009        810             1             1          1           0
    01/02/2009-28/02/2009        810             1             1          1           0
    01/04/2009-30/04/2009        832             1             0          0           0
    01/05/2009-31/05/2009        810             1             1          1           0
    01/05/2009-31/05/2009        812             3             2          2           1
    01/05/2009-31/05/2009        835             1             0          0           0
    6 rows selected.Regards,
    Jo
    Edit: Added code tags

  • Stored Procdure date range problem

    Hi All,
    My Vendor created a Stored procedure which asks for a date range when first creating a standard report. Once the date range is entered then I select which data fields I want to display, etc. Once in the report, I can see the parameter fields, but they have a [?] with a weird little yellow icon, and I cannot see the parameter fields in the parameter tab. My users need to be able to change the date range in InfoView, but since there isn't a date range parameter, they cannot, and I also cannot get it to show up in the report in CR 2008. The only time I can get the date range entered is when creating a report, here is the procedure that the vendor gave me:
    XSAC_GET_TEST_COUNT
                          ( P_REPORT_CURSOR  IN OUT XSAC_REPORTS.TEST_COUNT_VIEW_TYPE,
                            P_START_DATE     IN DATE ,
                            P_END_DATE       IN DATE )
    Not sure how to fix this, and neither does the Vendor, although they created it.
    Any help would be much appreciated.
    I have other reports where I have successfully created a date range parameter, and they work fine, this is my first time with a stored procedure. and it asking for a date range when selecting the data source. Not from a date field in the report

    Hi All,
    I found the problem,
    The first Option is: Show on (Viewer) Panel, it was set to Do Not Show . So it was hidden.
    I changed it Editable and it works fine.
    Hopefully this will help someone in the future.

  • Workday calculation for specified date range

    Hi All,
    How to count number of workdays available for given date range. And I tried below statement which is
    not working.
    SUM(CASE [Calendar].[Calendar Date]
        WHEN [Calendar].[Calendar Date].[Year] = '2005' AND [Calendar].[Calendar Date].[Month]
    = 1
        THEN [Calendar].[Calendar Date].CURRENTMEMBER.CHILDREN
        END
    , [Measures].[Work Day Flag])

    Hi bpbhhaskar,
    According to your description, you want to count the weekdays in MDX. Right?
    In this scenario, we can just aggregation days from Monday to Friday. The key should be 2 to 6. Please use the expression below:
    with
    MEMBER [Measures].[DayCount] AS
    Count
    Descendants
    [Date].[Calender].CurrentMember
    ,[Date].[Calender].[Date]
    * {[Date].[Day Of Week].&[2]:[Date].[Day Of Week].&[6]}
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Date range sunday to monday

    Hello experts;
    I would like to design a date range query where the beginning of the week is always sunday and the end of the week is always monday. All help is appreciated.
    Thank you

    What do you mean by "design a date range"? And " beginning of the week is always sunday and the end of the week is always monday" doesn't make much sense. If it starts Sunday then last day of the week is Saturday. Anyway, nearest Sunday is:
    TRUNC(your_date_column + 1,'IW') - 1SY.

  • Display of 2 rows of data for 2 different date range selection

    Hi Folks,
    I have a requirement as follows,
    User has an option of selecting 2 Date Ranges
    From and To Date and again From and To Date
    The result should display 2 different rows of data with From and To Date range selection.
    Eg:
    12/09/20008 to 03/09/2009           10 20 30 40
    23/10/2009 to  18/12/2010           40 20 10 30
    Difference                                   30 0  20 10
    % Change                                   x  y  z   q
    Thanks for your input.
    Regards,
    KJ

    You will need to use union report, and you would have fours union's in this report.
    Union - 1: Data from 1st Date Range
    Union - 2: Data from 2nd Date Range
    Union - 3: Variance Calculation
    Union - 4: Percentage Variance Calculation.
    If the date's are coming from the same field, use cast function to use the same column twice in your prompts. Apply filters on each union as needed.
    Thanks.

  • Data between Date Range with Business Days only

    Hi All,
    We have a requirement that we need to retrieve data between a data range, providing From date and To date as input.
    We also have the option to Include Business Days Only through a check box which will be passed to CR 2008 through a report frame work.
    Can some one help me how to display the report data within the Date Range entered and that includes only Business Days.
    Thanks in advance for the help.
    Regards,
    Naresh.

    try this formula. Lets if your date range parameter is {?date} then try this formula
    @startdate:
    if datepart('w',minimum({?date}))=7 then
    minimum({?date})+2
    else if datepart('w',minimum({?date}))=1 then
    minimum({?date})+1
    else
    minimum({?date})
    @enddate
    if datepart('w',maximum({?date}))=7 then
    maximum({?date})+2
    else if datepart('w',maximum({?date}))=1 then
    maximum({?date})+1
    else
    maximum({?date})
    regards,
    Raghavendra

  • 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

  • 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

  • CURRENT YEAR SALES DATE PARAMATER AND PRIOR YEAR SAME DATE RANGE

    I am pulling data from a SQL view dbo.view that has current and historical SOP data by line.  The date paramater is a date range,  uppr date and lower date formulas are in the report.  I need to include prior year SOP data for the same prior year date range in the detail.  I have tried adding the view in twice with no luck, just duplications.  Ultimately I want to supress the detail and only show the totals by customer so it is comparitive.  Thanks for your help.  Jayne

    OK
    lets simplify it
    get a test data source with some simple dates in it.
    get the report logic working.
    it looks like you have the right formula ideas but lets go for
    @upperthisyear
    @upperlastyear
    @lowerthisyear
    @lowerlastyear
    then assuming a date field of {table1.date}
    the record selection would be
    if (@upperthisyeare > {table1.date} and @lowerthisyear < {table1.date}) or (@upperlastyeare > {table1.date} and @lowerlastyear < {table1.date}) then 1 else 0
    I would test this by using it as a formula field with the test data.

  • 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?? 

  • Moving multiple files by date range and/or file name filtered

    I need to move multiple files by date range and/or by filename (using a filter) to another directory. 
    OR
    How can I get the attributes of files in a directory, something you would see when typing in "dir" in a DOS or ls in UNIX.  I can parse this info and then make a array of files to move.
    The reason for needing this is that I need to move files that are located in another country, and sort them into different directories based on date.  Having to read each file for it's file information adds wasted time that I can't afford.  I am about to create a dos terminal to do a "dir" command to get the information and parse it out.. but I was hoping LV had a function that can get me that info so I don't have build it.
    THanks.

    You should use the 'File/Directory Info' functionality.
    This will return the last modificatoin of the file.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Filter for an 2D array of data, to obtained and defined range of data

    I am generating data from a ultrasonic sensor at 1K Hz, and its a lot of data (data points range from 0-10). However, in some cases when I know data should be around 7 (for example) I get outliers (about 9 and around 10). Is there a way to set a filter to obtain data in defined range.
    I will be average the data obtained to get a mean value, and the outliers are spoiling it. In worst case, my outliers are 30-40% of the data generated. I created a filter to sort the data and taking data starting from lowest value. I stop the loop when data hits a higher value then 9. But this seems to take a lot of time (since the loop checks for each data point and there are 1000s of them).
    Is there a better way to filter this data and set a pre-defined range for array to be collected?
    I am attaching my filter.vi.. and a sample data set from my previous run. The data ranges from 10 -8, and would like to have range set to 7.5 to 8.5 to be considered. The sensor is recording voltage here, and the problem can be solved in installing a different type of sensor, but a if a filter in LabView can due it, the sensor we are using now is absolute great.
    I am in kind of emergency, my design in stalled due to this problem, if anyone can find sometime to share few suggestions, I will be grateful.
    Thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    US filter.vi ‏14 KB
    Ultrasonic raw data.xlsx ‏119 KB

    See attached.  I embedded the data you posted into the vi.  It didn't seem like any data was less than 8.7 or so, so I modified the range so there would be some points to average.  Some sets were completely out of range so the mean came back as NaN (not a number) because of a divide by zero.
    Randall Pursley
    Attachments:
    US Filter mod.vi ‏72 KB

Maybe you are looking for