Formula to categorize period of the day

Hi,
I need to create a formula that categorizes period of the day the Day  - from 07am to 06:59pm would be day shift and night shift from 19pm to 06:59am. However the table where the data came from have date and time format and I wish to ignore date. Any suggestion. I use crystal XI.

create a formula that contains the following
formula name : time period
time(your database field)
Now Create a grouping using the time period formula and select specified order and this give you the ability to group your records on a specific time frame.

Similar Messages

  • "Firefox can't find the server" extende periods of the day on my WIFI and slow at the same time on my AT&T G3.

    Back in late August, I began having intermittant problems loging onto my websites. primarily Sunday and Monday nights almost always down. Now I am having more trouble and at more different times. However there are periods of time during the day when I have no trouble at all.
    I have also noticed that somewhere in the mix I lost my Google toolbar and only have a Yahoo tool bar. I have looked in the place where the bars are activated and Google is completely gone. Why? I do not like the Yahoo bar and it does not have a go back feature for one thing.

    Perhaps I should be clearer. I clicked on your offered link, the one in blue that said " http//:www.hanovernh. (etc.) Your choice of giving me the link within the googled site was the perfect test. You were able to get into that site; I cannot. This is a site that 2 and 3 weeks ago I was able to contact. But starting about a week and a half ago, I couldn't.
    I tried Firefox Help but after filling out the appropriate page with the problem, there was a connectivity problem preventing Help from seeing it.
    I'll try more sites to get a broader picture of the problem. As of now, I know there are other "Server Not Found" sites. I'll look for a pattern.

  • My trial period ended the day after I started using it. How can I fix this?

    So I installed Adobe Elements Trial a few days ago (like 3 max). Then I came back on Monday (today) used it for about half an hour and then closed the program. When I went to open it again it said that my trial period was up. Anything I can do to fix this?

    You might try a reboot:
    press and hold the home and power buttons until the Apple icon is displayed, then let go.

  • Disable Iphone 4S for periods throughout the day monday to friday

    Is it possible for 02 to disable a phone for given periods of time?  I need to limit the phone use by my young niece whilst at school without resorting to taking the phone off her.  Is it possible for 02 set up an automatic disable of the phone monday to friday between the hours of 8.45am - 3.30pm?  The phone is on monthly contract rather than PAYG.  I think I know the answer but I live in hope. Thank you Karen

    I agree with you but it's amazing how many kids do take their phones into school and despite school rules they do sometimes use their phones but usually during breaks only.   I think this is one for parents not the school.  The contract is my name so I can monitor use and therefore overspends are rare and low cost, usually £5.00 at most, but I know of children who have run up horrendous bills for the bill payer. I am shocked and disappointed that the industry has not yet developed a device and contract for children's' (under 18s) use that parents have more control of and children more restrictions.   Children should not be able to 'lock' their phones in my opinion.    K

  • Battery is dead by the end of the day...

    Ever since I updated my iPhone 4 to iOS 5, I have notice an extreme drainage on my battery. Before the update, I was making calls periodically throughout the day, texting, internet browsing, etc. and my battery wouldn't go past 50% by the time I got home. Now, I make one phone call and check my phone like I normally do and my battery is dead before my work day is even over. What is causing this? All my apps are closed too btw. I feel that I should not have to close and disable everything on my phone that I use reguarly every day. Apple needs to fix this issuse and quick.

    How can it be a hardware issue when I wasnt the only to be having this same problem right after the new update? Anyways, problem has been solved through Apple with 5.0.1 update with a bug fix causing battery drainage.

  • I want to accumulate rain for the day, month and year; What formula can I use?

    I want to accumulate rain for the day, month and year; What formula or expression can I use.
    I am using a Rain Wise product that converts pulses to an analog value.  The Rain Wise device can be
    set to measure up to 1", 5", or 10".  I will be setting the unit to 10 inches in increments of 0.01 inches.
    What I would like to do is everytime the signal increments I would like to count it as 0.01 then after reaching
    a period of time whether it be a day or a month reset back to zero.
    Need some advise on this problem.
    Solved!
    Go to Solution.

    Hello Ryan,
    Lookout gets a Modbus over Ethernet signal which originates as a 4-20mA input to a Moxa Ethernet I/O Module (E1240) in the field.  In Lookout I created a ModbusEthernet Driver and a tag which scales 0 - 65534 RAW to 0-10 Eng.  [0 - 10 is inches of rain]  Also, another piece of information is that after the rain gauge maxes out at 10 inches it will zero out and start over.
    I though the accumulator was time based and took a sample over a specific time period, for instance, one sample every 30 seconds then accumulate.  If this is so then if I have 5 inches of rain and then it stopped raining, then 30 seconds latter it would sample, it would see 5 inches and add that to be 10 inches when actually it had only rained 5 inches. 
    I really need some help with this process,
    David Lopez
    City of Corpus Christi

  • How to use formula variable to calculate the days for a document.

    Hi expert.
    I have a question, I need to calculate how many days it cost for a document, therefore , it should be like this,
    cost days = clearing date - creation date..
    how can I implement this calculated key figure by formula variable..
    Here cost days should be a key figure, but the clearing date and creation date are the characteristics in the document.
    it seems that formula variable by replacement path can not be used, do I have to use the customer exit for this variable ??
    any other good ways to calculate the cost days (beside during the data loading or by virtual key figure).
    I just want to implement this in the query designer..
    Please give a detailed steps if you could,  thanks a lot.

    Hi,
    These steps below are for the query designer in BI 7.0:
    1. First create a Formula in the Columns.
    2. Edit the formula, in the "Available Operands" see for the "Formula Variable".
    3. Right Click on the "Formula Variable" folder and then create a new variable.
    4. Edi the Formula Variable in the edit screen provide the Description and Technical name; select the processing by as Replacement path.
    5. In the reference characteristic select your characteristic "Creation Date".
    6. Save the variable.
    7. Select the variable into the formula and name the formula as Creation Date.
    Repeat the Same steps for the "Clearing Date".
    Then create another formula for the Cost days in which you mention as Clearing date (Formula) - Creation Date (Formula).
    Hope your issue is solved...
    Regards,
    Ravi Kanth

  • Finding the highest flow period for a day

    Now I really got stuck. I need to find what period for a day (full 24h) that have the highest flow. To make things a bit harder we cant used fixed periods. We have the flow per minute to work with.
    Example with 10 minutes and we look for a 5 minute period:
    Time ; Flow
    0700 ; 14
    0701 ; 12
    0702 ; 18
    0703 ; 19
    0704 ; 12
    0705 ; 16
    0706 ; 10
    0707 ; 10
    0708 ; 15
    0709 ; 14
    In this case the highest flow for the period would be between 0701 and 0705 with a total flow of 77. So the needed answer would be 0701 and 77
    In the situation where it will used in reality it will be finding a 15 minute period from 1440 minutes we have for a day.
    I hope someone can provide me with ideas of how to solve this thing.
    Regards,
    Jonas

    Are you guaranteed to have a row for every minute?
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    JServer Release 9.2.0.6.0 - Production
    SQL> DROP TABLE t;
    Table dropped.
    SQL> CREATE TABLE t (time VARCHAR2 (4), flow NUMBER);
    Table created.
    SQL> INSERT INTO t VALUES ('0700', 14);
    1 row created.
    SQL> INSERT INTO t VALUES ('0701', 12);
    1 row created.
    SQL> INSERT INTO t VALUES ('0702', 18);
    1 row created.
    SQL> INSERT INTO t VALUES ('0703', 19);
    1 row created.
    SQL> INSERT INTO t VALUES ('0704', 12);
    1 row created.
    SQL> INSERT INTO t VALUES ('0705', 16);
    1 row created.
    SQL> INSERT INTO t VALUES ('0706', 10);
    1 row created.
    SQL> INSERT INTO t VALUES ('0707', 10);
    1 row created.
    SQL> INSERT INTO t VALUES ('0708', 15);
    1 row created.
    SQL> INSERT INTO t VALUES ('0709', 14);
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> SELECT time, flow
      2  FROM  (SELECT time, flow,
      3                RANK () OVER (
      4         ORDER BY flow DESC) flow_rank
      5         FROM  (SELECT TO_CHAR (time, 'HH24MI') time,
      6                       SUM (flow) OVER (ORDER BY time
      7                         ROWS BETWEEN CURRENT ROW AND 4 FOLLOWING) flow
      8                FROM  (SELECT TO_DATE (time, 'HH24MI') time, flow
      9                       FROM   t)))
    10  WHERE  flow_rank = 1;
    TIME       FLOW
    0701         77
    SQL>

  • How to set the spool retention period till 30 days(Printer Properties).

    Hi SAP Experts
    I need to setup a job which creates a spool. I want to set the spool retention period till 30 days(Printer Properties). But I have the option of keeping it only for 8 days or Do Not Delete at all. Can you please let me know how can I setup a job which creates a spool which wil be retained for 30 days and then will automatically get deleted?
    Advanced Thanks
    Thanks & Regards,
    Kishore.

    Hello Kishore,
    I can understand why you dont want to change the variant.
    However may be a slight change in the variant might help your cause though I am not sure whether you will like this suggestion or not.
    Create a dummy output device type to which all spools created for this report need to be assigned.
    Once this is done  make a small change in the variant for the field Output device in such a manner that all the spools belonging to this printer/output device are not deleted.
    Then create a new variant for this output device ensuring that only spools belonging to this output device and older than 29 or 30 days  are deleted.
    While this will  ensure that normal spool requests are deleted these ones are not.
    Really dont if this solution is acceptable or not.
    Regards.
    Ruchit.

  • Creating customer formula to be used in the Query Designer

    hi,
    How can i code a specific formula to be used in the query designer. As an example, i need to calculate dynamically working days between two dates.
    i tried to find the corresponding BAdl interface with no success..
    Do you have any suggestion ?
    Ludovic

    Hi..
    I have a scenario ...  it may help..
    The group HR administrator wants a detailed line item report that lists all employee absences in a given period. The report is to show the employee number, the absence start date, together with the end date of the absence and show the number of calendar days the employee was absent.
    The good thing about using this technique is that no redesign work is needed from your technical BW team, no ABAP is involved and best of all, it quick and easy.
    Solution:
    For this example I created an ODS object called Absence that holds basic employee information along with individual absence record data.
    Follow the steps below:
         Open the BEx Query Designer and create a new report on your chosen InfoProvider.
                  Drag the Employee, Valid from and Valid to characteristics into the Rows section of the screen.
    If needed, apply data selection restrictions to the characteristics as pop up
         Right click on the Key Figures structure and select New Formula
         In the new formula window right click on Formula Variable and choose New Variable
         The Variables Wizard will launch and will require you to specify the variable details.
    ( Click the NEXT button if the Introduction screen appears )
         Enter the variable details on the General Information as shown in  pop up
    Enter the Variable Name , Description and select Replacement Path in the Processing by field.
    Click the Next Button.
         In the Characteristic screen (pop up) select the date characteristic that represents the first date to use in the calculation (From Date).
    Click the Next Button.
         The Save Variable screen (pop up) displays a summary of the new variable.
    Click on the Finish button to save the variable.
         Repeat steps first four  for to create a second variable for the second date to be used in the calculation.
    In the example shown, the characteristic 0DATETO is used to create the variable ABSEND (Absence End Date)
    Define the Calculation............
                The new calculated key figure will now show in the columns section of the BEx query designer
    excute...
    with regards,
    hari

  • Conditionally Color a row based on the Day of the Week for that row ?

    Hi,
    I have a Table containing some timing entries for each day. I have been trying to format some rows depending on a value in one of the columns for that row. What I would like to achieve is color the cell background gray for every row where the Date found in the first Column isn't a Week Day.
    I have been trying many things by now, but can't seem to figure it out. Does anyone have suggestions ? I have included a screenshot of what I would like to achieve :
    Thanks a lot in advance,
    Stefaan
    Message was edited by: Stefaan Lesage

    Variations on my post linked in Badunit's message here:
    You'll need a second table with one column and as many rows as Table 1 (which contains the dates).
    The formula for Table 2 assumes the dates are in column B of Table 1.
    =OR(WEEKDAY(Table 1::B)=1,WEEKDAY(Table 1::B)=7)
    Enter the formula in the same row as the first data row in Table 1, and Fill it down.
    Rule for conditional formatting for all cells in Table 2: Equals TRUE
    Other instructions as in the linked message.
    Regards,
    Barry

  • Looking for formula to fill dates of particular days of week for a given month

    Hi
    I have a Numbers document with a sheet for each month of the year, named "January", "February", "March", etc.
    Each sheet contains a table as follows:
    I am looking for a function that will calculate the dates in a given month that I am due to see each client, based on the year (contained in a single cell table on a seperate sheet) and the month of the sheet (I am presuming that a function can refer to the name of a sheet).  These dates would populate the cells under "Session 1", "Session 2", etc. (for some days of the week there may be only four sessions, for others five).
    I hope this is clear, and would be grateful for any help in getting this working.
    Thanks,
    Nick

    Here's an example, using September, 2011 as the month.
    Main Table:
    A1: =DATE(Year :: A2,9,1)
    This calculates the Date and Time value for midnight at the beginning of the first day of the ninth month of the year indicated in cell A2 of the table "Year" (September 1, 2011). It uses a Custom format to display only the month and year of this date. The Dates calculated in the rest of the table depend on the Date and Time value in this cell.
    A2 - A11: Entered data. Not used in calculations.
    B2 - B10: Entered data. The text values here are used as search-for values, and must match the text values in column A of the table Weekday lookup.
    C2, Filled down to C10: =$A$1+MOD(7-WEEKDAY($A$1)+VLOOKUP(B,Weekday lookup :: $A:$B,2,FALSE),7)
    This calculates the Date corresponding to the first occurrence of the weekday indicated in B during the month in A1. The result is a Date and Time value (used in formulas to the right). The cells use a custom format to display only the Day (of the month) number.
    D2, Filled right to column F and down to row 10: =C+7
    Calculates the date seven days after the date in column C.
    G2, filled down to row 10: =IF(MONTH($A$1)=MONTH(F+7),F+7,"")
    This is the same formula as used in D2, but adds a check to suppress the calculation if the result is not in the same month as other dates on the table.
    Year: The requested single cell table to record the year.
    Weekday Lookup: A lookup table from which to retrieve the weekday number for the day in column B of the main table.
    Custom formats:
    Select cells C2 - G10
    Open the Inspector > Cell Format Inspector > Date and Time
    Delete the unwanted elements from the workspace in the Inspector.
    Repeat for cell A1.
    Regards,
    Barry
    PS: Numbers cannot use the Sheet name or Table name as data for a formula unless the name is placed into a cell on a table.
    B

  • Useful Life in Dep Key "to the day"

    Hi,
    we have two depreciation areas one for IN gaap and the other for US GAAP. In GAAP has depreciation keys with "to the day" feature and the US GAAP has depreciation keys created with useful life feature.
    Now the issue is since useful life has got no role in the case of IN GAAP, whenever we create asset we press enter enter and the same usefule life as per US GAAP get copied in the US GAAP also as it has no relevance for calculation.
    The problem is that if i enter only period 1 as useful life for US GAAP( meaning that the asset is to be fully depreciated in one month for US GAAP purpose) and the same period 1 is entered in IN GAAP. then for IN GAAP my full asset is getting depreciated in 6 months wheras the depreciation key assigned to it is 13,91 wdv method( with to the day tick).
    I changed the period 1 and made it 999 for IN GAAP purpose and tested it in test system and then system is showing correct values.
    Can anyone throw some light on this issue as to why it is changing in case of useful life when the dep to the day is ticked in depreciation key.
    Regards,
    SAPFICO

    ..

  • Printers will not stay online throughout the day in Windows 8.1

    I am a systems administrator at a Law Firm and our managing partners request was to upgrade all of our attorneys to a device that will allow them to have a laptop and a tablet all-in-one.  So I recommended Windows 8 ultrabooks.  We ended up getting
    a mix of HP Elitebook Revolve and Sony Vaio Duo 13 ultrabooks, both with docking stations so that attorneys can continue using there desktop mouse and keyboard and monitors while at work, but can also undock and use there ultrabooks remotely. 
    Everything is working fine except for printing for some reason through out the day printers will go offline for no apparent reason.  We've got a billing program called Equitrac on our machines that will auto bill our clients when we print documents
    for that them, I figured that there was an issue with that so I uninstalled Equitrac and the problem still happened.  Group Policy deploys our printers so I disabled this policy and I've uninstalled the printer drivers and re-installed them to see if
    that works and printers will stay online for a short period of time and then they'll go offline again.  
    For a temporary fix right now I'm having to restart the Print Spooler service and the printers will come back online again.   This works for a few hours and then printers will go offline again.  I witnessed one of the ultrabooks showing the printers
    being online up until the point when the attorney pressed print and then all of them immediately went offline.  This isn't an occurrence on just 1 machine but is happening on probably 50% to 60% of them.
    Our support staff use the same printers on Windows 7 and they never go offline.  Is there something else that I can check on these Windows 8.1 Ultrabooks or is there a bug that still needs to be fixed from Microsoft?

    Hi,
    Based on my search, I found a KB that relate with Printer offline, you can refer to its solution for test.
    This problem occurs if the computer has the following registry value configured when you set the printer to the Offline status:
    Key: HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers\<print queue name>
    Value: PrinterOnLine
    Data: 0
    However, this value is not deleted by the Localspl.dll file when the print queue is deleted. Therefore, when you add a print queue that has the same name as the old print queue, the new printer queue inherits the Offline status of the deleted print queue.
    To resolve this issue, right-click the new print queue in the Printers and Faxes tool, and then clear the Use Printer Offline setting. This resets the registry key to the correct value. Alternatively, you can delete the registry key that is mentioned in
    the "Cause" section after you delete a print queue but before you add a new print queue of the same name.
    If problem persists, please refer to the link below about How to Fix “Printer Offline” Error in Windows.
    http://blog.vtechsquad.com/2013/05/02/how-to-fix-printer-offline-error-in-windows/
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Roger Lu
    TechNet Community Support

  • Line Item Grace Periods  Vs Min Days in Arrears(Acct)

    Hi All,
    While configuring Dunning @ FBMP, there are two fields which serve almost the same purpose. They are,
    Min. Days in arrears (acct)......If we give say here 3 days, then 3 days will be added to the due date for determining whether dunning can be generated for an open invoice.
    Line Item grace periods...........If we give say here 3 days, then 3 days will be added to the due date for determining whether dunning can be generated for an open invoice.
    It is observed that if you put equivalent or less than the number of days in Min Days in Arrears field as compared to the number of days entered against Line Item field, then no dunning will be generated.
    On the other hand if you put more no of days aginst Min days in arreas field as compared to the no of days put against Line item grace periods field, then the dunning will be generated on the invoice date plus no of days mentioned in Min days in arrears field.
    Could any body throw some light on why this happens. More specifically:
    1. What is the basic difference between these two fields and their significance for Dunning. I am pretty clear about the meaning of  Min days in arreas filed, but not about the other field's significance.
    2. Why the system behaves in the fashion that I have described above for different combinations of figures entered in these two fields.
    The brief scenario is as below for easy reference:
    Details    Min Days in Arr   Line item gr Pd   Dunning Possible
    Days            3                       3                    Not Possible
    Days            3                       2                    Possible
    Days            2                       3                    Not Possible
    Please throw some light on this.
    Regards
    Sudhakar
    But it is observed that,

    Hello,
    Do not leave grace period blank or less than days in          
    arrears if you do not want to include items in dunning level "0" in your
    dunning notice.                                                                               
    As per the documentation, the number of grace days (line item) and   
    days in arrears (first dunning level) you enter will normally be        
    identical. So if your days in arrears for level 1 is 14, you should also
    indicate grace days of 14.  Otherwise, if you leave the grace days      
    blank or less than 14, the system will include also items in arrears    
    earlier than 14 days (level 1). 
    As per online documentation:                                                                               
    Grace period shorter than days in arrears                                                                               
    In this case there may be items which are overdue but which do not      
    reach a certain dunning level due to the days in arrears. Although      
    these items are printed out, they receive the dunning level zero.       
    These items alone cannot trigger a dunning notice.                                                                               
    Regards,
    Renan

Maybe you are looking for

  • Sending MAIL on particular date in APEX 4.1

    Hello all, I want send mail automatically on the basis of a date column in my table. whenever that date is the current date of the system a mail should be sent to user? Please help me with this.

  • How to export multiples pages in one PDF file?

    I understand i can export image to a PDF file format. Is there a way to export a few pages in a single PDF file?

  • IPhoto 2009 Slideshow

    Slideshow: can I randomize the order of photos in an album I want to make into a slideshow? If so, how? iPhoto 2009.

  • Search for text within files

    How do you search for files that contain a specific string of text?  I tried going to the folder in the finder and typing the string in the search box, but it does not seem to return correct results.   True, I do see a couple of files that contain my

  • Trying to figure out difference between Access Point & Gateway

    Hello All, I am trying to figure out how to expand my home network and getting confused by the terms. The following is what I have for equipment" WRT 130N WRT 54GS 4 hard wired assorted items hard wired to the 130N Here is what I want to do and not s