<?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: Using Fields in calculations</title><link>https://www.infopathdev.com:443/forums/thread/118893.aspx</link><pubDate>Thu, 26 Apr 2018 21:11:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118893</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118893</wfw:commentRss><description>It may be when you first tried you didn&amp;#39;t have a space around the &amp;quot;/&amp;quot; character on either side. The formula editor would have misinterpreted that as being part of an XPath. :)</description></item><item><title>Re: Using Fields in calculations</title><link>https://www.infopathdev.com:443/forums/thread/118892.aspx</link><pubDate>Thu, 26 Apr 2018 18:32:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118892</guid><dc:creator>mcozz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118892</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Here is the formula and it&amp;nbsp;seems to be working correctly now that I&amp;#39;ve sent you this email.(there are 11 questions)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;1-(TotalOfNo) / 11-(TotalOfNA)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using Fields in calculations</title><link>https://www.infopathdev.com:443/forums/thread/118891.aspx</link><pubDate>Thu, 26 Apr 2018 18:20:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118891</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118891.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118891</wfw:commentRss><description>Sure - just add another field and have the default be TotalOfMDYes + TotalOFMDNo - did you run into an issue when you tried that?</description></item><item><title>Using Fields in calculations</title><link>https://www.infopathdev.com:443/forums/thread/118890.aspx</link><pubDate>Thu, 26 Apr 2018 18:04:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118890</guid><dc:creator>mcozz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118890</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello, I&amp;#39;m passing drop down values to a field and want to use that field in a calculation.&amp;nbsp; Is this possible using calculated value?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Drop down is Yes, No, N/A.&amp;nbsp; I use the count function to count each&amp;nbsp;box that is selected, in this case, Yes =1: &lt;/p&gt;&lt;p&gt;&amp;nbsp;count(MD18[. = 1] | MD23[. = 1] | MD25[. = 1]&amp;nbsp;This total (3) goes to a field called &amp;quot;TotalOfMDYes&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Similarly, &amp;nbsp;I want to pass the total of NO values to a field called &amp;quot;TotalOfMDNo&amp;quot;&amp;nbsp; count(MD18[. = 2] | MD23[. = 2] | MD25[. = 2] | where the drop down value NO = 2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now I want to take the two fields and use them for mathematical operations, for instance:&amp;nbsp;&amp;nbsp;TotalOfMDYes +&amp;nbsp; TotalOfMDNo&lt;/p&gt;&lt;p&gt;Can this&amp;nbsp;be result then be passed to another field called TotalOfAnswers&amp;nbsp;where TotalOfAnswers&amp;nbsp;= TotalOfMDYes +&amp;nbsp; TotalOfMDNo?&lt;/p&gt;&lt;p&gt;&amp;nbsp;I don&amp;#39;t have access or proficiency to code this in Visual Studio, so I need it be done in a calculated field or rule.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>