SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

Muj9
Starting Member

United Kingdom
36 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

Matrix:-

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

Matrix:-

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

MuMu88
Aged Yak Warrior

547 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  
 New 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.06 seconds. Powered By: Snitz Forums 2000