<?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 Calculated Dimension to be used? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-be-used/m-p/316027#M116595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two intentory files, a file that contains master info (item #, desc, product line and category) and a file that contains qty info(warehouse, qty, ave price)&lt;/P&gt;&lt;P&gt;I have joined them by the item number and have created a straight table and a pivot table.&amp;nbsp; The pivot table has product line and category as dimensions.&amp;nbsp; I would like to limit the product lines displayed without using a list box (i.e. always omit TOOL and SUPP) can I use a calculated dimension to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a straight table listing the items selected.&amp;nbsp; Unfortunately it is also listing the items without an onhand quantity.&amp;nbsp; How can I limit this?&amp;nbsp; I have attached a copy of the object.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Nov 2011 21:21:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-13T21:21:49Z</dc:date>
    <item>
      <title>Calculated Dimension to be used?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-be-used/m-p/316027#M116595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two intentory files, a file that contains master info (item #, desc, product line and category) and a file that contains qty info(warehouse, qty, ave price)&lt;/P&gt;&lt;P&gt;I have joined them by the item number and have created a straight table and a pivot table.&amp;nbsp; The pivot table has product line and category as dimensions.&amp;nbsp; I would like to limit the product lines displayed without using a list box (i.e. always omit TOOL and SUPP) can I use a calculated dimension to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a straight table listing the items selected.&amp;nbsp; Unfortunately it is also listing the items without an onhand quantity.&amp;nbsp; How can I limit this?&amp;nbsp; I have attached a copy of the object.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2011 21:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-be-used/m-p/316027#M116595</guid>
      <dc:creator />
      <dc:date>2011-11-13T21:21:49Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension to be used?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-be-used/m-p/316028#M116596</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;for limiting the dimension, you have to possibilities:&lt;/P&gt;&lt;P&gt;- either use a calculated dimension like&lt;/P&gt;&lt;P&gt;=if(not match(ProductLine,'TOOL','SUPP'),ProductLine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- or use a set expression in (all of) your expressions, e.g.&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;ProductLine -= {SUPP,TOOL} &amp;gt;}QtyOnHand)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(please note that you can't use any of these expressions in a table box, that's the object you put in your sample file, not a pivot table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the straight table, you won't get any rows with zero onhand qty and its related sum(QtyOnHand * IM2_AveCost), if suppress zero values in presentation tab is checked (and it was checked in the sample and I haven't noticed any lines without onhand quantity). Maybe I misunderstood your question, could you point me to a row which is showing the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 00:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-be-used/m-p/316028#M116596</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-14T00:11:24Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension to be used?</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-be-used/m-p/316029#M116597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the solution. As far as the straight table, I checked the box in the Presentation tab - Omit if field is null, and that solved the issue.&amp;nbsp; Once again thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 01:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-to-be-used/m-p/316029#M116597</guid>
      <dc:creator />
      <dc:date>2011-11-14T01:09:50Z</dc:date>
    </item>
  </channel>
</rss>

