Date filter for the first

I have a report that looks like this:

WO #, DateEntered, Log #, LogDate
Adj 1, 01/01/2011, Log31, 02/01/2011
Adj 1, 01/01/2011, Log62, 03/01/2011
Adj 1, 01/01/2011, Log78, 04/01/2011
WO2, 02/01/2011, Log91, 02/01/2011
WO3, 02/01/2011, Log92, 03/01/2011

Basically, I need to filter the Date Log or Log # columns on the first entry only. (The journal # colume is in order).
I only need a line for each WO # and the first journal entry for that WO #.
What would be the best way to do this?

Below, you can try to do this:

In your request for answers, you can create a column of row as below

rank (LogDate by WO #) and apply the filter on this column "is at the top of page 1".

Also, specify column WO # in the group clause contained in the Advanced tab of the application.

I would like to know if it works.

Thank you

Tags: Business Intelligence

Similar Questions

  • How to get the date for the first Monday of each month

    Dear members,

    How to get the date for the first Monday of each month.

    I wrote the following code

    SELECT decode (to_char (trunc (sysdate + 30, 'MM'), 'DAY'), 'MONDAY', trunc (sysdate + 30, 'MM'), NEXT_DAY (trunc (sysdate + 30, 'MM'), "LUN")) FROM DUAL

    But he looks at complex bith.

    Abhishek

    Published by: 9999999 on 8 March 2013 04:30

    Use the IW format - it will make independent NLS solution. And all you need is truncated 7th day of each month using IW:

    select  sysdate current_date,
            trunc(trunc(sysdate,'mm') + 6,'iw') first_monday_the_month
      from  dual
    /
    
    CURRENT_D FIRST_MON
    --------- ---------
    08-MAR-13 04-MAR-13
    
    SQL> 
    

    Here is the list of the first Monday of the month of this year:

    with t as(
              select  add_months(date '2013-1-1',level-1) dt
                from  dual
                connect by level <= 12
             )
    select  dt first_of_the_month,
            trunc(dt + 6,'iw') first_monday_the_month
      from  t
    /
    
    FIRST_OF_ FIRST_MON
    --------- ---------
    01-JAN-13 07-JAN-13
    01-FEB-13 04-FEB-13
    01-MAR-13 04-MAR-13
    01-APR-13 01-APR-13
    01-MAY-13 06-MAY-13
    01-JUN-13 03-JUN-13
    01-JUL-13 01-JUL-13
    01-AUG-13 05-AUG-13
    01-SEP-13 02-SEP-13
    01-OCT-13 07-OCT-13
    01-NOV-13 04-NOV-13
    
    FIRST_OF_ FIRST_MON
    --------- ---------
    01-DEC-13 02-DEC-13
    
    12 rows selected.
    
    SQL> 
    

    SY.

  • I have to log on to a web site under 2 different companies, but I clicked on 'remember login' for one and now I can not simply to the start page to open a session to the other company - he continues to go to the page for the first.

    I have two companies for which I connect to an Internet site for the data. I clicked "remember me" for the first company and now I can't get to the home page to open a session for the 2nd, he just guard logging in for the first.

    You can also try one of these:
    CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    CookieSwap: https://addons.mozilla.org/firefox/addon/3255
    Multifox: http://br.mozdev.org/multifox/

  • Error 1074395241: The model descriptor does not contain the data required for the corresponding rotation invariant.

    Hi all

    I use the model Match 4 IMAQ to detect the angle of rotation of an image of model. However, it displays the error: "error 1074395241: the model descriptor does not contain the data required for the corresponding rotation invariant." What exactly is the problem? How to solve this problem? The details are explained below.

    My project is a bit complicated. Part of the block diagram containing the IMAQ Match model 4 is illustrated below:

    The source image is a series of images of images read from an AVI video (I used a loop for to process the images frame by frame). The image of the model is an area of the first selected image. So, this means, the user selected the ineterst object in the first frame of the video, and each of the following images to find the object corresponding interest & determine its rotation angle. When I run the above diagram, there no error. However, it shows the angle of rotation zero no matter what it is 'really '. Therefore, I changed the schema by adding parameters, listed below:

    But in this case, when I run it, it shows the error I mentioned in the subject line.

    If you need more information about my project to identify the problem, please let me know.

    Thanks in advance.

    S ' Please example from model that comes with labview First
    Go to labview Help > find examples and you can search for example.
    -You create model with angle range and what kind of special criteria you want to use.
    -To do this you must use IMAQ learn pattern before using IMAQ model Match 4
    Reference:http://zone.ni.com/reference/en-XX/help/370281U-01/imaqvision/imaq_match_pattern_4/

  • TreeSize Professional - using this tool for the first time - need help to run the report

    Using TreeSize Professional for the first time and I need search records to analyze documents containing invalid characters and path names that are too long.  We are moving the content in SharePoiint and SharePoint will not accept path names that are more than 250 characters and invalid characters.

    Does anyone know how to do this research?

    [Moved from the community centre of Participation]

    What is a TreeSize question or a question of SharePoint?

    Try SharePoint forums on the left side of

    https://social.technet.Microsoft.com/forums/en-us/home?category=SharePoint&filter=AllTypes&sort=lastpostdesc

    Don

  • (Redirected) Dell audio drivers will not load when the system is turned on for the first time after his stop.

    Dell audio drivers will not load when the system is turned on for the first time after adoption of Windows 10. I have to reboot every time. So what I'm doing puts the system into sleep. in this way, I don't need to stop and restart the system. It is Dell Inspiron N5559. Audio drivers are installed and up-to-date. Equipment works correctly.

    Hi akilesh.sharma18,

    Please repost this in the Audio forum from the laptop to help.

    http://en.community.Dell.com/support-forums/laptop/f/3517

  • Get the string invalid Base64 of image of toDataURL() for the first time in 10 of blackberry webworks

    Hello

    I need to get the Contact image converted to string Base64 using BB 10 Webworks (blackberry.pim.contacts) I get only the contact.photos [0] .smallFilePath which returns the path to the phonebook file.

    Now, I want to get the image of this path and convert it to a Base64 string.

    Here's the javascript code :

    var img = document.createElement ('Image');
    var canvas = document.createElement ('Canvas');

    function getBase64Image (p) {}
    img.setAttribute ("src", p);

    Img.width = Canvas.Width;

    Canvas.height = img.height;

    CTX var = canvas.getContext ("2d");
    ctx.drawImage (img, 0, 0);
    Return canvas.toDataURL("image/jpg");

    }

    This means bad Base64 string of image for the first time. When I convert this string to the image it displays white screen. But returns a string in the Mithraeum and after conversion, display a correct image.

    I use Blackberry Z10 (OS 10) for the test.

    I think that the canvas is not drawing image properly for the first time.

    I have searched and tried many things, but not got success. What will be the solution.

    Thanks in advance.

    My guess is that the image did not load the source completely still. Setting the src / image loading is an asynchronous event, which means that your code will continue to the next line regardless of whether the image has loaded yet or not.

    After calling setAttribute instead of execute the code of the Web, you will probably need define an event on img for the load event listener. Once the image is loaded, you can then use the img with canvas variable to retrieve its data.

    Note that getBase64 will return immediately, so you may need to develop some sort of mechanism to wait before returning, or the asynchronous approach and integrate reminders for the success trigger the next piece of code.

  • How to check what Qt application is run for the first time?

    How to check what Qt application is run for the first time? I need for the creation of trial version of my application. Any help is greatly appreciated

    Probably use file data and put an I_ran_at_least_one_time file and verify its existence. This file is not accessible to the user and is not changed even if you upgrade the application.

  • BBM BBM voice - can not hear each other for the first 5 seconds

    Hey. Has anyone else noticed that on BBM (Q10 10.3) calls iPhone BBM, you sometimes can not hear each other for the first five seconds? Don't know if it's in the app or data connection or what...

    J.

    I just recently noticed that he actually said 'connection '. "during about 5 + seconds. So it's ok, I guess I'll wait five seconds.

  • WIFI problem, Toshiba Satellite A665 internet connection. Lately when I try to connect to the internet, for the first minute or so it says "no internet connection".

    Hi all

    I had problems with my Toshiba Satellite A665 to internet connection. Lately when I try to connect to the internet, for the first minute or so it says 'No internet connection' (or something similar). Basically, he has the yellow warning triangle. Sometimes I can open the browser and search normally, but other times - and this happens more often it won't let me use my browser. When I have not fix the problem, he said that the DNS server is not responding. The problem is this same error happens all. unique. time. and the other computers in the House connect to the internet just fine. I called TWC and what I get on their part, it is "there no reported outages in your area. Useful, right? Tends to be gnawed by the use of Netflix and Hulu Plus, but this has never kept internet bandwidth to work in the past. What is going on? I'm so tired of having to go all the way down the stairs to reset the router every hour (on a good day) to get the computer to connect to the internet.
    I contacted Toshiba and they say that all the drivers on your computer are up to date and nothing is broken. I have also not downloaded or installed anything on my computer.

    If the reset of the router fixes the problem you should probably watch that as the culprit. Check the software/firmware for the router and see if you can borrow to someone router to test.

    I hope this helps.

  • After you have configured the AAU for the first time in the GUI, not able to access the console of the AAU

    Hi all

    I'm setting up cluster for WCC (University Complutense of MADRID and IPM) environment. I moved the cs folder in a shared location (cluster env), connected to the AAU console for the first time and on the page of any given configuration him shared location of path.

    The University Complutense of MADRID on node 1 server has started successfully, but not able to log in (get a 403 forbidden error)

    Save file entry: -.

    < 5 January 2016 3:36:14 PM GMT + 00:00 > < error > < ServletContext - > < BEA-000000 > < there is a failed to initialize at the start of the AAU. >

    < 5 January 2016 3:36:14 PM GMT + 00:00 > < error > < ServletContext - > < BEA-000000 > < could not start server "server" to the URL by default relative web root "cs".

    javax.servlet.ServletException: could not start a deployment of servers of IDC.

    to idcservlet. ServletUtils.initializeContentServer (ServletUtils.java:1268)

    to idcservlet. ServletUtils.startAndConfigureServer (ServletUtils.java:531)

    to idcservlet. ServletUtils.initializeAllServers (ServletUtils.java:460)

    to idcservlet. IdcFilter.initContentServer (IdcFilter.java:181)

    to idcservlet. IdcFilter.init (IdcFilter.java:156)

    Truncated. check the log file full stacktrace

    Caused by: java.io.IOException: Oracle WebCenter content could not initialize inside the servlet environment.

    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:139)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    Truncated. check the log file full stacktrace

    Caused by: intradoc.common.ServiceException:! csResourceUtilsFileIOError! csResourceUtilsFileReadError, activestate.hda

    at intradoc.resource.ResourceUtils.serializeDataBinderWithEncoding(ResourceUtils.java:348)

    at intradoc.resource.ResourceUtils.serializeDataBinderWithEncoding(ResourceUtils.java:191)

    at intradoc.resource.ResourceUtils.serializeDataBinder(ResourceUtils.java:64)

    at intradoc.server.ActiveState.serializeData(ActiveState.java:221)

    at intradoc.server.ActiveState.load(ActiveState.java:58)

    Truncated. check the log file full stacktrace

    Caused by: java.io.IOException:! syUnableToCreateDateFormat, M/d {/yy} {hh: mm [: ss] {a}} \!mAM\,PM\!tGMT0!syUnableToParseTimeZone

    at intradoc.data.DataSerializeUtils.determineParameterizedLocalization(DataSerializeUtils.java:373)

    at intradoc.serialize.DataBinderSerializer.receiveEx(DataBinderSerializer.java:550)

    at intradoc.data.DataSerializeUtils.receiveEx(DataSerializeUtils.java:87)

    at intradoc.data.DataBinder.receiveEx(DataBinder.java:2080)

    at intradoc.resource.ResourceUtils.serializeDataBinderWithEncoding(ResourceUtils.java:327)

    Truncated. check the log file full stacktrace

    Caused by: intradoc.common.ParseStringException:! syUnableToParseTimeZone

    at intradoc.common.IdcDateFormat.optimizeFormat(IdcDateFormat.java:692)

    at intradoc.common.IdcDateFormat.initEx(IdcDateFormat.java:291)

    at intradoc.common.IdcDateFormat.initWithDefaultTimezone(IdcDateFormat.java:187)

    at intradoc.common.IdcDateFormat.init(IdcDateFormat.java:151)

    at intradoc.data.DataSerializeUtils.determineParameterizedLocalization(DataSerializeUtils.java:364)

    Truncated. check the log file stacktrac full

    Help, please.

    Kind regards

    Vipul

    Caused by: java.io.IOException:! syUnableToCreateDateFormat, M/d {/yy} {hh: mm [: ss] {a}} \!mAM\,PM\!tGMT0!syUnableToParseTimeZone

    Caused by: intradoc.common.ParseStringException:! syUnableToParseTimeZone

    Have what version of the WCC you installed?

    Do you have any specific time format located in ucm config.cfg? If so, then comment out him, and then start the server.

    You have the time zone set to GMT0? This can be checked from the activestate.hda file.

    Try the following solution to replace the zone on all had file on /ucm/cs

    Perl-e ' s/tGMT0/report/g;' -pi.save $(trouver /ucm/cs-type f)

  • How to set the flag for the first 3 days

    Hi all

    I have a table with a complete list of April and may 2015 date month and his working days (just for example, I have included only in April and may 2015 data but the table has data for 20 years since 2000).

    Below is the table create and insert scripts for complete data.

    CREATE TABLE dates_dim(day DATE, business_day NUMBER, month NUMBER, day_of_week VARCHAR2 (100));
    
    Insert into DATES_DIM Values (TO_DATE('05/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201505', 'FRIDAY');
    Insert into DATES_DIM Values (TO_DATE('05/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY');
    Insert into DATES_DIM Values (TO_DATE('05/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY');
    Insert into DATES_DIM Values (TO_DATE('05/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201505', 'MONDAY');
    Insert into DATES_DIM Values (TO_DATE('05/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201505', 'TUESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201505', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201505', 'THURSDAY');
    Insert into DATES_DIM Values (TO_DATE('05/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201505', 'FRIDAY');
    Insert into DATES_DIM Values (TO_DATE('05/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY');
    Insert into DATES_DIM Values (TO_DATE('05/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY');
    Insert into DATES_DIM Values (TO_DATE('05/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201505', 'MONDAY');
    Insert into DATES_DIM Values (TO_DATE('05/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201505', 'TUESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201505', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201505', 'THURSDAY');
    Insert into DATES_DIM Values (TO_DATE('05/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201505', 'FRIDAY');
    Insert into DATES_DIM Values (TO_DATE('05/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY');
    Insert into DATES_DIM Values (TO_DATE('05/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY');
    Insert into DATES_DIM Values (TO_DATE('05/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201505', 'MONDAY');
    Insert into DATES_DIM Values (TO_DATE('05/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201505', 'TUESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201505', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201505', 'THURSDAY');
    Insert into DATES_DIM Values (TO_DATE('05/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201505', 'FRIDAY');
    Insert into DATES_DIM Values (TO_DATE('05/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY');
    Insert into DATES_DIM Values (TO_DATE('05/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY');
    Insert into DATES_DIM Values (TO_DATE('05/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'MONDAY');
    Insert into DATES_DIM Values (TO_DATE('05/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201505', 'TUESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201505', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('05/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201505', 'THURSDAY');
    Insert into DATES_DIM Values (TO_DATE('05/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201505', 'FRIDAY');
    Insert into DATES_DIM Values (TO_DATE('05/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SATURDAY');
    Insert into DATES_DIM Values (TO_DATE('05/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201505', 'SUNDAY');
    Insert into DATES_DIM Values (TO_DATE('04/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 1, '201504', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('04/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 2, '201504', 'THURSDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 3, '201504', 'FRIDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 4, '201504', 'MONDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 5, '201504', 'TUESDAY  ');
    Insert into DATES_DIM Values (TO_DATE('04/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 6, '201504', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('04/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 7, '201504', 'THURSDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 8, '201504', 'FRIDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 9, '201504', 'MONDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 10, '201504', 'TUESDAY  ');
    Insert into DATES_DIM Values (TO_DATE('04/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 11, '201504', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('04/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 12, '201504', 'THURSDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 13, '201504', 'FRIDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 14, '201504', 'MONDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 15, '201504', 'TUESDAY  ');
    Insert into DATES_DIM Values (TO_DATE('04/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 16, '201504', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('04/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 17, '201504', 'THURSDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 18, '201504', 'FRIDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SATURDAY ');
    Insert into DATES_DIM Values (TO_DATE('04/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 0, '201504', 'SUNDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 19, '201504', 'MONDAY   ');
    Insert into DATES_DIM Values (TO_DATE('04/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 20, '201504', 'TUESDAY  ');
    Insert into DATES_DIM Values (TO_DATE('04/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 21, '201504', 'WEDNESDAY');
    Insert into DATES_DIM Values (TO_DATE('04/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 22, '201504', 'THURSDAY ');
    COMMIT;
    

    I'm looking for a select statement that defines the indicator 'Y' for April records months and "n" for records in may for the first 3 days of the request. Here's the difficult thing, the results should vary depending when they run the select query.

    For example:

    Scenario-1: If I run the SQL code may 1st, 2nd, 3rd, 4th, or 5th (with in the first 3 days), FLAG must be set on 'Y' for records in April and "n" for records in May.

    Scenario 2: If I run anywhere between May6th 31, FLAG must be set to ' do for April month and 'Y' for records in May.

    Search results for scenario 1 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)

    select day,case when day between '01-APR-2015' and '30-APR-2015' then 'Y' else 'N' end flag from dates_dim;
    

    Results for the scenario-2 should look something like this the results of the SQL query below (as I can't keep the complete set of results, I wrote a select query which will give you the expected results if you run the DDL and DML scripts above)

    select day,case when day between '01-APR-2015' and '30-APR-2015' then 'N' else 'Y' end flag from dates_dim;
    

    Please let me know if it is confusing. Thank you.

    Hello

    Thanks for posting the CREATE TABLE and INSERT statements; It's very helpfu.

    Month article it should really be a DATE, not a NUMBER. This issue (and many others) would be simpler and more effective it was a DATE, rather than a NUMBER, since it must be compared with the DATEs.

    As the month is a NUMBER, do not insert VARCHAR2 values, such as '201505', in it.

    Why is-day_of_week 100 characters?  The longest name in English ("WEDNESDAY") is 9 characters.  Day_name fairer apply in trouble.

    Here's a way to do what you asked:

    DEFINE SYSDATE = "DATE" "2015-05-05.

    DEFINE SYSDATE = "DATE" "2015-05-06.

    WITH got_effective_month AS

    (

    SELECT TO_NUMBER (TO_CHAR (ADD_MONTHS (& SYSDATE

    CASE

    WHEN COUNT (*)<=>

    THEN-1

    0 OTHERWISE

    END

    )

    , "YYYYMM.

    )

    ) AS effective_month

    OF dates_dim

    Day WHERE BETWEEN TRUNC (& SYSDATE, 'MONTH')

    AND & SYSDATE

    AND business_day > 0

    )

    SELECT d.

    CASE

    WHEN month = e.effective_month

    THEN 'Y '.

    ANOTHER "N".

    Flag of the END as the

    OF dates_dim d

    CROSS JOIN e got_effective_month

    ORDER BY d.day

    ;

    I used the proxy & SYSDATE to test.  In Production, you will use the SYSDATE function instead.

    A calendar table, like days_dim, is really a good idea.  You may consider adding a column business_day_count cumulative, a NUMBER that increments of 1 every day business.  To find out how many days passed since any day x (for example, the 1st of this month), you would only need extract the 2 rows in the table: line x and the line today.

  • How to have the different path in the campaign for the first user of N who register for an event?

    Hi all

    I have the following scenario for which I am trying to understand the best way to get the desired results.

    A society organizes events in several places and wants to offer widgets for the first 100 registered. We would like the confirmation of registration email (and perhaps the form submit redirect action) to recognize for the first 100 registered that they will receive their gift in the mail shortly.

    Maybe we would also like to use the Cloud2You component to post on the key ring.

    I searched around the documentation and so far it seems, in the program generator, you have a decision stage to search by the number of Contacts in a Contact Group - however when I try to play with the program generator I don't see the option.

    Any help and insight would be appreciated.

    Stone

    Hi Pierre,.

    The only way I was able to satisfy this use case in the past was to create a custom object first with a meter and e-mail address fields. In the custom object have a counter range from 1 to 100. As the first 100 people to register, the tire registration page the next value of the counter (see data card with space for e-mail address) and select it as a value on the registration page, pass it back through form with e-mail custom object. This way you are able to have the first 100 e-mail address to fill.

    Now you can feed these contacts in a program, send them email you have to looking for a value of data card custom 100 by the decision rule object, and if the value is 101 or more, you can send them another type of communication.

    The only reason why I recommend this path, because the main challenge is to keep track of number of contacts in eloqua, and this deffinately has been a path before open API that I have been able to use successfully for the distribution of promotion code.

    I hope this helps.

    Thank you

    Amit Pandya

  • Duplicate option data address for the second plaintiff with a checkbox

    I have been in charge of research and trying things out for hours, without success.

    I don't know if it's about PDF forms or if I should post on the forum of Java, but here it is:

    I have a PDF form with several fields to send the address (address, city, province) data. The application also has a box on another page of the form to a second applicant. The second applicant is a playground of their mailing address too.

    I would like to create a box for the second plaintiff who says 'Even that first applicant', so that if the address data is checked all three fields automatically fill the same information that were completed for the first applicant in these areas.

    I guess it could be something that required some custom JavaScript, but I know very little about how to write code. I've tinkered with a few think that I found online, but nothing seems to work. Any information that could help me would be very appreciated.

    A little more complicated, but not by much. So basically, you can use this script as the box MouseUp action (notice, I used here generic domain names, you can replace them with real numbers in your file):

    if (event.target.value=="Off") { // the box is NOT ticked
        this.getField("Target1").value = "";
        this.getField("Target2").value = "";
        this.getField("Target3").value = "";
        this.getField("Target4").value = "";
        this.getField("Target1").readonly = false;
        this.getField("Target2").readonly = false;
        this.getField("Target3").readonly = false;
        this.getField("Target4").readonly = false;
    } else { // the box IS ticked
        this.getField("Target1").value = this.getField("Source1").valueAsString;
        this.getField("Target2").value = this.getField("Source2").valueAsString;
        this.getField("Target3").value = this.getField("Source3").valueAsString;
        this.getField("Target4").value = this.getField("Source4").valueAsString;
        this.getField("Target1").readonly = true;
        this.getField("Target2").readonly = true;
        this.getField("Target3").readonly = true;
        this.getField("Target4").readonly = true;
    }
    
  • Planning of Oracle EBS 11i - no data found for the region (/ oracle/apps/az/regionMap)

    We do not currently use Oracle planning.
    I'm setting up planning in development server if it will help us.

    After you set a database mapping (which points to the development server itself)

    I have create a selection of games for Receivables Tax Codes and rates.

    Then I extracted to download an extract, no problem.

    I update the selection sets, click the defined filter, it gave me an error page:
    ------
    You have encountered an unexpected error. Please contact the system administrator for assistance.
    Click here for exception details.
    ------
    Click on the 'here', a long java exception stack traces, what should I do to solve this problem:
    ------
    oracle.apps.fnd.framework.OAException: no data found for the region (/ oracle/apps/az/regionMap/TAX_CODE).
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1705)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail

    Exception:
    oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / oracle/apps/az/regionMap/TAX_CODE, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
    at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
    at oracle.adf.mds.MElement.findElement(MElement.java:97)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getJRADWebBeanBaseData(OAWebBeanFactoryImpl.java:2881)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1700)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)


    Exception:
    oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / oracle/apps/az/regionMap/TAX_CODE, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
    at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
    at oracle.adf.mds.MElement.findElement(MElement.java:97)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getJRADWebBeanBaseData(OAWebBeanFactoryImpl.java:2881)
    at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1700)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
    at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:534)

    Please see if (Planning Framework error (no data found for the region) when the filters in selection rule [367684.1 ID]) help.

    Thank you
    Hussein

Maybe you are looking for

  • Hollp backup

    Nit to meck save my contacts

  • HP DV7 3065DX NOTEBOOK BIOS PASSWORD

    Hello, I lost the BIOS password for my DV7 3065DX notebook. The stop code I get is: 68092932 Please advise, thank you.

  • deletion of a guest account.

    Ive tried to delete the user account, but it gos stright, to enable or disable account users. It does not give me the choice of deleting. I'm tring to remove a guest account. Guess I should clarify.

  • Bitmap image does not appear when other fields added

    Hello I have a VerticalFieldManager with a bitmap and a few fields (code below).I add to an another VFM then call setBitmapField when the tile isdownloaded in another thread. The code below when the bitmap is set, the other fields, move to theright t

  • BlackBerry Smartphones emails get selected as I scroll automatically

    Seems to have accidentally turned on a few selected, after that when I scroll the list of message/e-mail, all messages get. Currently available options are - Mark Messages Open; Mark Messages unopened; Delete Selected messages or. I can't open any si