<?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: How to count non blank fields in Infopath forms?</title><link>https://www.infopathdev.com:443/forums/thread/75800.aspx</link><pubDate>Tue, 28 Feb 2012 16:18:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75800</guid><dc:creator>TSKoo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=75800</wfw:commentRss><description>&lt;p&gt;Jimmy,&lt;/p&gt;
&lt;p&gt;I need to count a field which will have different values.&amp;nbsp; For example. the value in field&amp;nbsp;paymentstatus.code&amp;nbsp;can be &amp;nbsp;&amp;#39;ISSUED&amp;#39; or &amp;#39;FORMATTED&amp;#39;.&amp;nbsp;&amp;nbsp;Can you tell me the syntax on OR?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried the below&amp;nbsp;statements but it did not&amp;nbsp;work.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&amp;lt;?count(PaymentStatus[Code=&amp;#39;ISSUED&amp;#39;||Code=&amp;#39;FORMATTED&amp;#39;])?&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: How to count non blank fields in Infopath forms?</title><link>https://www.infopathdev.com:443/forums/thread/66393.aspx</link><pubDate>Mon, 09 May 2011 16:03:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66393</guid><dc:creator>B1rds</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66393.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66393</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi Jimmy,&lt;/p&gt;
&lt;p&gt;I have a similar but slightly different probem I have a Group and I have a subset of yes/No fields within that group. My probem long term is that I will have 10 groups and each group will have 5 fields and I want to find a way to count the fields via the group. Hope this makes sense&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;</description></item><item><title>Re: How to count non blank fields in Infopath forms?</title><link>https://www.infopathdev.com:443/forums/thread/56751.aspx</link><pubDate>Mon, 12 Jul 2010 13:30:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56751</guid><dc:creator>benjaminlhlim</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56751</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy for the quick answer, it works&lt;/p&gt;</description></item><item><title>Re: How to count non blank fields in Infopath forms?</title><link>https://www.infopathdev.com:443/forums/thread/56747.aspx</link><pubDate>Mon, 12 Jul 2010 11:54:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56747</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56747.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56747</wfw:commentRss><description>&lt;blockquote&gt;
&lt;p&gt;count((field1 | field2 | field3 | ...)[. != &amp;#39;&amp;#39;])&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If the fields are in a repeating structure:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;count(repeatingField[fieldToCount != &amp;#39;&amp;#39;])&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>How to count non blank fields in Infopath forms?</title><link>https://www.infopathdev.com:443/forums/thread/56745.aspx</link><pubDate>Mon, 12 Jul 2010 11:26:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56745</guid><dc:creator>benjaminlhlim</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56745.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=56745</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have 7 individual fields for keeping track of different rates which will only take values from 1 to 5, I need to sum up the 7 fields and to find the average, the challenge is that not all fields are fill up, therefore I need to know how many fields are not blank, I tried to create a new group and moved all the above 7 fields under this new group and used the Count function but it returns &amp;quot;1&amp;quot; which is not correct. I tried Count (field 1) + .... for seven times but this returns a fix value of 7.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Appreciate if you can assist me, thanks.&lt;/p&gt;</description></item></channel></rss>