<?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 Problem</title><link>https://www.infopathdev.com:443/forums/thread/121940.aspx</link><pubDate>Mon, 11 Nov 2019 18:28:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121940</guid><dc:creator>Fatihteke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121940.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121940</wfw:commentRss><description>Hilary I don&amp;#39;t know how can i thank you? :) its working as like as i want. Thank you so so much. Best Regards</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121938.aspx</link><pubDate>Mon, 11 Nov 2019 15:40:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121938</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121938</wfw:commentRss><description>sum(../d:SharePointListItem_RW/d:l8xb[../d:Title = current()/d:Title]) - note how my formula goes up to the repeating node to summarize - ../d:SharePointListItem_RW</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121937.aspx</link><pubDate>Sun, 10 Nov 2019 19:10:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121937</guid><dc:creator>Fatihteke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121937.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121937</wfw:commentRss><description>Yes Hilary its correct. But your formule summirized &amp;quot;Name&amp;quot; I want to for product Numbers. If I change the code for numbers like this &amp;quot;sum(d:l8xb[../d:Title = current()/d:Title])&amp;quot; Its only show first number. not sum.</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121916.aspx</link><pubDate>Thu, 07 Nov 2019 23:22:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121916</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121916.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121916</wfw:commentRss><description>Ok. So the data is directly entered into the SharePoint list and you are just using the InfoPath form to display the data summarized. Is that correct? If so - try this copy, where I have added the calculated field for you with the formula I&amp;#39;ve suggested. Save the form locally. Right click the template and select Design. Then you can preview and see if it works as anticipated.</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121915.aspx</link><pubDate>Thu, 07 Nov 2019 20:17:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121915</guid><dc:creator>Fatihteke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121915.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121915</wfw:commentRss><description>Actualy I want to create this form for custormers purchaces. One person will add lines to my list everyday custormers purchaces. My target to sum all products count which have same code. For example today I create 3 order for 3 different customer and products codes is A1,B1,C1. and item count A1=10,B1=20,C1=30 tomorrow i insert to new lines to mo sharepoint list and A1=100,B1=30 and of day manager must to see we need 110 A1 product, 50 B1 product an 30 C1 product. After that manager will give order to producer and request them correct count. 1 week later procuder send A1 and B1 products to us and we click the checkbox &amp;quot;order complate&amp;quot; and we will see only C1 product for complate. This will continue forever.</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121914.aspx</link><pubDate>Thu, 07 Nov 2019 19:59:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121914</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121914.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121914</wfw:commentRss><description>My example is bound to the main data source for a reason. Do you need to store the data the user enters into that count field? Because data entered into secondary data source fields won&amp;#39;t get saved when the form is submitted.</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121913.aspx</link><pubDate>Thu, 07 Nov 2019 19:55:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121913</guid><dc:creator>Fatihteke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121913</wfw:commentRss><description>and if i insert summary column in my sharepoint list i couldn&amp;#39;t control it for formule.</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121912.aspx</link><pubDate>Thu, 07 Nov 2019 19:53:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121912</guid><dc:creator>Fatihteke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121912</wfw:commentRss><description>Yes Field2 is not repeating table. Because its Count&amp;#39;s target. Count is calculated value and Xpath is Filed2. And Field2 formule i write it above.  I am confuse because in your example you create field3 and field3 is calculating. I think so my mistake is filed2 must be in rebeating table rigth?</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121910.aspx</link><pubDate>Thu, 07 Nov 2019 19:30:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121910</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121910.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121910</wfw:commentRss><description>That screen shot is of field2, which is not repeating, and doesn&amp;#39;t show the XPath, which based on what I saw and what was in the form, is not what I pasted in. Can you try the XPath I pasted in for your expression box in your repeating table? Instead of field2?</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121909.aspx</link><pubDate>Thu, 07 Nov 2019 19:22:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121909</guid><dc:creator>Fatihteke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121909.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121909</wfw:commentRss><description>Hello Hilary, Its already like that.I used same code like you.</description></item><item><title>Re: Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121907.aspx</link><pubDate>Thu, 07 Nov 2019 15:34:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121907</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121907.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121907</wfw:commentRss><description>The main issue I see here is that field2 is not repeating, so I&amp;#39;d guess it would always display the same value. My guess would be you could use this for your calculated value in the &amp;quot;Filtered&amp;quot; table: sum(../d:SharePointListItem_RW/d:l8xb[../d:xqnm = current()/d:xqnm])</description></item><item><title>Sum Problem</title><link>https://www.infopathdev.com:443/forums/thread/121905.aspx</link><pubDate>Wed, 06 Nov 2019 18:44:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121905</guid><dc:creator>Fatihteke</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121905</wfw:commentRss><description>Hello Everyone,
I found this article. https://www.infopathdev.com/forums/p/11050/39728.aspx In this article Hilary create awesome template which name is summary.xsn. I want to create same thing but not manuely select. I want to do it with list items. Thats why i copyed code and change it like this

Original:
sum(/my:myFields/my:group1/my:group2/my:field2[../my:field1 = current()/../my:field1])

My Code:
sum(xdXDocument:GetDOM(&amp;quot;Siparis-Data&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:l8xb[xdXDocument:GetDOM(&amp;quot;Siparis-Data&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:xqnm = current()][xdXDocument:GetDOM(&amp;quot;Siparis-Data&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:xqnm])

But it return 0. Where is my mistake? I attach xsn.</description></item></channel></rss>