Reporting Services :: Cascading Multi-Value Parameter

Sep 30, 2015

So this is my first time posting on MSDN but I am running into an issue I don't know how to circumvent. This issue isn't causing my report not to run but it makes it very confusing for end users.  I am building a report for a user and he was cascading parameters. The parameters are Department (the Parent), Site (the Child) and Vehicle Class (the grandchild).

Here is my issue: If I select 2 Departments named Dept1 and Dept2, the Site parameter populates. If Dept1 and Dept2 have sites named the same, example fleet, Fleet shows up in the site parameter twice. 

Then the Vehicle Class parameter populates. Now if at those sites they have the same vehicle class, lets say 1/2 ton pickup, 1/2 ton pickup is in the vehicle class parameter twice. 

All three of these parameters are populated by a query and all of the queries are using SELECT DISTINCT. I know I could manually input values for the parameters but there are to many departments and sites and they all vary to much depending on the department. 

Is there a way to to only have distinct values populate the parameter even if the parents have the same child?

View 3 Replies


ADVERTISEMENT

Reporting Services :: Multi Value Cascading Parameters Not Working

Apr 23, 2015

I have created two report parameters and want them as Cascading. District Parameter depends on Region Parameter which should allow Multi selection. When I select single value in Region it works perfectly. But when I choose multiple values, District turns out to be a blank text box. I have used the In clause in my code :

SELECT
DISTINCT
SalesDistrict
FROMDistrict(NOLOCK)
WHERESalesRegion
IN(@SalesRegion)

View 2 Replies View Related

Reporting Services :: Default Value Refreshing In Cascading Parameter (SSRS)

Jul 19, 2011

I have two parameters, lets say P1 and P2. P2 is cascaded with P1. P1 -> P2.

For the parameter P2, the following proterty set are

 1. Multi Select
 2. The default value is all the available value selected (Same dataset is assigned to both "Available Values" and "Default Values")

The data relation be,
P1    P2
A     a
A     b
A     c
A     d
B     a

Now the issue is,

Step 1 : When i choose A in P1 first time, a,b,c and d in P2 are selected
Step 2 : When i change B in P1, a is selected
Step 3 : When i change back to A in P1, only a is selected in P2 (a,b,c and d should be selected)

View 3 Replies View Related

Reporting Services :: Multi-value Parameter Not Passing In Subreport Parameter List

Jul 29, 2015

I have two report , first is main report which is matrix and have one parameter User_ids which is multi value selection and my second report is basic chart of user_wise performance.

Now, my main report (matrix ) works fine for Multiple selection of users and i have putted one textbox on main report chart which has action properties set for chart report, when user click on chart button it must goes to chart with user selected in main report. Now , i have used expression for parameter to send it like ..

=join(parameter!user_id!value,",") which pass selected value to chart 

And when I am selecting single user it passing that value to chart parameter list but , when it is more than one user it errors with conversion failed when converting the nvarchar value '121,128' to data type int. But my chart also works when passing 121,128 in user parameter in preview of report .

View 2 Replies View Related

Reporting Services :: Enable Multi Value Parameter

Apr 2, 2010

I have an SSRS 2005 report that I want to enable for multi value. However, I always run into the issue with the way it passes multiple values. How exactly do I get a multi-value parameter setup and working on both the report AND SQL side?I used the MS example of checking the multi checkbox for the parameter and then using a WHERE Column IN (@MultiParam), but this doesn't work. When you select one item, or is it multiple I can't remember, it fails.

View 29 Replies View Related

Reporting Services :: Can Multi-value Parameter Be Used To Choose Columns

Sep 23, 2015

I want to use a Multi-Value Parameter in a COALESCE statement; e.g.:

SELECT COALESCE (@Selected,NULLIF((COALESCE(A,B,C,D,E,F,0) ^ 1)* COALESCE(H,I,J,0),0)) AS FOO

where @Selected is a list of column names.

