Basic formula help

HI Sorry for the simple questions but have been off this product for many years.
I have a code coming in from the database that is '1' for Male and '2' for female and I need the report to show 'M' and 'F'.
TIA,
Phil

Hi Philky,
Drag the field into the report.Right click on the field and click on Format field. Go to the Common tab and click the formula editor button infront of the Display String field. then type in the following formula:
if {Field name}= 1 then 'M' else "F'
click OK and refresh the report.
Hope this helps you!
Regards,
Anindita

Similar Messages

  • Basic formula in Numbers 09

    Hi, guys, I try to make a basic formula in Numbers but do not find the way.
    I just need put numbers in two columns and get the result of dividing or multiplying in the third column.
    Say ColumnB : ColumnC = ColumnD
    Can you please help me? Tried to find in the functions list on the Apple web-site but no way.
    Thanks for help ))))

    Markiz wrote:
    Can you please help me? Tried to find in the functions list on the Apple web-site but no way.
    Thanks for help ))))
    Both the Numbers '09 User Guide (which covers the use of the arithmetic operators ( + - * / ) and the iWork Formulas and Functions User Guide (which discusses QUOTIENT and the rest of the functions supported in Numbers and the other iWork applications) can be downloaded through the Help menu in Numbers.
    Regards,
    Barry

  • India localization oracle fast formulas help

    hi ..
    anybody help on oracle india localization fast formulas, absence mgmt setup, online payslip setup and tax declaration set up in payroll and sshr basic setups for absence mangt and transfer setup. plz send me on [email protected]

    send me a contract, buy me a ticket, and i fly over.

  • Formula Help - Multiple criteria

    I'm fairly new to Numbers and am struggling to work out the formula to manage multiple sumif functions. I want to be able to calculate the total of column 'C' where A & B are identical. For example sum of column C where  A=James, B=Vehicle. Sorry if I'm not being clear. Basically total of $ in 'C' where A = James and B = Vehicle.
    Thankyou in advance for the help. 
    A
    B
    C
    James
    Vehicle
    $100.00
    Tom
    Office
    $200.00
    James
    Office
    $150.00
    Brad
    Vehicle
    $275.00

    Dynamic using cell references. I missed the & to make it work.
    =SUMIFS(Table 1::C,Table 1::A,"="&A2,Table 1::B,"="&B2)
    If lucky James has two vehicles,
    And you can add more combinations to Table 1-1
    Regards,
    Ian.

  • OBIEE rpd formula help

    Hi All
    My problem is mainly relating to the usage of operators and functions in the OBIEE repository...
    I need to extract the file name from a given path... (this is basically for Usage Tracking purposes)
    The path can be of 4 types:
    1) /users/[email protected]/Charts Reports/Report\/test.) -- file Report\/test.
    2) /shared/project/Reports \/ Charts/test \/ Report -- file test \/ Report
    3) /shared/project/Reports \/ Charts/test Report -- file test Report
    4) /shared/project/Reports/Report 1 -- file Report 1
    The '\/' that you see happens, when you save a report/folder in Answers with a '/' in the name (it converts it to '\/' supposedly).
    I am not able to write a formula for a logical column that can extract the file name given these 4 types of input paths.
    I have a written a SQl query that does all this perfectly fine but am having a tough time converting this to the OBIEE formula. So I guess
    I'll have to start off separately on the rpd formula.
    I tried the following formula but it does not work for type 1) and 2) ... It works for types 3 and 4. Though I dont find anything wrong with
    this formula, I think the CASE operator might be a problem.
    CASE WHEN LOCATE ('\/',:PATH) > 0
    THEN CASE WHEN LOCATE ( '\/',SUBSTRING(:PATH FROM LOCATE ('/', SUBSTRING (:PATH FROM 1 FOR LOCATE ('\/',:PATH,-1) ) ,-1 ) + 1 ) ) > 0
    THEN SUBSTRING (:PATH FROM LOCATE ( '/',:PATH,-1)+1 )
    ELSE SUBSTRING(:PATH FROM LOCATE ('/', SUBSTRING (:PATH FROM 1 FOR LOCATE ('\/',:PATH,-1) ) ,-1 ) + 1 )
    END
    ELSE
    SUBSTRING(:PATH FROM LOCATE ( '/',:PATH,-1) +1 )
    END
    Can someone help me write a better formula to perform this function
    Thanks a lot

    Hi All
    If this helps... When I said it does not work for the input types 1 and 2 (above post), this is the result that I get in Answers when I use my formula...
    Input 1) /users/[email protected]/Charts Reports/Report\/test.) Result: test.) Expected Result: Report\/test.)
    Input 2) /shared/project/Reports \/ Charts/test \/ Report Result: Report Expected Result: test \/ Report
    Thanks a lot...

  • Basic script help for a newbie?!?!

    Need help with a basic script, I need to display 5 input fields in a single dynamic field. And i need them to have a certain order of display, ie: input 1 is displayed on line 1, 2 on the next line, etc. any help would be appreciated
    I have been trying various scripts but i either make the second input field replace the first one, or i cant get the vars to populate the field with a button.. Im kinda lost.

    Show what you have tried so far that give you the results where you either replace fields or can't get vars to populate them with a button.

  • Some basic questions: Help defining Real World Classes

    I am trying to write a small applet using proper OO concempts and Java technique and I'm confused on the proper way to do this. I think I know several ways that work and have all the peices I need such as JMail and JDBC drivers, but would appreciate help on understanding how to properly structure my classes and objects.
    The application will simply do the following: I have a database table that receives a new entry when a truck is late for its delivery. When this new record is created, I need to send an email to the driver manager who will then decide (via a jsp page) whether the customer should receive an email about the late delivery. For each truck, there will only be one driver manager and one client to be notified.
    What I'm confused about is what classes and objects to create (and why). My first thought is to create a LateTruck class, a DriverManager class and a Customer class and have the LateTruck class call up the DriverManager to send an email then have the JSP page reinstantiate the LateTruck and instantiate the Customer class to send the email to the client.
    If I do it this way, is there a proper way to send the email? Do I send the email as a method in LateTruck which gets the email address from DriverManager such as
    LateTruck.Order1234.SendEmail(DriverManager.JoeBlow.Email)
    or do I use LateTruck to write the email message which I then pass to DriverManager such as
    DriverManager.JoeBlow.SendEmail(message)
    Should I even break up the applet into three classes and objects? Since each LateTruck only needs one DriverManager and one Client, is the proper way to do this to create only one class called LateTruck which has DriverManager, DriverManagerEmail, ClientName and ClientEmail all as properties of LateTruck?
    Thanks for any help in understanding the basics here.

    Is that the story of Static Write and the Seven Classes and the evil stepmother Wilma Gates who kept asking "Mirror Site, Mirror Site on the web, who's got the buggiest InterDev?

  • How to calculate average not through basic formula

    Can any bodytell me how to calculate averge of 96 rows in the quey designer  not by hard coding them.
    Is there any formula for creating it through formula or through calculations .
    And also how to calculate the maximum value and minimum value of the entire 96 rows  which is picking from a Z table -ZDC_2100.
    Iam having time blocks of 96 for 24 hrs each of  15Min.

    Hi,
    You can achieve using a counter at baselevel and use exception aggregation at query level...
    Also check the below links might be useful:
    http://help.sap.com/saphelp_nw04/helpdata/en/75/21054da1392649948e5b94e4fc4bce/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
    Hope this helps.......
    Rgs,
    I.Ravikanth

  • Formula help - Distinct Count with 3 conditions

    I have a field named ID
    I need to Dcount records where Dorder = 1,0 or null
    I'm gonna need to perform similiar totals on other fields so I don't think I can use Record Select Expert (Is that right?)
    Thanks
    Steve

    Steve,
    Do a search in CR's online help for DistinctCount. It should have what you are looking for.
    Basically you'l want something like this...
    DistinctCount({TableName.FieldToCount}, {TableName.Order} = 1)
    DistinctCount({TableName.FieldToCount}, {TableName.Order} = 0)
    DistinctCount({TableName.FieldToCount}, IsNull({TableName.Order}))
    HTH,
    Jason

  • Conditional formula help

    Post Author: scd07
    CA Forum: Formula
    Hi, Crystal Reports novice here...
    I have been asked to take out any lines in several reports with all "0s" in the columns.  I have tried formatting each field to suppress Zeros and then right click on the Description column and click "suppress if blank".  Didn't work.  I then tried to write a conditional formula that I put under the description field (field 1), "common", "formula" and "suppress".  The formula followed the following:
    If = 0 and = 0 and = 0 then true else false
    Unfortunately this also didn't work.  I don't know if my formula is incorrect or if I am entering it in the wrong spot.  Any help would be very much appreciated!  Thank you!!

    Post Author: Bandit07
    CA Forum: Formula
    Right click on what you want to suppress and click the x-2 button next to suppress.  Put your formula in there.
    = 0 and = 0 and = 0,  If all of these conditions are true then it will suppress.
    B

  • MDX formula help

    The formula below works just fine but I want to use a UDA driven member in Member Range and need help.
    IIF(
    Count(
    Intersect(
    {MemberRange( [Jan],[Apr] )},
    {[Time].CurrentMember}
    ) = 1, [Actual], [Forecast])
    I tried with
    IIF(
    Count(
    Intersect(
    {MemberRange( [Jan],UDA([Period],"CurrMonth") )},
    {[Time].CurrentMember}
    ) = 1, [Actual], [Forecast])
    but I get an error Error(1260052) - Syntax error in input MDX query on line 4 at token ')' CalcMbr
    not sure why is this not working - I think UDA() can result in a set but member range is expecting a member only??
    Please suggest any ideas to correct the code.

    also tried with {[Jan]:UDA([Period],"CurrMonth")}
    instead of {MemberRange( [Jan],UDA([Period],"CurrMonth") )} - but no luck
    Any suggestions?

  • Group Formula Help

    Post Author: dmface15
    CA Forum: Crystal Reports
    I have a report that identifies employees and what taxes that employee pays. For example,
    John Doe
    OASDI           $2500
    Medicare        $625
    Jane Doe
    Medicare       $1750
    Michael Smith
    OASDI          $1630
    Medicare       $783
    The report is grouped by Employee name and tax code. The reason for grouping by tax code is because the tabale i am using to get tax code has records for each pay check the employee has received. Here is the problem. I need to create a report that will give me all employees who pay Medicare AND OASDI, all employees who pay ONLY Medicare. Therefore, when I run the report for employees who pay Medicare AND OASDI I should only see Michael Smith and John Doe. If i run the report for all employees who pay ONLY Medicare I should see only Jane Doe. Right now, I am having trouble with creating a formula whether it by group selection or record selection. Can anyone help me out? I would appreciate it. Thanks.

    Post Author: kcheeb
    CA Forum: Crystal Reports
    Have you tried suppressing the group and detail sections based on the report type and count of tax code records? Assuming There are no people with only OASDI tax codes.
    The other option would be to use sql to return you only Medicare people or OASDI & Medicare people.

  • Need formula help - how do i fin duplicates in a list

    I have a list of text data and want to remove duplicates. I think I know how to do it... but I've done a fair bit of searching here and elsewhere and just don't understand how to set it up.
    I assume I should use the Countif function... and then compare the each cell to the entire list to determine if it is unique. Then I get a 1 or 0 result based on whether the data element recurs in the list.
    Problem is the setup and syntax.... I've done a very very little bit of this but don't have a good handle... searching to this point (user guides and forums) I haven't found answer... I know the answer is out there, but I need to get solution as quickly as possible.
    any help greatly appreciated.
    Thanks
    darren
    Oh - number 09 on 10.5.8

    dnim wrote:
    I have a list of text data and want to remove duplicates. I think I know how to do it... but I've done a fair bit of searching here and elsewhere and just don't understand how to set it up.
    I assume I should use the Countif function... and then compare the each cell to the entire list to determine if it is unique. Then I get a 1 or 0 result based on whether the data element recurs in the list.
    COUNTIF($A,A) by itself will give you a 1 if the cell contents are unique within the list, and a larger number if there are duplicates.
    =IF(COUNTIF($A$1:$A2,$A2)>1,"XXXXX","")
    Will leave cells in rows containing the first occurrence of a particular value in a list 'blank'* and mark rows containing subsequent occurrences of the same value with XXXXX (or whatever text is placed between the quotation marks at that position in the formula.
    Results of the second formula (in column C) may be isolated using the "Show rows that match the following" in the Reorganize dialogue, and setting the condition to "Column C"    is not blank
    Oh - number 09 on 10.5.8
    Looks like your profile needs to be updated—currently says 10.5.5.
    Regards,
    Barry

  • Doubts in XI basics..help me with some practical examples

    hi friends,
              I am new to SAP XI have some basic doubts. Answer my questions with some practical examples.
      1. what is meant by "Business System" and what is difference between client,customer,Business partner,3rd party
      2.If a small company already using some systems like Oracle or peopleSoft,if it wants to use SAP products then what steps it has to follow.
    3. SAP system means a SERVER?
    4.SAPWebAs means a server software?
    5.R/3 system comes under SAP system?
    6.XI is also one of the SAP  module..how it relates to other modules.
    7.In one organization which is using SAP modules,each module will be load in separate servers?
    8.PO(purchase order) means just looks like one HTML file..customer will fill the form and give it.like this,Combination of many files like this is one SAP module.Is it right assumption..?if so,then what is speciality SAP?
       I have an theoretical knowledge about IR and ID and SLD.what are general business transactions happens in any business ?(like who will send cotation,PO)  give some practical example for what actually happens in business?..who will do what?and what XI will do?

    Hi Murali,
    <u><b> 1.Business System</b></u>
      Business systems are logical systems that function as senders or receivers  within the SAP Exchange Infrastructure(XI).
    Before starting with any XI interface,the Business systems involved has to be configured in SLD(The SLD acts as the central information provider for all installed system components in your system landscape.)
    business system and technical system in XI
    <u><b>2.Third Party</b></u>
    http://help.sap.com/saphelp_nw04/helpdata/en/09/6beb170d324216aaf1fe2feb8ed374/frameset.htm
    eg.For the SAP system a  Bank would be a third-party which would be involved in interfaces involving exchange of data(Bill Payment by customer).
    <u><b>3.XI(Exchange Infrastructure)</b></u>
      It enables you to connect systems from different vendors (non-SAP and SAP) in different versions and implemented in different programming languages (Java, ABAP, and so on) to each other.
    Eg.If an interface involves Purchase Order sent from SAP system to the vendor(Non-SAP system)then,the vendor might expect a file.But the Data is in the IDOC(intermediate document) form with the SAP system.Here XI does the work of mapping the IDOC fields and the File fields and sends it to the vendor in the form of a file.
    In short,always the scene is Sender-XI-Receiver.
    The Sender and the Receiver depends upon the Business you are dealing with.
    <u><b>4.Business Partner</b></u>
    A person, organization, group of persons, or group of organizations in which a company has a business interest.
    This can also be a person, organization or group within this company.
    Examples:
    Mrs. Lisa Miller
    Maier Electricals Inc.
    Purchasing department of Maier Electricals Inc.
    <u><b>5.Client</b></u>
    http://help.sap.com/saphelp_nw04/helpdata/en/6c/a74a3735a37273e10000009b38f839/frameset.htm
    <u><b>6.SAP System</b></u>
    http://help.sap.com/saphelp_nw04/helpdata/en/33/1f4f40c3fc0272e10000000a155106/frameset.htm
    <u><b>7.SAP WebAS</b></u>
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=sapwebapplication+server&cat=sdn_all
    As you are a beginner, I understand you musn’t be aware of where to search what.
    For all details search out in http://help.sap.com
    And sdn(key in keyword in Search tab).
    You will get list of forums,blogs,documentation answering all your queries.

  • Basic FCP Help for beginner

    Thanks in advance for looking at my post.
    I have a uni project whereby i have to make a music video for a song previously recorded.
    I have videoed various shots of my band playing along to the recorded song.
    They all start at different times (i.e start of video clip does not match with audio clip) yet i know that over the whole song they are in time with each other as i had the drummer play along to the recording using headphones.
    So what im trying to do is load up all of the clips into FCP alongside the audio, adjust the start position for the various video clips so that they synchronise with the audio, and then lock them into place.
    I would then like to cut them up into clips and move the parts that i want to use down onto the main video timeline so that they are in time with the audio.
    I am mainly encountering problems with having to render these 3 minute video clips just to see if they line up with the audio which is a very time consuming process. Is there any way to use the markers and tell them to lock together, that is put a marker on the audio timeline, put markers on each video clip at the same point and line them up/snap them into place.
    Any help would be much appreciated, as i mentioned in the subject i am a complete apple/FCP beginner having only done basic videos where i didnt need to have such synchronicity between audio and video.
    Also on a side note when i load up the video clips into the timeline, they creat new lines V2,V3 and so on. Am i right in assuming that V1 is the final rendered timeline, or does FCP show all of the V# if they have footage on them?
    Tl:dr help
    Message was edited by: y0ukn0ws1t

    Thanks for the response, i have looked at a few video tutorials, but i cant find one that deals with multiple video takes over a common audio take.
    Are v2,3 etc slates to load up video before aligning/cutting and placing onto V1 (the main video sequence)??
    With regards to this video
    http://library.creativecow.net/articles/harringtonrichard/final_cut_multicamedit.php
    Am i right in assuming once i have lined up all the video clips to sync with the audio i can set in and out markers on the video clips to tell FCP to use the sections that i want of each take?
    Message was edited by: y0ukn0ws1t

Maybe you are looking for