<?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: dimension expression using variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394661#M423559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A calculation ... &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;ProductLevel, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductDemand , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductMinLevel , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductOrderPt &lt;/SPAN&gt;are fields&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;max&lt;/STRONG&gt; is a function&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2017 16:19:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-04T16:19:48Z</dc:date>
    <item>
      <title>dimension expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394659#M423557</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;I have a variable called &lt;STRONG&gt;vSurplus&lt;/STRONG&gt; with this definition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ProductSpec = 'DN' or ProductSpec = 'MP' or ProductSpec = 'X' or ProductSpec = 'CL',&amp;nbsp; ProductLevel-max(ProductDemand*3,ProductMinLevel) ,ProductLevel-max(ProductDemand*3,ProductOrderPt) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have a column expression Surplus with this (ProductAvgCost/ProductPerUnit)* $(vSurplus) (works fine)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set the first dimension product acording to this : if ( (ProductAvgCost/ProductPerUnit)* $(vSurplus) &amp;gt;0 and ProductSpec&amp;lt;&amp;gt;'O', Product ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this way I can supress null value ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that does not work ... I always have nothing selected ... Maybe I am not using my variable the good way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 15:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394659#M423557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: dimension expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394660#M423558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the name of the field?&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;ProductLevel-max(ProductDemand*3,ProductMinLevel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ProductLevel-max(ProductDemand*3,ProductOrderPt)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is this some kind of calculation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 15:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394660#M423558</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-04T15:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: dimension expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394661#M423559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A calculation ... &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;ProductLevel, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductDemand , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductMinLevel , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductOrderPt &lt;/SPAN&gt;are fields&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;max&lt;/STRONG&gt; is a function&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 16:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394661#M423559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T16:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: dimension expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394662#M423560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you will need a Aggr() function as calculated dimensions with aggregation functions require you to use Aggr()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3676"&gt;Calculated Dimensions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 16:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394662#M423560</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-04T16:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: dimension expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394663#M423561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ... Reading and experimenting with aggr... will come back if I can't figure it out ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dimension-expression-using-variable/m-p/1394663#M423561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T17:20:48Z</dc:date>
    </item>
  </channel>
</rss>

