<?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: Newbie function questions</title><link>https://www.infopathdev.com:443/forums/thread/105606.aspx</link><pubDate>Tue, 23 Feb 2016 16:04:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105606</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105606.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105606</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I think this will do what you need for the percentage: (Kredittotal - Debettotal) / ((1 - (Kredittotal &amp;lt; 0) * 2) * Kredittotal)&lt;/p&gt;&lt;p&gt;You&amp;#39;ll&amp;nbsp;want to hide the field on the form if it&amp;nbsp;contains&amp;nbsp;&amp;quot;NaN&amp;quot; or &amp;quot;Infinity&amp;quot; - and you may want&amp;nbsp;to set the&amp;nbsp;data type to text to prevent validation errors. There is probably a fancy way to keep the formula from returning errors when Kredittotal is 0, but I am not very math-y. I&amp;#39;m not sure how to get a progress bar from dates.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Newbie function questions</title><link>https://www.infopathdev.com:443/forums/thread/105603.aspx</link><pubDate>Tue, 23 Feb 2016 13:08:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105603</guid><dc:creator>lartsa93</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105603</wfw:commentRss><description>Added the form for inspection.</description></item><item><title>Re: Newbie function questions</title><link>https://www.infopathdev.com:443/forums/thread/105595.aspx</link><pubDate>Mon, 22 Feb 2016 15:39:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105595</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105595.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105595</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Do you mind attaching a copy of your form in a reply, under the Options tab, showing your current attempt?&lt;/p&gt;</description></item><item><title>Newbie function questions</title><link>https://www.infopathdev.com:443/forums/thread/105529.aspx</link><pubDate>Tue, 16 Feb 2016 09:22:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:105529</guid><dc:creator>lartsa93</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/105529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=105529</wfw:commentRss><description>Hi! so i&amp;#39;m trying to calculate percentage between credit and debit. I managed to calculate it in excel (=(H26-G26)/ABS(H26)) but in infopath im completely lost. I tried some thing like this (Kredittotal - Debettotal) / (1 - (Kredittotal &amp;gt; 0) * 2) * Kredittotal. 

Also i&amp;#39;m having problems doing &amp;quot;progress bar&amp;quot;. I&amp;#39;m trying to do a field which shows status as percent (in excel i did it like =(B8-TODAY())/(B8-B7)). B8 and b7 are dates.

thanks!!</description></item></channel></rss>