Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 SSR 2005 Multivalue parameter
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

United Kingdom
75 Posts

Posted - 08/14/2013 :  05:00:13  Show Profile  Reply with Quote
Hi all,

I have a report about a survey.

In my report i have a question field then i have a matrix table which contains two rows and one column something like this:-

When selecting just a single specialty

Q:- How did you find whatever


Fair Poor Good VeryGood
25% 25% 25% 25%

I have two parameters a sector and a multivalued parameter called specilty. so you select a sector then you have to select a choice of specialty. when i select any one specialty the results are fine but when i select more then one or all of the specilaty the results are not a total of 100% so for example:-

When selecting multiple specialty
Q:- How did you find whatever


Fair Poor Good VeryGood
35% 15% 35% 25%

so when i select the multivalued then i get a total over 100% or below not a whole 100% of the answers based on the question where as when i select a single specialty its fine. So what do i need to do? in my SP i already have used

and whatever IN (select Param from [dbo].[fn_MVParamChar](@specialty,','))

Please help. Thank you

Aged Yak Warrior

549 Posts

Posted - 08/14/2013 :  10:54:58  Show Profile  Reply with Quote
Don't see anything wrong with your where clause,
show us what your select statement looks like.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000