<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sum Calculations from a Repeating Table which is populated from SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/99179.aspx</link><pubDate>Thu, 18 Sep 2014 18:27:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99179</guid><dc:creator>RaYvA</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99179.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=99179</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;GCTEK:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for the replay and apoligise for the slow reply.&amp;nbsp; not had much chance to work on this of late.&amp;nbsp; Im sure I will get to the bottom of it one way or another &lt;/p&gt;&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure what the problem is here, it shouldn&amp;#39;t matter where your data is coming from (your secondary data source) because you should be able to sum anything in you primary data source!!!&lt;/p&gt;&lt;p&gt;I&amp;#39;ve added an example for you to look at.... Let me know if it helps!?!?! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum Calculations from a Repeating Table which is populated from SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/97878.aspx</link><pubDate>Tue, 10 Jun 2014 14:57:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97878</guid><dc:creator>GCTEK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97878.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=97878</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for the replay and apoligise for the slow reply.&amp;nbsp; not had much chance to work on this of late.&amp;nbsp; Im sure I will get to the bottom of it one way or another &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum Calculations from a Repeating Table which is populated from SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/97553.aspx</link><pubDate>Wed, 21 May 2014 04:19:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97553</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97553.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=97553</wfw:commentRss><description>&lt;p&gt;Hi GCTEK,&lt;/p&gt;&lt;p&gt;A conditional sum formula would look like the formula below:&amp;nbsp;&lt;/p&gt;&lt;p&gt;sum(&lt;u&gt;field1[field2 = &amp;quot;Test&amp;quot;]&lt;/u&gt;)&amp;nbsp;&lt;/p&gt;&lt;p&gt;Where field2 will have a condition that it is&amp;nbsp;equal to &lt;strong&gt;Test&lt;/strong&gt;.&lt;strong&gt; &lt;/strong&gt;You can achieve this by adding a &lt;strong&gt;Filter Data&lt;/strong&gt; as shown below:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://s29.postimg.org/ebmq2shyv/Formula.png" alt="" /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;However this approach is tedious as opposed to using an unused column.&lt;/p&gt;&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum Calculations from a Repeating Table which is populated from SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/97524.aspx</link><pubDate>Mon, 19 May 2014 09:09:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97524</guid><dc:creator>GCTEK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=97524</wfw:commentRss><description>&lt;p&gt;Hey,&lt;/p&gt;&lt;p&gt;Thanks for the reply.&amp;nbsp; When you say &amp;quot;Add a condition to your sum formula&amp;quot; what do you mean?&amp;nbsp; I will look at the unused column but im not the DB owner and will have to check with the developer if he is happy for that to happen to store the values.&lt;/p&gt;&lt;p&gt;Thanks again&lt;/p&gt;</description></item><item><title>Re: Sum Calculations from a Repeating Table which is populated from SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/97518.aspx</link><pubDate>Mon, 19 May 2014 02:25:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97518</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97518.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=97518</wfw:commentRss><description>&lt;p&gt;Hi GCTEK,&lt;/p&gt;&lt;p&gt;Since you are using calculated values,&amp;nbsp;you will be unable to use the &lt;strong&gt;sum&lt;/strong&gt; function properly. There are two options you can do, &lt;strong&gt;A)&lt;/strong&gt;&amp;nbsp;add a condition to your sum formula (you&amp;#39;ll also need to include the quantity column here), or &lt;strong&gt;B)&lt;/strong&gt; use an unused column which will hold the&amp;nbsp;total value per row, which you can easily use for the sum function. Is this approach not&amp;nbsp;possible for you? Please let me know.&lt;/p&gt;</description></item><item><title>Sum Calculations from a Repeating Table which is populated from SQL Data</title><link>https://www.infopathdev.com:443/forums/thread/97507.aspx</link><pubDate>Fri, 16 May 2014 15:33:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97507</guid><dc:creator>GCTEK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=97507</wfw:commentRss><description>&lt;p&gt;Hello, &lt;/p&gt;&lt;p&gt;&amp;nbsp;Im trying to get a calculated value to add all the totals from one line as a &amp;quot;final&amp;quot; figure within my InfoPath 2010 form.&amp;nbsp; The data is in a repeating table and i just cant seem to get the calculations correct.&lt;/p&gt;&lt;p&gt;My table is faily basic, and is filtered to only show rows that have specific data. this part is working with no issues. within this table we have a Quantity column and a Unit Price column and a new column was added for &amp;quot;Line Price&amp;quot; which is a calculated value which simply takes the Line Price and multiplys this by Quantity.&amp;nbsp; this is working fine and the values are all correct.&amp;nbsp; What i want is that at the bottom of this table to have a TOTAL which is the Line Price for each line totalled up. I have added a Footer line to the table and created a new field for my TOTAL but i cant use the &amp;quot;sum&amp;quot; function to add up the calculated values. The Data Connection is Receiving data from SQL.&lt;/p&gt;&lt;p&gt;Any advice greatly appriciated&lt;/p&gt;</description></item></channel></rss>