<?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: dimensions with condition in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584967#M2351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using just Set Analysis in the expressions, the other values will be listed anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 15:32:48 GMT</pubDate>
    <dc:creator>luis_pimentel</dc:creator>
    <dc:date>2014-01-29T15:32:48Z</dc:date>
    <item>
      <title>dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584962#M2346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have a straight table with two dimensions.&lt;/P&gt;&lt;P&gt;i want that the table will show only two values of one of the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say-&lt;/P&gt;&lt;P&gt;my dimension 'country'&lt;/P&gt;&lt;P&gt;the values i want to show 'USA' 'israel'&lt;/P&gt;&lt;P&gt;i tried to put&amp;nbsp; in the enable condition: if(country='USA' or country='israel',1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not working.&lt;/P&gt;&lt;P&gt;can someone help me?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584962#M2346</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-29T15:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584963#M2347</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&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(country='USA' and country='israel',1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Vardhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584963#M2347</guid>
      <dc:creator />
      <dc:date>2014-01-29T15:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584964#M2348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use calculated dimension. something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(match(country,'USA','Israel') &amp;gt; 0,country)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that match is case sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584964#M2348</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-01-29T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584965#M2349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you use Set Analysis in your expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place Country as your Dimension and restrict the Country values using Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ( {$&amp;lt; Country= {'USA', 'israel'}&amp;gt;}&amp;nbsp; ValueField)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584965#M2349</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2014-01-29T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584966#M2350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A calculated dimension like: If(match(country,'USA','Israel') &amp;gt; 0,country) is the solution you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584966#M2350</guid>
      <dc:creator>luis_pimentel</dc:creator>
      <dc:date>2014-01-29T15:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584967#M2351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using just Set Analysis in the expressions, the other values will be listed anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584967#M2351</guid>
      <dc:creator>luis_pimentel</dc:creator>
      <dc:date>2014-01-29T15:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584968#M2352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope if you only have that expression... If you have more than one expression you only have to place the Set Analysis filters in all the other expressions... It's a different approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT... Review the attached file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584968#M2352</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2014-01-29T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584969#M2353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and "Suppress When Value is NULL" checked on the Dimension tab. Otherwise you may get three rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584969#M2353</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-01-29T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584970#M2354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adi,&lt;/P&gt;&lt;P&gt;Two things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use the following as calculated dimension : =if(match(Country,'USA','Iran'),Country)&lt;/LI&gt;&lt;LI&gt;Check the 'Suppress when value is Null' option&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is an example&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584970#M2354</guid>
      <dc:creator />
      <dc:date>2014-01-29T15:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584971#M2355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is informative. Thanks for sharing it. Didn't know about this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584971#M2355</guid>
      <dc:creator />
      <dc:date>2014-01-29T15:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584972#M2356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general it is better to use the proposed set expression solution instead of the calculated dimension. It is better for the performance and you will not loose some of the dimension options (like sort). You will indeed have to include the set expression in all expressions (even some of the expessions as background color of the expression.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 15:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584972#M2356</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2014-01-29T15:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584973#M2357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum( {$&amp;lt;Country={'USA','Israel'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope answer the question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 16:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584973#M2357</guid>
      <dc:creator />
      <dc:date>2014-01-29T16:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: dimensions with condition</title>
      <link>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584974#M2358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tnx everyone!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 14:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/dimensions-with-condition/m-p/584974#M2358</guid>
      <dc:creator>adiarnon</dc:creator>
      <dc:date>2014-01-30T14:20:30Z</dc:date>
    </item>
  </channel>
</rss>

