|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, January 25, 2013 7:15 AM
Points: 88,
Visits: 186
|
|
Hi
I have created a report in BIDS 2008 that connects via ODBC connection.
I am having issue with the parameters for multiple values. In the Dataset query I have : (M10.PARTNO in (:Alloy))
and in the dataset properites under parameter I have: =join(Parameters!Alloy.Value, ", ")
This works if I select one value from the drop down, but if i select more than one it returns no data.
Can anyone please advise?
Thanks R
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 4:11 AM
Points: 1,474,
Visits: 2,344
|
|
| Try changing =join(Parameters!Alloy.Value, ", ") to just =Parameters!Alloy.Value
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, January 25, 2013 7:15 AM
Points: 88,
Visits: 186
|
|
| Thanks for the reply. Unfortunately still no data. Work if I select one value but more than one gives no data.
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 4:11 AM
Points: 1,474,
Visits: 2,344
|
|
Ok, think you'll need to split the parameter out in the query like the one here
So M10.PARTNO in (:Alloy)) becomes M10.PARTNO in ((SELECT Item FROM dbo.DelimitedSplit8K(:Alloy, ',')))
Assuming you're using MS SQL as your datasource, which I'm not sure you are.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, January 25, 2013 7:15 AM
Points: 88,
Visits: 186
|
|
Thanks
Im writing it against Oracle 11g
Is the "dbo.DelimitedSplit8K" part of the query you have written what I should type or should i replacing it with something else? At the moment it is saying 'Right paraenthisis missing' I have checked and there are the right amount of brackets there.
Thanks Rakhee
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 4:11 AM
Points: 1,474,
Visits: 2,344
|
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Friday, January 25, 2013 7:15 AM
Points: 88,
Visits: 186
|
|
Thank you for your help, I found the issue.
I changed my conenction type to Oracle rather than ODBC and now your first suggestions works.
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 4:11 AM
Points: 1,474,
Visits: 2,344
|
|
|
|
|