Group By a 11:00 am to 10:59 pm Day

Hello All,
Can someone help me with this thread ?
I need to group some records by day, but not in a regular 24 hours day. The day must start at 11:00 PM and ends in 10:59 of the next day. Is it possible ?
Thanks.

Thank you everybody.
I used a TRUNC(DT_REALTIME +13/24) as ProductionTime, once the complete cycle is from Day X at 11:00 AM to Day X + 1 at 10:59 AM ( I typed wrong in my first post), and then I group by this column.
It´s working fine.

Similar Messages

  • Members of domain groups with administrative privileges no longer admins?

    Have a strange behavior that I am not sure how to fix.
    Using OS X 10.6.7 native Active Directory client to bind to domain. I have directory utility configured to allow administration for a domain group. At first things worked great and members of those domain groups were indeed admins on the machine however the next day one of these users logs in and they are no longer admins. If you run directory utility again using a local admin account you can see that those domain groups are still configured to allow administration but none of those users show as being admins. Then suddenly, as if I did anything, those users show as being admins again. Why? I don't understand how this can flip back and forth like that.

    Was this ever solved?? We have the same issue with 10.8.3. It seems a network connection to your AD servers is required when logging in. Otherwise the check cannot be made and the user never receives admin rights. A huge problem for users with laptops that work offline.

  • Sales group wise credit report

    Hello Experts
    Right now,we are using S_ALR_87012178 report for the report on customer open item due analysis.
    However there are a few limitations here.
    Firstly, we need Customer # (KUNNR) to be displayed along with the customer name (NAME1). Presently, only customer name is displayed.Assuming, this can be solved to a certain extent by modifying the coding with the help of an Abaper, there is another limitation.
    *We need 'Sales Group' wise split up. This 'Sales Group' NOT from CMR,but from SO. [Since, for a single customer there may be cases of multiple 'sales groups']*
    Any help/Suggestion, will surely be appreciated.
    Good day....
    Rgds
    Sumanth.Gururaj
    Consultant- SAP SD

    hi,
    exactly my mate is right in this.
    you are requested not to change the STD coding part of SAP.
    please go for new report instead of old one.
    regards,
    balajia

  • Grouping of type Date

    hi i am stuck on a problem. i have an ArrayList collection of messages which returns 4 fields i.e.
    1. a date of when the msg was sent (YYYY-MM-DD)
    2. int index of a (0-100)
    3. int index of b (0-100)
    4. int index of c (0-100)
    this collection returns several of these messages and have related dates.
    so for example several emails were sent out on a particular date - 20/11/2001
    i want to group/count how many emails were send out on this day and the same for the rest of the dates.
    and also calculate averages of index a, b and c for the that day and move on to another date in the array
    pls can anyone help thanks.
    moh

    You seem to be saying "returns" when you really mean "contains".
    Anyway, this doesn't sound very hard. You can do it in a variety of ways. Probably the easiest thing is to create a Map<Date, List<Message>> where the date key is the key in the message objects. Or if the dates are all at different times of day and you just want to arrange the messages by day of the year, you could create new date keys with the time of day all set to noon or something. Then just loop through the Map.Entry objects for that Map, and do your calculations for each day.

  • Date Grouping by specific interval

    Hi all,
    I have a case where i need to build a query to count the dates and then group them by a specific interval, I mean the user may select a date range 1 year but group the result by 7 days, so the query must return counts of dates for every 7 days.
    lets have the following table : (the real database store the date as long (date in milliseconds))
    Date | SevEnum
    1-Feb-2010 00:00:00 | 1
    1-Feb-2010 15:00:00 | 1
    2-Feb-2010 12:00:00 | 1
    2-Feb-2010 14:00:00 | 1
    3-Feb-2010 00:00:00 | 1
    3-Feb-2010 06:00:00 | 1
    The user can enter any interval he want, examples:
    grouping by *1 year*
    result must by :
    Date | Count
    2010 | 6
    grouing by *1 day*
    Date | Count
    1-Feb-2010 | 2
    2-Feb-2010 | 2
    3-Feb-2010 | 2
    grouing by *2 days*
    Date | Count
    1-Feb-2010 | 4
    3-Feb-2010 | 2
    the User can group the date by any time Unit (seconds, minutes, hours,days, week,months,years)
    I can't using TRUNC() because, its just for specific unit (ex. just 1 day, not 2 days).
    Is there any idea or logic to be general as possible, please advice.
    thanks,
    Edited by: user9183438 on Mar 9, 2010 3:20 AM
    Edited by: user9183438 on Mar 9, 2010 3:21 AM

    You can use TRUNC to truncate by day, month, hour, etc:
    SQL> SELECT TRUNC(sysdate, 'mm')
      2  FROM   dual;
    TRUNC(SYSDATE,'M
    01/03/2010 00:00As for the other requirement - do the users really need to be able to group by "2 days"? Is it meaningful?
    If so, then here's a method of doing what you're after (I've included various truncates just to give an idea of how the data may differ):
    with dates as (select trunc(sysdate, 'mm') -10 + level dt
                   from   dual
                   connect by level <= 40)
    select dt,
           trunc(dt, 'mm') by_month,
           trunc(dt, 'iw') by_week,
           trunc(dt, 'yyyy') by_year,
           trunc(dt, 'dd') by_day,
           trunc(dt, 'yyyy') + trunc(to_char(dt, 'ddd')/2)*2 by_2_days,
           trunc(dt, 'yyyy') + trunc(to_char(dt, 'ddd')/14)*14 by_14_days,
           trunc(dt, 'iyyy') + trunc(to_char(dt, 'iw')/2)*2*7 by_fortnight
    from   dates;
    DT         BY_MONTH   BY_WEEK    BY_YEAR    BY_DAY     BY_2_DAYS  BY_14_DAYS BY_FORTNIGHT
    20/02/2010 01/02/2010 15/02/2010 01/01/2010 20/02/2010 20/02/2010 12/02/2010 15/02/2010 
    21/02/2010 01/02/2010 15/02/2010 01/01/2010 21/02/2010 22/02/2010 12/02/2010 15/02/2010 
    22/02/2010 01/02/2010 22/02/2010 01/01/2010 22/02/2010 22/02/2010 12/02/2010 01/03/2010 
    23/02/2010 01/02/2010 22/02/2010 01/01/2010 23/02/2010 24/02/2010 12/02/2010 01/03/2010 
    24/02/2010 01/02/2010 22/02/2010 01/01/2010 24/02/2010 24/02/2010 12/02/2010 01/03/2010 
    25/02/2010 01/02/2010 22/02/2010 01/01/2010 25/02/2010 26/02/2010 26/02/2010 01/03/2010 
    26/02/2010 01/02/2010 22/02/2010 01/01/2010 26/02/2010 26/02/2010 26/02/2010 01/03/2010 
    27/02/2010 01/02/2010 22/02/2010 01/01/2010 27/02/2010 28/02/2010 26/02/2010 01/03/2010 
    28/02/2010 01/02/2010 22/02/2010 01/01/2010 28/02/2010 28/02/2010 26/02/2010 01/03/2010 
    01/03/2010 01/03/2010 01/03/2010 01/01/2010 01/03/2010 02/03/2010 26/02/2010 01/03/2010 
    02/03/2010 01/03/2010 01/03/2010 01/01/2010 02/03/2010 02/03/2010 26/02/2010 01/03/2010 
    03/03/2010 01/03/2010 01/03/2010 01/01/2010 03/03/2010 04/03/2010 26/02/2010 01/03/2010 
    04/03/2010 01/03/2010 01/03/2010 01/01/2010 04/03/2010 04/03/2010 26/02/2010 01/03/2010 
    05/03/2010 01/03/2010 01/03/2010 01/01/2010 05/03/2010 06/03/2010 26/02/2010 01/03/2010 
    06/03/2010 01/03/2010 01/03/2010 01/01/2010 06/03/2010 06/03/2010 26/02/2010 01/03/2010 
    07/03/2010 01/03/2010 01/03/2010 01/01/2010 07/03/2010 08/03/2010 26/02/2010 01/03/2010 
    08/03/2010 01/03/2010 08/03/2010 01/01/2010 08/03/2010 08/03/2010 26/02/2010 15/03/2010 
    09/03/2010 01/03/2010 08/03/2010 01/01/2010 09/03/2010 10/03/2010 26/02/2010 15/03/2010 
    10/03/2010 01/03/2010 08/03/2010 01/01/2010 10/03/2010 10/03/2010 26/02/2010 15/03/2010 
    11/03/2010 01/03/2010 08/03/2010 01/01/2010 11/03/2010 12/03/2010 12/03/2010 15/03/2010 
    12/03/2010 01/03/2010 08/03/2010 01/01/2010 12/03/2010 12/03/2010 12/03/2010 15/03/2010 
    13/03/2010 01/03/2010 08/03/2010 01/01/2010 13/03/2010 14/03/2010 12/03/2010 15/03/2010 
    14/03/2010 01/03/2010 08/03/2010 01/01/2010 14/03/2010 14/03/2010 12/03/2010 15/03/2010 
    15/03/2010 01/03/2010 15/03/2010 01/01/2010 15/03/2010 16/03/2010 12/03/2010 15/03/2010 
    16/03/2010 01/03/2010 15/03/2010 01/01/2010 16/03/2010 16/03/2010 12/03/2010 15/03/2010 
    17/03/2010 01/03/2010 15/03/2010 01/01/2010 17/03/2010 18/03/2010 12/03/2010 15/03/2010 
    18/03/2010 01/03/2010 15/03/2010 01/01/2010 18/03/2010 18/03/2010 12/03/2010 15/03/2010 
    19/03/2010 01/03/2010 15/03/2010 01/01/2010 19/03/2010 20/03/2010 12/03/2010 15/03/2010 
    20/03/2010 01/03/2010 15/03/2010 01/01/2010 20/03/2010 20/03/2010 12/03/2010 15/03/2010 
    21/03/2010 01/03/2010 15/03/2010 01/01/2010 21/03/2010 22/03/2010 12/03/2010 15/03/2010 
    22/03/2010 01/03/2010 22/03/2010 01/01/2010 22/03/2010 22/03/2010 12/03/2010 29/03/2010 
    23/03/2010 01/03/2010 22/03/2010 01/01/2010 23/03/2010 24/03/2010 12/03/2010 29/03/2010 
    24/03/2010 01/03/2010 22/03/2010 01/01/2010 24/03/2010 24/03/2010 12/03/2010 29/03/2010 
    25/03/2010 01/03/2010 22/03/2010 01/01/2010 25/03/2010 26/03/2010 26/03/2010 29/03/2010 
    26/03/2010 01/03/2010 22/03/2010 01/01/2010 26/03/2010 26/03/2010 26/03/2010 29/03/2010 
    27/03/2010 01/03/2010 22/03/2010 01/01/2010 27/03/2010 28/03/2010 26/03/2010 29/03/2010 
    28/03/2010 01/03/2010 22/03/2010 01/01/2010 28/03/2010 28/03/2010 26/03/2010 29/03/2010 
    29/03/2010 01/03/2010 29/03/2010 01/01/2010 29/03/2010 30/03/2010 26/03/2010 29/03/2010 
    30/03/2010 01/03/2010 29/03/2010 01/01/2010 30/03/2010 30/03/2010 26/03/2010 29/03/2010 
    31/03/2010 01/03/2010 29/03/2010 01/01/2010 31/03/2010 01/04/2010 26/03/2010 29/03/2010  You may find that you'll have to add or subtract onto the to_char(dt, 'ddd') values in order to make them us the same "start point" - eg. look at the difference for fortnight vs 14 days. Anyway, that should give you an idea of how you could do things.

  • Updating a Table using grouping logic

    Hi,
    I have a requirement
    There is table table_a
    create table table_a
    code number,
    name varchar2(50),
    city varchar2(50),
    state varchar2(20),
    group_id
    insert into table_a
    values
    1,'ABC','A;,'A1');
    insert into table_a
    values
    1,'BCD','A;,'A1');
    insert into table_a
    values
    2,'ABC','A;,'A1');
    insert into table_a
    values
    2,'ABE','A;,'A1');
    insert into table_a
    values
    3,'ABF','A;,'A1');
    insert into table_a
    values
    3,'ABH','A;,'A1');
    I need to group the above table values
    select code,name,city,dept from table_a
    group by code,name,city,state
    I need to update the table_a based on the groups above through a cursor
    I want to update table_a
    update table_a set group_id (based on the group valuse from the cursor)
    How to approach for the scenario.Any suggestion for this

    Hi,
    One last Query based on the Query you have posted:
    If  I go with the Updated Query
    MERGE INTO  table_a    dst
    USING  (
               SELECT    name, city, state
               ,         ROW_NUMBER () OVER (ORDER BY name, city, state)
                             AS group_id
               FROM      table_a
               GROUP BY  name, city, state
           )               src
    ON     (    dst.name  || 'x'  = src.name  || 'x'     -- CHANGED
           AND  dst.city  || 'x'  = src.city  || 'x'     -- CHANGED
           AND  dst.state || 'x'  = src.state || 'x'     -- CHANGED
    WHEN MATCHED THEN UPDATE
    SET    dst.group_id  = src.group_id
    Now the Records are updated in the table With Group_id Column based on Grouping Logic thats fine
    But if after some couple of days there might be new set of rows.Then How the Group values will be maintained?(The above group can contain new rows also.So how the table_a will be updated if there are already GROUP_ID values for example 1.2,3,4 etc)
    SELECT    name, city, state
               ,         ROW_NUMBER () OVER (ORDER BY name, city, state)
                             AS group_id
               FROM      table_a
               GROUP BY  name, city, state

  • Group Sort Filtering

    Hi
    I have a report which has a group sort on number of days sickness leave for employees over a period of a year .
    Is there a way of setting a condition on the group (sub) total to exclude total sickness less than 8 days and the individual lines that make up the sub total?
    Or could you advise of an alternate way to do this.
    So to recap I need to exclude employees whose sickness total for a year is less than 8 days.And the report lists individual entries of sickness for a year by employee.
    I am using Discoverer Desktop version 4.
    Thanks
    Edited by: user650649 on 23-Jul-2010 02:28

    Hi,
    In general, you can do this by using an analytic sum function in a calculation. So you would calculate the total number of days sickness partitioned by the employee and the year. You can then include this calculation in a condition to exclude all the records where this total is less than a given value.
    Regards,
    Rod

  • Count() for each group, but only groups having 1+ element like... AND all elements like...

    There are tables(and columns) like:
    'Clients'(clientID)
    'Houses' (houseID)
    'Visits' (clientID, houseID, visit_date)
    'Contracts'(contractID, houseID, clientID, rentDate_from, rentDate_end)
    I have problem with writing MS SQL query of this kind:
    how many visits to houses did each client, before renting one of them?
    Its easy to count total number of Visits for each client, listing all visits + group by clientID and selecting count(*) for each group.
    Lets say this is select_1, and select_2 is listing all Contracts for all clients.
    Select_1 is not answer, because count must be performed only on groups, which:
    -have at least 1 row "like" row in select_2 (it means that at least one of visited houses was rented, because it can happen that client visited few houses, but rented other, not visited house). my idea for this is comparing select_1 and select_2 with:
    "where s1.clientID=s2.clientID and s1.houseID=s2.houseID"
    -each group must have all rows(visits) with date of same day or earlier than contract date
     maybe: "datediff(day, s1.visit_date, s2.rentDate_from) >= 0"

    In future, please provide proper DML, DDL and example data, like I have for you below.
    DECLARE @clients TABLE (clientID INT, name VARCHAR(20))
    INSERT INTO @clients (clientID, name)
    VALUES (1, 'Jonathan'),(2, 'Christopher'),(3, 'James'),(4, 'Jean-Luc'),(5, 'William')
    DECLARE @houses TABLE (houseID INT, address VARCHAR(20))
    INSERT INTO @houses (houseID, address)
    VALUES (1, 'NX01'),(2, 'NCC 1701'),(3, 'NCC 1071A'),(4, 'NCC 1701D'),(5, 'NCC 1701E')
    DECLARE @visits TABLE (clientID INT, houseID INT, visitDateTime DATETIME)
    INSERT INTO @visits (clientID, houseID, visitDateTime)
    VALUES (1,1,'2001-01-01 12:13:14'),
    (2,2,'2001-01-02 12:13:14'),
    (3,2,'2001-01-01 12:13:14'),(3,3,'2001-01-01 12:13:14'),
    (4,4,'2001-01-01 12:13:14'),(4,5,'2001-01-01 12:13:14'),
    (5,4,'2001-01-01 12:13:14'),(5,5,'2001-01-01 12:13:14')
    DECLARE @contracts TABLE (contractID INT IDENTITY, houseID INT, clientID INT, rentStartDate date, rentEndDate date)
    INSERT INTO @contracts (houseID, clientID, rentStartDate, rentEndDate)
    VALUES (1,1,'2001-01-02',NULL),(2,2,'2001-01-02',NULL),(3,3,'2001-01-02',NULL),(4,4,'2001-01-02',NULL),(5,5,'2001-01-02',NULL)
    SELECT contractID, c.houseID, c.clientID, rentStartDate, rentEndDate, cl.clientID, name, h.houseID, address, COUNT(v.clientID) AS visits
    FROM @contracts c
    LEFT OUTER JOIN @clients cl
    ON c.clientID = cl.clientID
    LEFT OUTER JOIN @houses h
    ON c.houseID = h.houseID
    LEFT OUTER JOIN @visits v
    ON c.clientID = v.clientID
    AND c.rentStartDate >= v.visitDateTime
    GROUP BY contractID, c.houseID, c.clientID, rentStartDate, rentEndDate, cl.clientID, name, h.houseID, address

  • A few SQL related protection group Questions - DPM 2012 R2

    Hi - Here is my environment: DPM 2012 R2 backing up SQL 2012 DBs. Some of the DBs are simple recovery model, some are full recovery model in the same protection group.
    1) Regarding the fact that DPM only looks to the recovery model when the DB is first added to the protection group, if I ever changed the recovery model in the future, would stepping through the "Modify Protection Group" wizard without changing
    anything be the solution for DPM not changing its methodology on the backing up or not backing up the log files? Or would I have to remove the affected databases from the protection group and add them back in?
    2) I have disk protection configured for 30 Days, sync every 15 minutes, and application recovery points once per day. Online protection is configured for 90 Days. Does this mean my disk consumption on the DPM side for full model databases will be the full
    size of the databases, plus the amount of changes observed over 30 days? OR does it mean it will keep 30 full copies of the DB? I am fairly sure the former.
    3) If I do decide to reduce the retention range on the disk side of this protection group to say 14 days, are there any specific issues with changing that after the PG has been working for some time?
    4) My former backup solution had an option to run consistency checks after every SQL job. Is that still considered best practice? Would the "Run a daily consistency check" be a better choice than the "Only run if a replica becomes inconsistent"
    option that I currently have in place? Would there be any ramifications to enabling this now after this PG has been in place for some time?
    Thanks very much!

    Hi
    Q1) Regarding the fact that DPM only looks to the recovery model when the DB is first added to the protection group, if I ever changed the recovery model in the future, would stepping through the "Modify Protection Group" wizard without changing
    anything be the solution for DPM not changing its methodology on the backing up or not backing up the log files? Or would I have to remove the affected databases from the protection group and add them back in?
    A1)
    Changing the Recovery Model of a Database
    To change the recovery model of a protected database to the simple recovery model
    Stop protection of the database, selecting the retain replica option.
    Change the recovery model on the SQL Server database.
    Add the database to a protection group.
    Q2) I have disk protection configured for 30 Days, sync every 15 minutes, and application recovery points once per day. Online protection is configured for 90 Days. Does this mean my disk consumption on the DPM side for full model databases will be the full
    size of the databases, plus the amount of changes observed over 30 days? OR does it mean it will keep 30 full copies of the DB? I am fairly sure the former.
    A2) Your disk consumption on the DPM will be for size of model databases plus the amount of changes observed over 30 days.
    Q3) If I do decide to reduce the retention range on the disk side of this protection group to say 14 days, are there any specific issues with changing that after the PG has been working for some time?
    A4) Not really, but to gain back the potential extra space allocated for the original 30 day retention - you can try shrinking the recovery point volume once the retention range is reduced and the older recovery points are pruned.  I would wait until
    after midnight to be sure the old RP's are deleted, then try to shrink.
    Q4) My former backup solution had an option to run consistency checks after every SQL job. Is that still considered best practice? Would the "Run a daily consistency check" be a better choice than the "Only run if a replica becomes inconsistent"
    option that I currently have in place? Would there be any ramifications to enabling this now after this PG has been in place for some time?
    A4)  A consistency check will only run if DPM detects the replica is inconsistent.  Even if you have the option selected to run nightly, if the replica is already consistent a consistency check will be skipped.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Cross tab Date Column Grouping

    Hi,
    I have a cross tab in my report which displays no of tickets opened grouped by day, week or Month, grouping is done based on a parameter GroupBy, which has Day, Week, Month values
    Incident   Jun -99  Jul-99
    Priority1      10          20
    Priority2      45          23
    if user selects day or week, cross tab should display column in dd/mm/yy format, if its month, MMM-yy format.
    I have created formula which returns a date type
    GroupBy = Day then Opendate
    GroupBy = Week then opendate -dayofweek(opendate)+1
    GroupBy = date(year(opendate),month(opendate),1)
    and used this date formula as column in cross tab. I tried to format using custom date style...but its not working in cross tab.
    if I use totext to format the date formula, data will not be in sorted order...ex, its showing jul-99 before jun-99
    can anyone help?
    Thanks in Advance,
    Jyothi

    You can avoid multiple cross tabs by using the Display String expression under Field Formatting.  The expression that is entered in this field is what is displayed as the field value in the report.  Use the same logic as you are using for calculating the value, except return CStr(CurrentFieldValue, <format>), where <format> is the formatting code for the desired date format based on GroupBy.
    HTH,
    Carl

  • Group Assets IT - Depreciation

    Hi All,
    I am calculating Depreciation on Assets based on Income tax act of India.
    Based on this the assets purchased less than 180 days should 50% depreciation charged.
    this is running fine when I calculate the depreciation on Individual Assets.
    But Client request for Groups Assets, So I assigned the Groups assets.
    In case of Groups Assets. Depreciation for the assets less than 180 days also it is calculating the 100 % Dep.
    Any one know how to solve this. Is there any settings needs to be change?
    Thanks
    Ravi

    Hi,
    In OVAH
    settings is maintained like this.
    K4     01     Pro rata at period start date              0     0
    K4     02     Pro rata upto mid-period at period start date              1     15
    K4     02     Pro rata upto mid-period at period start date              2     14     1
    K4     02     Pro rata upto mid-period at period start date              3     15     2
    K4     02     Pro rata upto mid-period at period start date              4     15     3
    K4     02     Pro rata upto mid-period at period start date              5     15     4
    K4     02     Pro rata upto mid-period at period start date              6     15     5
    K4     02     Pro rata upto mid-period at period start date              7     15     6
    K4     02     Pro rata upto mid-period at period start date              8     15     7
    K4     02     Pro rata upto mid-period at period start date              9     15     8
    K4     02     Pro rata upto mid-period at period start date              10     15     9
    K4     02     Pro rata upto mid-period at period start date              11     15     10
    K4     02     Pro rata upto mid-period at period start date              12     15     11
    in the table  details shows like this.
    Table:          T090NP
    Displayed Fields:  15 of  15  Fixed Columns:                3  List Width 0250
       MANDT AFAPL  METPER PERBZU PERBNA PERBAB PERBUM XBZDAT PERBAW PERBIF PERBAA PERBZR PERBD1 PERBD2 PERTXT
       740   0AT    007    04     06     05     05     X                                                04/06/05/05
       740   0BR    007    04     06     05     05     X                                                04/06/05/05
       740   0PL    002    11     11     11     11     X                                                11/11/11/11
       740   0PL    003    01     01     01     01     X                                                01/01/01/01
    But any where I have to Assign this steps to Deprecation Key for Groups Assets?
    thanks
    Ravi

  • Conditional Grouping

    I want the user to be able to choose between two formats: Group by Order.Date or No Grouping. Conditional suppression of the group does not satisfy this requirement; the group header is not visible but the groupings are still present in the body of the report.
    I tried writing a formula, hoping to base the group on that formula. But the formula generates an error:
    If {?pmDate} = True Then
        Formula = {Table.Date}
    Else
        Formula = AllDatesToToday    'Error - Date required
    End If
    I think the error is the result of one or even two related problems:
    The formula evaluates to different date types.
    The Else clause evaluates to a DateRange (not allowed).
    I am stuck. Is there a way to create a user driven parameter that determines whether a particular group will be used or not.
    Art

    The result of the IF part and the ELSE part should be of the same data type, hence the error.
    I do not think you can either group on a date or no grouping at all.  However, here is an idea.
    1. Create a parameter of type string with two static values of YES and NO and name the parameter "Group on Order Date?".
    2. Group on Order.Date choosing the option of "For Each Day" or for each second as the requirements dictate.
    3. Click on Group Expert and then choose the order.date and then click on "Options".
    4. In the pop-up check the box next to 'Use a Formula as a Group Sort Order' and click on the x+2 button.
    5. In the formula workshop window type:
    if {?My Parameter} = 'yes' then crascendingorder else croriginalorder;
    If the user chooses YES to the parameter, then the report will be grouped by order.date in Ascending Order and if the user chooses NO then the report is still grouped by the order.date but is listed in the original order (which will be in whatever order they are read and thus displaying some randomness).
    Edited by: Sanjay Kodidine on Aug 25, 2009 9:45 AM

  • Group chat features not working anymore

    For the past two or more days I have been unable to send messages in Skype group conversations and tonight I found that I could not enable video in a group call or initiate a group call anymore.  Also, on some occasions I do not receive new group messages.

    I have been having the same issue.  It started almost 2 weeks ago or whenever the last update occurred.  I have tried just about everything i can think of from uninstalling to trying some commands in chat that were posted by a mac user like 2 years ago.  So far nothing has fixed or helped the problem in fact it appears to be getting worse.  At first I was only hindered by messages taking several minutes to send which progressed to hours days and now weeks. (spamming around 6-10 messages usually pushed it through). Next I was unable to group call then came the inabillity to do anything with the instant messanger in group calls.  I deleted all of my past conversations thinking myabe they themselves were bugged but to no avail.  If this issue could be addressed that would be great considering I use group call and chat everyday and for many hours a day.  I have Windows 8.1 and if need be i can provide more specs if that would help narrow anything down.

  • Drill Down only the Middle Row in the Row Group

    Friends,
    I am having difficulties in implementing drill down for one row group.  This is my requirement.
    The Dataset would be returning say the following columns - Eg, Account #, Admit Date, Discharge Date, Pend Reason, Pend Date, Total Amount, Comments. An Account can be pended multiple times.
    We can Pend an Account multiple times. Hence if multiple records exist only the Pend Reason & Pend Date fields would be different for each row for a account. So Account, Pend Reason, Pend Date form a UNIQUE key.
    I am trying to create a drill down report. I want to drill down the Pend Reason & Pend Date fields. This is possible. However, the requirement is to display the Pend Reason & Pend Date fields in the middle of the result set i.e. Total Amount, Comments
    field would be coming after these fields in the report. So whenever i try to expand/collapse the subsequent fields Total Amount & Comments too get expanded/collapsed.
    I am able to achieve this if i keep Pend Reason & Pend Date fields at the end of the result set. But that is not the requirement.
    There is another option of creating sub report for these fields and displaying the history. However i feel that this would be very time consuming since the sub report would be called for every row in the result set.
    Are there any other ways to achieve this? Is it possible to drill down these 2 fields by toggling these same 2 fields?
    Any help would be appreciated.
    Thanks.
    Murali Krishnan

    Hi Murali,
    Thank you for your post.
    Since I am not very clearly about your requirement, could you please post the dataset with sample data, and the screenshot about your report design? It is benefit for us to do further analysis.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support
    Alisa,
    Thanks for responding. I am attaching the report layout. In this Facility, User, CaseType have been grouped and rest of the fields are in Details section.
    For an account with multiple entries in the dataset only the Pend Reason would be different. All the other fields would be the same. When I try to add all the fields before Pend Reason field as Parent, it is grouping till Pend Reaosn and showing even Pend
    Date, Pend Days fields in individual rows.
    Our requirement is to have only one row per account in the report and display multiple rows for pend reasons in its own box. for eg if there are 3 rows for account 111
    Col1, Col2, Col3
    111, A, 20
    111,B,20
    111,C,20
    My requirement is to display like below.
    111
    A
    20
    B
    C
    i know the we can implement this by using a subreport for COl2. but it would be time consuming as it would be called for all the rows. Is there any other better options.
    Murali Krishnan

  • ITunes' iPod preference missing Address Book Groups

    Just got an iPod Touch. When I first synced the ipod all of the contacts were from my Entourage account. I wanted them from Address Book. When I go in iTunes, under "Devices" and get the preferences for the iPod, I look under the "contacts" section. There are none of my Address book "groups" to select from. iTunes is not recognizing my Address book.
    How do I fix this?

    The Mac specialist over the phone said that my iPod was malfunctioned and needed to be sent in. It ends up that the iPod touch has a few limitations that other iPods I've owned do not have. While my 80 gig video ipod would show all my groups, the iPod touch would not. After about two days of playing around I found out that once I eliminated some of my groups they appeared in iTunes preferences. I don't have an exacts count but I think more then 15 groups is too much for iTunes.
    Problem solved.

Maybe you are looking for