Replace blank space

Hi guys,
ho wcan we replace blank space in obiee.
i have applied if null function to replace with 0 but it is not workin .it may be a blank space so can we replace blankspace in obiee.

We cannot replace null values from report.
Another Solution:
Go to column properties --> Conditional formating--->write the condition (IS NULL) --> Apply strikethough option in properties
Hope this helps u
Thanks
Kishore

Similar Messages

  • How to replace blank spaces with zero's in the report

    hai sdn guys,
                         we have a requirement where we cannot have any blank fields in the report and i need to replace the blanks with a zero. What is the best way to do it.

    Hi Sunitha,
    It is not proper that you are posting the same question multiple times:
    Re: report o/p should not have blank spaces in - in case of no value
    should get 0's in place of blank value in  the output of the report
    That too inspite of my requesting you not to do so.
    I am not sure if you have ever gone through the Rules Of Engagement which are prominently posted in each forum, but I think it is SDN courtesy to provide proper feedback when posting a question and assign points as deemed fit. This helps (and motivates) everyone to work on your problem and try to give you a solution. I hope you will be more careful in the future. Thanks!

  • Change Filenames with blank spaces in the Filename

    I want to change many filenames with blank spaces and replace
    blank spaces with underbar character.
    Example:
    File One change to File_One
    File Two change to File_Two
    Here is my script:
    for file in `ls`
    do
    i=`ls -1 *" "*`
    b=`ls -1 *" "* | sed -e s/\ /_/g`
    done
    mv "$i" $b
    Please advise what is wrong with my script that isnt
    working. The script works if I only have one filename
    with a blank space. But if I have several filenames
    with blank spaces in the name then it doesnt work.

    I want to change many filenames with blank spaces and replace
    blank spaces with underbar character.
    Example:
    File One change to File_One
    File Two change to File_Two
    Here is my script:
    for file in `ls`
    do
    i=`ls -1 *" "*`
    b=`ls -1 *" "* | sed -e s/\ /_/g`
    done
    mv "$i" $b
    Please advise what is wrong with my script that isnt
    working. The script works if I only have one filename
    with a blank space. But if I have several filenames
    with blank spaces in the name then it doesnt work.

  • How to validate blank space ?

    Hi All
    I have a textfield i am showing alert if textfield is empty by using isNull and undefined way but how check if user give empty space ?
    Thanks in advance !!!
    Regards,
    Ganesh

    This is how to remove all blank spaces in a string:
    Create a function in an object script, e.g.:
    Script Object Name: myObject
    Method Name : function trim(string)
    function trim(str){
         return str.replace(/^\s+|\s+$/g, '');
    //this function above return the string by replacing blank space by nothing (empty string or null string)
    //it only replace if the field is empty, if there is no chars inside
    //Show the output value after calling the method
    TextField21.rawValue = myObject.trim(TextField21.rawValue);
    //Here is a lil proto to see if it works
    if (TextField21.rawValue == null){
              xfa.host.messageBox("Null");
    } else{
              xfa.host.messageBox("Blank");

  • How to replace a character in a string with blank space.

    Hi,
    How to replace a character in a string with blank space.
    Note:
    I have to change string  CL_DS_1===========CM01 to CL_DS_1               CM01.
    i.e) I have to replace '=' with ' '.
    I have already tried with <b>REPLACE ALL OCCURRENCES OF '=' IN temp_fill_string WITH ' '</b>
    Its not working.

    Hi,
    Try with this..
    call method textedit- >replace_all
      exporting
        case_sensitive_mode = case_sensitive_mode
        replace_string = replace_string
        search_string = search_string
        whole_word_mode = whole_word_mode
      changing
        counter = counter
      exceptions
        error_cntl_call_method = 1
        invalid_parameter = 2.
    <b>Parameters</b>      <b> Description</b>    <b> Possible values</b>
    case_sensitive_mode    Upper-/lowercase       false Do not observe (default value)
                                                                       true  Observe
    replace_string                Text to replace the 
                                         occurrences of
                                         SEARCH_STRING
    search_string                 Text to be replaced
    whole_word_mode          Only replace whole words   false Find whole words and                                                                               
    parts of words (default                                                                               
    value)
                                                                               true  Only find whole words
    counter                         Return value specifying how
                                        many times the search string
                                        was replaced
    Regards,
      Jayaram...

  • Carriage returns are replaced by blank space in SOAP message.

    Hi,
    i am using SOAP request based website. i am using the weblogic webservices. when we sent any SOAP request to the server, if the SOAP xml message contains any carriage returns(new lines) are replaced by a single balnk space.
    i have a requirement where user can enter details in multiple lines. but by the time when it readched server, the SOAP xml message has changed. all the carriage returns are repalced by a blank space.
    Can you please help how to solve this issue.
    Thanks
    subba.

    What are your trying to accomplish?
    I'm thinking you are trying to get a several 'fields' together as a single 'string'. In which case I'd simply concat the fields together like
    SELECT a, b||' '||c ...
    to create a single string with "contents of b space contents of c"
    If you are trying to get one hundred and one blanks, of make a field 101 characters wide with blank padding, then you want to look in the SQL Reference manual for things like lpad, rpad and trim.

  • I need a powershell command to replace unicode chars in a file name to a blank space

    Can anyone provide me with a powershell command which will search and replace a specific unicode character in a file name to just a blank space?
    Thanks

    Hi Roadster198,
    In addition, if you want to search and rename the text files under a folder, please also check this script:
    Get-ChildItem -Path d:\test1\1\*.txt -Recurse| where{$_.name -like "*ф*"}|rename-item -newname { $_.name -replace "ф"," " }
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • Replacing # with blank space in Bex Analyser

    Hi All,
    Can any one help me out in replacing # values in Bex analyser with blank space.
    I tried with the macro:
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    ' First Query in the workbook
    If queryID = "SAPBEXq0001" Then
    ' Selects the area where the report query is rendered
    resultArea.Select
    'Replace "" with 0
    Selection.Cells.Replace What:="", Replacement:="0", LookAt:=xlWhole, _ SearchOrder:=xlByRows, MatchCase:=False, MatchByte:=True
    End If
    End Sub
    Means I have include the macro to the Excel, but still it is not working.
    If this macro is the correct solution, then may be I am not using it properly(in the sense I'm not calling with proper syntax).
    Please provide me with the solutiuon to get rid of this problem.

    Hi,
    We are using BEX 7.0.
    I got a macro code which is working. The code is as follows.
    Dim resultArea As Range
    Set resultArea = varname(1)
    Dim c As Range
    For Each c In resultArea.Cells
    If c.Value = "#" Then c.Value = " "
    Next c
    This works fine but the problem is that this macro code should be added each and every time when the query is run.
    Can any one suggest me where the code can be added in Bex Analyzer itself, so that when the query is run the above macro runs along with it and removes the #.
    Thanks and Regards,
    Geetha.

  • Replace with a blank space instred of , and _

    Dear all
    I am using oracle 10g.
    I want to replace with a blank space instead of , and _.
    example
    i have a string like ABCD_EFG,HKL
    Then it should come like ABCD EFG HKL ..
    How can i do it?

    Try this:
    SELECT 'ABCD_EFG,HKL', TRANSLATE ('ABCD_EFG,HKL', '_,', '  ') FROM DUAL;

  • Adobe Pro XI deletes and/or replaces letters with blank spaces or an x

    How do I fix the problem where Adobe Pro XI deletes and/or replaces letters with blank spaces or an x.
    This is really annoying to have to go back to each thing I type into a document and re-choose the fonts to get them to be correct.
    Thanks for your help!

    Adobe is a company, not a program... do you mean ACROBAT Pro?
    If yes, this is the Premiere Pro video editing forum, you need to go to http://forums.adobe.com/community/acrobat

  • How to use blank space replace NULL on discoverer viewer

    Hi,
    There is a report that has a varchar field should show text values, and if NULL, I need it show blank space, and does in disco desktop, but on viewer, the same worksheet shows NULL.
    Even I changed in the Tools - Options - Format menu(desktop), it still show NULL on viewer.
    why?
    please help! thanks!
    sammy

    Hi Sammy,
    Unfortunately ‘some’ of the settings set in Desktop do not carry over to Viewer. These options need to be defined for Viewer itself.
    A temporary way to set the Viewer settings is to click on ‘Options’ when logged in Viewer itself. You’ll have to open a responsibility or report before this option becomes available to select. Within here you’ll be able to change the way NULL values are seen. However this method only makes the change for the User you logged in with.
    To make the change for all users, it’s best to edit the PREF.TXT file on the Discoverer Server. Please view the documentation below for more information on how to configure Viewer. For windows platform click here : http://download-uk.oracle.com/docs/html/A90287_01/toc.htm,
    For Unix platform click here : http://download-uk.oracle.com/docs/html/A90288_01/toc.htm. Once you’ve run the applypreference script, these settings will be forced down to all users of Discoverer.
    Hopefully this will help ;-)
    Lance

  • How to remove extra blank spaces from log file.

    i have created a log file which contain the logs of a program. the logs are getting created fine for the first execution of the program but from the second time the log file is getting blank space's after every character.
    i have used the code to append the text in log files few examples : 
     'Clean up process started....' >> $log
    File name :'+ $files +'Time-Stamp: '+ $endtime +'Search complete.' >> $log 
    .i want to remove the extra spaces after each character but not all the spaces from the file. Thanks in advance.

    hi  mjolinor
    add-content is used to insert text it does not append text at the file .i used >> to append the text on log file ..
    from 
    Get-Help ADd-Content
    Synopsis
    Appends content, such as words or data, to a file.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • 2010 - 2013 Migration of Public Folders blank spaces in Public Folder names

    So I found the problem that I was running into with this thread:
    http://social.technet.microsoft.com/Forums/en-US/466106c8-33a4-4474-83eb-2f6451e0d4eb/2010-2013-public-folder-migration-failed-property-expression-isnt-valid?forum=exchangesvrdeploy , however the question I have is a bulk solution for this problem.
    The customer I am working with has just shy of 200GB of Public Folder items with many, well organized public folders that they have been using for many years. I am trying to finish up their migration to 2013 and the solution of ADSI Edit removing blank spaces
    is not going to be a good option, it would add days to the migration and many hours of labor.
    What I am looking for is to see if there is a way to remove these spaces in a bulk or automated fashion. It may be asking a lot but it will save MUCH time and effort. If there is anyone that has any ideas I would love to hear them.
    Thanks,
    Joe

    I ended up opening a support case with MS to resolve this issue. The issue took us through a few different things, on our Get-PublicFolders we had to add the -ResultSize Unlimited flag. He had a modified script that enumerated all of the special characters
    and performed a replace like the script in the prior link had performed.
    From there we also had another issue with trailing blank characters. For that we had a three step process.
    1. Get the list of Public Folders that were Mail Enabled
    2. Disable Mail for all Public Folders
    3. Enable Mail flow to the above Public Folders that had mail flow going to them.
    Finally I was able to get the public folders to migrate.

  • Need to add a additional blank space in output

    In the following outputs a line of numbers like: 5 43 12 23 10 29 etc. I would like to add a extra blank space between each number. What and where do I need to change or add in the following code to make this happen?
    Code:
    import java.util.Arrays;
    import java.util.List;
    import java.util.Collections;
    public class onetime {   
    public static void main( String [] args ) {       
    final int DOMAIN = 36 * 2;
    char [] characters = new char[DOMAIN];
    Integer [] numbers = new Integer[DOMAIN];
    char ch = 'a';
    int j = 0;
    for ( j = 0; ch <= 'z'; ++ch, ++j )
    characters[j] = ch;
    for ( ch = 'A'; ch <= 'Z'; ++ch, ++j )
    characters[j] = ch;
    for ( j = 0; j < DOMAIN; ++j )
    numbers[j] = new Integer( j );
    List list = Arrays.asList( numbers );
    Collections.shuffle( list );
    Arrays.sort( characters );
    String str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZaBcDeFgHiJkLmN";
    int [] encodedValue = new int[str.length()];
    int pos = 0;
    final int max = str.length();
    System.out.print("\nFirst number is a, second is b and so on. After z you start with A then B and so on. After Z you start with 0 then 1 till 9. After 9 the next four are ? . , !\n");
    for ( j = 0; j < max; ++j ) {           
    ch = str.charAt( j );
    pos = Arrays.binarySearch( characters, ch );
    encodedValue[j] = numbers[pos].intValue();
    System.out.print( encodedValue[j] );
    System.out.print( ' ' );
    System.out.print("\n");
    System.out.print("\n\n\n");
    System.out.print("\nSee readme for more detailed instructions\n\n");

    System.out.print( encodedValue[j] ); replace the above line of code with the following:
       System.out.print( encodedValue[j] + "  " );i am not quite sure what r u asking. but i wish this would bring u a bit helps.
    System.out.print( ' ' );
    System.out.print("\n");
    System.out.print("\n\n\n");
    System.out.print("\nSee readme for more detailed
    ed instructions\n\n");

  • Af:inputText problem : how to display text containing blank spaces

    Hi,
    I have a inputText in af:table with clickToEdit mode, when I commit a value from input text
    for e.g
    "This is______________ a ________text with_________lot________of_______blank spaces"
    (_ undescore represents spaces)
    it get saved perfectly fine to db, but when I am in display mode , it removes all spaces leaving one space
    "This is a text with lot of blank spaces"
    seems like problem is with while displaying, component is not rendering more than one blank spaces
    Message was edited by:
    user626222

    Hi Frank,
    Thanks for your response,
    I am using inputText in af:table with editingMode="clickToEdit"
    so, when its in edit mode, it deplays the correct value as its saved in db
    as soon as you come back to view mode , it eliminates extra spaces replaces with one space
    Thank you

Maybe you are looking for

  • Time Capsule problems with the xbox 360

    Im not going to type this all out again so i'll give you guys the link to my unanswered post on mac rumors. http://forums.macrumors.com/showthread.php?t=448296 Can anyone help?

  • Store data in mysql after reading from excel files

    i am trying to make o program where i will read the data from excel files and i will store them in a database. I am using eclipse as editor and mySQL. I am using APACHE POI to read the excel files and JDBC for the connection. The excel files have the

  • Abap & java mapping

    Can any one give me the simple file 2 file scenario with abap and java mapping?

  • Ichat file upload speeds really slow

    i am having issues with ichat file upload speeds. I'm sending a 1.5MB file and it's took 6+ minutes - one time it took 12 minutes! The same file sent back to me only took 40 seconds. The strange thing is it took 15 seconds to email the file, and 7 se

  • Acrobat: Window size

    Hello! I want to change the window size (50%) when opening a certain pdf-document. In Acrobat 7 this should be posible through the document properties. But it doesn't work! Thanks for help! Janina