<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: repeating table average with N/A field</title><link>https://www.infopathdev.com:443/forums/thread/40713.aspx</link><pubDate>Sat, 18 Apr 2009 05:33:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40713</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40713.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=40713</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Add the following expression as the default value to the average field.&lt;/p&gt;
&lt;p&gt;xdMath:Avg(../my:group7/my:group8/my:field7[. != &amp;quot;N/A&amp;quot;])&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here group8 is repeating table and field7 is the rating scale field.&lt;/p&gt;
&lt;p&gt;Hope it will solve your problem.&lt;/p&gt;</description></item><item><title>repeating table average with N/A field</title><link>https://www.infopathdev.com:443/forums/thread/40689.aspx</link><pubDate>Fri, 17 Apr 2009 14:56:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40689</guid><dc:creator>mattb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=40689</wfw:commentRss><description>&lt;p&gt;I have a repeating table with an average field.&amp;nbsp; Each row has a rating scale 1 - 5 plus an N/A field.&amp;nbsp; My average function works well but I can&amp;#39;t figure out how to ignore the &amp;quot;N/A&amp;quot; field.&amp;nbsp; If value is set to&amp;nbsp;0 then the average is wrong.&amp;nbsp; How can I set the &amp;quot;N/A&amp;quot; field to a value with will not effect the average?&lt;/p&gt;
&lt;p&gt;-Thanks&lt;/p&gt;</description></item></channel></rss>