<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Displaying UserResponse() Values On Separate Rows</title>
	<atom:link href="http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/</link>
	<description>...you are in a twisty maze of passageways, all different...</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:04:22 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1182</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Tue, 25 May 2010 20:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1182</guid>
		<description>Discussion continues on BOB here:

http://www.forumtopics.com/busobj/viewtopic.php?t=156198</description>
		<content:encoded><![CDATA[<p>Discussion continues on BOB here:</p>
<p><a href="http://www.forumtopics.com/busobj/viewtopic.php?t=156198" rel="nofollow">http://www.forumtopics.com/busobj/viewtopic.php?t=156198</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1181</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Tue, 25 May 2010 20:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1181</guid>
		<description>Why not use:
 
=If ( [State] = ”California” Or [State] = &quot;New York” ) Then Average([Sales Revenue]) Else Sum([Sales Revenue])</description>
		<content:encoded><![CDATA[<p>Why not use:</p>
<p>=If ( [State] = ”California” Or [State] = &#8220;New York” ) Then Average([Sales Revenue]) Else Sum([Sales Revenue])</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhi</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1180</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Tue, 25 May 2010 19:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1180</guid>
		<description>For example take efashion unv 


The prompt is on state:
If the user selects
California 
New York 
Massachusetts 
Texas

The user reponse value will be stored as california;new york;massachusetts;texas 

My requirement is if for california or newyork the aggregation on sales revenue should be average and sum on the other two states. 


Code: 
=If(UserResponse(&quot;State:&quot;)=&quot;California&quot; Or UserResponse(&quot;State:&quot;)=&quot;New york&quot; ) Then Average([Sales Revenue]) Else Sum([Sales Revenue]) 

this formula is not working , iam getting aggregation for sum under sales revenue column as it is taking the else part

Is there something to do user response function because it returns values as california;new york;massachusetts;texas 


could you please post the correct formula 

State Sales Revenue 
California 
New York 
Massachusetts 
Texas

it is really urgent so iam posting  here for your advise</description>
		<content:encoded><![CDATA[<p>For example take efashion unv </p>
<p>The prompt is on state:<br />
If the user selects<br />
California<br />
New York<br />
Massachusetts<br />
Texas</p>
<p>The user reponse value will be stored as california;new york;massachusetts;texas </p>
<p>My requirement is if for california or newyork the aggregation on sales revenue should be average and sum on the other two states. </p>
<p>Code:<br />
=If(UserResponse(&#8221;State:&#8221;)=&#8221;California&#8221; Or UserResponse(&#8221;State:&#8221;)=&#8221;New york&#8221; ) Then Average([Sales Revenue]) Else Sum([Sales Revenue]) </p>
<p>this formula is not working , iam getting aggregation for sum under sales revenue column as it is taking the else part</p>
<p>Is there something to do user response function because it returns values as california;new york;massachusetts;texas </p>
<p>could you please post the correct formula </p>
<p>State Sales Revenue<br />
California<br />
New York<br />
Massachusetts<br />
Texas</p>
<p>it is really urgent so iam posting  here for your advise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1176</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Tue, 25 May 2010 14:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1176</guid>
		<description>Since this is not related to the topic of this post I would suggest that you please consider posting this on &lt;a href=&quot;http://busobj.forumtopics.com&quot; rel=&quot;nofollow&quot;&gt;BOB&lt;/a&gt; where you will have more eyes and brains working on your question. Please include how you are defining the prompt. Also I am not sure why you are using the Match() function since there is no need for wildcards.</description>
		<content:encoded><![CDATA[<p>Since this is not related to the topic of this post I would suggest that you please consider posting this on <a href="http://busobj.forumtopics.com" rel="nofollow">BOB</a> where you will have more eyes and brains working on your question. Please include how you are defining the prompt. Also I am not sure why you are using the Match() function since there is no need for wildcards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhi</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1175</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Tue, 25 May 2010 14:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1175</guid>
		<description>Sorry dave , i posted in the wrong discussion but i need your advise on this

my requirement is 

For example take efashion unv

my requirement is if user selects california or newyork the aggregation on sales revenue should be average and sum on the other two states.but it is taking only the first option for all the states .Is there anything wrong with my formula.

=If(Match(UserResponse(&quot;M:&quot;);&quot;California&quot;) Or Match(UserResponse(&quot;M:&quot;);&quot;New York&quot;)) Then Average(Sales revenue) ElseIf(Match(UserResponse(&quot;M:&quot;);&quot;Massachusetts&quot;) Or Match(UserResponse(&quot;M:&quot;);&quot;Texas&quot;))Then Sum(Sales revenue)

State Sales Revenue

California 7479999
New York 12345 
Massachusetts 758456
Texas 10100001</description>
		<content:encoded><![CDATA[<p>Sorry dave , i posted in the wrong discussion but i need your advise on this</p>
<p>my requirement is </p>
<p>For example take efashion unv</p>
<p>my requirement is if user selects california or newyork the aggregation on sales revenue should be average and sum on the other two states.but it is taking only the first option for all the states .Is there anything wrong with my formula.</p>
<p>=If(Match(UserResponse(&#8221;M:&#8221;);&#8221;California&#8221;) Or Match(UserResponse(&#8221;M:&#8221;);&#8221;New York&#8221;)) Then Average(Sales revenue) ElseIf(Match(UserResponse(&#8221;M:&#8221;);&#8221;Massachusetts&#8221;) Or Match(UserResponse(&#8221;M:&#8221;);&#8221;Texas&#8221;))Then Sum(Sales revenue)</p>
<p>State Sales Revenue</p>
<p>California 7479999<br />
New York 12345<br />
Massachusetts 758456<br />
Texas 10100001</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1173</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Tue, 25 May 2010 04:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1173</guid>
		<description>Hi, this really doesn&#039;t have anything to do with this post. :) Despite that, here&#039;s a thought. Make two variables, one that does a sum() and one that does an average(). Then use an &quot;If&quot; statement to swap out the appropriate variable based on the value of column one.</description>
		<content:encoded><![CDATA[<p>Hi, this really doesn&#8217;t have anything to do with this post. <img src='http://www.dagira.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Despite that, here&#8217;s a thought. Make two variables, one that does a sum() and one that does an average(). Then use an &#8220;If&#8221; statement to swap out the appropriate variable based on the value of column one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhi</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1172</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Mon, 24 May 2010 15:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1172</guid>
		<description>I have a report with 2 columns based on the data in the first column i need to perform either sum or average for the next column 

For example for c1 the aggregation for the next column should be average 
c2 the aggregation for the next column should be sum .....so on 

I have created a variable v1 for user response value on column1 


is there a way where i can mention if v1= c1,c3,c5,c7 then do sum 
else average on the column2</description>
		<content:encoded><![CDATA[<p>I have a report with 2 columns based on the data in the first column i need to perform either sum or average for the next column </p>
<p>For example for c1 the aggregation for the next column should be average<br />
c2 the aggregation for the next column should be sum &#8230;..so on </p>
<p>I have created a variable v1 for user response value on column1 </p>
<p>is there a way where i can mention if v1= c1,c3,c5,c7 then do sum<br />
else average on the column2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1114</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Tue, 27 Apr 2010 13:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1114</guid>
		<description>Hi, Lauren, thanks for your question. All you have to do is use the &lt;code&gt;Replace()&lt;/code&gt; function and substitute the , for the ; instead of the CR/LF combination I showed in the post. This should do it:

&lt;code&gt;=Replace(UserResponse(&quot;Car Makers&quot;);&quot;;&quot;;&quot;,&quot;)&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi, Lauren, thanks for your question. All you have to do is use the <code>Replace()</code> function and substitute the , for the ; instead of the CR/LF combination I showed in the post. This should do it:</p>
<p><code>=Replace(UserResponse("Car Makers");";";",")</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lauren</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1113</link>
		<dc:creator>Lauren</dc:creator>
		<pubDate>Mon, 26 Apr 2010 21:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1113</guid>
		<description>If I want all of the values on one line as shown below...

XYZ123ABC;DEF456HIJ;BOB111BOB

...is there a way to replace the &quot;;&quot; delimiter with a &quot;,&quot;</description>
		<content:encoded><![CDATA[<p>If I want all of the values on one line as shown below&#8230;</p>
<p>XYZ123ABC;DEF456HIJ;BOB111BOB</p>
<p>&#8230;is there a way to replace the &#8220;;&#8221; delimiter with a &#8220;,&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1033</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 10 Mar 2010 19:36:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1033</guid>
		<description>Great tip!! was actually looking to build a multi-line address variable and couldn&#039;t recall the syntax for inserting CR/LF between each element</description>
		<content:encoded><![CDATA[<p>Great tip!! was actually looking to build a multi-line address variable and couldn&#8217;t recall the syntax for inserting CR/LF between each element</p>
]]></content:encoded>
	</item>
</channel>
</rss>
