<?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>Tue, 07 Feb 2012 22:18:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: David</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-99721</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 02 Feb 2012 19:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-99721</guid>
		<description>In T-SQL you can also use something like:

(@Param1=&#039;&#039; OR  
  Col1 IN (CASE @param1 WHEN &#039;&#039; THEN &#039;&#039;&#039;&#039;&#039;&#039; ELSE @Param1 END)
)</description>
		<content:encoded><![CDATA[<p>In T-SQL you can also use something like:</p>
<p>(@Param1=&#8221; OR<br />
  Col1 IN (CASE @param1 WHEN &#8221; THEN &#8221;&#8221;&#8221; ELSE @Param1 END)<br />
)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Brown</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-89120</link>
		<dc:creator>Andy Brown</dc:creator>
		<pubDate>Mon, 07 Nov 2011 12:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-89120</guid>
		<description>For more diagrams and examples of using multivalue parameters, see the blog at http://www.wiseowl.co.uk/blog/s187/multivalue-parameters.htm.</description>
		<content:encoded><![CDATA[<p>For more diagrams and examples of using multivalue parameters, see the blog at <a href="http://www.wiseowl.co.uk/blog/s187/multivalue-parameters.htm" rel="nofollow">http://www.wiseowl.co.uk/blog/s187/multivalue-parameters.htm</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khat</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-79830</link>
		<dc:creator>khat</dc:creator>
		<pubDate>Thu, 15 Sep 2011 12:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-79830</guid>
		<description>hi,

in chart (reporting service) . in title text i need to write expression: if parameter  is 1, then title will be &quot;some texts&quot;, if 2 &quot;another test&quot; ... how can i write this expession?</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>in chart (reporting service) . in title text i need to write expression: if parameter  is 1, then title will be &#8220;some texts&#8221;, if 2 &#8220;another test&#8221; &#8230; how can i write this expession?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RonNasty64</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-72080</link>
		<dc:creator>RonNasty64</dc:creator>
		<pubDate>Thu, 07 Apr 2011 19:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-72080</guid>
		<description>It took me about half an hour to this to work. Eventually I broke down each of the parameters of your IIF statement and put them into the footer of my table. Once I was able to get each parameter working, I recombined them into a working IIF statement. Then I copied the working IIF statement into a new row above my table header, and Presto! your code was working as my new report header!

TYVM!</description>
		<content:encoded><![CDATA[<p>It took me about half an hour to this to work. Eventually I broke down each of the parameters of your IIF statement and put them into the footer of my table. Once I was able to get each parameter working, I recombined them into a working IIF statement. Then I copied the working IIF statement into a new row above my table header, and Presto! your code was working as my new report header!</p>
<p>TYVM!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theresa</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-68284</link>
		<dc:creator>Theresa</dc:creator>
		<pubDate>Mon, 15 Nov 2010 14:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-68284</guid>
		<description>Ah very cool solution.  Works great.  Thanks for posting.</description>
		<content:encoded><![CDATA[<p>Ah very cool solution.  Works great.  Thanks for posting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/comment-page-1/#comment-67195</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 30 Sep 2010 22:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.beakersoft.co.uk/2008/01/23/showing-reporting-services-multi-value-parameters/#comment-67195</guid>
		<description>Thanks beakersoft and dragonpixiefire. This is exactly what I needed!</description>
		<content:encoded><![CDATA[<p>Thanks beakersoft and dragonpixiefire. This is exactly what I needed!</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

