<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Turning a formula into a % in a text box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889699#M309999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num(&lt;SPAN style="font-size: 8pt;"&gt;1-(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Num'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Den'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) ) , '#.##0,0%')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 14:42:03 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-06-01T14:42:03Z</dc:date>
    <item>
      <title>Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889696#M309996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have various text boxes on my dashboard with calculations&amp;nbsp; in them. I have some that are percentages but i cant format them correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1-(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Num'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Den'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;,4 ) &amp;amp; '%' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Rather than 'left' what can i sue to be more accurate, i was thinking a 'round' function? and also the above calculation brings out 0.76%, when i need it to say 76%. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889696#M309996</guid>
      <dc:creator />
      <dc:date>2015-06-01T14:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889697#M309997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use something like num(value, '#.##0,0%').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889697#M309997</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-01T14:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889698#M309998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - i dont understand. Where do i put that in my formula?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889698#M309998</guid>
      <dc:creator />
      <dc:date>2015-06-01T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889699#M309999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num(&lt;SPAN style="font-size: 8pt;"&gt;1-(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Num'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Den'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) ) , '#.##0,0%')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889699#M309999</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-01T14:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889700#M310000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your expression (I'll call exp) is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: added 1-(...)&lt;/P&gt;&lt;P&gt;1- (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;Metric_Part={'Num'}, Metric_Code={'RTT24'}&amp;gt;} Metric_Value)&amp;nbsp; /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;Metric_Part={'Den'}, Metric_Code={'RTT24'}&amp;gt;} Metric_Value )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To format your expression use num function, the format could be #.##0%&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(exp, '&lt;STRONG&gt;#.##0%&lt;/STRONG&gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;To get the right format (bold), open the number tab in a chart, try the different format and when it's correct copy the format pattern&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG __jive_id="88079" alt="1.png" class="jive-image image-1" height="335" src="https://community.qlik.com/legacyfs/online/88079_1.png" style="height: 334.814814814815px; width: 360px;" width="360" /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889700#M310000</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-01T14:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889701#M310001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Format the numbers using Num() like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Num(1-(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'Num'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;BR /&gt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Metric_Part&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'Den'}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Metric_Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={'RTT24'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Metric_Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; ) ), '#,##0.0%')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889701#M310001</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-01T14:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889702#M310002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thanks - that has worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889702#M310002</guid>
      <dc:creator />
      <dc:date>2015-06-01T15:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Turning a formula into a % in a text box</title>
      <link>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889703#M310003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got the answer please close this thread by giving correct and helpful answers to the useful posts, so that it would help others in finding the answers for similar type of questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 06:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Turning-a-formula-into-a-in-a-text-box/m-p/889703#M310003</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-02T06:07:48Z</dc:date>
    </item>
  </channel>
</rss>