View 6 Replies View Related

Reporting Services :: Hide Blank Row With Multi-value Parameter

Jul 20, 2015

I have a Multivalue parameter with 4 available values and have 4 columns in the report that correspond to each of these values.I apply column visibility to each of the 4 columns with the following expression (the number changes for each column

=IIF(InStr("," & Join(Parameters!KPINAME.Value,",")& ",",",1,")>0),False,True)

What I want to do is that if I select a KPI and the Column value is NULL then to hide the row.Obviously if you select multiple KPIs and only 1 of the columns has null value then I wouldn't want the Row hidden.

View 5 Replies View Related

Reporting Services :: Multi Value Integer Parameter For A Report

Jul 2, 2015

I'm building a report and I want to have a parameter that has multiple integer values (not text).I can get it to work just fine if I create a value for each and every numeric value, but I want the user to only see two choices in the dropdown menu (plus the "Select All" that gets automatically created when I tick the box for "Allow multiple values"). How can I make this work?

For example, for my TYPE parameter I'd like something like this:
Label: Tigers
Value: 2
Label: Lions Bears Oh My
Value: 1,3,4,5,6

But I can't seem to set a multiple Value for an integer. And I can't seem to wrap the value with quotes and use Text as the Data Type because it says an error occured during processing (I assume because the field I'm going against is of the Integer format).My query would look something like this (the real one is a lot more complex):

SELECT
v_R_System.Netbios_Name0
,v_GS_COMPUTER_SYSTEM_EXT.PCSystemType0
FROM
v_R_System
INNER JOIN v_GS_COMPUTER_SYSTEM_EXT
ON v_R_System.ResourceID = v_GS_COMPUTER_SYSTEM_EXT.ResourceID
WHERE
v_GS_COMPUTER_SYSTEM_EXT.PCSystemType0 IN (@TYPE)

I've tried different Expressions, filters, options, syntax, and what-not, but I think I'm missing something basic.

View 2 Replies View Related

Reporting Services 2005 Multi-value Parameter Possible Values Search

Apr 21, 2008

Hi there,

I have a problem with multi-value parameter in ReportingServices2005, hope to find a solution here.


if I use ordinary parameter in a report(multi-value checkbox is not selected), after deployment I can click on drop down list and type possible value of that parameter using keyboard(it will be selected from what i typed).


if I use multi-value parameter somewhy it doesn't respond to anything i type from my keyboard.



Why is that?
What should i do to make that multi-value parameter select possible result from what i type?

View 4 Replies View Related

Multi Value For Single Parameter (reporting Services SSRS 2005)

May 1, 2008

Hi,

I'm using SSRS 2005 which connects to SQL Server 2005. I need to pass Multi valus for single parameter...

E.g. Command type : Text
SELECT * FROM COUNTRY where CountryId IN ( @CountryID)

If i tried to preview using single parameter, it shows the record without any problem. However when i tried to put multi values, it gives error message?? I read somewhere which says, need to set to multivalue. But, i could not find the place to set the multi value option...


How to solve it?? Your suggestion/recommendations greatly appreciated.

Thanks
rama


View 5 Replies View Related

Reporting Services :: How To Create Multi-valued Parameter For Only One Specific Condition

Jul 21, 2015

I have report where i should create a report which is multivalued parametr report,but here my condition is i want to see only one county name  in my output that is Ex: Asia Specific (CountryName),I dnt want to see the other Country names,So how should we create for this condition .

View 5 Replies View Related

Reporting Services :: SSRS Multi-Value Parameter Feed To Table Value Function

Jul 24, 2015

I have an SSRS report with several variables, some of which are multi-valued.  The main query that feeds the report uses some table value functions.  For example, the query looks something like this:

select tv1.a, tv1.b, tv2.x, tv2.y, tbl.m, tbl.n
from tableValueFunction1(@MultiValueParam) as tv1
inner join tableValueFunction2(@MultiValueParam) as tv2 on tv1.xxx = tv2.xxx
inner join regularTable as tbl on tv1.xxx = tbl.xxx

where tbl.abc in (@MultiValueParam).When I try to run this, I get an error saying that I'm feeding the wrong number of parameters into the table value functions.  I've fed multi-valued parameters to stored procedures before and used a splitter function to split out the comma separated values, so I was planning to do the same thing in this scenario.  However, this is different.  When I look at the query in SQL Profiler, it shows discrete values for the multi value parameter.  For example, the same query above looks like this when viewed through the profiler (using 1,2,3 as my multi-value selection):

select tv1.a, tv1.b, tv2.x, tv3.y, tbl.m, tbl.n
from tableValueFunction1(1,2,3) as tv1
inner join tableValueFunction2(1,2,3) as tv2 on tv1.xxx = tv2.xxx
inner join regularTable as tbl on tv1.xxx = tbl.xxx
where tbl.abc in (1,2,3)

In other words, SSRS isn't converting the multi-value parameter to a comma separated string, like it normally does.

View 2 Replies View Related

Reporting Services :: Null Value Not Appearing In SSRS Multi-Select Parameter List

Apr 16, 2009

I am trying to get a null value to pass to a multi-select parameter in SSRS 2005.  The multi-select box is getting its possible values from the following query:

SELECT NULL CMP_ID, '<all companies>' COMPANY UNION SELECT DISTINCT T1.CMP_ID, T1.COMPANY FROM VIEWCOMPANYLIST T1 WHERE T1.DIV_ID = 2  ORDER BY 1

This query is pre-pending a row with NULL as the first ID.  The resulting data set is exactly what you would expect - Row 1 has a null in column CMP_ID, and <all companies> in column COMPANY.  All the rest of the rows have proper data. My multi-select parameter box is of type Multi-value Int, with possible values populated by this query and a default of NULL. However, when I preview the report, the <all companies> row disappears. 

It's not even in the list, and it's not getting selected by the default selector.  So, of course, when I try to View Report without selecting anything, I get prompted to select a company. Why the prepended row in my dataset is getting dropped from the multi-select box at display time?  And yes, I have to be able to pass a null value because the stored procedure on which the report is based expects this parameter to be optional.

View 4 Replies View Related

Reporting Services :: SSRS 2012 Multi Value Parameter Value To Be Hidden When Other Values Are Selected From Preview Of Report

Jul 7, 2015

There is a multi value parameter called  "include" in the report where "Allow Multiple Values" is checked and it has 4 Available values as shown in the attached screen shots and preview of the report is also shown .There is no data set for this parameter and the values  will get displayed on the report based on the visibility condition set in the report.Example : If first value  is selected  then 1 is passed and based on the visibility condition set in the report - the report output is displayed.None is default value and has value 4  and when the report is run with this option i.e. "None" then rest three parameter values are not applicable .

Requirement :
-When the end user selects (Select All) Check box then (None)
-check box must be disabled or must not appear for selection for the end user
-When the end user selects check boxes either of the first three except None then also None check box must be disabled or must not appear for -selection for the end user
-when the end user selects a combination of first three then also None check box must be disabled or must not appear for selection for the end user
-The None is set as default with a value as 4 and is applicable only when the user does not select either of the first three values and the report will run.

View 3 Replies View Related

Reporting Services :: SSRS Cascading Parameters

Jun 26, 2015

I am using SSRS 2008 with a SQL Server 2008 R2. It's been many years since i have used SSRS but i have used this and some other reporting tools in the past.I have created a cascading parameters where upon selecting 'ALL' or one of the other values in parameter A , the other values gets displayed in paramter B which is working in the Report builder. i am handling this in the dataset  query where i handle that through a case statement ( something like WHERE 1 = (CASE WHEN @Prm_A = 'ALL' THEN 1 END) OR  column_X= ( CASE WHEN  @Prm_A <>'ALL' THEN   @Prm_A END ).Also tried WHERE @Prm_A = 'ALL' OR column_X=  @Prm_A

This seems to work in the report builder on my machine or when i run it by editing the report on the web, but when i publish it on the report server, i don't see that behavior, meaning it does not cascade. I also tried to simplify it by making the query simple(WHERE column_X=  @Prm_A ),  but it still would not cascade on the web. 

View 2 Replies View Related

Reporting Services On Cube: Stop Parameters From Cascading

Aug 27, 2007

Hello,

I'm using a SSIS cube as source for reporting services. In my DataSet I have 3 parameters: Year, ProductGroup, Product. By default all parameters are cascading when defined on the DataSet. This is great for ProductGroup -> Product, but I don't want it for Year -> ProductGroup (I want to avoid the roundtrip). I removed the link in the generated MDX, I removed the parameters on the DataSet, but when I run the report, ProductGroup is still grayed out until I choose a year.

Suggestions are very welcome...

View 4 Replies View Related

Cascading Parameters In SQL Server Reporting Services 2005

May 29, 2007

I have a Reporting Services 2005 report which uses cascading parameter multi-select drop-down boxes. The report runs perfect after making initial selections. However, each subsequent parameter selection causes the page to refresh to a blank page until the View Report button is clicked. What I would like to happen (which should be the norm) is for the user to be able to make all necessary selections without the page auto-refreshing after each selection. The user would then click the View Report button to regenerate the report. We are currently using reports which contain up to 5 cascading parameters. This becomes very time-consuming when the page refreshes after each selection.



Has anyone come across a solution or code alternative to this problem??



Any help would be most appreciated.



Thank you.



Tony

View 3 Replies View Related

Reporting Services :: Report Not Running After Adding Cascading Parameters

Sep 2, 2015

After adding cascading parameters my report which was running earlier is failing. I'm using Report builder 3.0, windows 2008r2, am running the report from the server

Error message "An error has occurred during report processing.(rsProcessingAborted)

Query execution failed for dataset 'LastName' (rsErrorExecutinGcOMMAND)
Incorrect Syntax near ','."

Is there a way where i can look up the code in xml using report builder or some other way so that i can delete the extra '','.

View 6 Replies View Related

Reporting Services :: Passing Cascading Parameters In Drill Through Subreport

Nov 10, 2015

I have two reports.

1. Main Report
2. Sub Report.

I have cascading parameters in 'Main Report'. When i try to pass cascading parameters in to sub-report, I could pass only 'first parameter' value to sub-report.Is there a way that i can pass cascading parameters to the child report?

View 4 Replies View Related

Reporting Services :: SSRS 2008 R2 Cascading Parameters - Visible Only When Certain Criteria Previously Selected

Oct 22, 2015

I am creating a report where there are 3 tables in one report which have visibility set as an expression so that when a certain criteria is selected in the "Report" parameter, a different table is shown below.  This works as expected.

When table 3 is shown, I want a new parameter to be visible to the user called "Ward" where the user will select the ward they are interested in and the table will display data below just for the ward selected.  However, I don't want the ward parameter visible when either of the other 2 options are selected. Is this possible and how to do this? 

View 3 Replies View Related

Is It A Bug About Scrollbar Of Multi-value Parameter In Reporting Service 2005?

Apr 7, 2008



I met a bug after I have deployed a report to server.



I set a multi-value parameter and get its values from query.



When the query return one result and the returned value longer than 24 chars the value in dropdown list didn't shown but only a scrollbar.



I test many times and found if there are return values more than one or if in debug mode this didn't appear.



Did someone met the same problem and how to solve it?

Thanks

View 5 Replies View Related

Default Parameter Value Is No Longer Part Of Cascading Parameter In SSRS 2005?

Jan 30, 2007

Hi,

I need "conditional" cascading parameters: In Report Manager when one changes parameter 1, parameter 2 get changed based on parameter 1. Optionally, one can also enter values to parameter 2 directly.

I was able to achieve this in SSRS 2000 (SP2) with the following setups. SSRS 2005 and SP1 no longer works - Parameter 2 always shows its default value regardless whether one select a value in Parameter 1 or not.

Parameter 1
available values: from query
default values: non query (specify a value "<None>")
Parameter 2
available values: Non query (no value specified)
default values: from query (based on Parameter 1)

It seems to me that the default value in SSRS 2000 is considered as cascading parameter. But it is no longer the case in SSRS 2005.

Is this a SSRS 2005 bug? is there any other work arounds or suggestions?

Thanks.

Kong

View 6 Replies View Related

Reporting Services :: Preview Has One Extra Parameter Than Parameter List - SSRS

Aug 21, 2015

I am working on existing ssrs report. When I see the preview I could see the extra parameter than the actual parameter. 

How do I know , when this parameter is coming in the preview ?

View 5 Replies View Related

Reporting Services :: Mdx Multi Value In SSRS?

May 30, 2015

I was trying to have multivalue options in a ssrs report, and I used this query  

SELECT {[Measures].[Sales Amount],[Measures].[Tax Amount]} on columns,non empty([Product].[Color].[Color],[Product].[Product Name].[Product Name]) on rows

from
( select 
(STRTOSET(@color))
 on columns
 from [Analysis Services Tutorial])

But the report only showed the default value as an option(in this format [Product].[Color].&[Multi] whic is not presentable),and what I also noticed in the parameter option is that, the available values option is set to none , also when I try to use get from query , it does not give me the vales for the parameters,and when I right click the designer pane it does not have the show hidden dataset option.I have created the parameter with multivalue option. what can I do to get the multivalue option to work.

View 2 Replies View Related

Problem With Select All On 2 Multi-value Cascading Parameters

Aug 27, 2007

Hello,
since some hours I'm struggling with 2 multi-value cascading parameters which default values should be always "Select ALL"

First Parameter:
available vlaues: From query
dataSetsGetCountry (defined as select from tblCountries)
ValueFied:ContryName
LabelField:CountryName
DefaultValues: from Query
dataSetsGetCountry
ValueFied:ContryName

SecondParameter:
available vlaues: From query
dataSetsGetAreas (stored procedure which parameter is the list of the selected countries)
ValueFied:AreaName
LabelField:AreaName
DefaultValues: from Query
dataSetsGetAreas
ValueFied:AreaName

First time I open the report
the first and the second parameters are properly filled and for both parameters "select all" is checked.

I select one option from the first parameter, the second parameter's content change dinamically and "Select All" option is still selected !Cool

Now I change the selection on the first Parameter, by checking AN ANOTHER item from the list , the second parameter list refresh dinamically but "Select all" IS NOT selected and only the item that were previously checked kept the selection !!!NO!!

Is this a bug in Reporting services and I have to say to ther user that is not possible to develop what they would like to have or there is , even programmatically, a way to solve it?

Thankx for any helps!
Marina B

View 7 Replies View Related

Reporting Services :: Share Point List Data Set Parameter Allow Null In Multivalue Drop Down Parameter

Aug 28, 2015

my dataset from sharepoint list. and this dataset value assign to parameter. i want when no any parameter is selected than it should filter like "ALL". when i select alow null value it give me prompt error you  can not select null in multivalue parameter.How can i do it. i am using share point list.

View 3 Replies View Related

Reporting Services :: Hide / Unhide A Parameter Based On Another Parameter?

Oct 18, 2015

I am using reporting services 2012, Can we make visibility of report parameter dynamic, ie can we make parameter visible or hide on certain condition or its visibility depends on other parameters Is this feature  available in any other updated version of ssrs? 

View 2 Replies View Related

Reporting Services :: Displaying Report Parameter Based On Another Parameter

Aug 10, 2015

I am using report builder 3.0.

I have a report parameter called para1 which is a drop-down list and what I want to do is display another report parameter based on the para1 selection.

So for example, para1 contains a, b, c choices.  if a user selects b, I would like para2 to display but if the user selects a or c, I don't want the para2 to display.

View 5 Replies View Related

Reporting Services :: Passing Parameter Via URL Using Javascript - Missing Parameter Value

Dec 3, 2015

Using SQL Server 2008R2 and Report Builder 3.0..I have an action set in a text box of a table. My intent is to pass the value of that text box (which is variable) to a sub-report in a popup window. Here's my code: URL....The parameter of the report I'm trying to open is @SONum.I'm guessing my error is involved in the formatting of how the value of the parameter is being passed. I've also seen examples where the report server and report values were parameterized, but I don't know where to define

Parameters!ServerAddress.Value anywhere.Do I need to have something set up a certain way within the report I'm opening? Here's the report Parameter settings on the report I'm trying to open.

View 3 Replies View Related

Reporting Services :: Adding Dataset Parameter Doesn't Add Report Parameter In Visual Studio 2008 SSRS

Apr 22, 2015

I'll go to a dataset, open up the query designer, add a new parameter, then refresh the fields, but the parameter won't be added as a report parameter.  If I go to the dataset properties under the list of parameters, the value in the dropdown will be blank.  However, sometimes this will automatically add. 

Is this a bug in Visual Studio?  How do I get around this? 

View 3 Replies View Related

Reporting Services :: SSRS - Commas In Multi-Value Parameters

Aug 3, 2015

I have what seems to be a common problem where I have names like "Last, First" that I need to be able to select using a multi-value parameter, which of course, SSRS passes as comma-delimited and gets messed up. I need to find a way to use a different delimiter or pass CHAR(44) instead of the comma, or something. Even worse, some people have suffixes and multiple commas in one name!   

View 4 Replies View Related

Multi Select Doing Strange Things In Reporting Services

Mar 18, 2008

Hi All,

I've got the following situation.

I've got a report that has 3 multiselect parameter selection dropdowns in my report.

Dropdown 3 is depending on the selected values of dropdown 2.
Dropdown 2 is depending on the selected values of dropdown 1.


For example:

In dropdown 1 the values A1 and A2 are available

when I select a value A 1 in dropdown 1 values A1_B1 and A1_B2 are available in dropdown 2

when I select A1 and A2 in dropdown1 values A1_B1, A1_B2, A2_B1 and A2_B2 are available in dropdown 2

when i select A1_B1 in dropdown 2 values A1_B1_C1,A1_B1_C2 are available in dropdown 3
when i select A1_B1 AND A1_B2 IN dropdown2 values A1_B1_C1,A1_B1_C2, A1_B2_C1,A1_B2_C2 are available in dropdown 3



dropdown 1 | dropdown 2 | dropdown 3
A1 | A1_B1 | A1_B1_C1

| | A1_B1_C2
| A1_B2 | A1_B2_C1
| | A1_B2_C2

in the "picture" above I describe the selection i make in the report

so
in dropdown 1 I select A1
in dropdown 2 I select A1_B1,A1_B2
in dropdown 3 I select A1_B1_C1,A1_B1_C2,A1_B2_C1, A1_B2_C2

then the strang happens.

When I look in profiler to see what happens, is that for dropdown 2 the second value for the parameter of dropdown 2 is
and for dropdown 3 all except the first one is missing.

The values from the dropdownboxes are passed through to a subreport. When the selected values from dropdown boxes are passed though directly to the datasets this problem doesn't occur.


Is this normal behaviour? Or do I miss something.


Thanks for your help,


Eric

View 1 Replies View Related

Reporting Services :: Multi-value Parameters - How To Not Select One Of Options

May 14, 2015

I have a multivalue parameter that has X options. Is it possible to implement a solution that when I go into the report through an action, to have one option (in this case is the first) not selected all all the others are checked?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved