<?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 Exclude Dimension Brand data in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exclude-Dimension-Brand-data-in-Expression/m-p/783028#M1048090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Expert,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In My QV expression field 3 column 1.UniqueRetailer 2. Unique Retailer Prev Period 3.Non Lifted Retailer , 1st and 2nd column is correct only problem is 3rd Non Lifted Retailer.&lt;/P&gt;&lt;P&gt;QV Logic in Example(attached In Sample QV)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;we have using example.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;current period&lt;/STRONG&gt;=01/09/2014-30/09/2014&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Previous Period&lt;/STRONG&gt;=previous period is when from date(01/09/2014) and to date(30/09/2014) then diff day is 30,previous start date is (from date)-30 is (02/08) and previous end date is&amp;nbsp; (31/08) means previous period is 02/08/2014-30/08/2014.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dimension field&lt;/STRONG&gt; state,brand&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;expression field 3 column&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1-unique retailer&lt;/STRONG&gt;=count distinct retailer from current period(its correct).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2 Unique Retailer Prev Period&lt;/STRONG&gt;= Unique Retailer for Prev Period (its correct).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Non Lifted Retailer&lt;/STRONG&gt;= In Dimension Brand A then we comparison &lt;STRONG&gt;unique retailer previous period(Brand A Data)&lt;/STRONG&gt; and &lt;STRONG&gt;current period&lt;/STRONG&gt; All Brand exclude Only dimension brand (Means Current Period Brand B,C,D,NONE Data)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If we select any brand then return right answer but when we not select any brand return 0 how to achieve it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For Sample qv Attached please suggest its urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 02:19:23 GMT</pubDate>
    <dc:creator>vijayit43</dc:creator>
    <dc:date>2014-11-20T02:19:23Z</dc:date>
    <item>
      <title>Exclude Dimension Brand data in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Exclude-Dimension-Brand-data-in-Expression/m-p/783028#M1048090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Expert,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In My QV expression field 3 column 1.UniqueRetailer 2. Unique Retailer Prev Period 3.Non Lifted Retailer , 1st and 2nd column is correct only problem is 3rd Non Lifted Retailer.&lt;/P&gt;&lt;P&gt;QV Logic in Example(attached In Sample QV)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;we have using example.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;current period&lt;/STRONG&gt;=01/09/2014-30/09/2014&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Previous Period&lt;/STRONG&gt;=previous period is when from date(01/09/2014) and to date(30/09/2014) then diff day is 30,previous start date is (from date)-30 is (02/08) and previous end date is&amp;nbsp; (31/08) means previous period is 02/08/2014-30/08/2014.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dimension field&lt;/STRONG&gt; state,brand&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;expression field 3 column&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1-unique retailer&lt;/STRONG&gt;=count distinct retailer from current period(its correct).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2 Unique Retailer Prev Period&lt;/STRONG&gt;= Unique Retailer for Prev Period (its correct).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Non Lifted Retailer&lt;/STRONG&gt;= In Dimension Brand A then we comparison &lt;STRONG&gt;unique retailer previous period(Brand A Data)&lt;/STRONG&gt; and &lt;STRONG&gt;current period&lt;/STRONG&gt; All Brand exclude Only dimension brand (Means Current Period Brand B,C,D,NONE Data)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If we select any brand then return right answer but when we not select any brand return 0 how to achieve it.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For Sample qv Attached please suggest its urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 02:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exclude-Dimension-Brand-data-in-Expression/m-p/783028#M1048090</guid>
      <dc:creator>vijayit43</dc:creator>
      <dc:date>2014-11-20T02:19:23Z</dc:date>
    </item>
  </channel>
</rss>

