<?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: Qlikview equivalent for SQL &amp;quot;IN&amp;quot; function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375033#M419819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me just check this. Thanks Much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2017 18:48:24 GMT</pubDate>
    <dc:creator>suryaa30</dc:creator>
    <dc:date>2017-09-07T18:48:24Z</dc:date>
    <item>
      <title>Qlikview equivalent for SQL "IN" function</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375030#M419816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming I have 200 products and based on some calculation I have narrowed down certain products assigned to a variable using concat function and whose output can vary in number. &lt;/P&gt;&lt;P&gt;I have a calculated variable that generates the output as ('Shoe','Pen','Pencil'..........)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vWantedProduct=CONCAT({SET Expression} Product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is assuming I have a straight table and with Dimension as product and some expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What needs to be done to limit the dimensions in straight table only to those values corresponding to the values in vWantedProduct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the number of values in &lt;SPAN style="font-size: 13.3333px;"&gt;vWantedProduct was few and static I could have used IF else condition, but now it is dynamic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How do I proceed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:Assuming we had "IN" function in qlikview just for understanding. below should be my calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF( Product is IN(&lt;SPAN style="font-size: 13.3333px;"&gt;vWantedProduct) then Product)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375030#M419816</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-07T18:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview equivalent for SQL "IN" function</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375031#M419817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Product = {$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Concat({SET Expression} Product)&lt;/SPAN&gt;)}&amp;gt;} Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that you already have a way to get single quotes around the list of products, so use the dollar sign expansion without any single or double quotes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375031#M419817</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-07T18:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview equivalent for SQL "IN" function</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375032#M419818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively, you can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;STRONG&gt;Concat(TOTAL {SET Expression} Product), Product), Product)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375032#M419818</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-07T18:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview equivalent for SQL "IN" function</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375033#M419819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me just check this. Thanks Much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 18:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-equivalent-for-SQL-quot-IN-quot-function/m-p/1375033#M419819</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-07T18:48:24Z</dc:date>
    </item>
  </channel>
</rss>

