How to total 2 colums with an -If then else- statement each

Hello,
I have 2 colums A en B who generate data based on an “If then else” statement.
Colum A
<?xdofx:if (OMZET_YTD_VJ )!='' then ((OMZET_YTD_VJ) * (BM_YTD - BM_YTD_VJ)) div 100 else 0 end if?>
Colum B
<?xdofx:if (BM_YTD)!='' then ((BM_YTD) * (OMZET_YTD - OMZET_YTD_VJ)) div 100 else 0 end if?>
Colum C needs to be the sum of both. Who can help me?
Thanks a lot.

Can you send me the RTF template and xml file to [email protected]? I can take a look and try to help.
Thanks,
Bipuser

Similar Messages

  • Inserting a 'null' value in an IF THEN ELSE statement

    Greetings,
    I'm using Business Object webi XiR3
    I'd like to return a 'null' value in certain cases for an IF THEN ELSE statement.  Depending on if I format the field as a text or a number, I can return blanks ("") and zeros (0).  However, what I really need to do is leave the field / column formatted as a number and return a 'null' value.  You can see the variable below ... this will return a blank but the column is text.
    Suggestions?
    thanks.
    variable:
    =If([Comp Rate Mid] = 0 And( ([Market Rate 50th].085) - [Annual Total Targeted Comp] >=0) ; ([Market Rate 50th]0.85) - [Annual Total Targeted Comp]; If([Comp Rate Mid] <> 0 And( ([Comp Rate Mid] 0.85) - [Annual Total Targeted Comp] >=0) ; ([Comp Rate Mid]0.85) - [Annual Total Targeted Comp];""))

    I don't think this is possible using a formula, as formulas deal with content, and images can be placed in cells only as 'image fill', which is Format, rather than Content.
    Might be possible using an AppleScript, but I'm not the person to advise you on that.
    Regards,
    Barry

  • If Then Else Statement in SAP R/3 BW

    Hi,
    Does anyone know how to create an If Then Else statement in BEX?
    Thanks,
    Mounika.

    Hi mounika,
    do this way
    If 'material number' > 0.
    rslt = 'enter into table'.
    else.
    rslt = 15.
    endif.
    A True condition always evaluates to 1, a False condition evaluates to 0.
    for more quieries in bw ..pls go through  the link
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw
    pls reward if helps,
    regards.

  • Java If/Then/Else Statement

    Hello,
    Just wondering if it is possible to call one java file from within another.
    I'm thining wiht an if.then/else statement similar to
    If x==true
    then run file1.java
    else run file2.java
    any examples of this, or if it is even possible would be appreciated.

    This is something like what I would do.
    public class FileRunner {
        public static void main(String [] args) {
            if ( args[0].equals("file1") {
                File1 file1 = new File1();
                file1.init() //method you define in File1 that runs everything that would've been in the File1's main method
            } else if (args[0].equals("file2") {
                File2 file2 = new File2();
                file2.init() //method you define in file2 that runs everything that would've been in the File2's main method
            } else {
                System.err.println("Invalid argument");
                System.exit(1);
    java.exe FileRunner.class file1
    java.exe FileRunner.class file2The other method is to start a new jvm from within java, but that gives you less control than this imo.

  • Usage of exists in if-then-else statements

    please correct the mistakes in this procedure regarding exists in the use of if then else statement .as i am new to oracle i am unable to do it.
    errors are statement ignored
    exists should be inside the statement;
    CREATE or replace FUNCTION CHECK_FG_Id
    p_LegacyDocumentId VARCHAR2,
    p_LegacyFGroupId VARCHAR2,
    p_TransmissionId INTEGER
    RETURN INTEGER as
    BEGIN
    IF EXISTS
    (Select FG.ControlNo from functionalgroup FG,document D
    WHERE FG.DocumentId=D.Id AND D.TransmissionId=p_TransmissionId
    AND FG.ControlNo=p_LegacyFGroupId AND D.ControlNo=p_LegacyDocumentId ) THEN
    Return 1;
    ELSE
    Return 0;
    END IF;
    end;

    Lots of different ways...One way is as follows:
    CREATE OR REPLACE FUNCTION check_fg_id (
    p_legacydocumentid VARCHAR2,
    p_legacyfgroupid VARCHAR2,
    p_transmissionid INTEGER) RETURN INTEGER AS
    vDoesItExist NUMBER;
    BEGIN
    SELECT COUNT (1)
    INTO vdoesitexist
    FROM functionalgroup fg,
    document d
    WHERE fg.documentid = d.ID
    AND d.transmissionid = p_transmissionid
    AND fg.controlno = p_legacyfgroupid
    AND d.controlno = p_legacydocumentid;
    IF vDoesItExist > 0 THEN
    RETURN 1;
    ELSE
    RETURN 0;
    END IF; /** vDoesItExist > 0 **/
    END check_fg_id;

  • How to create colums with the same Field

    Hello every body,
    I have this report only with one field how i can create columns in base of rows for example some times  this field containing 40 rows then I need to create 2 columns of 20 that when is even or 15 then create 2 columns one with 8 rows and the other with 7.

    you can try making the report layout with multiple section. Please the field in detail section and right cick on the detail section and go to section expert and select the option "format with multiple columns" and then go to layout tab and select the each column width and select the printing direction option as down then across and click on OK.
    Now you will be able to see the multi column report.
    regards,
    Raghavendra.G

  • Help with setting a condition (if-then-else statements)

    Hello,
    In the following data template I am trying to create a condition for
    SUMAMOUNTPERKELEASE when cs_countfund > 1 in my rtf template.
    <dataTemplate dataSourceRef="xmlpdemo" name="cs_ar_kelease">
         <dataQuery>
              <sqlStatement name="Q_1">
                   <![CDATA[
    select     fm.ke
    ,     ltrim(to_char(fm.ke,'000')) || '-'
    ||     ltrim(to_char(fm.lease#,'000000')) || '-'
    ||     ltrim(to_char(fm.lse_code,'00')) kelease
    ,     fm.ar_doc# ar_doc
    ,     fd.fund
    ,     fd.sub
    ,     ro.lname
    ,     fm.billed_from
    ,     fm.billed_thru
    ,     fm.due_date
    ,     sum(decode(trancode,
              10, fd.amount,
              420, fd.amount,
              421, fd.amount,
              100, fd.amount*-1,
              101, fd.amount*-1,
              102, fd.amount*-1,
              109, fd.amount*-1,
              110, fd.amount*-1,
              112, fd.amount*-1,
              120, fd.amount*-1,
              121, fd.amount*-1,
              122, fd.amount*-1,
              130, fd.amount*-1,
              230, fd.amount*-1,
              0 )) amount
    from     finhist_main fm
    ,     rolodex ro
    ,     finhist_detail fd
    where     fd.fund <> 999
    and     fd.sub <> 99
    and     fm.status not in (106,110,120)
    and     fd.trancode <> 11
    and     fm.ar_doc# < 9000000
    and     fm.rolodex# = ro.rolodex#
    and     fm.lse_code = fd.lse_code
    and     fm.lease# = fd.lease#
    and     fm.ke = fd.ke
    and     fm.ar_doc# = fd.ar_doc#
    group by     fm.ke
    ,     fm.lease#
    ,     fm.lse_code
    ,     fm.ar_doc#
    ,     fd.fund
    ,     fd.sub
    ,     ro.lname
    ,     fm.billed_from
    ,     fm.billed_thru
    ,     fm.due_date
    order by     fm.ke, fm.lease#, fm.lse_code
    ,     fm.ar_doc#
    ,     fd.fund
    ,     fd.sub
    ]]>
              </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_ke" dataType="varchar2" source="Q_1">
                   <element name="ke" dataType="number" value="KE"/>
                   <element name="SumamountPerke" function="sum" dataType="number" value="G_fund.amount"/>
                   <group name="G_kelease" dataType="varchar2" source="Q_1">
                        <element name="kelease" dataType="varchar2" value="KELEASE"/>
                        <element name="ar_doc" dataType="number" value="AR_DOC"/>
                        <element name="lname" dataType="varchar2" value="LNAME"/>
                        <element name="billed_from" dataType="date" value="BILLED_FROM"/>
                        <element name="billed_thru" dataType="date" value="BILLED_THRU"/>
                        <element name="due_date" dataType="date" value="DUE_DATE"/>
                        <element name="CS_countfund" function="count" dataType="number" value="G_fund.fund"/>
                        <element name="SumamountPerkelease" function="sum" dataType="number" value="G_fund.amount"/>                    <group name="G_fund" dataType="varchar2" source="Q_1">
                             <element name="fund" dataType="number" value="FUND"/>
                             <element name="sub" dataType="number" value="SUB"/>
                             <element name="amount" dataType="number" value="AMOUNT"/>
                        </group>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    <element name="CS_countfund" function="count" dataType="number" value="G_fund.fund"/>
    <element name="SumamountPerkelease" function="sum" dataType="number" value="G_fund.amount"/>     
    I have tried the following conditions in the text form field for SUMAMOUNTPERKELEASE
    <?if:cs_countfund > 1?>
    SUMAMOUNTPERKELEASE
    <?end if?>
    <?xdofx: if :cs_countfund > 1 then
    SUMAMOUNTPERKELEASE end if?>
    <?xdofx: if cs_countfund > 1 then
    SUMAMOUNTPERKELEASE end if?>
    <?choose:?>
    <?when: cs_countfund > 1?>
    SUMAMOUNTPERKELEASE
    <?end when?>
    Nothing seems to work. Help...
    Any suggestions would be greatly appreciated.
    Susie

    Hi,
    I assume that in your resulting XML CS_countfund is written in uppercase.
    So try
    <?if:CS_COUNTFUND > 1?>
    <?SUMAMOUNTPERKELEASE?>
    <?end if?>
    Regards
    Rainer

  • IF THEN ELSE STATEMENT IN BeX Query designer

    Hi,
    I want to write a query as follows:
    IF <Value a> is available THEN <Value a> ELSE <Value b>
    I have written it as follows:
    (X>0)X+(X<=0)Y
    The problem with this equation is,  in case X = 0(number Zero) then Y is not getting displayed. But In case X =NULL (or no values) then Y displayed. This is leading to inconsistency in final result. Please help in rectifying the formula incase it is incorrect or is it because of some program bug in BeX?
    Regards
    Madhav

    This works for me...dont understand y its not working with u!!
    it is simple:
    (X<>0)X+(X==0)Y
    If X is 0, then  0X + 1Y = Y
    else
    1X + 0Y = X.
    What result you are getting in both cases?
    as you thing,X value is may not be 0 in your case. It may be 0.00004...something like that...Set Decimal Places to 5 or 6 to X.
    Message was edited by:
            Muralidhar C

  • Use If then else statement to display concatenated values

    Hi,
    I am trying to create a field which will display 2 different names depending on the status of another field.
    Here is the code I have but it returns no data when I try it:
    <?xdofx:if ReportStatus='Approved' then concatenate(DisplayFirstName, DisplayLastName) else concatenate(InvFirstName, InvLastName) end if?>
    (Also I need to solve how to create a space between the first and last names)
    Any help would be appreciated thanks

    Use the following.
    <?choose:?>
    <?when:ReportStatus='Approved' ?>
    <?DisplayFirstName?> aspace <?DisplayLastName?> or <?concat(DisplayFirstName,' ', DisplayLastName)?>
    <?end when?>
    <?otherwise:?>
    <? InvFirstName?> a space <? InvLastName?>  or <?concat(InvFirstName,' ', InvLastName)?>
    <?end otherwise?>
    <?end choose?>

  • Access 2010 - If Then Else Statement to display text within text box upon Check Box True/False condition

    I have a form called myForm. On this form is a check box called myCheckBox. I also have a text box labeled myTextBox. I have assigned a macro, myMacro, to run upon selection/click of myCheckBox. The macro is an If statement which determines if myCheckBox
    is checked or not checked and spits out a value, "Yes" or "No" for example, into the text box.
    I am not able to get text to display into the text box although I am not receiving any errors when I run the macro. This may be a fault in my logic and would like help resolving where the problem lies. I am fairly new to Access so this could be something
    simple.
    My code is as follows:
    If Forms!myForm =  True Then
      Forms!myForm!myTextBox.Value = "Yes!"
    ElseIf Forms!myForm = False Then
      Forms!myForm!myTextBox.Value = "No!"
    Else
      Forms!myForm!myTextBox.Value = " / ERROR / " 
    End if
    Thanks!

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, the issue is more related to coding/programing, you'd better post your question to the MSDN forum for Access
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=accessdev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • If then Else statement not working under Computation in APEX

    Hi
    Can anyone help me where I am going wrong? I am trying to use the following code in Computation Process on Submit. I am not able to get the value. It's showing nothing.
    Page:
    *Item Name (Value Required)
    Type
    Static Assignment
    PL/SQL Function Body
    SQL Query (return single value)
    SQL Query (return colon separated value)
    SQL Expression
    PLSQL Expression
    Item Value
    Computation Point
    *Sequence (Value Required)
    Computation Point
    On New Instance (new session)
    Before Header
    After Header
    Before Region(s)
    After Region(s)
    Before Footer
    After Footer
    After Submit
    Source
    *Computation (Value Required)
    BEGIN
    IF :P3_AGING_DAYS <= '0' THEN
    :P3_AGING_BUCKET := 'Within due date';
    elsif :P3_AGING_DAYS > '0' AND :P3_AGING_DAYS <= '3' then
    :P3_AGING_BUCKET := 'Within 3 days';
    end if;
    end;

    1efb2968-171d-43f9-9d5d-d38151735ed7 wrote:
    Please update your forum profile with a real handle instead of "1efb2968-171d-43f9-9d5d-d38151735ed7".
    Can anyone help me where I am going wrong? I am trying to use the following code in Computation Process on Submit. I am not able to get the value. It's showing nothing.
    BEGIN
    IF :P3_AGING_DAYS <= '0' THEN
    :P3_AGING_BUCKET := 'Within due date';
    elsif :P3_AGING_DAYS > '0' AND :P3_AGING_DAYS <= '3' then
    :P3_AGING_BUCKET := 'Within 3 days';
    end if;
    end;
    A PL/SQL Function Body computation has to return a value rather than assigning it to an item in the PL/SQL block (APEX turns the block into the body of a function). The item for which the value is to be computed is specified in the computation properties (P3_AGING_BUCKET).
    begin
      return case
               when :p3_aging_days < 1
               then
                 'Within due date'
               when :p3_aging_days between 1 and 3
               then
                 'Within 3 days'
             end;
    end;

  • What is wrong with this ASP If Else statement

    <%If (Request.Form("type")="Cancel Po") Then %>
    <form action="<%=MM_editAction%>" method="POST"
    name="datechange"
    onSubmit="YY_checkform('datechange','type[0]','#q','2','Please
    select a
    Request Type.','reasoncode[0]','#q','2','Please select a
    reason
    code.','ventype[0]','#q','2','Please select a type of
    vendor.','firstname','#q','0','Please enter your first
    name.','emailaddress','S','2','Please enter your email
    address.','ponum','#0_9999999','1','Please enter a po
    number.','deptnum','#q','0','Please enter a dept
    number.');return
    document.MM_returnValue">
    <% Else %>
    <form action="<%=MM_editAction%>" method="POST"
    name="datechange"
    onSubmit="YY_checkform('datechange','type[0]','#q','2','Please
    select a
    Request Type.','reasoncode[0]','#q','2','Please select a
    reason
    code.','ventype[0]','#q','2','Please select a type of
    vendor.','firstname','#q','0','Please enter your first
    name.','emailaddress','S','2','Please enter your email
    address.','ponum','#0_9999999','1','Please enter a po
    number.','deptnum','#q','0','Please enter a dept
    number.','newcancel','#^\([0-9][0-9]\)\/\([0-9][0-9]\)\/\([0-9]{4}\)$#2#1#3','3','Please
    enter a New Cancel Date in MM/DD/YYYY
    format.','newdontshipcurrent','#^\([0-9][0-9]\)\/\([0-9][0-9]\)\/\([0-9]{4}\)$#2#1#3','3' ,'Please
    enter a Current Do Not Ship After Date in MM/DD/YYYY
    format.');return
    document.MM_returnValue">
    <% End If %>
    No matter how i form the If statement the validation defaults
    to the 2nd one
    which its validating more
    ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio
    2008

    thanks.. i ended up using a different form validation and was
    able to
    accomplish what i was looking to do.. thanks for the advise..
    ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio
    2008
    "Dooza" <[email protected]> wrote in message
    news:[email protected]...
    > Daniel wrote:
    >> <%If (Request.Form("type")="Cancel Po") Then
    %>
    >>
    >> <form action="<%=MM_editAction%>"
    method="POST" name="datechange"
    >>
    onSubmit="YY_checkform('datechange','type[0]','#q','2','Please
    select a
    >> Request Type.','reasoncode[0]','#q','2','Please
    select a reason
    >> code.','ventype[0]','#q','2','Please select a type
    of
    >> vendor.','firstname','#q','0','Please enter your
    first
    >> name.','emailaddress','S','2','Please enter your
    email
    >> address.','ponum','#0_9999999','1','Please enter a
    po
    >> number.','deptnum','#q','0','Please enter a dept
    number.');return
    >> document.MM_returnValue">
    >>
    >> <% Else %>
    >>
    >> <form action="<%=MM_editAction%>"
    method="POST" name="datechange"
    >>
    onSubmit="YY_checkform('datechange','type[0]','#q','2','Please
    select a
    >> Request Type.','reasoncode[0]','#q','2','Please
    select a reason
    >> code.','ventype[0]','#q','2','Please select a type
    of
    >> vendor.','firstname','#q','0','Please enter your
    first
    >> name.','emailaddress','S','2','Please enter your
    email
    >> address.','ponum','#0_9999999','1','Please enter a
    po
    >> number.','deptnum','#q','0','Please enter a dept
    >>
    number.','newcancel','#^\([0-9][0-9]\)\/\([0-9][0-9]\)\/\([0-9]{4}\)$#2#1#3','3','Please
    >> enter a New Cancel Date in MM/DD/YYYY
    >>
    format.','newdontshipcurrent','#^\([0-9][0-9]\)\/\([0-9][0-9]\)\/\([0-9]{4}\)$#2#1#3','3' ,'Please
    >> enter a Current Do Not Ship After Date in MM/DD/YYYY
    format.');return
    >> document.MM_returnValue">
    >>
    >> <% End If %>
    >>
    >>
    >> No matter how i form the If statement the validation
    defaults to the 2nd
    >> one which its validating more
    >
    > To debug stick <%=Request.Form("type")%> at the
    start and check that you
    > are getting the correct value from the previous form
    field.
    >
    > Dooza

  • [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’)?>

  • Nested if-then-else with double condition

    Hi everybody, I tried to see on the forum how to build a complex if-then-else statement....but I didn't still find an answer
    So, I'll explain my situation:
    First I have to check if the field PROJ_DT_TO is null or not and then the language parameter:
    1. if the field PROJ_DT_TO IS NULL then I have to check the language parameter:
    a) if this last one is equal to 'English' I want to write inside my template 'Today',
    b) if instead is equal to 'Greek' I want to write 'Σήμερα'
    2. else if the field PROJ_DT_TO IS NOT NULL, again, I have to check the language parameter:
    a) if this last one is equal to 'English' I have to write <?format-date:PROJ_DT_TO;'MMMM yyyy'?>
    b) if instead is equal to 'Greek' I have to write <?format-date-and-calendar:PROJ_DT_FR;‘MMMM yyyy’;'GREGORIAN';'Europe/Athens'?>
    I used the following syntax...but it didn't work...
    <?choose@inlines:?>
    <?when@inlines:PROJ_DT_TO=''?>
    <?xdofx:if $p_language = 'Ελληνικά' then 'Σήμερα' else if $p_language = 'Αγγλικά' then 'Today' end if?><?end when?>
    <?otherwise@inlines:?>
    <?xdofx:if $p_language = 'Ελληνικά' then <?format-date-and-calendar:PROJ_DT_FR;‘MMMM yyyy’;'GREGORIAN';'Europe/Athens'?> else if $p_language = 'Αγγλικά' then <?format-date:PROJ_DT_TO;'MMMM yyyy'?> end if?>
    <?end otherwise?>
    <?end choose?>
    The first piece, until the first <?end when?> instruction works....it's the <?otherwise@inlines:?> and the rest which doesn't work.....
    If, instead, I use (without reaching my goal):
    <?choose@inlines:?>
    <?when@inlines:PROJ_DT_TO=''?><?xdofx:if $p_language = 'Ελληνικά' then 'Σήμερα' else if $p_language = 'Αγγλικά' then 'Today' end if?><?end when?>
    <?otherwise@inlines:?>
    <?format-date:PROJ_DT_TO;'MMMM yyyy'?><?end otherwise?>
    <?end choose?>
    I see the date PROJ_DT_TO even if always in the date format 'MMMM yyyy'
    Anybody knows how can I rewrite my statement in order to reach the if-then-else situation I metioned above ?
    Thanks in advance
    Best Regards
    Alex

    Hi Vetsrini, thaks for your answer and your hint !!
    I tried your code, but without the command 'when@inlines' doesn't work...
    So I tried this :
    <?choose@inlines:?>
    <?when@inlines:PROJ_DT_TO=''?>
    <?xdofx:if $p_language = 'Ελληνικά' then 'Σήμερα' else if $p_language = 'Αγγλικά' then 'Today' end if?>
    <?end when?>
    <?otherwise@inlines:?>
    <?format-date:PROJ_DT_TO;'MMMM yyyy'?>
    <?end otherwise?>
    <?end choose?>
    and It works..
    But, look at this ! I discovered on the manual that inside the Preferences it's possible to set the Report Locale with the language you want.....and if I set my Report Locale in Greek, using the code above I correctly see all dates in Greek....but ALWAYS !!
    I need to see dates in Greek or English dinamically according to the value of the parameter p_language passed inside the template at the beginnig (<?param@begin:p_language?>).
    Even if inside the code there is the double condition ($planguage = 'Ελληνικά' or $p_language = 'Αγγλικά') for the two cases PROJ_DT_TO='' or PROJ_DT_TO !='', I see ALWAYS dates in the language set inside the Locale Report....
    Is there a way to manipulate the Report Locale Setting and make it dinamic ?
    Thanks in advance
    Alex
    So this preference is static, even if inside my report I have the parameter p_language I can see the data and headings with

  • Problem with if-then-else using BI Answers dataset

    Hi, I'm having issues using the if-then-else logic with a BI Answers dataset. I'm running two versions of a report - one that access the SH schema tables directly, and one that uses a BI Answers dataset based on the SH schema.
    My problem is with the if-then-else operator. It works fine against the relational tables when I use the following syntax:
    <?xdofx:if CUST_GENDER = 'M' then 'Mr.' else 'Ms.' end if?>
    However, when I go against a BI Answers report, the name of the field changes from CUST_GENDER to Customers._Cust_Gender_. If I make an exact find and replace on the if-then-else code, it doesn't work (nothing at all displays)
    <?xdofx:if Customers._Cust_Gender_ = 'M' then 'Mr.' else 'Ms.' end if?>
    Can anyone help?
    Thanks,
    Scott

    Is it possible that any of the fields have null values?  If so, see my blog post about null handling in Crystal for more information:  What is Null and Why is it Important for Crystal Reports | SAP BI BLOG
    -Dell

Maybe you are looking for

  • Issue: Not getting response when the document is having special chars

    Please help following issue: Not getting response when the document is having special chars(Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc Error message: System.FormatException: Invalid length for a Base-64 char array. at Syste

  • ITouch connecting to AirPort via wireless

    Can I get my new iTouch to play music back through my Apple AirPort devices?

  • Exception in accessing a JSP Help

    Hi,           I have several servers running my application without any problems. But           on one machine I get the following error when I go to see the page. Can           anybody please explain what could be the cause of it?           I'm usin

  • Pull data from web appilcation to SAP R/3

    Hello SDNers, Is it possible to pull data from any web appication or web servers to SAP R/3 using BAPI. If yes what needs to be done. Please throw some light on this. Regards, Ranjith N

  • Subcontracted material in storage location

    Dear gurus, I did a 101 movement in MIGO and the system did a 543 for the components to relieve the material from vendor but I can't see the material at our storage location. With best regards and Happy Diwali to all my friends. Syed