<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Anyone know how to "average" the data in a repeating section, after it has been filtered?</title><link>https://www.infopathdev.com:443/forums/thread/54653.aspx</link><pubDate>Sat, 08 May 2010 16:43:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54653</guid><dc:creator>Mohamed Derhalli</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54653</wfw:commentRss><description>&lt;p&gt;can you attach your form.. &lt;/p&gt;</description></item><item><title>Anyone know how to "average" the data in a repeating section, after it has been filtered?</title><link>https://www.infopathdev.com:443/forums/thread/54640.aspx</link><pubDate>Fri, 07 May 2010 18:26:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54640</guid><dc:creator>Visfire</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54640.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54640</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve got a repeating section that is filtered by date (using &amp;quot;from&amp;quot; and &amp;quot;to&amp;quot; date elements) -&amp;nbsp; I&amp;#39;m trying to average (in an expression box)&amp;nbsp; the amount of emails per month after I&amp;#39;ve filtered down to month at a time, but the average just gives me the average total record of everything, and not the records that i&amp;#39;ve filtered on- &lt;/p&gt;&lt;p&gt;&amp;nbsp;in the repeating section, &amp;quot;date sent&amp;quot; is the date field that records the date on the individual records..&amp;nbsp;&amp;nbsp;&amp;nbsp; to filter on this information, I&amp;#39;ve added the two elements &amp;quot;startDate&amp;quot; and &amp;quot;endDate&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;In the expression box I have the following&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;avg(dfs:dataFields/d:Campaigns/@Email_attempts[msxsl:string-compare(dfs:dataFields/d:Campaigns/@Date_Sent, ../../../my:startDate) &amp;gt;= 0 and msxsl:string-compare(dfs:dataFields/d:Campaigns/@Date_Sent, ../../../my:endDate) &amp;lt;= 0]) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any help is appreciated! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>