<?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: Count filtered results in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/95281.aspx</link><pubDate>Fri, 17 Jan 2014 03:19:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95281</guid><dc:creator>L Mac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95281.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95281</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Hilary,&lt;/p&gt;&lt;p&gt;I had made the assumption that absolute was needed as i was working in two data sources, and I had already had the count bound to the field where the value for @Project came from.&lt;/p&gt;&lt;p&gt;Issue is now resolved. Thanks for your assistance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;L Mac. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Count filtered results in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/95275.aspx</link><pubDate>Fri, 17 Jan 2014 02:18:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95275</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95275.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95275</wfw:commentRss><description>&lt;p&gt;You are using absolute XPaths instead of relative, and probably need current() here instead of the &amp;quot;.&amp;quot;. I&amp;#39;d guess something like:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;count(xdXDocument:GetDOM(&amp;quot;Maintenance&amp;quot;)/dfs:myFields/dfs:dataFields/d:Issues[@Project = current() and @Resolution != &amp;quot;Fixed&amp;quot;])&lt;/p&gt;
&lt;p&gt;But that would have to be in a control that is bound to your field that has the project in it? It kind of depends where you are using the formula. Feel free to attach your template under the options tab if you&amp;#39;d like me to take a look...&lt;/p&gt;</description></item><item><title>Re: Count filtered results in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/95272.aspx</link><pubDate>Fri, 17 Jan 2014 00:57:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95272</guid><dc:creator>L Mac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95272</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hilary,&lt;/p&gt;&lt;p&gt;Same count in a different form, this time the data source is secondary. Using rules I set the following Count:&lt;/p&gt;&lt;p&gt;&amp;nbsp;count(xdXDocument:GetDOM(&amp;quot;Maintenance&amp;quot;)/dfs:myFields/dfs:dataFields/d:Issues[xdXDocument:GetDOM(&amp;quot;Maintenance&amp;quot;)/dfs:myFields/dfs:dataFields/d:Issues/@Project = . and xdXDocument:GetDOM(&amp;quot;Maintenance&amp;quot;)/dfs:myFields/dfs:dataFields/d:Issues/@Resolution != &amp;quot;Fixed&amp;quot;])&lt;/p&gt;&lt;p&gt;This draws no errors, but returns a value of zero. Is there a problem in the logic? Or am I missing something simple again? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Count filtered results in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/95243.aspx</link><pubDate>Wed, 15 Jan 2014 21:10:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95243</guid><dc:creator>L Mac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95243</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Fantastic!!&amp;nbsp; Makes me feel a little silly when its that simple.&lt;/p&gt;&lt;p&gt;Thanks for the assistance&lt;/p&gt;&lt;p&gt;L Mac. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Count filtered results in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/95233.aspx</link><pubDate>Wed, 15 Jan 2014 15:24:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95233</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95233</wfw:commentRss><description>&lt;p&gt;Maybe:&lt;/p&gt;
&lt;p&gt;count(../../dfs:dataFields/d:Issues[@Resolution != &amp;quot; Fixed&amp;quot;])&lt;/p&gt;
&lt;p&gt;If you want, you can attach your form under the Options tab and I&amp;#39;ll take a look. :)&lt;/p&gt;</description></item><item><title>Count filtered results in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/95223.aspx</link><pubDate>Wed, 15 Jan 2014 07:41:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:95223</guid><dc:creator>L Mac</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/95223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=95223</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a repeating table displaying filtered results, I want to count the results displayed. The table is displaying the desired results.&lt;/p&gt;&lt;p&gt;I have set a field to count these results using &amp;nbsp; count(../../dfs:dataFields/d:Issues/@Resolution[../../dfs:dataFields/d:Issues/@Resolution != &amp;quot;Fixed&amp;quot;])&lt;/p&gt;&lt;p&gt;This returns an error&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;../../dfs:dataFields/dfs:dataFields/d:Issues/@Resolution&amp;quot; does not point to a valid location path of a field or group&lt;/p&gt;&lt;p&gt;Please help. &lt;/p&gt;&lt;p&gt;Using &amp;nbsp; &amp;nbsp; count(../../dfs:dataFields/d:Issues/@ID[../../d:Issues/@Resolution != &amp;quot; Fixed&amp;quot;])&amp;nbsp;&amp;nbsp; the count returns a result, but not a filtered result.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>