<?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 dropdown value</title><link>https://www.infopathdev.com:443/forums/thread/99890.aspx</link><pubDate>Mon, 03 Nov 2014 08:55:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99890</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99890</wfw:commentRss><description>&lt;p&gt;Hi Tstellman,&lt;/p&gt;&lt;p&gt;Are you able to work with repeating tables with default values? This way you could easily sum up all the values of a specific column based on the selected answer from&amp;nbsp;the&amp;nbsp;corresponding &amp;nbsp;column. I imagine you formula would look&amp;nbsp;similar to&amp;nbsp;this: &lt;strong&gt;sum(YesValue[DropDown = &amp;quot;Yes&amp;quot;]) &lt;/strong&gt;where YesValue is the value of Yes and the DropDown Is the dropdown with yes or no (you could also use option buttons or check boxes for yes/no or Boolean values). I hope this makes sense.&lt;/p&gt;</description></item><item><title>Sum dropdown value</title><link>https://www.infopathdev.com:443/forums/thread/99865.aspx</link><pubDate>Thu, 30 Oct 2014 17:36:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99865</guid><dc:creator>tstellman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99865.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99865</wfw:commentRss><description>&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I have a
form that I am doing 2 calculations on based on selections of multiple
dropdowns.&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;What
I need is a way to sum the &amp;quot;possible&amp;quot; total of the drop downs.&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I
already hear people saying &amp;quot;You know what the total will be&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;In
this case I won’t, I need to sum the values associated to all the Yes&amp;#39;s and not
the N/A, example&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Field1
Yes=1 No=0 N/A=&amp;quot;&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Field2
Yes=5 No=0 N/A=&amp;quot;&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Possible
total could be 0, 1, 5 or 6 depending on what fields get marked N/A&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I
have a sum that works great based on the actual selection but not the potential
selection.&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Another
way to look at it would be &lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;If
field1&amp;lt;&amp;gt;N/A and field2=N/A potential total = 1&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;If
field1&amp;lt;&amp;gt;N/A and field2&amp;lt;&amp;gt;N/A potential total = 6&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;If
field1=N/A and field2&amp;lt;&amp;gt;N/A potential total = 5&lt;/span&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Thank
you.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="font-size:10pt;"&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;In doing
more digging I think I can pull this off if I can reference an item in the
dropdown specifically.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;So in
dropdown 1 (GI_1) there are 3 options&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;Value&lt;span style="mso-tab-count:1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display Name&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;“”&lt;span style="mso-tab-count:1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;N/A&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;1&lt;span style="mso-tab-count:1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Yes&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;0&lt;span style="mso-tab-count:1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;No&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;Is there a
way to do something like&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;my:PartentObject/my:GI_1[2]
&amp;lt;-index 2?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;I have tried
many variations and always get a reference to my:GI_1 not the options within
it.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span style="font-size:10pt;"&gt;If I can get
the options in GI_1 I can make all of this work&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;</description></item></channel></rss>