Hi,
I have a following stored procedure, I am passing two parameters from the drop down list by using a different dataset. User is selecting multiple values from drop down list in reporting services fromcode a drop down and code b drop down.
I have put the JOIN(Parameters!qual_codea.Value,",") in dataset property for both parameters. But it is only displaying first row in the report. In report I have used simple table and Drag Total, Qualification Code A and Qualification Code B in three columns respectively.
Any Idea why it is not displaying the remaining data for other codes selectedfrom drop down. If i run a query in management studio by using in operation with multiple codes, it display multiple rows which is correct but it is not happening in reporting services.
Any Idea?
ALTER PROCEDURE [dbo].[Multiple_Qualification_Summary] ( @qual_codea nvarchar(10), @qual_codeb nvarchar(10) ) AS select DISTINCT COUNT(b.PRN) as Total ,A.UKCC_Qualification_Code AS 'Qualification Code A' ,b.UKCC_Qualification_Code as 'Qualification Code B' from dbo.Practitioner_Register_Part_Status as a, dbo.Practitioner_Register_Part_Status as b, dbo.Qualification_Register_Part as c where a.PRN = b.PRN and a.UKCC_Qualification_Code = @qual_codea and b.UKCC_Qualification_Code = @qual_codeb AND A.IsLatest = 1 AND B.IsLatest = 1 AND A.UKCC_Qualification_Code = C.UKCC_Qualification_Code AND C.QUALIFICATION_ACTIVE_SWITCH = 1 group by A.UKCC_Qualification_Code ,b.UKCC_Qualification_Code order by 1
MH