<?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 unique rows</title><link>https://www.infopathdev.com:443/forums/thread/100094.aspx</link><pubDate>Mon, 17 Nov 2014 17:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100094</guid><dc:creator>SusanP</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100094</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Most helpful.&amp;nbsp; Thank you!!&lt;/p&gt;</description></item><item><title>Re: sum unique rows</title><link>https://www.infopathdev.com:443/forums/thread/100091.aspx</link><pubDate>Mon, 17 Nov 2014 15:11:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100091</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100091</wfw:commentRss><description>&lt;p&gt;Hi Susan,&lt;br /&gt;&lt;br /&gt;I am attaching a form which uses a hidden field (field 3) as basis if items in field 1 did repeated or not.&amp;nbsp;A repeated value returns1, and if it did not repeat, field 3 is equal to 0. Hope this helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;</description></item><item><title>sum unique rows</title><link>https://www.infopathdev.com:443/forums/thread/100035.aspx</link><pubDate>Wed, 12 Nov 2014 22:36:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100035</guid><dc:creator>SusanP</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100035.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100035</wfw:commentRss><description>&lt;p&gt;I have a form with a repeating table of projects with budgets, and&amp;nbsp;a project may be&amp;nbsp;selected more than once:&lt;/p&gt;&lt;p&gt;field1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;field2&lt;br /&gt;Project A&amp;nbsp;&amp;nbsp; $20&lt;br /&gt;Project B&amp;nbsp;&amp;nbsp; $30&lt;br /&gt;Project A&amp;nbsp;&amp;nbsp; $20&lt;br /&gt;Project C&amp;nbsp;&amp;nbsp; $10&lt;/p&gt;&lt;p&gt;I want to sum field2 for the UNIQUE projects selected, e.g.&amp;nbsp; A + B + C = $60 (not A + B + A + C = $80)&lt;/p&gt;&lt;p&gt;this doesn&amp;#39;t sum anything:&amp;nbsp; sum(my:group1/my:group2/my:field2[../my:field1[current()] != preceding-sibling::my:field1])&lt;/p&gt;&lt;p&gt;any ideas?&amp;nbsp; thank you!&lt;/p&gt;</description></item></channel></rss>