<?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 restrict data in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692275#M250465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;i am a beginner with qlikview. i have a table in my data-warehouse in which i have negative and positive amounts in a columns&lt;/P&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 337px; height: 1px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Type&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;amount sold&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;sales&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;return&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;sales&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want just the positive amounts would be seen in just one of my pivot tables. so i dont want to use a list box and ask the end user to filter on Type=sales&lt;/P&gt;&lt;P&gt;is there any where in pivot table definition window to restrict data shown in it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;Mana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Aug 2014 14:12:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-17T14:12:45Z</dc:date>
    <item>
      <title>restrict data in a table</title>
      <link>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692275#M250465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;i am a beginner with qlikview. i have a table in my data-warehouse in which i have negative and positive amounts in a columns&lt;/P&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 337px; height: 1px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Type&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;amount sold&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;sales&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;return&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-150&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;sales&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want just the positive amounts would be seen in just one of my pivot tables. so i dont want to use a list box and ask the end user to filter on Type=sales&lt;/P&gt;&lt;P&gt;is there any where in pivot table definition window to restrict data shown in it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;Mana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 14:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692275#M250465</guid>
      <dc:creator />
      <dc:date>2014-08-17T14:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: restrict data in a table</title>
      <link>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692276#M250466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mana - This is the Sense forum - I will move your post over to the QlikView forum and also attempt to get you support for your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;Qlik&lt;A href="https://twitter.com/mtarallo"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://twitter.com/mtarallo"&gt;@mtarallo&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 14:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692276#M250466</guid>
      <dc:creator>Michael_Tarallo</dc:creator>
      <dc:date>2014-08-17T14:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: restrict data in a table</title>
      <link>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692277#M250467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I have understood correctly, here's my proposed solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64591" alt="Sold.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64591_Sold.png" style="width: 620px; height: 420px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 14:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692277#M250467</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-08-17T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: restrict data in a table</title>
      <link>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692278#M250468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mana - let me know if this solves your issue -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView has a very power expression syntax known as Set Analysis - it can doing many calculations with the in-memory data model - amazing things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your example - Set Analysis allows you to perform test conditions on your data to get exactly what you are looking for. So for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(AmountSold) -- aggregates amount sold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ({ &amp;lt;AmountSold ={"&amp;gt;=0"}&amp;gt;}AmountSold)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;States - aggregate amount sold where value of amountsold is greater than or equal to 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You add this expression - to the expression box&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64592" alt="cap1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64592_cap1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64593" alt="cap2.JPG.jpg" class="jive-image" height="198" src="https://community.qlik.com/legacyfs/online/64593_cap2.JPG.jpg" style="height: 197.801px; width: 519px;" width="519" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the QVW - but with the free personal edition you are limited to the number of QVWs you can open from others - (if you do not have a license)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 14:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692278#M250468</guid>
      <dc:creator>Michael_Tarallo</dc:creator>
      <dc:date>2014-08-17T14:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: restrict data in a table</title>
      <link>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692279#M250469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have got the point.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;thank you friends.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Mana&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 14:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692279#M250469</guid>
      <dc:creator />
      <dc:date>2014-08-17T14:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: restrict data in a table</title>
      <link>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692280#M250470</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;/P&gt;&lt;P&gt;In your chart properties under expressions tab, use the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeMax(Sum([amount sold]),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Type={"=aggr(Sum([amount sold]), Type) &amp;gt; 0 "}&amp;gt;}[amount sold])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Aug 2014 16:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restrict-data-in-a-table/m-p/692280#M250470</guid>
      <dc:creator>satishkurra</dc:creator>
      <dc:date>2014-08-17T16:16:18Z</dc:date>
    </item>
  </channel>
</rss>

