<?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>Tue, 07 Feb 2012 17:17:49 -0600</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-2221</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Tue, 07 Feb 2012 17:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-2221</guid>
		<description>This is a formatting change only. There&#039;s no way that I am aware of to split out user responses into separate values in order to support a cross tab format.</description>
		<content:encoded><![CDATA[<p>This is a formatting change only. There&#8217;s no way that I am aware of to split out user responses into separate values in order to support a cross tab format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sweta</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-2220</link>
		<dc:creator>sweta</dc:creator>
		<pubDate>Tue, 07 Feb 2012 09:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-2220</guid>
		<description>using replace(User response();&quot;;&quot;;Char(13)+Char(10)), i am getting all the values in one cell.... is there any way we can get all the values in different rows?because i want to use the variable in a cross tab.</description>
		<content:encoded><![CDATA[<p>using replace(User response();&#8221;;&#8221;;Char(13)+Char(10)), i am getting all the values in one cell&#8230;. is there any way we can get all the values in different rows?because i want to use the variable in a cross tab.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh</title>
		<link>http://www.dagira.com/2009/11/25/displaying-userresponse-values-on-separate-rows/comment-page-1/#comment-1967</link>
		<dc:creator>Rajesh</dc:creator>
		<pubDate>Thu, 13 Oct 2011 18:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=227#comment-1967</guid>
		<description>This is created in a cell, Can this be introduced as a dimension ?</description>
		<content:encoded><![CDATA[<p>This is created in a cell, Can this be introduced as a dimension ?</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-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>
</channel>
</rss>

