Working on Schedule Formula - include/exclude lunch based on total hours

So I was starting with the basic schedule template they have. They only problem is that it ALWAYS deducts 1 hour for lunch regardless of the length of the shift.
Here is the formula I have:
=IF(OR(G8="",G9=""),"",IFERROR(G9-G8-Administration Information :: $B$1,""))
How can I modify this to make it only deduct the 1 hour for lunch if the total hours (before lunch) is more than 5.5 hours?
The 'Administration Information' is where it gets the lunch length from.
Thanks!

No one has asked about that template for a month or so. Usually the question has to do with the Start and End times for the shift. I remember a long time ago when I looked at that template for the first time I thought it would be good to make the lunch variable.
You wrote a very good question. You mentioned exactly what template you were using and stated clearly what you wanted to do.
You can Hide column C in the Admin table since it doesn't have much purpose other than to contain the Duration constant for maximum work time without lunch.
Jerry

Similar Messages

  • SQL to include/exclude groupings based on set relations of sub-groupings

    Hello clever people,
    I am struggling to write SQL to enable me to include or exclude groupings (or even better sub groupings). It's taken a lot of SQL (using analytic functions) to get my data grouped as I wish (detail hopefully unimportant but basically trades grouped by date, desk, direction and asset).
    I now need to be able to include/exclude groupings depending on what I can see within them. I have managed to come up with logic based on the sets resulting from "subgrouping" my groupings into accounts, the set elements being the orders they have participated in. I believe that if I only include scenarios/groupings where the account order sets intersect yet are not equal, then I should have the report I need.
    Unfortunately I don't know how to code this in SQL.
    Columns 3, 4 and 5 of the below simplified table are information/desired, so if we take the first 3 columns as an existing "table", let's call it GROUPINGS (which I have created using a SQL query), how can I code this to include the groupings where subgroup sets intersect partially, and exclude the rest? I want to see groupings 4, 5 and 7 only.
    To get to the below has taken quite a lot of SQL already, so I'm keen to avoid having to join in back to itself if I can as the code will be a mess. I'm happy to post the underlying SQL but I'm not in my office currently so I can't now, I hope it isn't necessary anyhow.
    Very grateful for any help, I'm completely stuck.
    Thanks
    Jon
    P.s groupings/scenarios below taken in isolation, they aren't meant to have an effect on each other.
    Grouping
    Order
    Account
    Include Grouping in report
    Account Subgroup Order Sets
    Logic for Inclusion/Exclusion
    1
    1
    ABC
    F
    ABC {1}
    Business: Only one order for one account
    Maths: Only one Order Set (no intersection)
    2
    1
    ABC
    F
    ABC {1}, DEF {1}, GHI {1},
    Business: Only one order
    Maths: Where sets intersect they are equal
    2
    1
    DEF
    F
    2
    1
    GHI
    F
    3
    1
    ABC
    F
    ABC {1,2,3}
    Business: Only one order
    Maths: Only one Order Set (no intersection)
    3
    2
    ABC
    F
    3
    3
    ABC
    F
    4
    1
    ABC
    T
    ABC {1,2}, DEF {1}
    Business: Accounts are not consistent across orders and common account(s) exist across orders
    Maths: Where sets intersect they are not equal
    4
    1
    DEF
    T
    4
    2
    ABC
    T
    5
    1
    ABC
    T
    ABC {1,2}, DEF {1}, GHI {2}
    Business: Accounts are not consistent across orders and common account(s) exist across orders
    Maths: Where sets intersect they are not equal
    5
    1
    DEF
    T
    5
    2
    ABC
    T
    5
    2
    GHI
    T
    6
    1
    ABC
    F
    ABC {1,2,3}, DEF {1,2,3}
    Business: Common Accounts exist across orders but are consistent i.e. all accounts participate in all orders
    Maths: Where sets intersect they are equal
    6
    1
    DEF
    F
    6
    2
    ABC
    F
    6
    2
    DEF
    F
    6
    3
    ABC
    F
    6
    3
    DEF
    F
    7
    1
    ABC
    T
    ABC {1,3}, DEF {1,2}, GHI {2,3}
    Business: Common Accounts exist across orders but are inconsistent, i.e. not the same accounts appear in the related orders
    Maths: Where sets intersect they are not equal
    7
    1
    DEF
    T
    7
    2
    DEF
    T
    7
    2
    GHI
    T
    7
    3
    ABC
    T
    7
    3
    GHI
    T
    8
    1
    ABC
    F
    ABC {1,2}, DEF {1,2}, GHI {3,4}, JKL {3,4}
    Business: Common Accounts exist across orders but are consistent i.e. the same accounts participate in common orders
    Maths: Where sets intersect they are equal
    8
    1
    DEF
    F
    8
    2
    ABC
    F
    8
    2
    DEF
    F
    8
    3
    GHI
    F
    8
    3
    JKL
    F
    8
    4
    GHI
    F
    8
    4
    JKL
    F

    Swapping order_id and account_cd produces the same result
    with
    groupings as
    (select 1 grouping_id,1 order_id,'ABC' account_cd from dual union all
    select 2,1,'ABC' from dual union all
    select 2,1,'DEF' from dual union all
    select 2,1,'GHI' from dual union all
    select 3,1,'ABC' from dual union all
    select 3,2,'ABC' from dual union all
    select 3,3,'ABC' from dual union all
    select 4,1,'ABC' from dual union all
    select 4,1,'DEF' from dual union all
    select 4,2,'ABC' from dual union all
    select 5,1,'ABC' from dual union all
    select 5,1,'DEF' from dual union all
    select 5,2,'ABC' from dual union all
    select 5,2,'GHI' from dual union all
    select 6,1,'ABC' from dual union all
    select 6,1,'DEF' from dual union all
    select 6,2,'ABC' from dual union all
    select 6,2,'DEF' from dual union all
    select 6,3,'ABC' from dual union all
    select 6,3,'DEF' from dual union all
    select 7,1,'ABC' from dual union all
    select 7,1,'DEF' from dual union all
    select 7,2,'DEF' from dual union all
    select 7,2,'GHI' from dual union all
    select 7,3,'ABC' from dual union all
    select 7,3,'GHI' from dual union all
    select 8,1,'ABC' from dual union all
    select 8,1,'DEF' from dual union all
    select 8,2,'ABC' from dual union all
    select 8,2,'DEF' from dual union all
    select 8,3,'GHI' from dual union all
    select 8,3,'JKL' from dual union all
    select 8,4,'GHI' from dual union all
    select 8,4,'JKL' from dual
    got_account_cd_list as
    (select grouping_id,order_id,account_cd,
            listagg(account_cd, ',') within group (order by account_cd) over (partition by grouping_id,order_id) account_cd_list
       from groupings
    groupings_wanted as
    (select distinct 
            l.grouping_id
       from got_account_cd_list l
            inner join
            got_account_cd_list g
         on g.order_id > l.order_id
        and g.grouping_id = l.grouping_id
        and g.account_cd = l.account_cd
        and g.account_cd_list <> l.account_cd_list
    select g.grouping_id,g.order_id,g.account_cd,nvl2(w.grouping_id,'T','F') including
      from groupings g
           left outer join
           groupings_wanted w
        on w.grouping_id = g.grouping_id
    order by g.grouping_id,g.account_cd
    GROUPING_ID
    ORDER_ID
    ACCOUNT_CD
    INCLUDING
    1
    1
    ABC
    F
    2
    1
    ABC
    F
    2
    1
    DEF
    F
    2
    1
    GHI
    F
    3
    3
    ABC
    F
    3
    1
    ABC
    F
    3
    2
    ABC
    F
    4
    2
    ABC
    T
    4
    1
    ABC
    T
    4
    1
    DEF
    T
    5
    1
    ABC
    T
    5
    2
    ABC
    T
    5
    1
    DEF
    T
    5
    2
    GHI
    T
    6
    2
    ABC
    F
    6
    3
    ABC
    F
    6
    1
    ABC
    F
    6
    3
    DEF
    F
    6
    2
    DEF
    F
    6
    1
    DEF
    F
    7
    3
    ABC
    T
    7
    1
    ABC
    T
    7
    2
    DEF
    T
    7
    1
    DEF
    T
    7
    2
    GHI
    T
    7
    3
    GHI
    T
    8
    2
    ABC
    F
    8
    1
    ABC
    F
    8
    1
    DEF
    F
    8
    2
    DEF
    F
    8
    3
    GHI
    F
    8
    4
    GHI
    F
    8
    4
    JKL
    F
    8
    3
    JKL
    F
    Regards
    Etbin

  • Working day formula that excludes weekends and holidays in WEBI

    Hi Guys,
    Can we calculate a working day formula that excludes weekends and holidays in WEBI OR in Universe?
    The universe I am working on is using stored procedures, so there are no joins or modelling done. Although there is a workday stored proc  that I can bring in the universe.
    I am just thinking if there is no modelling or joins done in the universe how will this help me in webi?
    Your suggestions will be very helpful.
    Thanks,
    Jitan

    One more suggestion I need from you  -
    I have a Work_Calendar_VW that has the following columns -
    Calendar_Date - 5/1/2014
    Calendar_Year - 2014
    Calendar_Month - 5
    Calendar_Day - 1
    Work_Day - 1
    Day_Type - WD (Work Day)  For Weekends this will be displayed as WE
    The columns have all dates for current year in SQL Server.
    I am going to pull this into the universe and create 2 derived tables to calculate MTD Day counts.
    Derived Table 1  - Calculate Yest Work Day... this will remove all the weekends and holidays and give me the last working day. This includes couple of case statments to check each day if it's a working day or weekend.
    For Work Day the above code will be 1 and for weekend 0
    Derived Table 2  - This will give me the count of working days in current month using the above view and Derived table 1 Below is the code  -
    SELECT COUNT(*)
    FROM Work_Calendar_VW
    WHERE [Work_Day] = 1 AND
       (Calendar_Date BETWEEN CAST(CONVERT(VARCHAR(25),MONTH(LastWoringkday()),101) + '/01/'
       + CONVERT(VARCHAR(25),YEAR(LastWoringkday()),101) AS DATE)
      AND LastWoringkday()).
    I cannot do joins because this universe has been built using stored proc and would like to implement this in BO universe.
    let me know if this is the right approach.
    Thanks,
    Jitan

  • Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please.

    Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please before I throw it through the window!

    Grum12 wrote:
    Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please before I throw it through the window!
    Hi Grum,
    If the formulas aren't filling to the new column, you must have changed something in the template since you first opened it. Numbers is rather fussy about filling row content in columns as they are added. Only rows with the same expression in every Body Column will fill when a column is added. Just as an experiment, start a new Employee Schedule document from the Template Chooser and then add a column by clicking the Add Column handle in the upper right corner of the table. If that works, as it should, then think about what might have changed in your working document to disconnect that feature. Maybe we can figure it out together.
    Jerry

  • How to include /Exclude products in customer catalog view.

    We are using CRM 4.0 with internet sales applications (ISA).We have product catalog setup in webshop where customer/customer service team given access to view products based on the different product hierarchy.
    This is enabled though creation of multiple customer views
    Now we have a requirement that customer need to view only few product out of the product category level assignment but asper the current system if a particular product category is marked then it show all the product under the product category in hierarchy assignment
    Which means assume there are 100 products assigned to a product category ID under customer view, but customer has show all the 100 products but he need to view only 50 products out of 100 products assigned
    We need to find out if it is possible to include / exclude products from a customer view not based on the product hierarchy / category ID.
    Is that possible? we tried Partner product range but not sure ...can anyone throw some light in it... please let me know if I'm not clear on this.
    Thanks
    Jegatheesan.

    The app builder prior to 8.x was only designed to install the application you created. The actual instrument driver VIs should be included in the app but the IVI driver itself (the low level dll) is not. You should really include the installer for the IVI driver and not just the dlls. This is the .msi file that is on the instrument driver download page. If you are getting an error about VISA32, then it sounds like VISA was not installed either. I usually install VISA and NI-GPIB from the CD that comes with the GPIB board and I do this when I install the board into the computer. However, you can also include these installers with your app as well. On the Installer Settings tab, click the Advanced button. You have the option there of 'Run executable after installation'. The simplest thing to do is to create a .bat file that will call the other installers you include with the distribution. Don't forget that you also need the IVI Compliance Package so include that installer as well.

  • Formula Help Exclude or Suppress

    A patient can be seen by multiple Hospitalist and I'm trying to create a formula that  exclude or suppress all records when any patient was seen by 41167  {HSP_TRTMT_TEAM.PROV_ID} = '411467'
    So, if a patient was seen by 40067 and 411467 I would like to exclude both records.
    Current selection formula:
    {HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT} IN [CurrentDate -7 TO CurrentDate -2] and
    {HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT} <= cdatetime(currentdate - 2, time(09,00,00)) and
    ({ZC_TRTMT_TEAM_REL.NAME} = "Hospitalist" or
    {HSP_TRTMT_TEAM.PROV_ID} = '11095')
    and
    {HSP_ACCOUNT.LOC_ID} = 410

    I think this will do it for you.  Crystal had done some really crazy stuff with the joins, so I've re-worked them a bit to make them more readable.  I also added the date filter to the join - Oracle runs the query more efficiently when you do this.
    Starting with a new report, paste this query into the Command Editor.  If you're using parameters to filter your data, you'll have to create them in the Command Editor - commands can't see parameters from the main report.  If any of these are supposed to be dynamic parameters let me know and go ahead and create the basic param in the Command Editor.  I'll walk you through how to make them dynamic in the report.
    With filter as (
      Select distinct
        htt.PAT_ID
      from EPICADM.HSP_TRTMT_TEAM htt
      where htt.PROV_ID='411467'
          and htt.TRTMNT_TM_BEGIN_DT>={ts '2014-08-28 00:00:00'}
          and htt.TRTMNT_TM_BEGIN_DT<{ts '2014-09-07 07:00:01'}
    SELECT DISTINCT
        V_FV_MRN.MRN,
        V_FV_MRN.PAT_NAME,
        CLARITY_BED.BED_LABEL,
        ZC_PAT_CLASS.NAME,
        HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT,
        HSP_TRTMT_TEAM.TRTMNT_TM_END_DT,
        PAT_ENC_HSP.HOSP_DISCH_TIME,
        ZC_TRTMT_TEAM_REL.NAME,
        CLARITY_SER.PROV_NAME,
        HSP_TRTMT_TEAM.PROV_ID,
        HSP_ACCOUNT.LOC_ID,
        PATIENT.BIRTH_DATE,
        HSP_ACCOUNT.ADM_DATE_TIME,
        CLARITY_SER_admitting.PROV_NAME
    FROM EPICADM.CLARITY_SER CLARITY_SER
       LEFT OUTER JOIN EPICADM.HSP_TRTMT_TEAM HSP_TRTMT_TEAM
         ON CLARITY_SER.PROV_ID=HSP_TRTMT_TEAM.PROV_ID
         and HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT>={ts '2014-08-28 00:00:00'}
         and HSP_TRTMT_TEAM.TRTMNT_TM_BEGIN_DT<{ts '2014-09-07 07:00:01'}
       LEFT OUTER JOIN EPICADM.PAT_ENC_HSP PAT_ENC_HSP
         ON PAT_ENC_HSP.PAT_ENC_CSN_ID=HSP_TRTMT_TEAM.PAT_ENC_CSN_ID
       LEFT OUTER JOIN EPICADM.CLARITY_BED CLARITY_BED
         ON CLARITY_BED.BED_ID=PAT_ENC_HSP.BED_ID
       LEFT OUTER JOIN EPICADM.CLARITY_SER CLARITY_SER_admitting
         ON PAT_ENC_HSP.ADMISSION_PROV_ID=CLARITY_SER_admitting.PROV_ID
       INNER JOIN EPICADM.ZC_PAT_CLASS ZC_PAT_CLASS
         ON PAT_ENC_HSP.ADT_PAT_CLASS_C=ZC_PAT_CLASS.ADT_PAT_CLASS_C
       RIGHT OUTER JOIN EPICADM.HSP_ACCOUNT HSP_ACCOUNT
         ON HSP_ACCOUNT.PRIM_ENC_CSN_ID=HSP_TRTMT_TEAM.PAT_ENC_CSN_ID
         and HSP_ACCOUNT.LOC_ID=410
       INNER JOIN EPICADM.V_FV_MRN V_FV_MRN
         ON HSP_TRTMT_TEAM.PAT_ID=V_FV_MRN.PAT_ID
       RIGHT OUTER JOIN EPICADM.PATIENT PATIENT
         ON PATIENT.PAT_ID=V_FV_MRN.PAT_ID
       LEFT OUTER JOIN EPICADM.ZC_TRTMT_TEAM_REL ZC_TRTMT_TEAM_REL
         ON HSP_TRTMT_TEAM.TRTMNT_TEAM_REL_C=ZC_TRTMT_TEAM_REL.TRTMNT_TEAM_REL_C
       left outer join filter
         on HSP_TRTMT_TEAM.PAT_ID = filter.PAT_ID
    where filter.PAT_ID is null 
      and ("ZC_TRTMT_TEAM_REL"."NAME"='Hospitalist' OR "HSP_TRTMT_TEAM"."PROV_ID"='11095')
    -Dell

  • Formula by Group and based on a condition

    Post Author: Ravi
    CA Forum: Formula
    Hi All,
    I need to create a formula by Group and based on a condition. Below the syntax is wrong but this is the calculation that I am after!
    Sum({@Test_Dollars}, ) where {Customer Number} = 12
    Basically, I need to display/calculate the 2nd column in the sample report/output.
                      All Customers                    Only  Customer 12
    Company    $500                                  $125    
        Zone A  $200                                   $50
       Zone B   $300                                   $75
    Thanks in advance,
    Ravi

    Post Author: Jagan
    CA Forum: Formula
    I think you should be able to get this from a running total with a formula to only include records where the customer number - 12

  • View/Edit Calc and Formulas including entry signs (-/+) on EAS outline

    What's the fastest way to view and edit the calculations and formulas including the signs (-/+) used when entering data in Hyperion Planning form specifically on the P&L account dimension. Would calc script contain this functions, like the dat file?

    if i understand your q u would be looking for order for calc how it works?
    Member1 (+)
    Member2 (+)
    Member3 (-)
    Member4 (*)
    Member5 (%)
    Member6 (/)
    Member7 (~)
    above is the order

  • HT3775 I NEED I TUNES FOR A 64 BIT PC. OPERATING SYSTEM IS WINDOWS 8, NON TOUCH SCREEN. WHICH IS THE ABSOLUTELY BEST WAY TO GET ITUNES OPERATING CORRECTLY ON MY PC????//I HAVE TRIED SEVERAL THINGS, NONE OF WHICH ARE WORKING. IS ITUNES DELIBERATELY EXCLUDI

    I cannot get itunes to work/install on myPC. I am running windows 8 in a 64 bit machine. I also want to purchase books via itunes for my Nook. Are you deliberately excluding PC owners so we cannot use ituens on our computers???? I have selected a community but have no idea what community I should be working with. Can somone explai these communities to me? Also. you don't allow much time to go thru the sign up process. I had to start over SEVERAL times as you kept timing me out. Jesus...when people are signing up for the first time, we have no idea of the questions that will be asked. Give us a break and give us time to sign up. Not everone is disability free and able to go thru your process quickly...you are NOT user friendly. You should be for people who are wanting to join your community. I used to want an Apple product but now that  I have had first hand experience with your web page, I think I will probably stay away from Apple products. VERY DISAPPOINTING

    Jan 11, 2014 10:26 AM  Re: I NEED I TUNES FOR A 64 BIT PC. OPERATING SYSTEM IS WINDOWS 8, NON TOUCH SCREEN. WHICH IS THE ABSOLUTELY BEST WAY TO GET ITUNES OPERATING CORRECTLY ON MY PC????//I HAVE TRIED SEVERAL THINGS, NONE OF WHICH ARE WORKING. IS ITUNES DELIBERATELY EXCLUDING
      Re: I NEED I TUNES FOR A 64 BIT PC. OPERATING SYSTEM IS WINDOWS 8, NON TOUCH SCREEN. WHICH IS THE ABSOLUTELY BEST WAY TO GET ITUNES OPERATING CORRECTLY ON MY PC????//I HAVE TRIED SEVERAL THINGS, NONE OF WHICH ARE WORKING. IS ITUNES DELIBERATELY EXCLUDING PC'S  in response to Birdlover1      
    Post over in the iTunes for Windows forum, here:
    https://discussions.apple.com/community/itunes/itunes_for_windows
    sebastian

  • In OBIEE charts, how do you make drill downs work on custom formulas?

    I posted this over on Linked In and didn't get an anser, so I'm hoping someone here has an answer.
    I'm writing a summary query / chart for a dashboard in OBIEE 10.1 with a drill down (technically it's a "navigation") for more information. This chart breaks down the data by fiscal quarter and by geography (both are columns in the subject area) and I can get this drill down to work just fine. But I also have this chart broken down by some custom calculated fields (CASE WHEN statements) that classify revenue into Forecast / At Risk / Upside etc. (which are not columns or values of columns within the subject area).
    When I add a drill down or navigate function onto those calculated columns, I'm getting a full data set ... not a filtered data set for that particular calculated field. (Yes, I have all of the IS PROMPTED filters set up correctly, and yes the formulas in the source and destination queries are identical).
    Does anyone have any ideas on how to make the drill down or navigation work on custom formulas?
    Thanks
    Ted

    Using the Paint demo
    Report 1 Saved as: */shared/Paint Demo/Sample Analyses/Color Analysis*
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sawx="com.siebel.analytics.web/expression/v1" xmlVersion="200705140">
    <saw:criteria xsi:type="saw:simple" subjectArea="Paint">
    <saw:columns>
    <saw:column formula="case WHEN Markets.Region IN ('CENTRAL REGION', 'EASTERN REGION') then 'East Central' WHEN Markets.Region IN ('SOUTHERN REGION', 'WESTERN REGION') then 'South West' else Markets.Region end" columnID="c4">
    <saw:tableHeading>
    <saw:caption>
    <saw:text>Markets</saw:text></saw:caption></saw:tableHeading>
    <saw:columnHeading>
    <saw:caption>
    <saw:text>Region</saw:text></saw:caption>
    <saw:displayFormat interaction="default"/></saw:columnHeading>
    <saw:displayFormat suppress="default" interaction="navigate" wrapText="true">
    <saw:navigation xsi:type="saw:sawNavLink">
    <saw:navTargets>
    <saw:navTarget xsi:type="saw:reportLink" path="/shared/Paint Demo/Sample Analyses/Color Analysis Navigate"/></saw:navTargets></saw:navigation></saw:displayFormat></saw:column>
    <saw:column formula="&quot;Sales Measures&quot;.&quot;% Chg Year Ago Dollars&quot;" alias="" columnID="c3"/></saw:columns>
    <saw:columnOrder/>
    <saw:filter subjectArea="Paint">
    <sawx:expr xsi:type="sawx:special" op="prompted">
    <sawx:expr xsi:type="sawx:sqlExpression">case WHEN Markets.Region IN ('CENTRAL REGION', 'EASTERN REGION') then 'East Central' WHEN Markets.Region IN ('SOUTHERN REGION', 'WESTERN REGION') then 'South West' else Markets.Region end</sawx:expr></sawx:expr></saw:filter></saw:criteria>
    <saw:views currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="Title"/></saw:cvRow>
    <saw:cvRow>
    <saw:cvCell viewName="Table"/></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:tableView" deck="bottom" headingDisplay="table2Rows" visibleFormats="all" name="Table" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:titleView" name="Title" rptViewVers="200510010"/></saw:views>
    <saw:prompts/></saw:report>
    Report 2 Saved as: */shared/Paint Demo/Sample Analyses/Color Analysis Navigate*
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sawx="com.siebel.analytics.web/expression/v1" xmlVersion="200705140">
    <saw:criteria xsi:type="saw:simple" subjectArea="Paint">
    <saw:columns>
    <saw:column formula="Markets.Region" columnID="c5"/>
    <saw:column formula="&quot;Sales Measures&quot;.&quot;% Chg Year Ago Dollars&quot;" alias="" columnID="c3"/></saw:columns>
    <saw:columnOrder/>
    <saw:filter subjectArea="Paint">
    <sawx:expr xsi:type="sawx:special" op="prompted">
    <sawx:expr xsi:type="sawx:sqlExpression">case WHEN Markets.Region IN ('CENTRAL REGION', 'EASTERN REGION') then 'East Central' WHEN Markets.Region IN ('SOUTHERN REGION', 'WESTERN REGION') then 'South West' else Markets.Region end</sawx:expr></sawx:expr></saw:filter></saw:criteria>
    <saw:views currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="Title"/></saw:cvRow>
    <saw:cvRow>
    <saw:cvCell viewName="staticchart!1"/></saw:cvRow>
    <saw:cvRow>
    <saw:cvCell viewName="Table"/></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:tableView" deck="bottom" headingDisplay="table2Rows" visibleFormats="all" name="Table" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:titleView" name="Title" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:staticchart" name="staticchart!1" rptViewVers="200510010">
    <saw:template tid="charts/pie.cxml"/>
    <saw:canvasFormat/>
    <saw:selections>
    <saw:categories>
    <saw:category position="0">
    <saw:constant value="1"/></saw:category></saw:categories>
    <saw:measures>
    <saw:column columnID="c3" position="0"/></saw:measures>
    <saw:seriesGenerators>
    <saw:column columnID="c5"/>
    <saw:measureLabels/></saw:seriesGenerators></saw:selections></saw:view></saw:views>
    <saw:prompts/></saw:report>
    The first report navigates and prompts the second report on the calculated field.
    Regards
    Chris

  • How to remove Include/Exclude option on variable screen

    Hi,
    How to remove the include/exclude option in the variable screen for the variable of type selection option.
    Regards,
    Suresh.

    Hi Pradeep,
    You mean in the Query Designer.I tried to create a new variable There is nothing like select appropriate variable.
    Be more specific.Thanks.
    Regards,
    Suresh

  • Weblogic 9.1/10 not working on jsp:directive.include file="file.jspf"/

    Does anyone know how to get rid of this problem? I have a jsp page including a sun java studio creator created page fragment using the tag:
    <jsp:directive.include file="myHeader.jspf"/>
    here myHeader.jspf is a page fragment.
    after deployment, weblogic server report error as:
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /Page1.jsp
    Page1.jsp:15:57: Error in "C:\bea\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\proj\grb4mk\war\myHeader.jspf" at line 1: The encoding "null" specified in the XML prolog is unsupported.
    <jsp:directive.include file="myHeader.jspf"/>
    ^----------------^
    Any idea? I tried both weblogic 9 and 10, same error, change to
    <jsp:include page="myHeader.jspf"/>
    works. the question is: why not read jsp 1.2 tag? Any way to make it work with jsp:directive.include tag?
    thanks in advance.
    Edited by: user10243594 on Sep 10, 2008 10:22 AM

    The "jsp:directive.include" tag is only valid in an well-formed XML file that specifies all the relevant namespaces. The "jsp:include" tag is used in a JSP file. I'll bet the beginning of your file shows that you don't have a valid and well-formed XML file.
    If you found that "jsp:include" worked, then that confirms you have an ordinary JSP file here. Why are you trying to use the XML form? The result of "jsp:include" in a JSP file will be exactly the same as the analogous tag in an XML file.

  • RE: (forte-users) Including/Excluding plans

    Pascal,
    Before you partition try setting "trc:cf:6".
    Good luck,
    John Hornsby
    DS Data Systems (UK) Ltd.
    John.Hornsbydsdata.co.uk
    Tel. +44 01908 847100
    Mob. +44 07966 546189
    Fax. +44 0870 0525800
    -----Original Message-----
    From: Rottier, Pascal [mailto:Rottier.Pascalpmintl.ch]
    Sent: 11 August 2000 10:42
    To: 'Forte Users'
    Subject: (forte-users) Including/Excluding plans
    Hi,
    I know there is a way to determine why Forte includes plans in a partition
    during partitioning. This shows which plans are (direct or indirect)
    supplier plans, but also, which plans are included for other reasons. But I
    forgot how to do this. Can anyone point me in the right direction.
    Pascal Rottier
    Origin Nederland (BAS/West End User Computing)
    Tel. +31 (0)10-2661223
    Fax. +31 (0)10-2661199
    E-mail: Pascal.Rottiernl.origin-it.com
    ++++++++++++++++++++++++++++
    Philip Morris (Afd. MIS)
    Tel. +31 (0)164-295149
    Fax. +31 (0)164-294444
    E-mail: Rottier.Pascalpmintl.ch
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Use fscript :
    findplan xxx
    findactenv
    showapp
    This will give you the partitioning scheme, placement of all
    service ojects and a list of all included projects per partition.
    David Bell
    Technical Manager - North Europe
    iPlanet Professional Services
    Sun Microsystems | Netscape Alliance
    St James's House Phone : +44 1344 482100
    Oldbury Fax: +44 1344 420905
    Bracknell Mobile: +44 7718 808062
    RG12 8SA Email : david.j.belluk.sun.com
    http://www.iplanet.com
    -----Original Message-----
    From: John Hornsby [mailto:John.Hornsbydsdata.co.uk]
    Sent: 11 August 2000 11:22
    To: Rottier, Pascal
    Cc: Forte Users
    Subject: RE: (forte-users) Including/Excluding plans
    Pascal,
    Before you partition try setting "trc:cf:6".
    Good luck,
    John Hornsby
    DS Data Systems (UK) Ltd.
    John.Hornsbydsdata.co.uk
    Tel. +44 01908 847100
    Mob. +44 07966 546189
    Fax. +44 0870 0525800
    -----Original Message-----
    From: Rottier, Pascal [mailto:Rottier.Pascalpmintl.ch]
    Sent: 11 August 2000 10:42
    To: 'Forte Users'
    Subject: (forte-users) Including/Excluding plans
    Hi,
    I know there is a way to determine why Forte includes plans in a partition
    during partitioning. This shows which plans are (direct or indirect)
    supplier plans, but also, which plans are included for other
    reasons. But I
    forgot how to do this. Can anyone point me in the right direction.
    Pascal Rottier
    Origin Nederland (BAS/West End User Computing)
    Tel. +31 (0)10-2661223
    Fax. +31 (0)10-2661199
    E-mail: Pascal.Rottiernl.origin-it.com
    ++++++++++++++++++++++++++++
    Philip Morris (Afd. MIS)
    Tel. +31 (0)164-295149
    Fax. +31 (0)164-294444
    E-mail: Rottier.Pascalpmintl.ch
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • How exclude values based on text in web report

    hi ,
    i wanted some clarifications
    how to exclude values based on text in web report.

    hi ,
    we had following  requirement.
    in web reprot we had sales group as a drill down.
    now our client wants we can restict sales group values  based on text.
    like  11 -  XXXX.
    here 11 key value and xxxx is the text.
    as of now we can restrict values based on key values.
    but client wants we can restrict values based on text.
    if you have any ideas on that plz let me know.
    Regards,
    Murali

  • How to automate layer stack creation including layer masks based on filename?

    Hi
    Can someone help me to create a script that would automate the creation of layers including a layermask, based on filenames.
    E.g.
    Unwrap_001_diffuse.jpg
    Unwrap_001_mask.jpg
    Unwrap_002_diffuse.jpg
    Unwrap_002_mask.jpg
    The image with the suffix "_diffuse" would be the layer and the image with the suffix "_mask" would be the layermask.
    In the above example the script would create 1 psd with 2 layers.
    If there is no file with the ending "_mask", the script would only create a single layer with no layermask.
    Any help would be highly appreciated.
    Thank you
    Boris
    I

    For starters the Folder-selection dialog could be used if the images are all in one Folder.
    var theFolder = Folder.selectDialog ("select folder");
    And then the method getFiles could be used to get the files.
    var theFiles1 = theFolder.getFiles("*_diffuse.jpg");
    Loading the file as Layers can be done with the ScriptingListener code for File > Place for example and finding the corresponding mask files seems fairly easy.
    Are they grayscale or RGB?
    But why jpg anyway?
    Are those renderings?
    If so why not tiffs or some other non destructively compressed file format?

Maybe you are looking for

  • Call forward to Unity Connection Fails

    I have CUCM7.1 and UCXN 7.0 and have done sip integration.  When phones call their voicemail it works fine.  When a call to phone is forwarded to vm the main greeting is announced and not the personal greeting.  RTMT port monitoring indicates the cor

  • Error while trying to retrieve data from BW BEx query

    The following error is coming while trying to retrieve data from BW BEx query (on ODS) when the Characters are more than 50. In BEx report there is a limitation but is it also a limitation in Webi report. Is there any other solution for this scenario

  • ITunes won't open in Tiger: Crash log included

    Hello, I've got iTunes 9.2.1 and Quicktime 7.6.4 installed on my iMac G4/800 (2,1), with 768MB RAM and a new install of Tiger 10.4.11, all the updates completed. I have not installed any iTunes plugins, and in fact, don't have any audio files on this

  • How do you know if my iPod is from the second gen?

    hello I would like to know if my iPod is an second generation Ipod is:), but i realy don't know how to know it. And wat can you do when you update your iPod

  • Screen-touch issues

    The left side of my screen is not responding to any touch and I have tried all the troubleshooting suggestions (reboot, restore, etc.). I cannot 'slide to open' my Ipod and I cannot enter my password on the left side of the screen but the right side