<?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: How to Limit values from Dimension using List Boxes selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484324#M687180</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;Try this in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(Len(Trim(ClosedDate)) &amp;gt; 0 OR&amp;nbsp; Len(Trim(ClosedDate)) &amp;gt; 0, 1, 0) AS Flag&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in pivot table use this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;Flag = {0}&amp;gt;} Shop)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2013 07:46:46 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-11-25T07:46:46Z</dc:date>
    <item>
      <title>How to Limit values from Dimension using List Boxes selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484323#M687179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have &lt;SPAN style="text-decoration: underline;"&gt;Year, Month, Day&lt;/SPAN&gt; as List Boxes selection. And in the pivot table, I have &lt;SPAN style="text-decoration: underline;"&gt;Shop&lt;/SPAN&gt; as dimension. Now, every shop has &lt;SPAN style="text-decoration: underline;"&gt;ClosingDate&lt;/SPAN&gt; and &lt;SPAN style="text-decoration: underline;"&gt;OpeningDate&lt;/SPAN&gt;. If shop has no ClosingDate, then it has NULL in it, which means shop is Open. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now here, I want to show only those shops in the pivot table, which doesn't have OpeningDate and ClosingDate in the List Boxes selection period. Which means that shop was neither &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;opened nor closed in that List Boxes selection Period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Anyone with the scipt for me here? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 07:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484323#M687179</guid>
      <dc:creator />
      <dc:date>2013-11-25T07:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Limit values from Dimension using List Boxes selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484324#M687180</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;Try this in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(Len(Trim(ClosedDate)) &amp;gt; 0 OR&amp;nbsp; Len(Trim(ClosedDate)) &amp;gt; 0, 1, 0) AS Flag&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in pivot table use this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;Flag = {0}&amp;gt;} Shop)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 07:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484324#M687180</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-11-25T07:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Limit values from Dimension using List Boxes selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484325#M687181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But here, I have the data in form of view from MS SQL Server. Can you convert it into expression? So i may use it in pivot table as Calculated Dimension. Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 08:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484325#M687181</guid>
      <dc:creator />
      <dc:date>2013-11-25T08:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Limit values from Dimension using List Boxes selection?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484326#M687182</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;It is very much easier to achieve this in script, also it is efficient.&amp;nbsp; Try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(Len(Trim(ClosedDate)) &amp;gt; 0 OR&amp;nbsp; Len(Trim(ClosedDate)) &amp;gt; 0, 1, 0) AS Flag&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM SQL_VIEW_NAME;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 10:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Limit-values-from-Dimension-using-List-Boxes-selection/m-p/484326#M687182</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-11-25T10:17:46Z</dc:date>
    </item>
  </channel>
</rss>

