<?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: Row condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558797#M1140819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;This only works if &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; X&amp;gt;b+2*c are not calc fields&lt;/SPAN&gt;&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;"&gt;X= sum(K)+ sum(W&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;b=avg(Aggr($(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;W),Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;c=sum(K)/sum(W)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;been going insane on this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 17:21:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-03T17:21:44Z</dc:date>
    <item>
      <title>Row condition</title>
      <link>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558793#M1140815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i this following table and I would like to show only the rows that met this condition : X&amp;gt;b+2*c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 06:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558793#M1140815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-24T06:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Row condition</title>
      <link>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558794#M1140816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are only concerned with returning which dimension values meet the above criteria, do the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your straight table add the following calculated dimension in the dimension tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;aggr(if(&lt;EM&gt;dimension1&lt;/EM&gt;&amp;gt;&lt;EM&gt;field1&lt;/EM&gt;+(2*&lt;EM&gt;field2)&lt;/EM&gt;,&lt;EM&gt;dimension1&lt;/EM&gt;))&lt;/LI&gt;&lt;LI&gt;tick the tickbox that says suppress nulls&lt;/LI&gt;&lt;LI&gt;in your expression tab, just add a 1 and then apply&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be left with a table that shows only dimensions that meet the above criteria. If you want to know exactly what the value was for those met the condition, then instead of 1 in your edit expression, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;sum(field1)&lt;/EM&gt;+(2*sum(&lt;EM&gt;field2))&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 07:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558794#M1140816</guid>
      <dc:creator />
      <dc:date>2013-09-24T07:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Row condition</title>
      <link>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558795#M1140817</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;Normally, you should be able to set a condition in the Dimension Tab:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="46839" alt="Answer1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/46839_Answer1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Well, it does not work well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Add a calculated dimension and do a conditionnal expression dimensionned by the dimension you want in your report:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="46840" alt="Answer1B.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/46840_Answer1B.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;It should return Null() if the condition is not met, so that you can do "Suppress when value is Null" :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Answer2.JPG.jpg" class="jive-image jiveImage" src="https://community.qlik.com/legacyfs/online/46841_Answer2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 07:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558795#M1140817</guid>
      <dc:creator />
      <dc:date>2013-09-24T07:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Row condition</title>
      <link>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558796#M1140818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you can change your dimension to calculated dimension&lt;/P&gt;&lt;P&gt;and use this formula&lt;/P&gt;&lt;P&gt;aggr(if(X&amp;gt;b+2*c,object1),object1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 07:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558796#M1140818</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2013-09-24T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Row condition</title>
      <link>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558797#M1140819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;This only works if &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; X&amp;gt;b+2*c are not calc fields&lt;/SPAN&gt;&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;"&gt;X= sum(K)+ sum(W&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;b=avg(Aggr($(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;W),Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;c=sum(K)/sum(W)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;been going insane on this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 17:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-condition/m-p/558797#M1140819</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-03T17:21:44Z</dc:date>
    </item>
  </channel>
</rss>

