<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Showing Reporting Services Multi-Value Parameters</title>
	<atom:link href="http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/</link>
	<description>My (mis)adventures in the IT industry</description>
	<lastBuildDate>Sat, 24 Jul 2010 06:07:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Craig M.</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-63918</link>
		<dc:creator>Craig M.</dc:creator>
		<pubDate>Fri, 25 Jun 2010 20:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-63918</guid>
		<description>Thanks, that was very useful.</description>
		<content:encoded><![CDATA[<p>Thanks, that was very useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craig</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-58788</link>
		<dc:creator>craig</dc:creator>
		<pubDate>Thu, 14 Jan 2010 22:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-58788</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shalu david</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-56284</link>
		<dc:creator>Shalu david</dc:creator>
		<pubDate>Wed, 16 Dec 2009 17:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-56284</guid>
		<description>It worked great! Thanks for publishing</description>
		<content:encoded><![CDATA[<p>It worked great! Thanks for publishing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jornt</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-50751</link>
		<dc:creator>Jornt</dc:creator>
		<pubDate>Mon, 12 Oct 2009 13:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-50751</guid>
		<description>For those of you with working with SSAS:

Public Function PresentParameterValues(ByVal strValue As String) As String
    Dim varParams, varParam
    Dim strReturnValue

    strValue = strValue &amp; &quot;&quot;
    
    If Len(strValue) &gt; 0 Then
    
        varParams = Split(strValue, &quot;,&quot;)
    
        For Each varParam In varParams
            If Len(strReturnValue) &gt; 0 Then strReturnValue = strReturnValue &amp; &quot;,&quot;
            
            strReturnValue = strReturnValue &amp; DeriveParameterValue(varParam)
    
        Next
    Else
        strReturnValue = &quot;None&quot;
    End If

    PresentParameterValues = strReturnValue
End Function

Public Function DeriveParameterValue(ByVal strValue As String)
    Do While InStr(1, strValue, &quot;[&quot;)
        strValue = Right(strValue, Len(strValue) - InStr(1, strValue, &quot;[&quot;))
    Loop

    strValue = Left(strValue, InStr(1, strValue, &quot;]&quot;) - 1)
    
    DeriveParameterValue = strValue
End Function</description>
		<content:encoded><![CDATA[<p>For those of you with working with SSAS:</p>
<p>Public Function PresentParameterValues(ByVal strValue As String) As String<br />
    Dim varParams, varParam<br />
    Dim strReturnValue</p>
<p>    strValue = strValue &amp; &#8220;&#8221;</p>
<p>    If Len(strValue) &gt; 0 Then</p>
<p>        varParams = Split(strValue, &#8220;,&#8221;)</p>
<p>        For Each varParam In varParams<br />
            If Len(strReturnValue) &gt; 0 Then strReturnValue = strReturnValue &amp; &#8220;,&#8221;</p>
<p>            strReturnValue = strReturnValue &amp; DeriveParameterValue(varParam)</p>
<p>        Next<br />
    Else<br />
        strReturnValue = &#8220;None&#8221;<br />
    End If</p>
<p>    PresentParameterValues = strReturnValue<br />
End Function</p>
<p>Public Function DeriveParameterValue(ByVal strValue As String)<br />
    Do While InStr(1, strValue, &#8220;[")<br />
        strValue = Right(strValue, Len(strValue) - InStr(1, strValue, "["))<br />
    Loop</p>
<p>    strValue = Left(strValue, InStr(1, strValue, "]&#8220;) &#8211; 1)</p>
<p>    DeriveParameterValue = strValue<br />
End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed Shoukat Ali</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-47189</link>
		<dc:creator>Mohammed Shoukat Ali</dc:creator>
		<pubDate>Wed, 05 Aug 2009 12:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-47189</guid>
		<description>Thank you Dragonpixiefire for your comment, it is working with SSRS2005 also.</description>
		<content:encoded><![CDATA[<p>Thank you Dragonpixiefire for your comment, it is working with SSRS2005 also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dragonpixiefire</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-46910</link>
		<dc:creator>dragonpixiefire</dc:creator>
		<pubDate>Thu, 23 Jul 2009 18:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-46910</guid>
		<description>I&#039;m not sure about SSRS05, but in SSRS08 this expression will work:
iif(Parameters!myParameter.Count=count(Fields!myfield.Value, &quot;myParameterDataset&quot;), &quot;All&quot;, join(Parameters!myParameter.Label, &quot;, &quot;))

And this will prevent you from having to create a seperate dataset to return the count of parameters.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure about SSRS05, but in SSRS08 this expression will work:<br />
iif(Parameters!myParameter.Count=count(Fields!myfield.Value, &#8220;myParameterDataset&#8221;), &#8220;All&#8221;, join(Parameters!myParameter.Label, &#8220;, &#8220;))</p>
<p>And this will prevent you from having to create a seperate dataset to return the count of parameters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muffntuf</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-46710</link>
		<dc:creator>Muffntuf</dc:creator>
		<pubDate>Fri, 17 Jul 2009 18:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-46710</guid>
		<description>Thanks Luke for answering - I did take your code and I got it to work for that integer field. A little finagaling had to happen, but it works and I am very happy with it.

I&#039;ve bookmarked your site, keep up the good work!

Cheers!
muffntuf</description>
		<content:encoded><![CDATA[<p>Thanks Luke for answering &#8211; I did take your code and I got it to work for that integer field. A little finagaling had to happen, but it works and I am very happy with it.</p>
<p>I&#8217;ve bookmarked your site, keep up the good work!</p>
<p>Cheers!<br />
muffntuf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beakersoft</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-46709</link>
		<dc:creator>beakersoft</dc:creator>
		<pubDate>Fri, 17 Jul 2009 17:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-46709</guid>
		<description>Muffntuf, not tried using an integer in the header so i&#039;m not sure how it works. I will have a look and let you know if i come up with anything
Cheers
Luke</description>
		<content:encoded><![CDATA[<p>Muffntuf, not tried using an integer in the header so i&#8217;m not sure how it works. I will have a look and let you know if i come up with anything<br />
Cheers<br />
Luke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muffntuf</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-46660</link>
		<dc:creator>Muffntuf</dc:creator>
		<pubDate>Thu, 16 Jul 2009 19:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-46660</guid>
		<description>Hi,

Have you listed out an interger in a parm display textbox in a header.  You can use &#039;join&#039; to show several values selected in a multi value selection parameter, but you can&#039;t for an integer.  

If you have any help hints on this, that would be great!  Using SRSS2005</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Have you listed out an interger in a parm display textbox in a header.  You can use &#8216;join&#8217; to show several values selected in a multi value selection parameter, but you can&#8217;t for an integer.  </p>
<p>If you have any help hints on this, that would be great!  Using SRSS2005</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RickL</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-41918</link>
		<dc:creator>RickL</dc:creator>
		<pubDate>Wed, 22 Apr 2009 12:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-41918</guid>
		<description>If you like the &#039;All&#039; code to work in the header you can create a second parameter with the same properties as the par_List. The diffrence is that this parameter should be hidden and have default values set from query.

IIF(Parameters!par_ListTotalCount.Count = Parameters!par_List.Count,”All”,Join(Parameters!par_List.Value, “,”))</description>
		<content:encoded><![CDATA[<p>If you like the &#8216;All&#8217; code to work in the header you can create a second parameter with the same properties as the par_List. The diffrence is that this parameter should be hidden and have default values set from query.</p>
<p>IIF(Parameters!par_ListTotalCount.Count = Parameters!par_List.Count,”All”,Join(Parameters!par_List.Value, “,”))</p>
]]></content:encoded>
	</item>
</channel>
</rss>
