<?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 Hide rows based on values of two fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hide-rows-based-on-values-of-two-fields/m-p/269019#M1203251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only want to include records that match that criteria, then Set Analysis could be your best bet. You need to include the Set Analysis in every expression in the table, that way any record that doesn't match the criteria will have all null values and be excluded from the table (by default).&lt;/P&gt;&lt;P&gt;Here's an example expression:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt;DaysSply = {30}, Qty = {31, 62}&amp;gt;} Sales&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you use that Set Analysis on every expression, you should get a table where everything has a DaysSply of 30 and a Qty of 31 or 62.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 16:50:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-04T16:50:59Z</dc:date>
    <item>
      <title>Hide rows based on values of two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-based-on-values-of-two-fields/m-p/269018#M1203250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I was trying to use search this morning but it keeps failing, so I'm resorting to a post:&lt;/P&gt;&lt;P&gt;In one of my tables, I want to display only the rows where ([DaysSply]=30 And [Qty]=31) or ([DaysSply]=30 and [Qty]=62). I've been reading about Set Analysis, but I can't see where that's going to help me here. I do not want to have these as selections, because I don't want it to affect the other tables I have set up. Is Set Analysis the best approach? I've been trying to do something with calculated expressions and suppressing null values, but I run into a roadblock when I need to suppress null values across two fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 15:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-based-on-values-of-two-fields/m-p/269018#M1203250</guid>
      <dc:creator />
      <dc:date>2010-08-04T15:37:21Z</dc:date>
    </item>
    <item>
      <title>Hide rows based on values of two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-based-on-values-of-two-fields/m-p/269019#M1203251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you only want to include records that match that criteria, then Set Analysis could be your best bet. You need to include the Set Analysis in every expression in the table, that way any record that doesn't match the criteria will have all null values and be excluded from the table (by default).&lt;/P&gt;&lt;P&gt;Here's an example expression:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt;DaysSply = {30}, Qty = {31, 62}&amp;gt;} Sales&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you use that Set Analysis on every expression, you should get a table where everything has a DaysSply of 30 and a Qty of 31 or 62.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-based-on-values-of-two-fields/m-p/269019#M1203251</guid>
      <dc:creator />
      <dc:date>2010-08-04T16:50:59Z</dc:date>
    </item>
    <item>
      <title>Hide rows based on values of two fields</title>
      <link>https://community.qlik.com/t5/QlikView/Hide-rows-based-on-values-of-two-fields/m-p/269020#M1203252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks NMiller -- that worked perfectly. I was also able to get nested if's working, but I find those to be clumsy/inelegant. I'm going to stick with the SA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 18:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hide-rows-based-on-values-of-two-fields/m-p/269020#M1203252</guid>
      <dc:creator />
      <dc:date>2010-08-04T18:57:53Z</dc:date>
    </item>
  </channel>
</rss>

