Using multy-conditional filters (if/then/ELSEIF/else)

Hello,
I need to create multiple policies for adding disclaimers.
We have a default disclaimer and now two unique ones for domains that need to maintain their own.
I created text recourses for all disclaimers and like to make a content filter that does the following:
if the senderdomain = UniqueDomain1 then
add disclaimerDomain1
Else if the senderdomain = UniqueDomain2 then
add disclaimerDomain2
Else
Add default Disclaimer
I created the following filter syntax:
add_disclaimer: if (recv-listener == "relay") AND (mail-from == "^.*@domain1\\.com$")
{add-footer("domain1Disclaimer");}
elif (recv-listener == "relay") AND (mail-from == "^.*@domain2\\.com$")
{add-footer("domain2Disclaimer");}
elif (recv-listener == "relay")
{add-footer("defaultDisclaimer");}
When I submit the filter I get the error "An error occurred during processing: Syntax error at the end of filter".
Does anyone know if Ironport filters support the Python "elif" routine? if so, what am I doing wrong, if not..... does anyone have any suggestions what way I can deliver this functionality?
Thank you!
Steven

You can probably get the IF/ELSE IF/ELSE logic to work on the Ironport message filters, but I would suggest that you use a combination of Outgoing mail policies and outgoing content filters.
1. Create all your different disclaimers in the [Mail Policies > Text Resources] section.
2. Create a corresponding outgoing content that pertains to each sender domain and assign the outgoing content filter.
i.e.
Let's say you have two domains and then the default domain:
domain1, domain2, default domain
if "mail-from" ends with "@domain1"
then
apply domain1-disclaimer-footer
deliver();
if "mail-from" ends with "@domain2"
then
apply domain2-disclaimer-footer
deliver();
if "mail-from" ends with "default-domain"
then
apply default-disclaimer-footer
deliver();
3. Then go to your outgoing mail policies > default policies > content filters and enable all three filters.
Similarily, you can create two additional customized outgoing mail policies and each policy can have it's own outgoing content filters.
Bottom line, you can definitely do it with message filters, but the outgoing mail policies/outgoing content filters may be easier to maintain.
Let me know if you have any questions or concerns.
apply domain2-
Hello,
I need to create multiple policies for adding disclaimers.
We have a default disclaimer and now two unique ones for domains that need to maintain their own.
I created text recourses for all disclaimers and like to make a content filter that does the following:
if the senderdomain = UniqueDomain1 then
add disclaimerDomain1
Else if the senderdomain = UniqueDomain2 then
add disclaimerDomain2
Else
Add default Disclaimer
I created the following filter syntax:
add_disclaimer: if (recv-listener == "relay") AND (mail-from == "^.*@domain1\\.com$")
{add-footer("domain1Disclaimer");}
elif (recv-listener == "relay") AND (mail-from == "^.*@domain2\\.com$")
{add-footer("domain2Disclaimer");}
elif (recv-listener == "relay")
{add-footer("defaultDisclaimer");}
When I submit the filter I get the error "An error occurred during processing: Syntax error at the end of filter".
Does anyone know if Ironport filters support the Python "elif" routine? if so, what am I doing wrong, if not..... does anyone have any suggestions what way I can deliver this functionality?
Thank you!
Steven

