Display a date only when it is a certain day of the week in BI answers

Hello

I'm trying to display a date, but only if it's a Friday in BI answers.

So far, I have in the formula in the column:

' BUSINESS day of the WEEK ("calendar of MQ - delivered". "Delivered the calendar Date") WHEN "Fri", THEN "calendar MQ - delivered". ' "Delivered to the calendar Date" END of OTHER NULL '


It does not display anything, but I know that there is Friday in date data.

Any ideas anyone?

Thank you very much


Graham

Because the condition is not good ;-)

Try this:

CASE WHEN DAYOFWEEK("MQ Calendar - Delivered"."Delivered Calendar Date") = 5 then "MQ Calendar - Delivered"."Delivered Calendar Date" else null end

See you soon
Nico

Tags: Business Intelligence

Similar Questions

  • Disable certain days in the date picker

    Hi, I use Apex 4.2 and want to find a way to disable certain days in the date picker.

    For Ex: I want to turn off Mondays and the days of the week when the date picker popup is shown. And also I want all the previous days from today should be disabled.

    Please let me know how I can do this...

    Thank you

    Hello

    to disable different days look at this site: http://jquerybyexample.blogspot.com/2010/07/disable-specific-days-in-jquery.html

    To deactivate the days in the past, add this in: settings > Minimum Date: + 0d

    See you soon,.

    Tobias

  • Formula to determine if a specific day of the week between two dates?

    I am creating a spreadsheet to track my time PD & holiday. I usually work weekends, and my vacation allowance includes a specific maximum number of Sundays a year. Is there a way to calculate how much Sunday fall between a date range (or any day of the week, by the way)?

    (i.e. If my vacation starts February 1, 2016 and ends March 2, 2016, Sunday how are included?)

    I know that I can calculate how many weeks have passed, using = Quotient (DateDiff (Start_Date, End_Date), 7), but it is possible to include two Sundays in a period of 7 days.

    Hi Eric,.

    Here is one approach.

    C2 = A2 + (7−WEEKDAY(A2,2))

    This concludes the first Sunday following the start date.

    D2 = STRIPDURATION ((B2−C2) ÷7)

    I formatted this column without decimal places to see full weeks of the first numbers Sunday.

    Quinn

  • How to make it so that the DAY OF THE WEEK looks with the date and time?

    I had the day of the week, introduce yourself on XP, but it is a feature that they took off with Windows 7?  Does anyone know how to make it stay there permanently?

    Thank you

    Time, day and date will appear on the taskbar if you double its height. Unlock the taskbar and drag it up a notch with the mouse cursor...

  • How to generate date thru sysdate and day of the week

    Hello world!

    Please give me a hand with this:

    I need calculate a date thru sysdate and day of the week.

    For example:

    SYSDATE: 22/08/2013

    DAY: TUESDAY

    Result: 27/08/2013 (the date for Tuesday next from today ' hui).

    Another example:

    SYSDATE: 22/08/2013

    DAY: FRIDAY

    Result: 23/08/2013 (the date for Friday next today).

    My version of oracle's 8i (I work with a legacy database).

    Thanks in advance! ... and sorry for my English

    Search the NEXT_DAY function it does exactly what you want

  • Work day of the week of the date of

    Hi guys, is a bit common code that allows you to work on the day of the week for a given date? IM pretty new to this and I don't know how to write it and thought since it's probably quite commonly need I may be able to get help here. Thank you.

    Day of the week in letters
    Select to_char (sysdate, 'day') of double;

    Day of week in numbers
    Select double to_char(sysdate,'D');

    Day of the month in figures
    Select to_char (sysdate, 'DD') of double;

  • Find first & last day of the week of the given date

    Hi all

    I have the input query, below

    WITH TEM AS (SELECT 11 January 13 ' DT dual union SELECT June 16, 12 'from dual union SELECT 4 July 12' dual Union SELECT 9 January 13 'from dual union SELECT 10 January 13' dual Union SELECT 4 January 13 'from dual union SELECT 7 January 13' from dual union SELECT 4 June 13 'from dual union SELECT 8 January 13' double) TO_DATE (DT) SELECT D1 ,' WEEK ' | To_char (to_date (DT), 'IW-YYYY') tem WK;

    I would like to get output that is below start date week (Saturday) & the end of the week (Friday)

    DTPeriod of the WEEKMax Date in this weekMin Date this week
    June 16, 12WEEK 24-2012June 16, 1222 June 12
    July 4, 12WEEK 27-201230 June 12July 6, 12
    January 4, 13WEEK 01-2013January 4, 1329 December 12
    January 7, 13WEEK 02-20135 January 13January 11, 13
    January 8, 13WEEK 02-20135 January 13January 11, 13
    January 9, 13WEEK 02-20135 January 13January 11, 13
    January 10, 13WEEK 02-20135 January 13January 11, 13
    January 11, 13WEEK 02-20135 January 13January 11, 13
    June 4, 13WEEK 23-20131 June 13June 7, 13

    Indicate also if a function available in oracle for this one.

    Like this? I think in your required output, 3rd line data, MAX_DATE should be 29 December 12 and MIN_DATE should be January 4, 13.

    WITH TEM AS

    (SELECT 11 January 13 ' DT double Union)

    SELECT 16 June 12 ' Union double

    SELECT 4 July 12 ' Union double

    SELECT January 9, 13 ' Union double

    SELECT 10 January 13 ' Union double

    SELECT 4 January 13 ' Union double

    SELECT January 7, 13 ' Union double

    SELECT 4 June 13 ' Union double

    SELECT 8 January 13 ' double)

    SELECT D1 DT,

    WK WEEK_PERIOD,

    BOX WHEN (TRIM (TO_CHAR (D1, 'DAY')) = 'SATURDAY') THEN D1

    ANOTHER NEXT_DAY(D1,'SATURDAY')-7

    END AS MAX_DATE_IN_THIS_WEEK,

    BOX WHEN (TRIM (TO_CHAR (D1, 'DAY')) = 'FRIDAY') THEN D1

    OF OTHER NEXT_DAY(D1,'FRIDAY') END AS MIN_DATE_IN_THIS_WEEK

    DE)

    SELECT TO_DATE (DT) D1,' WEEK ' | To_char (to_date (DT), 'IW-YYYY') tem WK)

    ORDER BY DT;

    OUTPUT:

    DT WEEK_PERIOD MAX_DATE_ MIN_DATE_

    --------- ------------ --------- ---------

    JUNE 16, 12 WEEK 24-2012 16 JUNE 12 22 JUNE 12

    4 JULY 12 WEEK 27-2012 JUNE 30, 12 6 JULY 12

    4 JANUARY 13 WEEK 01-2013 29 DECEMBER 12 JANUARY 4, 13

    JANUARY 7, 13 WEEK 02-2013, JANUARY 5, 13 JANUARY 11, 13

    JANUARY 8, 13 WEEK 02-2013, JANUARY 5, 13 JANUARY 11, 13

    JANUARY 9, 13 WEEK 02-2013, JANUARY 5, 13 JANUARY 11, 13

    10 JANUARY 13 WEEK 02-2013, JANUARY 5, 13 JANUARY 11, 13

    JANUARY 11, 13 WEEK 02-2013, JANUARY 5, 13 JANUARY 11, 13

    4 JUNE 13 WEEK 23-2013, JUNE 1, 13 JUNE 7, 13

    9 selected lines.

  • by selecting specific days of the week for the date range?

    I have a table with a number of clients for about a year, but I want to only select Wednesday and Thursday of
    every week, since the beginning of the dates. Table is simple and has two columns. Each line is separate from a Date
    There is no duplicate of Date, it is counted for every day of the year.

    column 1: number of clients, count (customer_id)
    column 2: Date

    Need help with the best way to achieve this.

    Not sure if it is even possible to select a date in the name of the day?

    Basically, I want to select every Wednesday and Thursday of each week and compare the counts during the week, the week during
    week for the whole week see if charges go upwards or downwards, to get trends, thank you!

    Hello

    Kodiak_Seattle wrote:
    I have a table with a number of clients for about a year, but I want to only select Wednesday and Thursday of
    every week, since the beginning of the dates. Table is simple and has two columns. Each line is separate from a Date
    There is no duplicate of Date, it is counted for every day of the year.

    column 1: number of clients, count (customer_id)
    column 2: Date

    Need help with the best way to achieve this.

    Not sure if it is even possible to select a date in the name of the day?

    Sorry, we don't know what you want.

    To see if a date given (dt) is a Wednesday or Thursday, you can use:

    WHERE   TO_CHAR ( dt
              , 'DY'
              , 'NLS_DATE_LANGUAGE=ENGLISH'     -- If necessary
              )  IN ('WED', 'THU')
    

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).
    See the FAQ forum {message identifier: = 9360002}

  • Add the number of days of the week to date

    Currently I have the following in place, formcalc code which adds a number of days (based on a calculation different field "TotalDays") on a date, but would like for the calculation of the new date to include only during the week.

    Is there a way to do this?

    var begindate = Date2Num (xfa.resolveNode ("SecB\. Date\.4'), "YYYY-MM-DD")

    $= Num2Date (begindate + TotalDays, "YYYY-MM-DD")

    Thank you.

    Hello

    Here is an example which will add figures given from Monday to Friday at your selected date excluding Saturday and Sunday.

    var dp = "MM/DD/YYYY" ; date pattern
    var d = Date2Num($.formattedValue, dp) ; selected date to number
    var p = 9 ; Number of days to add to the selected date
    
    for i = 1 upto p do
              d = d + 1
              while (Num2Date(d, "e") eq 6 or Num2Date(d, "e") eq 7) do
                        d = d + 1
              endwhile
    endfor
    
    DateField2.formattedValue = Num2Date(d, dp)
    
  • Windows Live Photo Gallery-no is not able to display images icons only when transferring photos

    Uploading photos

    When I'm in my heritage and try to upload pictures from Windows Live Photo Gallery, all photos don't come upward in an image format - only the flower box Orange photo library so can't find the pictures I want to download.  It's so frustrating I want to just upload a picture of my family tree.

    Try to directly browse your pictures folder
    and see if you can download the photos.

  • TextField display only when you select list = - 1 value in the report can be updated

    Hey guys! Only shortly after, find a solution for my last prblem (thank you), I have another that I find very interesting. In VBA it is not an agreement but in Apex is still something else.

    I have a report to be updated with a couple of columns, let's say column a, column b, column c. column a is from a LOV. Now I would like to show column b only if the value in column a is - 1. Of course, this must work individually for each line. Is there a method that works in Apex?

    I tried to declare a condition for the column 2 > > > value of element in the expression 1 = value in the expression 2.

    One article is in turn the LOV column i.e. APEX_APPLICATION. G_F02. This attempt does not work and never displayed in the column of the entire report.

    Do you have an idea how achieve this conditional display referring to another column?

    Best regards

    Sebastian

    Sebastian,

    OK, have a look here. Now, I didn't spend the time to make it perfect, so if you select the NULL option and save, you will see it as a real choice. It's just because you wanted to code based on '-1', so I had to put this value in the departments table.»
    http://www.shellprompt.NET/pls/Apex/f?p=566:22

    Here is the code:

    <script src="http://www.google.com/jsapi"></script>
    
    <script type="text/javascript">
       google.load('jquery', '1.3.2');
    </script>
    
    <script type="text/javascript">
    //<![CDATA[
       $(document).ready(function(){
          $('select[id^="f12_"]').each(function() {
             toggleFields(this);
          });
    
          $('select[id^="f12_"]').live('change', function() {
             toggleFields(this);
          });
       });
    
       function toggleFields(selectElmt) {
          $select = $(selectElmt);
          $commPct = $select.parents('tr').eq(0).find('input[id^="f10_"]');
    
          if ($select.val() == '-1') {
             $commPct
                .focus(function() {
                   this.blur();
                })
                .attr('readonly','readonly')
                .val('');
          } else {
             $commPct.unbind('focus').removeAttr('readonly');
          }
       }
    //]]>
    </script>
    

    The first lines of your application, simply add jQuery. The following code uses jQuery to do what you are looking for. The trickiest part may be understand the references 'f10_' and 'f12_ '. All you have to do is to think of the query in the form of tables. The first column of the query will be f01, f02 the second and so on. Each of your items receives a unique id that is based on that, and those are the jQuery selectors that touches off this fact.

    It can be a little confusing at first, but take a look and let me know if you have any questions. Also, check out www.jquery.com for more information.

    Kind regards
    Dan

    http://danielmcghan.us
    http://www.skillbuilders.com

    You can reward this answer by marking as being useful or correct ;-)

  • Change profile to display a name only when others receive emails from your

    Is it possible to edit the profile so that when you send an email to friends, they can't see your first name?

    I think that I managed to get around this 'feature' by typing just a period in the "Last Name" box (but I could be misremembering).

  • Slate 7 HD display behaves badly ONLY when charger plugged!

    Tablet works perfectly, until the charger is plugged.

    Then the drop down menu below, to the top of the screen, will not menu "drop down", some keys to produce a "double blow" and in general, the screen behaves badly and is totally unusable!

    I tried another charger with the same result!  I even tried a ring of ferrite clip - it, still no good.

    Anyone got any ideas?

    Best regards

    Mike

    I think it's pretty clear that you need some kind of equipment repair. Support is the avenue, you will need to continue now.

    In North America, dial 800-474-6836 outside North America find your number here The Support of HP support

  • How to show only one date only over a period of two days, which corresponds to 24 hours

    Hello, I have a problem that I hope someone knows how to fix easily without having to create tables in a schema that things are moving very slow with our DBAs unfortunately because they have too much on their plates at the moment...

    Here is an example of output that I wrote a SQL for:

    SUM (COUNTS) DT

    15 Aug 15 00:00:00 254046

    16 AUG 15 00:00:00 113031

    Now, how to display only 16 August 15 & 367 077 COUNTIES? :

    SUM (COUNTS) DT

    16 Aug 15 00:00:00 367 077

    If the foregoing loses its formatting, I've included a screenshot below of the output currently I want:

    sample.jpg

    The reason is that one of the conditions was for a period of 24 hours, it is defined as 07:00 to 06:59:59 am the next day... of advice/ideas would be greatly appreciated!  I am using Oracle 10 g if that makes a difference.

    I guess that DT Horus date up to a second. Deduct only 7 hours of DT and then truncate to nearest day:

    SELECT TRUNC (DT - 7/24) DT.

    SUM (PASS_COUNTS)

    From your_table

    TRUNC GROUP (DT - 7/24)

    /

    SY.

  • How to display current date time of day previous same time and same with last day of the week with 24 hours in relation to the graphic line obiee 11g

    Hello


    Can someone help me with the problem I am facing to... my scenario is currently that we show reports from 00 hours up to 24 hours. But now the client wants to exact more than 24 hours for chart reports.

    This means that if the time is now 16:05 hours, then graphical report must display data for 16:00 Hrs from yesterday until 16:00 hours that day. Is the same for the last week day 24 hours as well. Means they need two lines in the chart. Please help me...

    Thank you

    Srini VIEREN Terry.Williams dileraco

    Hello

    Now using these variables filter your column of measure...

    Kind regards

    Naga

Maybe you are looking for

  • Word: selection of nodes of property-&gt; Ref.Number is 0!

    Hello I'm trying to set a property of Word in LabView. The problem is that the property selection node always gives me a 0 return ref.number! This is why I can't put anything because of an error that is generated later. I use the version of word 2010

  • Storage/printing adobe .pdf files

    Recently, when trying to print a pdf file (from XP Home Edition w/Service Pack 3 installed and Adobe Reader v 9) I manages to get a print file and the printer spooler. Rather, I am redirected to a dialog box to store this file in a folder/catalog of

  • Mousepad on HP Pavilion does not work

    For some reason my mouse pad no longer works.  It works with an external logitech mouse.  He used to work if I had plugged external mouse or not.  This is no longer.  The cursor does not appear, and if it is there, I can't control it.  When the compu

  • Cannot install clean windows

    Hello I have problems with my 3rd custom install. If I cut a long story short, I had various questions during the last three weeks with my system breaking, the last time that it has happened (and with the help of various members of the community) We

  • Problem files multiple cod

    Hello I have an application that is larger than 64K. Sign Tool sees two cod files - app.cod and 1.cod app. However, the app.jad indicates that it is 7 files, app.cod, 1.cod - app, app - 2.cod and so on. After the signing of the cod file, I put them o