<?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: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/105548.aspx</link><pubDate>Wed, 17 Feb 2016 15:11:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105548</guid><dc:creator>Eric Dumas</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105548.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105548</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried your solution in vain, can you share the &amp;#39;updated&amp;#39; version for Infopath 2013 ?&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102977.aspx</link><pubDate>Thu, 25 Jun 2015 20:29:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102977</guid><dc:creator>autodafey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102977.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102977</wfw:commentRss><description>Found it!  Thank you!</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102976.aspx</link><pubDate>Thu, 25 Jun 2015 19:24:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102976</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102976.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102976</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;When you select the field after clicking Insert Field or Group in the formula editor dialog, and select the Count field, in the dialog that lets you pick the Count field there should be a button toward the lower left that says &amp;quot;filter data&amp;quot;.&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102972.aspx</link><pubDate>Thu, 25 Jun 2015 19:04:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102972</guid><dc:creator>autodafey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102972.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102972</wfw:commentRss><description>I saw mention of that in an earlier post.  I can&amp;#39;t seem to find a filter data button.  Here&amp;#39;s what my screen looks like.</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102969.aspx</link><pubDate>Thu, 25 Jun 2015 18:51:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102969</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102969.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102969</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Do you select Count, then select the Filter data button, then select Section Type, then the Is Equal To option, then type in the text Needs Improvement?&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102968.aspx</link><pubDate>Thu, 25 Jun 2015 18:44:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102968</guid><dc:creator>autodafey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102968.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102968</wfw:commentRss><description>When I build it myself, I am using the buttons on the fx window to make sure that I am selecting the fields (without the xpath checked).  I didn&amp;#39;t want to inadvertently type something wrong in the syntax.  When I do this without the [] attributes, it seems to work fine, but it doesn&amp;#39;t handle the [] very well if I type it out.  I&amp;#39;m not sure why.  It tells me that the path is wrong.

I literally typed it as sum(Count[SectionType != &amp;quot;Needs Improvement&amp;quot;]) / TotalCount and made sure that the fields underlined.  That&amp;#39;s what caused the error above.</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102967.aspx</link><pubDate>Thu, 25 Jun 2015 17:51:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102967</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102967.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102967</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What kind of errors? What are the steps you are taking when you try to build it yourself? What is the full XPath (check the Edit XPath button) of the expression you end up with when you build it yourself?&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102966.aspx</link><pubDate>Thu, 25 Jun 2015 17:24:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102966</guid><dc:creator>autodafey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102966</wfw:commentRss><description>It&amp;#39;s so weird.  Yours works perfectly, but I kept getting errors when I tried to build the formula myself.</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102958.aspx</link><pubDate>Wed, 24 Jun 2015 23:56:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102958</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102958.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102958</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;So - sum(../my:CategorySummary/my:StudentData/my:Count[../my:SectionType != &amp;quot;Needs Improvement&amp;quot;]) div ../my:TotalCount&lt;/p&gt;&lt;p&gt;would be the sum of the count without Needs Improvement divided by&amp;nbsp;Total Count?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102957.aspx</link><pubDate>Wed, 24 Jun 2015 23:40:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102957</guid><dc:creator>autodafey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102957</wfw:commentRss><description>That works to give me the Needs Improvement.  It&amp;#39;s great.  So, now I need to divide that by TotalCount to get the percentage.  Maybe I just don&amp;#39;t understand how this naming works.</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102955.aspx</link><pubDate>Wed, 24 Jun 2015 21:09:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102955</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102955</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This is in a default in the TotalPerc field, is that right? This XPath validates for me as a default in TotalPerc (XPath will be different if the formula is used someplace else):&lt;/p&gt;&lt;p&gt;sum(../my:CategorySummary/my:StudentData/my:Count[../my:SectionType != &amp;quot;Needs Improvement&amp;quot;])&lt;/p&gt;&lt;p&gt;Uh, that&amp;#39;s a sum of the count field where the section type is not equal to Needs Improvement - I had trouble understanding what you were&amp;nbsp;wanting to sum....&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/102951.aspx</link><pubDate>Wed, 24 Jun 2015 20:06:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102951</guid><dc:creator>autodafey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102951</wfw:commentRss><description>I&amp;#39;m trying to do the same kind of thing and I tried the code exactly as you posted it here.  Downloaded your example and I still get an error that the selection field is not recognized.

What I want to do is sum only those values that are &amp;quot;Outstanding&amp;quot;, &amp;quot;Good&amp;quot;, and &amp;quot;Fair&amp;quot; excluding those that are poor to calculate a percentage score in the middle repeating table and place it in the footer next to the total.  Basically, the score is a percentage of each of those three only divided by the total number.  Since &amp;quot;Needs Improvement&amp;quot; is the only one that I don&amp;#39;t want, I planned to use

1-((sum(Count[SectionType=&amp;quot;Needs Improvement&amp;quot;])/TotalCount)

But, even when I just isolate the formula to
 
sum(Count[SectionType=&amp;quot;Needs Improvement&amp;quot;])

Just to see if it will sum the selection only, I can&amp;#39;t seem to get it to work.  It keeps saying 

../my:CategorySummary/my:StudentData/my:CategorySummary/my:StudentData/my:SectionType&amp;quot; does not point to a valid location path of a field or group.

Even when I select each field and each function from the button, rather than typing it manually.</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/52350.aspx</link><pubDate>Tue, 02 Mar 2010 19:30:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52350</guid><dc:creator>gdgonzal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52350.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=52350</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy...I was wondering if you could help me with this.&amp;nbsp; I have a filter being applied using a date range (see link below) and I want to sum a total within the context of the defined date range parameter.&amp;nbsp; Any idea how to incoporate this in to what I already have below?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://enterprise-solutions.ikreate.nl/infopath2003/filter-repeating-table-date-range-rules.htm"&gt;http://enterprise-solutions.ikreate.nl/infopath2003/filter-repeating-table-date-range-rules.htm&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/52344.aspx</link><pubDate>Tue, 02 Mar 2010 17:24:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52344</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=52344</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Here&amp;#39;s the same form, saved as an InfoPath 2003 form.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Sum values in repeating table based on drop down selection</title><link>https://www.infopathdev.com:443/forums/thread/52343.aspx</link><pubDate>Tue, 02 Mar 2010 17:17:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52343</guid><dc:creator>gdgonzal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52343.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=52343</wfw:commentRss><description>&lt;p&gt;Can you provide an example of this for InforPath 2003?&amp;nbsp; I cannot open the attachment you originally provided, thank you.&lt;/p&gt;</description></item></channel></rss>