<?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: Constraint while using Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614495#M1095898</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 WHERE clause in your&amp;nbsp; SQL Query.&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;Select * from tableName&lt;/P&gt;&lt;P&gt;Where region='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aegean&lt;/SPAN&gt;' or region='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Mediterranean&lt;/SPAN&gt;' or region='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marmara&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 13:06:55 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2014-04-24T13:06:55Z</dc:date>
    <item>
      <title>Constraint while using Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614491#M1095894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in need of help like always &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a constraint while I am using an expression. What I want to do is this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a regions which are Aegean, Mediterranean and Marmara. I have the List Box ready but here comes the tricky part. I pull this data from SQL Table of mine and there are other regions other than I mentioned before but I only want to show these regions and filter that way. How will I be able to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614491#M1095894</guid>
      <dc:creator />
      <dc:date>2014-04-24T12:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint while using Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614492#M1095895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's suppose that your table name is MYTAB while other tables yet existing are TAB1, TAB2 and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best thing is to inner join TAB1 and others with your in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * resident TAB1;&lt;/P&gt;&lt;P&gt;inner join&lt;/P&gt;&lt;P&gt;Load distinct region resident MYTAB;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way you are excluding in all other tables regions not contained inn your table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614492#M1095895</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-24T13:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint while using Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614493#M1095896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand the main problem is that Region is also in the same table so I won't be able to do that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614493#M1095896</guid>
      <dc:creator />
      <dc:date>2014-04-24T13:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint while using Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614494#M1095897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write the below expression in list box expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wildmatch(Region,'Aegean', 'Mediterranean',' Marmara'),Region)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u..!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614494#M1095897</guid>
      <dc:creator />
      <dc:date>2014-04-24T13:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint while using Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614495#M1095898</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 WHERE clause in your&amp;nbsp; SQL Query.&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;Select * from tableName&lt;/P&gt;&lt;P&gt;Where region='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aegean&lt;/SPAN&gt;' or region='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Mediterranean&lt;/SPAN&gt;' or region='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Marmara&lt;/SPAN&gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614495#M1095898</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-04-24T13:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint while using Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614496#M1095899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write SQL script in ur scripting like;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL select * from table_name&lt;/P&gt;&lt;P&gt;wher Region in('Aegean', 'Mediterranean','Marmara');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614496#M1095899</guid>
      <dc:creator />
      <dc:date>2014-04-24T13:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint while using Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614497#M1095900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, got it to work without doing it in the query &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also can I use something like, if I cannot how can I do it? Write a query?&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;if(wildmatch(Region,'Aegean' &lt;STRONG&gt;as EGE&lt;/STRONG&gt;, 'Mediterranean' &lt;STRONG&gt;as Antalya&lt;/STRONG&gt;,' Marmara' &lt;STRONG&gt;as Istanbul&lt;/STRONG&gt;),Region)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Constraint-while-using-Expression/m-p/614497#M1095900</guid>
      <dc:creator />
      <dc:date>2014-04-24T13:11:54Z</dc:date>
    </item>
  </channel>
</rss>

