<?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: Adding percentges together but getting a decimal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102593#M751910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Count({&amp;lt;SelfHarmAct_ID = {'1'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'1'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;,'##.##%')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2018 13:19:12 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-11-02T13:19:12Z</dc:date>
    <item>
      <title>Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102586#M751903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to add up percentages as seen below but when I go to add I'm getting the decimal point rather than percentage if that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example instead of returning 9.18% (total of both) it is returning&amp;nbsp; 0.918.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it probably the code I need to change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102586#M751903</guid>
      <dc:creator>sweens78</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102587#M751904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it giving you 0.918 or 0.0918? Because a decimal representation of 9.18% will be 0.0918. If this is what you see, then all you need is a Num function around your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Expression, '#.##%')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 12:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102587#M751904</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-02T12:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102588#M751905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny apologies I never included the below, Im still getting the decimal point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= '1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '1', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= '1', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&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;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= '2' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '1', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '2' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= '1', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),'##.##%') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 12:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102588#M751905</guid>
      <dc:creator>sweens78</dc:creator>
      <dc:date>2018-11-02T12:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102589#M751906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;((Count({&amp;lt;SelfHarmAct_ID = {'1'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'1'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'##.##%')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102589#M751906</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-02T13:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102590#M751907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny what can I say,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brilliant that's working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102590#M751907</guid>
      <dc:creator>sweens78</dc:creator>
      <dc:date>2018-11-02T13:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102591#M751908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102591#M751908</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-02T13:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102592#M751909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny apologies If I was to add another line as below, am I wrong with my brackets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;BR /&gt; ((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;BR /&gt; +&lt;BR /&gt; &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'2'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'2'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;BR /&gt; +&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'2'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SelfHarmAct_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'2'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SubstanceMisuseAlsoAFactor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'1'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NEWKEYID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PatientsNotAssessed_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;BR /&gt; &lt;BR /&gt; ,'##.##%'&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;) &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102592#M751909</guid>
      <dc:creator>sweens78</dc:creator>
      <dc:date>2018-11-02T13:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding percentges together but getting a decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102593#M751910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Count({&amp;lt;SelfHarmAct_ID = {'1'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'1'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID))&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} NEWKEYID) - Count({&amp;lt;SelfHarmAct_ID = {'2'}, SubstanceMisuseAlsoAFactor = {'1'}&amp;gt;} PatientsNotAssessed_ID))/(Count(NEWKEYID) - Count(PatientsNotAssessed_ID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;,'##.##%')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-percentges-together-but-getting-a-decimal/m-p/102593#M751910</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-02T13:19:12Z</dc:date>
    </item>
  </channel>
</rss>

