<?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: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70593.aspx</link><pubDate>Mon, 26 Sep 2011 09:43:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70593</guid><dc:creator>adam1v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70593.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70593</wfw:commentRss><description>&lt;p&gt;I wasnt using concat, but there was also a spelling error in my fieldname, all sorted now thanks.&lt;/p&gt;&lt;p&gt;One last (and very last!), the infopath form submits the date as DD/MM/YYYY (I have also checked the formatting), and displays as this, but when saving, the file name gets reverted to YYYY/MM/DD.&lt;/p&gt;&lt;p&gt;I have the date field mapped to a column in sharepoint which also displays it correct, its only in the file name its getting swapped around. Any idea why?&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70592.aspx</link><pubDate>Mon, 26 Sep 2011 09:34:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70592</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70592.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70592</wfw:commentRss><description>&lt;p&gt;Are you using a concat() formula?&amp;nbsp; concat(Fieldname1, &amp;quot; - &amp;quot;, FieldDate)&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70590.aspx</link><pubDate>Mon, 26 Sep 2011 08:55:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70590</guid><dc:creator>adam1v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70590</wfw:commentRss><description>&lt;p&gt;That worked a treat thanks. I was already using that formula, but not wrapping it around the whole (existing) formula.&lt;/p&gt;&lt;p&gt;One last thing, Ive chose to submit this to a sharepoint list, using the file name as:&lt;/p&gt;&lt;p&gt;Fieldname1 - FieldDate&lt;/p&gt;&lt;p&gt;The first field is a location and the second is a date. But when saving I get the NaN as the file name.&lt;/p&gt;&lt;p&gt;Is there a way of getting around this?&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70581.aspx</link><pubDate>Sat, 24 Sep 2011 18:18:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70581</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70581</wfw:commentRss><description>&lt;p&gt;Yeah, just try wrapping that whole formula in number(translate(&lt;strong&gt;&lt;em&gt;formula&lt;/em&gt;&lt;/strong&gt;, &amp;#39;aN&amp;#39;, &amp;#39;0&amp;#39;)).&amp;nbsp; That should work.&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70580.aspx</link><pubDate>Sat, 24 Sep 2011 17:52:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70580</guid><dc:creator>adam1v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70580.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70580</wfw:commentRss><description>&lt;p&gt;Wow, thank you guys, for all your help, the problem is solved.&lt;/p&gt;&lt;p&gt;@Jimmy, Is it possible to add a translation function into this, to convert say.... &amp;quot;aN&amp;quot; to a zero, such that the NaN error would be replaced with a zero if nothing is filled out?&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70575.aspx</link><pubDate>Fri, 23 Sep 2011 17:59:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70575</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70575.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70575</wfw:commentRss><description>&lt;p&gt;Qazi&amp;#39;s approach is clever, but I think you can accomplish this with a single formula:&lt;/p&gt;
&lt;p&gt;(field1 + field2 + ... + field10) div (10 * count((field1 | field2 | ... | field10)[. &amp;gt; 0]))&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70570.aspx</link><pubDate>Fri, 23 Sep 2011 15:22:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70570</guid><dc:creator>adam1v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70570</wfw:commentRss><description>&lt;p&gt;Qazi,&lt;/p&gt;&lt;p&gt;Would you mind explaining on what each of the cells are used for? I can follow it, but just not understand it all fully.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70563.aspx</link><pubDate>Fri, 23 Sep 2011 08:57:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70563</guid><dc:creator>adam1v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70563</wfw:commentRss><description>&lt;p&gt;Qazi,&lt;/p&gt;&lt;p&gt;You are a real gentlemen! I will take a look at the code and compare to what I previously had.&lt;/p&gt;&lt;p&gt;I think I should be able to expand on this.&lt;/p&gt;&lt;p&gt;Many, Many thanks&lt;/p&gt;&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70561.aspx</link><pubDate>Fri, 23 Sep 2011 08:50:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70561</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70561.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70561</wfw:commentRss><description>&lt;p&gt;I have implemented the solution on a mini scale, let me know if you need any explantion.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70517.aspx</link><pubDate>Thu, 22 Sep 2011 08:16:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70517</guid><dc:creator>adam1v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70517</wfw:commentRss><description>&lt;p&gt;Logically thinking, I think it can be achieved by the following info;&lt;/p&gt;&lt;p&gt;I have 10 fields, with 1-10, so the maximum score can only be 100 (providing all fields are used).&lt;/p&gt;&lt;p&gt;What I&amp;nbsp;think I&amp;nbsp;need is &amp;quot;(field1 + field2 + field3 ...+field10) div (100&amp;nbsp;&amp;quot;then some if statments - if field1 = blank -10, if field2 = blank - 10..... if field10 = blank - 10).&lt;/p&gt;&lt;p&gt;Does that make sense?&lt;/p&gt;&lt;p&gt;Any help is really appreciated,&lt;/p&gt;</description></item><item><title>Percentage Calculation only from fields with entries?</title><link>https://www.infopathdev.com:443/forums/thread/70493.aspx</link><pubDate>Wed, 21 Sep 2011 17:27:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70493</guid><dc:creator>adam1v</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70493</wfw:commentRss><description>&lt;p&gt;Hi guys, im a real infopath newbie, on a steep learning curve, but enjoying it so far.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have 10 fields, lets say field1, field2..... field10, each containing a drop down value of 1-10, with an optional blank choice if the particular item is not applicable. (the user might only fill out fields 1 to 5).&lt;/p&gt;&lt;p&gt;I would like to work out a percentage score from the fields which do have figures in.&lt;/p&gt;&lt;p&gt;Firstly, is the above possibly? and secondly, how can I create a percentage from the fields?&lt;/p&gt;&lt;p&gt;please let me know in really simple, easy to follow instructions, as I&amp;#39;ve only been using infopath for a few days.&lt;/p&gt;&lt;p&gt;thanks in advance,&lt;/p&gt;</description></item></channel></rss>