<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11384.aspx</link><pubDate>Thu, 29 Mar 2007 13:36:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11384</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11384</wfw:commentRss><description>I will try it...thanks</description></item><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11383.aspx</link><pubDate>Thu, 29 Mar 2007 08:13:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11383</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11383</wfw:commentRss><description>Hi lou131, &lt;br /&gt;&lt;br /&gt;Why dont you try for applying rules by inserting a button and setting a condion on that. If field1519 = "Targeted" or "Migrations" then set the functionality what ever you want in the field161.&lt;br /&gt;&lt;br /&gt; Hope this will help you.</description></item><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11382.aspx</link><pubDate>Wed, 28 Mar 2007 14:48:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11382</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11382.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11382</wfw:commentRss><description>In addition, the field161 is the actual field doing the calcualations and where I'm trying to get this formaula to work.  I have a deadline so any quick replies is appreciated.</description></item><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11381.aspx</link><pubDate>Wed, 28 Mar 2007 14:29:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11381</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11381</wfw:commentRss><description>Still having issues:&lt;br /&gt;&lt;br /&gt;Repeating Table&lt;br /&gt;&lt;br /&gt;I have a field that is a drop down list.  The choices are Targeted and Migrations(Field1519).  Based on this choice, I want to divide 2 other numberic fields (field160 and field158) and diplay it as a percentage.&lt;br /&gt;  &lt;br /&gt;Any additional help would be appreciated....&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Lou</description></item><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11380.aspx</link><pubDate>Wed, 28 Mar 2007 13:49:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11380</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11380.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11380</wfw:commentRss><description>So would it be something like this:&lt;br /&gt;&lt;br /&gt;sum((field1519[.="targeted"]) field160) / sum((field1519[.="targeted"]) field158)&lt;br /&gt;</description></item><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11379.aspx</link><pubDate>Wed, 28 Mar 2007 13:36:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11379</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11379</wfw:commentRss><description>Ok what you would want to do is put the filter on the field you would want to sum.  You know what you want to do you just need the correct method.&lt;br /&gt;&lt;br /&gt;sum(products[.="good"]) / sum(products[.="bad"])&lt;br /&gt;&lt;br /&gt;When creating you formula and selecting the fields select the Filter Data button in the bottom left of the window and then put in your criteria that would limit the fields returned. &lt;br /&gt;Such as field = "Targeted"</description></item><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11378.aspx</link><pubDate>Wed, 28 Mar 2007 13:21:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11378</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11378</wfw:commentRss><description>Contains field name, "Targeted") ??? sum(field name) / sum (field name).&lt;br /&gt;&lt;br /&gt;It seems that I can't link both functions together.  The question marks above is where I'm having an issue.  Basically, I'm trying to do an If then calculation.  If a feild equals a certain text, then do a certain calculation.</description></item><item><title>Re: Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/11377.aspx</link><pubDate>Wed, 28 Mar 2007 13:12:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11377</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11377.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11377</wfw:commentRss><description>Can you give us an example?  What do you have so far and what are you trying to get?</description></item><item><title>Contains function + Sum function</title><link>https://www.infopathdev.com:443/forums/thread/6154.aspx</link><pubDate>Wed, 28 Mar 2007 13:06:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6154</guid><dc:creator>lou131</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6154</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I'm trying to tie a Contains function with a Sum function and can't seem to figure out the prefix between both functions to make it work.&lt;br /&gt;&lt;br /&gt;Any suggestions....&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Lou</description></item></channel></rss>