Blank values are returning as 0 in sharepoint workflow

I have a SharePoint list where one of the numeric fields values is blank. But when I take the value into a variable in designer workflow, It is returning 0. It needs to return blank.
How to solve this? Please guide me.
Regards,
Chaitanya.

check that the variable being used to store the value is a STRING.
if you have a NUMERIC variable, it can ONLY store NUMBERS. Since the source value is blank, it is assigned the default numeric value of 0.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs

Similar Messages

  • Values are returned as question marks.

    I have set up a UTF-8 database, on my english version of WinXP..
    SELECT * FROM NLS_DATABASE_PARAMETERS;
    .. shows this is correct - UTF8
    I have set up NLS_LANG variable in windows, to be "American.America.UTF8"
    Using SQL*Plus worksheet I can update a row in my database to contain chinese characters. I dont know what the chinese means, but I can copy and paste from another application, and the glyphs looks the same in the source and SQL*Plus worksheet.
    I can then select the row ..
    SELECT * FROM THETABLE WHERE THECOLUMN = '{CHINESECHARS}';
    The correct row is returned, but the column is shown with just question marks, instead of the glyphs I expect.
    (This also happens with the web application I am developing which also seems to return qurestion marks. (PHP not JSP))
    Can anyone shed any light on this problem as I am completely stuck.

    Check these notes# 132453.1, 152260.1 & 158577.1 out on metalink also for further good details. This may/may not work for Chinese yet it should steer you
    in the right direction.. It's the combination of the NLS_LANG and Active
    Code page settings on the client as well as the database characterset. I believe you say the database character set is UTF8. That part should be correct. It's then the client side combo's that do the trick. It's trying differing combo's until he desired results are achieved. Having not worked with Chinese I can
    give you an example of what I've experienced...
    These are the following steps I performed to enable the client SQL*Plus (command line and GUI) and SQL*Worksheet to display/input the euro currency symbol correctly for example...
    1) Search from the top of the registry (regedit) for ALL occurrences of NLS_LANG and make the value AMERICAN_AMERICA.WE8MSWIN1252.
    2) Go to the following registry entry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ACP
    and change the active code page (ACP) to 1252. If there is an OEMACP entry there change that also to 1252.
    3) Reboot the PC
    To test .. go to DOS and enter at the prompt..
    E:\>chcp
    Active code page: 1252
    If the above message IS NOT 1252 you must have missed editting the registry entry
    explained above. However you can change it for this session by entering
    E:\>chcp 1252
    - < Set font to Lucida Console (in Properties, Font tab) >
    To get the UNICODE characters you want insert into the database do the following
    E:\>charmap
    You will see a display of different characters.
    If you click on advanced view at the lower right corner a search screen comes up. Enter UNICODE for the character set, ALL for group by and EURO for the search for and the euro currency symbol will come up. This is one way how the user can enter this character into the app. You can copy the character in this function as you can see and then you can paste it elsewhere. Copy whatever character you want to test with. My test was with the euro currency symbol.
    E:\>sqlplus.exe <user>/<pwd>
    SQL*Plus: Release 8.1.7.0.0 - Production on Fri Jul 13 13:22:19 2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option JServer Release 8.1.7.0.0 - Production
    SQL> create table t (a char(3));
    Table created.
    SQL>insert into t values ('');
    1 row inserted. SQL>
    commit;
    SQL> select * from t;
    A
    If the all the registry edits were performed correctly this will work with
    SQL*Plus GUI and SQL*Worksheet.
    Check these notes# 132453.1, 152260.1 & 158577.1 out on metalink also for further details real carefully.

  • Single RFC Lookup should return multiple values - but returns no values

    I have an RFC Lookup in my PID system that i had to change due to a test defect.
    the FM i wrote was working on a single value and returning the correct entry...  however it now needs to return multliple entries and map 0..unbounded....
    i have made the changes, the FM works in ECD, however when i call the FM from the mapping, it does not return any values...  now, i am asking my basis team to change the PIAPPLUSER to dialog user so i can throw a breakpoint for an external user... 
    has anyone done a single to multi value mapping on lookup?  i am not sure that it is the FM that is incorrect as it is very simple code..   
    DATA: lt_jobtype TYPE zhr_lkupjobtype_t.
      CLEAR     lt_jobtype.
      REFRESH lt_jobtype.
      SELECT * FROM zhr_lkupjobtype
        INTO TABLE lt_jobtype
        WHERE zinterface_id = import-zinterface_id
        AND   zsap_jobtype  = import-zsap_jobtype.
      MOVE lt_jobtype TO export.
    is there a way of checking the RFC part of an message mapping?  i checked the full trace within graphical mapping but this shows no return....

    I am using a MOVE instead of APPEND.
    according to the keyword help if the tables are identical, you can use MOVE.
    it works when i test in SE37.
    i have tested it both ways and i get the same result each time.
    i even tried it this way:
      SELECT * FROM zhr_lkupjobtype
        INTO TABLE export 
        WHERE zinterface_id = import-zinterface_id
        AND   zsap_jobtype  = import-zsap_jobtype.
    and that works too to get the target values into the export table!  that's what made me think it was not the code as i have tried three different ways of writing the same code...  the Function Module works perfectly anyway!  but when it is called from PI i cannot see if any values are returned....

  • LOV query is invalid, a display and a return value are needed

    hello - i am having this issue and can't get around this when creating a popup LOV based on sql.
    below is LOV query. as you see the view has only two columns. I tried various ways by giving alias to columns in query but nothing works. What did I miss here?
    select description,inventory_item_id from xx_apex_inv_v
    1 error has occurred
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.

    Did you try it like this?
    select description d, inventory_item_id v from xx_apex_inv_v

  • [svn:fx-3.x] 18471: bug fix for 2749575 The API -- mx.messaging.messages. MessagePerformanceUtils; associated attributes/ properties like totalTime are returning negative values

    Revision: 18471
    Revision: 18471
    Author:   [email protected]
    Date:     2010-11-05 10:22:11 -0700 (Fri, 05 Nov 2010)
    Log Message:
    bug fix for 2749575 The API -- mx.messaging.messages.MessagePerformanceUtils; associated attributes/properties like totalTime are returning negative values
    Change adding set method for receive time to avoid it override the value set by detecting it is an OUT infoType
    BlazeDS checkintests pass
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/messaging/messages/MessagePerformanc eInfo.as

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • SharePoint PPS Hide null or blank value in performancePoint chart drill down.

    Hi,
    I am using SharePoint Performance Point Service. Hide null or blank value in Performance Point chart drill down.
    Thanks & Regards
    Poomani Sankaran

    Hi Hyaron,
    I am unable to reproduce the issue in my test environment. How did you add the drilldown feature? Were you doing that by setting visibility of the column or of the group? Please ensure to add the drilldown functionality by set the visibility of the workgroup
    from the Grouping Pane in the Report Designer.
    How did you add the Interactive Sorting on the headers of the two columns? Based on the drilldown functionality, the Interactive Sorting on the second column doesn’t work. So, you can move the Interactive Sorting on the second column. When configuring the
    Interactive sorting on the first column, you should set the parent group to sort, and sort by the field that the parent group groups by.
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to return blank value for a column

    Hi All
    We would like to create a short version of the BI report for the scorecards that has the same number and order of the columns, but far less rows. This will improve the size and performance of the Overhead, Services scorecard.
    For some columns, we need blank values , which means the content should be blank , but the column should appear in the report.
    I have tried checking some options in "column format" tab under column properties and played with "column header interaction" and "value interaction" , however i couldnt get the desired results.
    Can we achieve this?
    Please suggest me on the same.
    Regds
    Mano

    Mano wrote:
    For some columns, we need blank values , which means the content should be blank , but the column should appear in the report.Can you not just add any colulmn from the subject area and change its formula to '' ? You can rename the column name, and it will show blank values for all the records.
    Assign points if helpful.
    Regards,
    -Amith.

  • Select List with Submit : a display and a return value are needed...error

    Hi,
    Why the next SELECT returns error in Select list with submit ?
    List of values definition:
    SELECT b.nom nom_bannniere,
    b.no_banniere no_bann
    FROM banniere@my_source b
    WHERE b.statut = 0
    ORDER BY nom_bannniere;
    1 error has occurred
    * LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.

    gfrancoeur,
    Try this SQL:
    SELECT b.nom d,
    b.no_banniere r
    FROM banniere@my_source b
    WHERE b.statut = 0
    ORDER BY 1Thanks,
    - Scott -

  • Capturing blank and non blank values in parameter

    In one of the report there is only one parameter “BU VP Name”, now the business has added one more field “Director” to the application and they want this to be as a parameter. Now all the new records will have Director name
     and old records will be blank for Director. How can I create a multi parameter with blank and relevant values for my report. Please note I am using sharepoint list to create the report.
    SFH

    Hi Syedfpl,
    According to your description, you want to add a parameter which include a blank value.
    In Reporting Service, we are allowed to use blank value for a multivalue parameter, but we are not allowed to use null values. So in this scenario, you should insert some blank values(‘’) into column “Director” so that we don’t need convert null values into
    string at query level. Besides, in order to be allowed to use blank values in a parameter, we should choose the option "Allow blank value ("")". Also “Allow multiple values” option should be checked. As we tested in our environment, the
    final result looks like below:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Content Organizer bug - PDF files does not get routed correctly if autodeclaration is on and library level default values are set

    It looks like whenever one specifies Column default values at a library level then the content organizer routing goes a bit awry SPECIFICALLY FOR NON OFFICE FILES [e.g. PDF] . Below are the observations and issues
    1. Column level default value set on a record library with auto declaration of records turned on.  The content organizer routes the document to the library but also keeps a copy of the document in the drop off library. It does not remove it from the drop
    off library. The instant we clear the default value settings at the library level of the target library the content organizer works as expected again. 
    2. If default value settings are specified on a column in the target library then the PDF file gets routed to the document library but all the metadata is blanked out. The copy of the file that remains in the drop off library has all the correct metadata but
    the target library has blanked out metadata. 
    Are the 2 observations described above by design or are they bugs? If so is there any documentation that is available that proves this because this does not make logical sense and proving this to a client in the absence of any documentation is a challenge.
    The problem goes away if we shift the default value to the site columns directly at the site collection level. It's just the library level defaults that the pdf files do not seem to agree with

    Hi Lisa,
    Thanks for responding. This can be replicated in any environment but is only replicable for a specific combination of content organizer settings . The combination of settings I am referring to can be seen in the screenshot below. If you turn off redirect
    users to the drop off library for direct uploads to libraries and if you turn on sharepoint versioning then you should be able to replicate the issue. Also we are using managed metadata site columns. I simplified this use case to a custom content content type
    with just 2 custom managed metadata columns and can still replicate the issue in several environments. Also note the issue does not occur if the default values are set at the site or site collection level. It only occurs if you set the column value default
    at a library level.  I was able to replicate this on a completely vanilla Enterprise records site collection freshly created just to test this.  Also note that the issue is not that the file does not reach the destination library. The issue is the
    document does not get removed from the drop off library after it is transfered to the destination library which technically should have gotten removed.

  • Problem with BLANK Value in SSRS Subscription

    I have a report that I designed in Vis Studio 2005 and have deployed to SSRS 2005.  I have no issues what so ever when running it interactively out of Report Manager.  However when running it scheduled via a subscription, I am running into trouble.
    This report has a parameter called "Label".  It is set up as a String parameter, Allow Blanks, and Multi-Value.  (It does not allow me to select Null values...tells me "The properties for the currently selected item are not valid.")  I am getting Available and Default values from a query I have created in a separate dataset.  This query pulls in all possible values for Label, including a BLANK value (there are values that are and should be Blank).
    In my subscription, I want to select all Labels but label 98, including the BLANK.  So when I go in to create or edit a subscription, I simply uncheck the 98 label.  I can see a blank checked as well.  However when the subscription runs, the subscription status tells me " Failure sending mail: Default value or value provided for the report parameter 'Label' is not a valid value."   This ONLY occurs when I have the BLANK label selected in my dropdown list!
    However, when I run this interactively out of Report Manager, doing the exact same thing (selecting all labels other than label 98, INCLUDING the Blank), it works properly.
    What could be going on here?  Kinda new at this and totally stumped.
    Tony

    Hi Tony,
    I met a similar issue before. If I understand correctly, there has Null values in the list not Blank values.
    Using Null values in a parameter in subscription is not allowed.
    To solve the issue, please change the Null values to Blank values by modifying the query statement of report:
    SELECT ... IsNull(column, "") FROM...
    By the way, please update the SQL Server Reporting Services to latest version too.
    For SQL Server 2005, the latest version is Cumulative Update package 6 for SQL Server 2005 SP3.
    SQL Server 2005 SP3: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ae7387c3-348c-4faa-8ae5-949fdfbe59c4
    Cumulative Update #6 for SQL Server 2005 Service Pack 3
    For SQL Server 2008, the latest version is Cumulative Update package 4 for SQL Server 2008 SP1.
    SQL Server 2008 SP1: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19
    Cumulative Update #4 for SQL Server 2008 SP1
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin ChenJin Chen - MSFT

  • Dynamic sql reurns no data when multiple values are passed.

    (Dynamic sql returns no data when multiple values are passed.)
    Hi,
    While executing the below dynamic sql in the procedure no data is returned when it has multiple input values.
    When the input is EMPID := '1'; the procedure works fine and returns data.Any suggestion why the procedure doen't works when input as EMPID := '1'',''2'; is passed as parameter?
    =======================================================
    create or replace PROCEDURE TEST(EMPID IN VARCHAR2, rc OUT sys_refcursor)
    IS
    stmt VARCHAR2(9272);
    V_EMPID VARCHAR2(100);
    BEGIN
    V_EMPID :=EMPID;
    stmt := 'select * from TEST123 where Empid is NOT NULL';
    IF V_EMPID <> '-1' THEN
    stmt := stmt || ' and Empid in (:1)';
    ELSE
    stmt := stmt || ' and -1 = :1';
    END IF;
    OPEN rc FOR stmt USING V_EMPID;
    END Z_TEST;
    ============================================================
    Script for create table
    ==================================================================
    CREATE TABLE TEST123 (
    EMPID VARCHAR2(10 BYTE),
    DEPT NUMBER(3,0)
    ===========================================
    Insert into PDEVUSER.TEST123 (EMPID,DEPT) values ('1',20);
    Insert into PDEVUSER.TEST123 (EMPID,DEPT) values ('2',10);
    Insert into PDEVUSER.TEST123 (EMPID,DEPT) values ('3',30);
    Insert into PDEVUSER.TEST123 (EMPID,DEPT) values ('3',30);
    Insert into PDEVUSER.TEST123 (EMPID,DEPT) values ('2',10);
    =============================================
    Select * from TEST123 where Empid in (1,2,3)
    EMPID DEPT
    1     20
    2     10
    3     30
    3     30
    2     10
    ===================================================================
    Any suggestion why the procedure doen't works when input EMPID := '1'',''2';?
    Thank you,

    The whole scenario is a little strange. When I tried to compile your procedure it couldn't compile, but I added the missing info and was able to get it compiled.
    create or replace PROCEDURE TEST (EMPID IN VARCHAR2, rc OUT sys_refcursor)
    IS
      stmt        VARCHAR2 (9272);
      V_EMPID     VARCHAR2 (100);
    BEGIN
      V_EMPID := EMPID;
      stmt := 'select * from TEST123 where Empid is NOT NULL';
      IF V_EMPID = '-1' THEN
        stmt := stmt || ' and Empid in (:1)';
      ELSE
        stmt := stmt || ' and -1 = :1';
      END IF;
      OPEN rc FOR stmt USING V_EMPID;
    END;If you pass in 1 as a parameter, it is going to execute because the statement that it is building is:
    select * from TEST123 where Empid is NOT NULL and -1 = 1Although the syntax is valid -1 will never equal 1 so you will never get any data.
    If you pass in 1,2 as a parameter then it is basically building the following:
    select * from TEST123 where Empid is NOT NULL and -1 = 1,2This will cause an invalid number because it is trying to check where -1 = 1,2
    You could always change your code to:
    PROCEDURE TEST (EMPID IN VARCHAR2, rc OUT sys_refcursor)
    IS
      stmt        VARCHAR2 (9272);
      V_EMPID     VARCHAR2 (100);
    BEGIN
      V_EMPID := EMPID;
      stmt := 'select * from TEST123 where Empid is NOT NULL';
      stmt := stmt || ' and Empid in (:1)';
      OPEN rc FOR stmt USING V_EMPID;
    END;and forget the if v_empid = '-1' check. If you pass in a 1 it will work, if you pass in 1,2 is will work, but don't pass them in with any tick marks.

  • Remove Blank Values from Slicer in Power View

    Hi all,
    I am trying to create a power view report from a power pivot data model. After creating the model when I try to use the slicer in power view I am seeing the Blank record. Then I checked that dimension in model where I don't have any blank value in there.
    Also I checked in fact table where it has a relationship with that dimension and I don't see any blank value there as well.
    I am currently blocked with this issue. Experts please jump in and give some ideas how to remove blank value from there.
    Thanks

    As MM-99 already stated correctly, the BLANK-member is created if there is one or more non-matching row in your fact-table that does not exist in the dimension-table
    maybe you have some issues with upper and lower case?
    or maybe there are some whitespace characters contained in the text?
    to identify the issues you may want to create a calcuated column in your fact-table as =RELATED('DimTable'[MyKeyColumn])
    then you can filter on that column and see if any blank values appear
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • BI and ECC Reconciliation report giving blank value instead of ZERO

    Hi,
      We have a report for reconciliation where in if the ECC and BI balance  matches, it will show Zero (0) in the final field. My question is *for some of them it is showing Zero(0) and for few rows it is givng blank values* even after ECC and BI balance matching...Why is it giving blank instead of showing 0 (ZERO)  ....is there any setting  we need to make??
    point to be noted is only few rows are getting blank and few rows it is showing '0'
    pls suggest...
    Thanks

    Without additional details of the rows that have blanks vs zeros, here is a guess...
    The rows with blank final value have no records in ECC or BI. You can probably define the formula in such a way that it always gives zero for all rows.

  • How to disappear the sub Report if the values are null from db..

    hi.
    i have one requirement ie.
    i put two sub reports at report footer section..
    sub report values are coming from the data base
    Some times  there is no values in data base at sub report two
    plz have a look on below image..it becomes empty.
    can i disappear the sub report if there is no values..
    I need your valuable suggestions..

    Hi
    In your sub reports, you also have to suppress the values (report labels,headings etc) using a formula.
    Go in Report Menu--Section Expert--Suppress -- Formula editor and write the follwoing :
    if Count({Yoursubreportfield)}) > 0 then false else true
    This will suppress your headers and footers or any other secitons which has static information.
    Now in the main report go in section expert and check 'Suppress Blank Sections'
    Also check you have applied New Page before or After for any of your sections.
    --Praveen G

Maybe you are looking for

  • How to update data from a web service

    Hi all, I have a webservice that returns some data as e4x type. I pull the data i need and put it into an object. I manipulate that data, then I want to write it back with another webservice. I get serialization errors when I call the update method.

  • The Headphone Jack Won't let the Apple Earphones Go In Completely.

    I Have A 5s. I have checked the hole to see if their is anything of inside and I haven't found nothing. I have tried using a Q-tip and a tooth pick and still nothing. someone please help me :( I have been trying to listen to music.

  • Aggregate tables

    Hello all, I am currently implementing several aggregates in the repository and I have following question... There is a certain fact table the business model layer with 2 sources. The base table and the aggregate table. This fact table has several me

  • NI error -201133; Input and output on the NI9401

    Former user of Matlab, it is the first time I try to work with the DAQ and national instrument. My device is a NI9401. I want to record the position of 1 optical encoders. For this , the encoder is connected to counter in the 9401. Here is how I proc

  • Search return no results

    Hi i'm trying to find message within the designer headstart forum by entering a search term however whatever search term I use I got no results. What could be cause of this. Could you provide me with any insights. Many thanks in advance Gertjan Hakke