<?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 Help with displaying whole numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266796#M1204410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(SalesQuantity/3 = floor(SalesQuantity/3),SalesQuantity/3)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jul 2010 11:00:57 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2010-07-21T11:00:57Z</dc:date>
    <item>
      <title>Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266795#M1204409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a straight table with an expression which basically just divides SALESQUANTITY by 3. I would like QLIKVIEW to only display the results for this expression if they are whole numbers, i.e.&lt;/P&gt;&lt;P&gt;If the results show&lt;/P&gt;&lt;P&gt;1.333&lt;/P&gt;&lt;P&gt;.333&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;.333&lt;/P&gt;&lt;P&gt;I only want the 4 and 2 to be displayed and the others hidden.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 10:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266795#M1204409</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-07-21T10:52:18Z</dc:date>
    </item>
    <item>
      <title>Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266796#M1204410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(SalesQuantity/3 = floor(SalesQuantity/3),SalesQuantity/3)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266796#M1204410</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2010-07-21T11:00:57Z</dc:date>
    </item>
    <item>
      <title>Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266797#M1204411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That seems to have hidden everything...&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266797#M1204411</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-07-21T11:05:16Z</dc:date>
    </item>
    <item>
      <title>Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266798#M1204412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A cleaner version of the same would be:&lt;/P&gt;&lt;P&gt;if(frac(SalesQuantity/3)=0,SalesQuantity/3)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;if(mod(SalesQuantity,3)=0,SalesQuantity/3)&lt;/P&gt;&lt;P&gt;Play around with the floor(), frac(), and mod() functions until you find something that works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266798#M1204412</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2010-07-21T11:12:59Z</dc:date>
    </item>
    <item>
      <title>Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266799#M1204413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try this, it is working fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a temp table like this&lt;/P&gt;&lt;P&gt;Test:&lt;BR /&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;No, Sales&lt;BR /&gt;1, 466654.5&lt;BR /&gt;2, 53.45&lt;BR /&gt;3, 55&lt;BR /&gt;4, 44&lt;BR /&gt;5, 33&lt;BR /&gt;6, 85&lt;BR /&gt;7, 24.2&lt;BR /&gt;8, 24&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;and used the expression as below&lt;/P&gt;&lt;P&gt;if(Sales/3 = floor(Sales/3), Sales/3)&lt;/P&gt;&lt;P&gt;The straight table displays the No. 5 &amp;amp; 8 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266799#M1204413</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2010-07-21T11:14:07Z</dc:date>
    </item>
    <item>
      <title>Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266800#M1204414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Mod() can take only integers as parameters. Instead you can go for fmod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(fmod(SalesQuantity, 3) = 0, SalesQuantity/3)&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>Wed, 21 Jul 2010 11:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266800#M1204414</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2010-07-21T11:16:51Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266801#M1204415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;mod(Sales,3) is here the best way, and yes, 3 is an integer, Sales must not be an integer!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266801#M1204415</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2010-07-21T11:22:23Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266802#M1204416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i think i understand why this isn't working for me, it needs to be the &lt;STRONG&gt;sum of sales quantity&lt;/STRONG&gt;, not just &lt;STRONG&gt;sales qua&lt;/STRONG&gt;ntity.&lt;/P&gt;&lt;P&gt;How would i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266802#M1204416</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-07-21T11:37:12Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Help with displaying whole numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266803#M1204417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could you this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;if ( mod ( Sales ,1) = 0 , Sales, '')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 13:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-displaying-whole-numbers/m-p/266803#M1204417</guid>
      <dc:creator />
      <dc:date>2010-07-21T13:33:23Z</dc:date>
    </item>
  </channel>
</rss>

