<?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 Target % Expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612040#M478976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to use a text box to show the % achieved for sales against target.&amp;nbsp; What I have tried for far is =(TARGET/SALES)*100, =sum(TARGET/SALES) and =sum(TARGET/SALES)*100 to see if this would work and it doesn't (surprise surprise)!&amp;nbsp; It either returns a - or a large number.&lt;/P&gt;&lt;P&gt;Can someone advise the best way getting this to show the decimal % or the %?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 10:28:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-20T10:28:08Z</dc:date>
    <item>
      <title>Target % Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612040#M478976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to use a text box to show the % achieved for sales against target.&amp;nbsp; What I have tried for far is =(TARGET/SALES)*100, =sum(TARGET/SALES) and =sum(TARGET/SALES)*100 to see if this would work and it doesn't (surprise surprise)!&amp;nbsp; It either returns a - or a large number.&lt;/P&gt;&lt;P&gt;Can someone advise the best way getting this to show the decimal % or the %?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 10:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612040#M478976</guid>
      <dc:creator />
      <dc:date>2014-02-20T10:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Target % Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612041#M478977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara, try this&lt;/P&gt;&lt;P&gt;=Num(Sum(TARGET)/Sum(SALES),'#,##0%')&lt;/P&gt;&lt;P&gt;and if you want 2 decimal places then =Num(Sum(TARGET)/Sum(SALES),'#,###.##%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Num() function is used to format the individual summed up values for TARGET and SALES.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 10:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612041#M478977</guid>
      <dc:creator />
      <dc:date>2014-02-20T10:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Target % Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612042#M478978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To format a number as % you need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num(myExpression,'#.##0,00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this is only the final part of the problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how your data work but try these expressions in your text box and then combine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(Target) and Sum(Sales) if they work try &lt;/P&gt;&lt;P&gt;SUM(Target) / Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 10:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612042#M478978</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-02-20T10:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Target % Expression help</title>
      <link>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612043#M478979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Subodh Roche, worked a treat!&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 10:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Target-Expression-help/m-p/612043#M478979</guid>
      <dc:creator />
      <dc:date>2014-02-20T10:36:11Z</dc:date>
    </item>
  </channel>
</rss>

