<?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 HOW TO CHANGE A NUMBER TO A PERCENTAGE VALUE ???? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/HOW-TO-CHANGE-A-NUMBER-TO-A-PERCENTAGE-VALUE/m-p/193704#M54865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use in the chart dimension as follows:&lt;/P&gt;&lt;P&gt;if(DISCOUNT&amp;lt;=1,(1-DISCOUNT)*100)&lt;/P&gt;&lt;P&gt;Hence,when you click 0.7 , it will calculate as (1.0-0.7)*100 = 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope,this works..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2011 05:10:52 GMT</pubDate>
    <dc:creator>rahulgupta</dc:creator>
    <dc:date>2011-04-01T05:10:52Z</dc:date>
    <item>
      <title>HOW TO CHANGE A NUMBER TO A PERCENTAGE VALUE ????</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-CHANGE-A-NUMBER-TO-A-PERCENTAGE-VALUE/m-p/193703#M54864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys! This is quite a simple question.&lt;/P&gt;&lt;P&gt;Basically, i have a DISCOUNT table, with 3 different DISCOUNT values, namely 0.7, 0.6 &amp;amp; 0.5.&lt;/P&gt;&lt;P&gt;I added this DISCOUNT dimension into a chart. so now what i want is that, when the discount is clicked to 0.7, the value under the DISCOUNT dimension in the chart be changed to 30%.&lt;/P&gt;&lt;P&gt;1)DISCOUNT table click 0.7&lt;/P&gt;&lt;P&gt;2)DISCOUNT dimension in chart, valu is shown as 30%.&lt;/P&gt;&lt;P&gt;is there any formula to make this happen ?&lt;/P&gt;&lt;P&gt;Thanks in advance! =p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 04:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-CHANGE-A-NUMBER-TO-A-PERCENTAGE-VALUE/m-p/193703#M54864</guid>
      <dc:creator />
      <dc:date>2011-04-01T04:30:41Z</dc:date>
    </item>
    <item>
      <title>HOW TO CHANGE A NUMBER TO A PERCENTAGE VALUE ????</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-CHANGE-A-NUMBER-TO-A-PERCENTAGE-VALUE/m-p/193704#M54865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use in the chart dimension as follows:&lt;/P&gt;&lt;P&gt;if(DISCOUNT&amp;lt;=1,(1-DISCOUNT)*100)&lt;/P&gt;&lt;P&gt;Hence,when you click 0.7 , it will calculate as (1.0-0.7)*100 = 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope,this works..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 05:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-CHANGE-A-NUMBER-TO-A-PERCENTAGE-VALUE/m-p/193704#M54865</guid>
      <dc:creator>rahulgupta</dc:creator>
      <dc:date>2011-04-01T05:10:52Z</dc:date>
    </item>
    <item>
      <title>HOW TO CHANGE A NUMBER TO A PERCENTAGE VALUE ????</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-TO-CHANGE-A-NUMBER-TO-A-PERCENTAGE-VALUE/m-p/193705#M54866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul, thanks for the reply!&lt;/P&gt;&lt;P&gt;This solution is not entirely correct, the correct one is,&lt;/P&gt;&lt;P&gt;1) if(DISCOUNT&amp;lt;=1,(1-DISCOUNT))&lt;/P&gt;&lt;P&gt;2) go to NUMBER, choose the DISCOUNT EXPRESSION, click FIXED TO, Under FORMAT PATTERN, type #,##0, then click the SHOW IN PERCENT (%) box.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;And another thing, this works for every value, other than 1.&lt;/P&gt;&lt;P&gt;Can i ask for a help, can you give me an expression which has,&lt;/P&gt;&lt;P&gt;if(DISCOUNT&amp;lt;=1,(1-DISCOUNT))&lt;/P&gt;&lt;P&gt;and also including an expression which is, when Discount = 1, the data displayed would be, NO DISCOUNT.&lt;/P&gt;&lt;P&gt;can this be done ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 06:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-TO-CHANGE-A-NUMBER-TO-A-PERCENTAGE-VALUE/m-p/193705#M54866</guid>
      <dc:creator />
      <dc:date>2011-04-01T06:07:13Z</dc:date>
    </item>
  </channel>
</rss>