Similar Messages

  • How to acheive IF elseif elseif else  condition using std mapping functions

    How to perform the following mapping using standard graphical functions:
    if (a = 1)
    result.addValue("3");
    else if (a = 2)
    result.addValue("6");
    else if (a = 5)
    result.addvalue("7");
    else if (a = 10)
    result.addValue("11");
    else
    result.addValue(a);
    can this requirement be acheived without using a UDF?
    Regards
    bhasker

    UDF is better way to get this done.
    you try like this using Standard function:
                                               Const 3    /THEN     
                                      (A equals 1)   IF              (output of ifThenElse) ->TragetFiled
                                                            \ELSE
                                                  /THEN     /(output of IfThenElse input to else of first If)
                                              IF               /
                                                 \ELSE
    Like wise for other conditions....
    In else part of ifThenElse, give the output of second ifThenElse. here in ths case you need four ifThenElse.
    CodeGenerated:
    /ns0:MT_/targetFIELD = iF(const([value=3]), stringEquals(/ns0:MT_XML_OB/A=, const([value=1])),
    iF(const([value=6]), stringEquals(/ns0:MT_XML_OB/A=, const([value=2])),
    iF(const([value=7]), stringEquals(/ns0:MT_XML_OB/A=, const([value=5])),
    iF(const([value=11]), stringEquals(/ns0:MT_XML_OB/A=, const[value=10])), /ns0:MT_XML_OB/A=))))
    Ritu
    Edited by: Ritu Sinha on Apr 13, 2009 2:48 PM

  • Conditional Filters using case statements

    Hello,
    I have a table view which displays Total Quota and Theatre Quota. Against the Total Quota, there are 2 values - Rollover Revenue and Theatre Revenue. Against the Theatre Quota, there is only Theatre Revenue.
    What I want to accomplish is to display only the Rollover Revenue Aggregated Quarterly number whenever there is a Total Quota number and not display the Theatre Revenue number
    In the table view,
    Year Name     Quarter Name     Quarter Name Sort     Person Region     Quota Name     Quarterly Quota     Credit Amount     QTD Attainment     Credit Type Name
    YEAR-2012     QTR-1-2012     QTR-1-2012     750     Total Quota     6,128,500     5,492,081     89.62%     Rollover Revenue Aggregated Quarterly
                   750          6,128,500     5,344,000     87.20%     Theatre Revenue
         QTR-2-2012     QTR-2-2012     750     Total Quota     5,922,500     5,890,264     99.46%     Rollover Revenue Aggregated Quarterly
                   750          5,922,500     6,120,000     103.33%     Theatre Revenue
         QTR-3-2012     QTR-3-2012     750     Total Quota     5,716,500     0     0.00%     
         QTR-4-2012     QTR-4-2012     750     Total Quota     5,510,500     0     0.00%     
    I used an example in the following link:
    http://oraclebizint.wordpress.com/2008/02/06/oracle-bi-ee-101332-conditional-filters-using-case-statements-in-filters/
    and applied the example in my scenario:
    CASE WHEN Quota."Quota Name" = 'Total Quota' THEN "Credit Type"."Credit Type Name" ELSE 'Dummy' END != 'Theatre Revenue'
    I still get duplicate rows.
    Thanks.

    Could you suggest any solutions for this problem where I can conditionally hide the number only for a certain type of data and not for all type of data?
    Thanks.

  • If..then..else statement in SQL with 'generalized' conditions in the if sta

    it is possible to write something approaching an if..then..else statement in SQL with 'generalized' conditions in the if statement.
    Attached is the query for the payment register, in which I've written a series of decode statements, one for each possible value of the payment code. The query works OK - however, its specific and as the number of paycodes expand (and they do), the report won't pick up the new paycode until the code is changed. More importantly, the report won't be correct until someone 'discovers' that a paycode is missing, which might take months.
    If I were writing the equivalent of this series of decode statements in Focus, it would be something like this:
    DEFINE.......
    PAYMED/D12.2 = IF PAYMENT_CD LE 18
                   THEN PAYMENT_AMT
                   ELSE 0 ;
    PAYIND/D12.2 = IF PAYMENT_CD GE 19 AND PAYMENT_CD LE 49
                   THEN PAYMENT_AMT
                   ELSE 0 ;
    PAYEXP/D12.2 = IF PAYMENT_CD GE 70
                   THEN PAYMENT_AMT
                   ELSE 0 ;
    PAYREC/D12.2 = IF PAYMENT_CD GE 50 AND PAYMENT_CD LE 69
                   THEN PAYMENT_AMT
                   ELSE 0;
    END
    IN SQL/PLUS:
    SELECT ACCOUNT_NAME,
    LOCATION_1,
    CLMNT_LAST_NAME,
    CLAIM_NBR,
    DATE_OF_INJURY,
    DATE_CHECK_REGISTER,
    PAYEE_NAME_1,
    PAYMENT_CD,
    SERV_OFC,
    CPO_CHECK_NBR,
    PAYMENT_FORM,
    DECODE(PAYMENT_CD, 20, PAYMENT_AMT, 21, PAYMENT_AMT,
    22, PAYMENT_AMT, 23, PAYMENT_AMT, 25, PAYMENT_AMT,
    26, PAYMENT_AMT, 27, PAYMENT_AMT, 28, PAYMENT_AMT,
    29, PAYMENT_AMT, 30, PAYMENT_AMT, 31, PAYMENT_AMT,
    32, PAYMENT_AMT, 33, PAYMENT_AMT, 34, PAYMENT_AMT,
    35, PAYMENT_AMT, 36, PAYMENT_AMT, 37, PAYMENT_AMT,
    39, PAYMENT_AMT, 40, PAYMENT_AMT, 41, PAYMENT_AMT,
    42, PAYMENT_AMT, 43, PAYMENT_AMT, 44, PAYMENT_AMT,
    45, PAYMENT_AMT, 46, PAYMENT_AMT, 47, PAYMENT_AMT,
    48, PAYMENT_AMT, 49, PAYMENT_AMT, NULL) INDEMNITY,
    DECODE(PAYMENT_CD, 0, PAYMENT_AMT, 1, PAYMENT_AMT,
    2, PAYMENT_AMT, 3, PAYMENT_AMT, 4, PAYMENT_AMT,
    5, PAYMENT_AMT, 6, PAYMENT_AMT, 7, PAYMENT_AMT,
    8, PAYMENT_AMT, 9, PAYMENT_AMT, 10, PAYMENT_AMT,
    11, PAYMENT_AMT, 12, PAYMENT_AMT, 13, PAYMENT_AMT,
    14, PAYMENT_AMT, 15, PAYMENT_AMT, 18, PAYMENT_AMT,
    17, PAYMENT_AMT, NULL) MEDICAL,
    DECODE(PAYMENT_CD, 70, PAYMENT_AMT, 71, PAYMENT_AMT,
    72, PAYMENT_AMT, 73, PAYMENT_AMT, 74, PAYMENT_AMT,
    75, PAYMENT_AMT, 76, PAYMENT_AMT, 77, PAYMENT_AMT,
    78, PAYMENT_AMT, 79, PAYMENT_AMT, 80, PAYMENT_AMT,
    81, PAYMENT_AMT, 82, PAYMENT_AMT, 83, PAYMENT_AMT,
    84, PAYMENT_AMT, 85, PAYMENT_AMT, 86, PAYMENT_AMT,
    87, PAYMENT_AMT, 88, PAYMENT_AMT, 89, PAYMENT_AMT,
    90, PAYMENT_AMT, NULL) EXPENSES,
    DECODE(PAYMENT_CD, 50, PAYMENT_AMT, 51, PAYMENT_AMT,
    52, PAYMENT_AMT, 53, PAYMENT_AMT, 54, PAYMENT_AMT,
    55, PAYMENT_AMT, 56, PAYMENT_AMT, 57, PAYMENT_AMT,
    58, PAYMENT_AMT, NULL) RECOVERIES,
    DECODE(PAYMENT_FORM, 'N', PAYMENT_AMT, NULL) NONCASH,
    DATE_FROM_SERVICE,
    DATE_THRU_SERVICE
    FROM &INPUT_TABLES
    WHERE &SECURITYCOND
    DATE_OF_PAYMENT BETWEEN :START_DATE AND :END_DATE
    ORDER BY LOCATION_1, CPO_CHECK_NBR
    As you can see, this is both much easier to write and covers the possibility of expansion of paycodes (expansions always fit in these defined ranges).
    My question is, then, is it possible to write something like this in SQL and, if so, could you give me some sample code? (I'm one of those people who learn best from looking at the code as opposed to a set of instructions)

    Here is one way you could do it.
    Create a table that has columns like:
    Payment_code varchar2(2),
    Effective_Date Date,
    Payment_type varchar2(20),
    Expiration_Date Date)
    Payment type for example could be
    I- indemnity
    M- medical
    R- recovery
    E- expenses
    Let the table name for example be PAYMENT_CODE.
    The select query would look like
    SELECT ACCOUNT_NAME,
    LOCATION_1,
    CLMNT_LAST_NAME,
    CLAIM_NBR,
    DATE_OF_INJURY,
    DATE_CHECK_REGISTER,
    PAYEE_NAME_1,
    PAYMENT_CD,
    SERV_OFC,
    CPO_CHECK_NBR,
    PAYMENT_FORM,
    DECODE(p.payment_type,'E',PAYMENT_AMOUNT,0) expenses,
    DECODE(p.payment_type,'I',PAYMENT_AMOUNT,0) indemnity,
    DECODE(p.payment_type,'M',PAYMENT_AMOUNT,0) Medical,
    DECODE(p.payment_type,'R',PAYMENT_AMOUNT,0) recoveries,
    DECODE(PAYMENT_FORM, 'N', PAYMENT_AMT, NULL) NONCASH
    FROM &INPUT_TABLES,
    PAYMENT_CODE P
    WHERE P.PAYMENT_CODE = SOMEINPUT_TABLE.PAYMENT_CODE
    and other conditions
    The idea is to group all the payment codes into a few groups to reduce the clutter. If there is ever a change to the payment code, you could modify the table and it will be reflected in your select query.

  • Is there an example to use interface to replace if then else pattern in F#

    is there an example to use interface to replace if then else pattern in F#
    i want to make match pattern with only one rule to represent dynamic number of rules which is use 
    let rec fun1 m number fun2param =
        match m with
        | fun2param(a,b,number) -> ****rewrite terms ****
    let fun2param number =
        if number = 1 then
                 function.....
        elif number = 2 then
                function ....
    computing nightmare

    In general, you use a match
    let fun2param number =
    match number with
    | 1 -> function.....
    | 2 -> function ....
    in the same way as you would use a `switch` construct in 'C' in place of a repeated if/elif...elif/else
    Your request is somewhat vague, so I'm not sure whether you would benefit from wrapping that behind an active pattern.

  • I updated the IPAD with the latest update and now when I turned the IPAD on, I get the itunes logo and then nothing else.  How can I fix this to let me use my IPAD?

    I updated the IPAD with the latest update and now when I turned the IPAD on, I get the itunes logo and then nothing else.  How can I fix this to let me use my IPAD?

    YOU ARE IN RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • I am using a new Mini Mac via HDMI, I get the First gray screen then nothing else

    I am a First time user of a Mac and I've gone toturn it on fr the first time today, i conected it to a HD ready LCD tv via HDMI and get the first gray 'loading' screen then an 'English' over the speekers then nothing else
    Any help would be apreciated

    Make sure the TV's menu is actually set to connect to that HDMI port.
    Make sure the TV is 1080p and is setup to use that resolution on the HDMI port in question.
    Try zapping the PRAM, by following these instructions:
    http://support.apple.com/kb/ht1379

  • I built an ad using layers saved it and then converted it to a jpeg. Now when I go into elements 11 to do anything else it will not allow to copy and paste to create a new layer. What am I missing?

    I built an ad using layers saved it and then converted it to a jpeg. Now when I go into elements 11 to do anything else it will not allow to copy and paste to create a new layer. What am I missing?

    You know that you lost the layers when you saved it as a jpeg, right? But you're saying you can't add layers to the jpeg now when it's open in the editor? Go to Image>mode and be sure it's RGB, for starters. Are all the commands in the Layer menu grayed out?

  • Did anyone else notice the new Iain Banks Audiobook Use of Weapons appear and then quickly disappear from the store a few days ago, or did I imagine the whole thing?

    Did anyone else notice the new Iain Banks Audiobook 'Use of Weapons' appear and then quickly disappear from the store a few days ago, or did I imagine the whole thing?

    Did anyone else notice the new Iain Banks Audiobook 'Use of Weapons' appear and then quickly disappear from the store a few days ago, or did I imagine the whole thing?

  • TS1363 When I sync my ipod all goes well until I try to eject then it says that other systems are using files on the ipod. Nothing else is running and when I physically eject the ipod hasnt synched....ideas anyone?!

    When I sync my ipod all goes well until I try to eject then it says that other systems are using files on the ipod.
    Nothing else is running.
    The only way I can eject is to do so manually, when I do I then find the ipod hasnt synched.
    Any ideas?

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • [BIP Report] Could I use 'like' syntax inside if-then-else statement?

    I have the following contents in my xml, I would like to show the amount of the ChargeAmount, only if the "Code" is starting from "WAF"in my table.
    <Transaction>
         <Account>A</Account>
         <ChargeAmount>200</ChargeAmount>
         <Code>WAF020</Code>
    </Transaction>
    <Transaction>
         <Account>B</Account>
         <ChargeAmount>250</ChargeAmount>
         <Code>WAF003</Code>
    </Transaction>
    <Transaction>
         <Account>C</Account>
         <ChargeAmount>120</ChargeAmount>
         <Code>WNL012</Code>
    </Transaction>
    <Transaction>
         <Account>D</Account>
         <ChargeAmount>200</ChargeAmount>
         <Code>WNL002</Code>
    </Transaction>
    *** Note that the three digits after WAF is variable.
    Display Table:
    Account || ChargeAmount || Code
    A|| 200 ||WAF020
    B|| 250 ||WAF003
    C|| NULL ||NULL
    D|| NULL ||NULL
    In the ChargeAmount column I tried the following syntax, however, both of them does not work well.
    <?if: <xdoxslt:left(Code, 3)>  = 'WAF' ?> then ChargeAmount else ' ' ?end if?>
    <?xdofx if: Code  = 'WAF?' ?> then ChargeAmount else ' ' ?end if?>
    Could any expert provide work around for the above case?
    Thanks!
    Connie

    In the ChargeAmount column I tried the following syntax, however, both of them does not work well.
    <?if: <xdoxslt:left(Code, 3)>  = 'WAF' ?> then ChargeAmount else ' ' ?end if?>
    <?xdofx if: Code  = 'WAF?' ?> then ChargeAmount else ' ' ?end if?>
    incorrect code will not work
    not clear what do you want to do but try
    <?xdoxslt:ifelse(xdoxslt:left(Code,3)='WAF',’yes’,’no’)?>
    or
    <?xdoxslt:ifelse(contains(Code, 'WAF'),’yes’,’no’)?>

  • I recently purchased an iphone 5c.  It requested an Apple ID and Password.  I tried to use e-mail that I use for everything else, wouldn't let me, so I used another one.  It then said that it sent an e-mail so that I could verify the account.  Can't find.

    I recently purchased an iphone 5c. Had to enter Apple ID & Password.  Wouldn't let me use same email I use for everything, so used a gmail account.  Then said they send message so that I could verify ID. Problem is I don't know where it is so that I can verify.  All emails are going to other address?

    If the system didn't ship with Mountain Lion originally and you didn't purchase Mountain Lion yourself, then you will need to purchase. A purchase by the system's original owner cannot be transferred to you.
    Unless you have another system on which you have purchased Mountain Lion, you will need to first install Mac OS X 10.6.8 on the iMac, for which you'll need either the original installation disks, if the iMac came with 10.6, or a retail copy of 10.6. Install 10.6 and upgrade to at least 10.6.6, and then you can buy Mountain Lion from the Mac App Store, presuming of course that the imac can support Mountain Lion. See:
    http://www.apple.com/osx/how-to-upgrade/
    Regards.

  • How to use if condition in XML Publisher Desk Top

    Hi..,
    How to use if condition in XML Publisher desk Top.
    Please guide me.
    Thanks,
    Suresh.

    What kind of condition you want to use?
    You can use Condition like this:
    <?xdofx:if condition then value1
    else if condition then Value2
    else Value3
    end if?>
    Please go thru XML Publisher User Guide.
    Thanks
    Ravi
    [email protected]

  • IF..THEN..ELSE...not working properly

    Hi experts,
    iam facing trouble with IF ..THEN..ELSE function.
    condition is  IF the salearea = 'AB'
    THEN  date trans DDMMYY------>YYYYMMDD
    ELSE date trans MMDDYY----
    >YYYYMMDD
    here always the only  ELSE part working. but if use IF WITHOUT ELSE  like below
    IF the salearea = 'AB'
    THEN  date trans DDMMYY------>YYYYMMDD
    then above condition is working
    iam really not understand the behaviour of IF..THEN..ELSE
    could please suggest how can i resolve the issue
    Thanks
    vasavi

    Hi,
    Check the OSS note 1090369.
    https://service.sap.com/sap/support/notes/1090369
    From SAP Note----
    Symptom
    The behaviour of functions 'if' and 'ifWithoutElse' in Message-Mapping has been changed. We have changed it after we've become aware of the fact that both functions behave inconsistently with the documentation.
    This change has some important consequences, which are described in this note.
    Let us consider the function 'if'. The situation with 'ifWithoutElse' is analogous to it.
    There are, in fact, two distinct use-cases for the function 'if':
    1. One is when the function is used as an if statement. For example, consider this pseudocode:
    if <condition>
      value = <expression1>
    else
      value = <expression2>
    end
    In this case, one expects that the <condition> expression is evaluated first and then, depending on the value of the condition, one of the branch expressions is evaluated and assigned to variable 'value'.
    2. The second use case is when the function is used as a procedure. In pseudocode:
    value = if (<condition>, <expression1>, <expression2>)
    In this case, all three expressions (<condition>, <expression1> and <expression2>) whould be evaluated first and the results of this expressions would be passed to function 'if', which in turn, would return one of them, depending on condition value, to be assigned to 'value' variable. This second use-case is also known in some programming languages as function 'iif'.
    In Message-Mapping, the analog of evaluating an expression is advancing a pointer on one of the argument queues of a function. It turned out that the function 'if' did not consistently work either way and that the customers need both variants of the function. The SAP Note 1053706 has delivered the first patch to the function 'if'. This patch was not functionally complete and the function 'if' was patched again. The SAP Note 1085331 has delivered the finally fixed function 'if'. With this Note, the function always works as in use-case 2 above. That is, all arguments are evaluated first, then value of one of them is returned. To minimize compatibility problems with old usages, the function makes one exception to this rule: in case when evaluating one of the branches throws an Exception, the function ignores it, if the exception is in the branch that is not selected by condition.
    This change in behaviour can lead to some of the Message-Mappings producing different results than before implementing the patch.
    One common problem situation is when one of the branches of function 'if' contains a User-Defined function that produces side-effects. Like increments and stores a counter in 'GlobalContainer', for example. Such functions will be executed more times than before and will cause the numbering to go awry.
    Other terms
    Message Mapping, XI, PI, IF,IFS IFSWIthoutElse Boolean functions
    Reason and Prerequisites
    See above.
    Solution
    To provide customers with functions to use in use-case 1 above, SAP will deliver new standard functions 'ifS' and 'ifSWithoutElse'. The 'S' in the names states for 'Statement'. The new functions will be delivered in
    Patch level 1 of SP21 of XITOOLS 3.0,
    and SP22 onwards
    Patch level 1 of SP14 of XITOOLS 7.0,
    Patch level 2 of SP15 of XITOOLS 7.0
    and SP16 onwards
    SP05 of SAPXIESR 7.1 and SAPXIPCK 7.1,
    and subsequent Support Packages of each corresponding major release.
    It is not recommended to install the patches between SAP Note 1053706 and 1085331. If you decide to install a patch from Note 1085331 or any subsequent release, carefully test Message-Mappings before deploying the patch in productive systems.
    In case the upgrade is necessary and Message-Mappings do not work as before, there is a possibility to workaround the problem. There's no known generic workaround for all kinds of problems that can arise.
    Note :
    IFS and IFSWIthoutElse functions have a Limitation.
    When the The IFS and IFSWIthoutElse functions have the UDF of type Queue or Context, it will be executed unconditionally.
    i.e the Queue UDF will be executed once even it does not have a matching condition in the input queue and the Context UDF will be executed once for every Context in the input queue, even if there is no matching condition in the input context.
    For situation with functions leaving side-effects described above, we recommend to add a new argument to the User-Defined Function and create the side-effect conditionally based on that argument. Most probably you will want to put in this additional argument the same queue that you use in condition for function 'ifS'.
    Please read the relevant Note 1158485 also.
    END of Note -
    Thanks
    SaNv...

  • Using Measure Condition as Table Prompts

    Dears,
    Is anyone tried using measure as a condition in Table Prompts?
    I have a table looks like the sample below:
    | Accounts
    Entity | Measures
    I would like to use Measures as a condition in Table Prompts so I can show Entities achieve/not achieve only. Thus, I add a Column and the formula is "case when Measures>80 then 'Y' else 'N' end". But when I put the column to the Table Prompts, it becomes to the summarize of all entities.
    How can I put the column to the Table Prompts, and it still be able to show 'Y' and 'N' so I can filter the entities I want?
    Best Regards,
    Martin

    Hi Martin,
    Sorry!. Ive taken it in other way. Can you try the below suggestion :)
    I think the same functionality can get with Pivot table, use the flag with your condition and drag flag into 'Pages' section of Pivot table.
    The same was working for me, I can filter the report with Y or N.
    This is my query columns are
    1) Time."Year",
    2) Account."Account Name",
    3) "Measures"."# Created",
    4) CASE WHEN "Measures"."# Created">10 THEN 'Y' ELSE 'N' END
    The column 4 moved to 'Pages' section in Pivot table view
    Please let me know updates
    Thanks,
    SVee

Maybe you are looking for

  • Removing Advanced Pulldown from AVI files

    I've recently switched from Vegas 4.0 to Final Cut Pro 5.1 and I'm trying to remove the advanced pulldown from my AVI files. I tried using Cinema Tools and it could not use the AVI. Then I tried using FCP tools/remove advanced pulldown option and the

  • N91 Tutorial no data and Dictionary missing Proble...

    Hello Everybody I have two problems with my N91. 1. When I click Menu -> Tutorial, I found out that there is no data inside the tutorial. What I mean by no data is that there is no tutorial inside. Instead it gives "no data" result. 2. When I click M

  • URL cache problem in UCM and sitestudio

    Hi , We have created Metadata Field : xPageName, and have configure an entry in config.cfg as SSUrlFieldName=PageName, Scenario is we have assigned abc.html to xPageName for a content item on suppose /oracle/cms1/ URL, by mistake we assigned abc.html

  • SQL Query to list details by Age

    Hi All, I have a Tenant table and want the query to list all tenants in Age bracket between age 14 and 24. But since we have the mobile no of the main tenant we also want to show their record as well. In certain cases the main tenant can also be in t

  • How to speed up query retrieval

    How can one speed up querty retrieval from database