Platform

Platform

A place for Apptio product users to learn, connect, share and grow together.

 View Only
  • 1.  Ignore_Case

    Posted 12/03/18 02:13 AM

    Hi, I'm trying to use 'ignore_case' in my formula, reference from other discussion boards which is

    Syntax

    Lookup(source_column,lookup_table,matching_column,replacement_column[,leave_original_value][,replace_nulls][,ignore_case])

    but, it seems that mine doesn't work.

    Thing is, in the current table and Labor List Table's FName, there are second names that is written in 'First_Letter_Caps' rule, while some aren't.

    What should I do with this?









    #TBMStudio


  • 2.  Re: Ignore_Case

    Posted 12/03/18 05:37 AM

    I didn't even know that ignore case was something that was possible! 

     

    The way I've always got around issues with case is by either creating two columns that are copies of the originals that are UPPER. So in the area you are looking up from, and looking up to, create an Upper FName column by writing =UPPER(FName), then lookup between these two as they will all be in uppercase and should completely match. Then you would just type =Lookup(Upper FName, Labor List, Upper FName, Last Name)

     

    Hope this helps!


    #TBMStudio


  • 3.  Re: Ignore_Case

    Posted 12/03/18 09:52 AM

    I've been doing the same thing and had no idea about the ignore case function!  Going to give that a whirl.  Halfway thought of changing everything coming in from external sources to lowercase only bc inevitably I'll write a formula to accept their uppercase results, and then later on, they'll change it to lowercase and not tell anyone.  In some cases, too, I'll use Find instead of typing the results out the way they send them (since they like to change things so much ha).


    #TBMStudio


  • 4.  Re: Ignore_Case

    Posted 12/04/18 04:27 PM

    I agree with Oli's approach to this. I've been using ignore case for some time, but find that it's more consistent to create an Upper Case version of label columns, especially when it involves lookups.


    #TBMStudio


  • 5.  Re: Ignore_Case
    Best Answer

    Posted 12/03/18 10:42 AM

    Hi @Camille Faith Crisostomo,

     

    Here is some description on ignore_case:

    ignore_case

    A boolean value (true or false) that controls whether the lookup ignores case when comparing values from the source_column to the matching_column. If ignore_case = true, Lookup ignores case; if false, Lookup is case-sensitive. If this argument is not specified, it defaults to false. The Lookup operation will be faster when ignore_case is false, so only change this when needed.

     

    So, you need to use "true" instead of [,ignore_case] in your formula. Could you please try that and see if that works?

     

    Thanks,

     

    Gulcin


    #TBMStudio


  • 6.  Re: Ignore_Case

    Posted 12/03/18 01:32 PM

    Hi Camille,

     

    You'll need to provide responses to each of the boolean values for everything to work correctly for ignore case.  I believe the following formula should work based on what you originally listed.

    • =lookup(FName,Labor List,FName,Last Name,false,false,true)

     

    The third Boolean value of 'true' will allow you to ignore case on the lookup comparison.

     

    -Brian


    #TBMStudio


  • 7.  Re: Ignore_Case

    Posted 12/03/18 08:21 PM

    It works now, thanks!


    #TBMStudio