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

Similar Messages

  • How to Get ZERO and Non-ZERO Values in rowcount using Group by?

    Dear All,
    How can I get Non-ZERO and ZERO row count values in SQL using Group by? I can get non-zero values but when I want NULL should be returned to non-zero values it is ignoring ZERO values in output?
    Any hint?
    Thanks
    GQ

    Hi,
    Something like
    select count(case col
                    when 0
                    then 1
                  end) zero_count,
           count(case nvl(col,1)
                    when 0
                    then null
                    else 1
                  end) nonzero_countRegards
    Peter

  • Concatenating context value and non-context value

    Hi,
    I have a context binding to one of the input field(lets say field-X) and also I have another dropdown list UI element(lets say field-Y) which is not bound to any context.  When a user enters values in field-X and selects a item from field-Y hits the save button, I need to concat "Field-X - Field-Y" and assign this concatenated value to field-X context.  So in a road-map (next screen) when I retrieve field-X context value it should have concatenated value of dropdown UI element as well.
    Where do I do this concat (I mean which method e.g. WDModify) and how do I do it?
    Thanks
    Praveen.

    Hi Praveen,
    What do you mean by field-Y is not bound to any context?? I am sure you would have atleast bound the selectedKey property of the dropdown list with some attribute of the context.
    For concatinating the fileds you have to write the code on the onAction function of Save button which is taking you to the next screen of the road map. On the onActionSave() you have to get the values of the currently selected input field and the dropdown value. Then you have to concatenate the values and set it in some attribute from where you can pick it in the next screen.
    Please use this code in onActionSave() method:
    // Get the value of the currently entered value of the input field from the attribute which is bound to the input field. I am assuming the name of the attribute as InputFiledValue
    String inpValue = wdContext.currentContextElement().getInputFiledValue();
    // Get the value of the currently selected value of the drop down field from the attribute which is bound to the drop down field. I am assuming the name of the attribute as DropDownValue
    String dropDpwnValue = wdContext.currentContextElement().getDropDownValue();
    // Concatenate with "-" in between
    String concatenatedValue = inpValue+ " - " + dropDpwnValue;
    // Set the concatenated value to a temporary attribute. This will be accessed in next view of road map.
    wdContext.currentContextElement().setConcatenatedValue(concatenatedValue);
    // OR if you want to save in same inputfield Attribute then also you can do that.
    // use the similar code as above. see this:
    // wdContext.currentContextElement().setInputFiledValue(concatenatedValue);
    Here I am assuming that the attribute which have bound to the inputfield and dropdown field are directly under the context node. If not then you have to get the values from a specific node. Do it like this:
    // Get the value of the currently entered value of the input field from the attribute which is bound to the input field.
    String inpValue = wdContext.current<NODE_NAME>Element().getInputFiledValue();
    // Get the value of the currently selected value of the drop down field from the attribute which is bound to the drop down field.
    String dropDpwnValue = wdContext.current<NODE_NAME>Element().getDropDownValue();
    In the next view you can get this concatenated value and can use whereever you want. Use following code:
    // To get the value of the concatenated string.
    String value = wdContext.currentContextElement().getConcatenatedValue();
    I hope this solves the issue. Please revert back in case you need any furtehr help on this.
    Thanks and Regards,
    Pravesh

  • Cumulative and non-cumulative for key figure

    Hi,
    In the aggregation tab, we have the aggregate type SUM, Max or Min.
    we also have the comulative/non-cumulative values.
    what's the difference between comulative and non-cumulative values? it would be good to have some example for illustration. and does comulative and non-cumulative have any relation with aggregate type?
    Many Thanks
    Jonathan

    Hi,
    what's the difference between comulative and non-cumulative values?
    Cumulative values are those key figures that are cumulated using all characteristics, thus also using time.
    Example: sales revenue, weight, etc.
    Non-cumulative values are those key figures that are measured in relation to a period in time; that is to say they cannot be meaningfully cumulated over time. Non-cumulative values are summarized over time using so-called exception aggregation.Example:stock quantities/-values, number of employees, account balances, etc.
    Does comulative and non-cumulative have any relation with aggregate type?
    Different types of non-cumulative keyfigures.....are....
    1.Non-cumulativekey figure = cumulative keyfigure with excep.aggregation
    2.Non-cumulativekey figure withassociated singledelta (cumulative)
    3.Non-cumulativekey figure withassociated in-andoutflow(cumulative)
    check these links:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92c0aa90-0201-0010-17b1-bf5b11c71257
    hope it helps...
    Regards
    chandra sekhar
    Edited by: chandra  sekhar t on Nov 28, 2008 2:18 PM

  • Inserting blank values and retrieving blank values

    I really want to Insert blank values into Oracle database,and also want to retrieve blank values from table.
    When I try to insert blank values ,Its inserting null values.
    I don't want to insert null for blank.
    Please provide me solution for this.
    Thank you

    user631179, logically if you have a descrition or other printable
    character column where the value is blanks you do not have a value.
    The data item is logically unknown or non-existent, hence NULL.
    You can assign blanks (spaces) for NULL in the querying program
    like SQLPlus does on display. The Pro*C and other language tools
    provides null indicator bytes for this purpose.
    UT1 > l
      1  select fld1, fld2, rpad(nvl(fld4,' '),10,' '), length( rpad(nvl(fld4,' '),10,' '))
      2* from marktest
    UT1 > /
    FLD1             FLD2 RPAD(NVL(F LENGTH(RPAD(NVL(FLD4,''),10,''))
    one                 1                                          10
    TWO                 2 USER51                                   10
                        4 USER51                                   10HTH -- Mark D Powell --
    Message was edited by: Mark to try to keep the test from requiring scrolling
    mpowel01

  • How to find average for non blank values

    I need to calculate avarage for each restricted key figures. There are some blank values in this restricted key figures. Now I need to sumup and divide by non blank count. Do you know how to do it? How to count non blnak values and find avereage.
    Thanks,
    Phani

    In the properties of Key figure used in column/row, Calculations section, you can maintain calculation type for result as well as single value. There is "Average of all values not equal 0" option is available.
    Rgds,
    Vikram.
    Edited by: Vikram Kate on May 22, 2008 11:23 AM

  • 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.

  • Difference between zero and blank values

    Is there a way for the system to determine the difference between zero and blank values. One can have a zero allowed for the 0 value to actualy be there in the KF but is there a way that a macro can be written by which we can use the differentiation between the zero ( a value) and blank (no value) in the KF
    I have tried to look for an explanation on the service.sap.com and sdn but was not able to find anything.
    Thanks in advance

    Thanks for your reply. You mentioned something about the "fixing" setting that could make the "0" displayed in the planning book. Could you elaborate?
    Also, in the post from user "APO APO" on 5/8, the author seemed to indicate they could see the "0" in the planning book, as quoted below:
    "I have already made the zero allowed arrangement for that in the planning area and can see the 0 values in the planning book but I am not being able to make the macro get the results."
    I just want to find out if there is any way the user can visually distinguish b/w the "0" and blank values. If not, it'll be very confusing to the users. I understand the macros can distinguish b/w them.
    Thanks in advance.

  • Script to replace non-numeric value of column to blank

    Hi
    I want to replace non-numeric value of column to blank. Can any one help me out.
    For example:
    column1
    234 kjnkj 12e
    555565asd44
    1232334343
    Now I want to that update cloumn with blank value which contains non-numeric value in it

    Try the following
    select translate(column1,translate(column1,' +-123456789',' '), ' ') b from dual;                                                                                                                                                                                                           

  • I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    Just to clarify, I am not getting an "!" mark in a triangle, as I read others have experienced.  The screen is just blank except the grey flag in lefthand corner to flag the photo.

  • CO27 is showing blank values in Warehouse,Storage Type and Storage Bin

    Hi Gurus,
    I am using CO27 to generate pick-list for a production order. The pick-list is being used by Warehouse team to Goods Issue for the Production Order.
    However, the problem that I am facing is that in the pick-list generated from CO27 is showing blank values in Warehouse,Storage type and Storage bin.
    So, it is becoming difficult for the Warehouse to do the picking based on this pick-list.
    Could you please advice how the fields Warehouse,Storage Type and Storage bin can be populated in the Production Order pcik-list.
    Is these values are fetched from Material Master data or any other place?
    Thanks & Regards
    Subhasis

    Hello
    You should implement the following note:
    384427 - CO27/COIK: Storage bin is not displayed
    BR
    Caetano

  • Pass blank value to a parameter

    Hello Experts
    I am using Crystal Reports 2008 with SAP BW as a data source.
    SAP query has a string parameter created in it, and I want to apply condition on that parameter.
    If user enters a value which is not in that parameter (field) then report should display all the values.
    I tried writing the formula in record selection however not getting desired results.
    Any help would be highly appreciated.
    Thanks
    Sumit

    Hi Sumit,
    The problem is until CR runs the report it doesn't know what is in the database so it doesn't know it's not a valid value.
    I don't know BW but I would think you have to do this Server side and test the value in it's SQL or what ever it uses and have the query do the "if not.. then... logic.
    Another option may be a List Of Values, CR Parameter. It runs the SQL to populate a list for the user to select from so they can't select an invalid value. Then you may be able to link the CR Parameter to the BW parameter or you may have to remove the Parameter from your BW query and let CR filter client side or if the BW will accept a CR Parameter to filter server side.
    You may want to post your question to the SAP Integration Kit forum also.
    Thank you
    Don

  • 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

  • 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

  • Getting only Blank Values in Crystal Reports

    Hello Experts,
    I have crystal Reports on top of R/3. I am using table called EKKO, When I dragged the LIFNR (Vendor Number) in the report, It's bringing only blank values, I checked in SAP and it has 7000 records.
    For testing I created report with only this EKKO table, but the same thing, it's bringing only 91(Blank) records, I don't have any conditions or anything in my report.
    We are using Business Objects XI3.1, Crystal Reports 2008.
    Could anyone please help me?
    Thanks
    Ravi

    Yes, I created crystal report with only EKKO table. I haven't used any conditions or any parameter, I just dragged LIFNR (vendor Number) in the report and I see only blank values. When I checked in SAP, I have around 8000 records out of 91 records are blank values. So It is bringing only blank values.
    Thanks,
    Ravi

Maybe you are looking for

  • Two values from a LOV to Timecard LDT

    Hi, I have a requirement to pull two values from single LOV to Timecard layout page. e.g.: Suppose we have a LOV field 'emp_number' on layout and this field is getting value from one LOV. Query in LOV shows emp_number and emp_last_name. I want to put

  • ISE 1.2 - Bugs (upgrade)

    1) impossible to set a scheduled backup: calendar window shows "0" insted of the year or randomly "1900"... (forward button works, back button not) clicking "save" is useless as it doesn't respond (FF, Chrome, IE10) 2) Cliking on the nad interface fr

  • Progressive payment term to Vendor

    We have a requirement of payment term to vendor is by progressive payment depend of the percentage of completion. The vendor will bill us 10% w 10%, then when delivery done by 30%, it will bill us another 30% so on so forth. What payment term to be s

  • Viewing jpeg type pictures from a usb drive

    I am wanting a 20"-22" TV that will allow viewing jpeg type pictures from a usb drive. What TV's will support this?

  • Clear reversal item of miro in vendor

    Dear Expert, We booked one purchase entry by MIRO In vendor, then we reverse it by MR8M, now my problem is we could not be able to clear both open item by f-44. If there is any other option ? Please help us. Thanks & Regards Jayesh