<?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: Round numbers (%) in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243644#M517995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny. You are right. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Show Value work only with this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rank(Sum({&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)/ Sum(TOTAL &amp;lt;AREA&amp;gt; {&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)) = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and in Number tab I add Format Pattern 0%. Now this is according to my idea.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2016 13:04:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-28T13:04:43Z</dc:date>
    <item>
      <title>Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243637#M517988</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;SPAN style="font-size: 10pt;"&gt;I try get MAX values in bar chart for each category (picture below). I got it, but I have a problem with round numbers. May I ask for help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This is code, which I need for MAX values in Category in %. It works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;=if(RANK(AGGR(Sum({&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)/ Sum(TOTAL &amp;lt;AREA&amp;gt; {&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE) ,AREA, TYPE)) = 1,rgb(80,80,80))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;p.s. "DATUM_ID" means DATE&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="147788" alt="1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147788_1.JPG" style="height: 342px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 10:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243637#M517988</guid>
      <dc:creator />
      <dc:date>2016-12-28T10:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243638#M517989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are looking to show 94,339622641509% as 94%? May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Num(&lt;/SPAN&gt;Sum({&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)/ Sum(TOTAL &amp;lt;AREA&amp;gt; {&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)&lt;SPAN style="color: #ff0000;"&gt;, '##%')&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or on the Number's tab of the chart properties you can select Integer and then check '&lt;STRONG&gt;Show in Percent (%)&lt;/STRONG&gt;'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243638#M517989</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-28T12:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243639#M517990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I edited my code. It is right:&lt;/P&gt;&lt;P&gt;=if(RANK(AGGR(Sum({&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)/ Sum(TOTAL &amp;lt;AREA&amp;gt; {&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE) ,AREA, TYPE)) = 1,rgb(80,80,80))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but&amp;nbsp; &lt;STRONG style="color: #ff0000; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Num(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;...&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;, '##%') &lt;/STRONG&gt; doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243639#M517990</guid>
      <dc:creator />
      <dc:date>2016-12-28T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243640#M517991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This code is used for background color, right?&lt;/P&gt;&lt;P&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;STRONG&gt;=if(RANK(AGGR(Sum({&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)/ Sum(TOTAL &amp;lt;AREA&amp;gt; {&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE) ,AREA, TYPE)) = 1,rgb(80,80,80))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;You don't need formatting for color.&lt;/SPAN&gt; You need this in your original expression.....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243640#M517991</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-28T12:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243641#M517992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it is code for Show Value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147810_2.JPG" style="height: 555px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243641#M517992</guid>
      <dc:creator />
      <dc:date>2016-12-28T12:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243642#M517993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to set the format for your expression ( Sum({&amp;lt;DATUM_ID = ....), not for the expression attribute 'Show Value'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence add the Num() part to your original expression or set the format accordingly on number tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243642#M517993</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-12-28T12:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243643#M517994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Show Value just specify which value to show, but to format you either need to format your actual expression using Num() function or go to Numbers tab to format it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="147819" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147819_Capture.PNG" style="height: 558px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, show value should work with this only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rank(Sum({&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)/ Sum(TOTAL &amp;lt;AREA&amp;gt; {&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)) = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243643#M517994</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-28T12:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Round numbers (%) in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243644#M517995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny. You are right. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Show Value work only with this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rank(Sum({&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)/ Sum(TOTAL &amp;lt;AREA&amp;gt; {&amp;lt;DATUM_ID = {"&amp;gt;=$(=datum_od) &amp;lt;=$(=datum_do)"}&amp;gt;} PRIJATE)) = 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and in Number tab I add Format Pattern 0%. Now this is according to my idea.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 13:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-numbers-in-expression/m-p/1243644#M517995</guid>
      <dc:creator />
      <dc:date>2016-12-28T13:04:43Z</dc:date>
    </item>
  </channel>
</rss>

