<?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 Dimension Properties in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746340#M534515</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&amp;nbsp; a scenario where i need to hide the Dimension based on the user selection.&lt;/P&gt;&lt;P&gt;i am attaching the sample app and datasource.&lt;/P&gt;&lt;P&gt;Please provide me the suggestion on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2015 02:43:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-05T02:43:29Z</dc:date>
    <item>
      <title>Dimension Properties</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746340#M534515</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&amp;nbsp; a scenario where i need to hide the Dimension based on the user selection.&lt;/P&gt;&lt;P&gt;i am attaching the sample app and datasource.&lt;/P&gt;&lt;P&gt;Please provide me the suggestion on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 02:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746340#M534515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T02:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Properties</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746341#M534516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any better ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add a conditional show condition on dimensions or measures. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension tab, enable conditional:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( SubStringCount( concat( distinct Region,';'),'US')&amp;gt;0 or SubStringCount( concat( distinct Region,';'),'Ind')&amp;gt;0, 1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 03:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746341#M534516</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-05T03:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Properties</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746342#M534517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;noticed a blank row was showing up when UK was selected with US and ind ... corrected that an uploaded new version. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how it works ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the whole dimension will be conditionally hidden based on this boolean expression that evaluates to TRUE (1) or FALSE (0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( SubStringCount( concat( distinct Region,';'),'US')&amp;gt;0 or SubStringCount( concat( distinct Region,';'),'Ind')&amp;gt;0, 1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the concat() function will create a delimitted list of all 'Region' values in the current selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you select US, Ind, UK ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;concat( distinct Region,';') will return---&amp;gt;&amp;nbsp;&amp;nbsp; US;Ind;UK&amp;nbsp;&amp;nbsp;&amp;nbsp; (; is the delimitter which you can choose but its moot for this purpose)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;next part is to test if&amp;nbsp;&amp;nbsp; 'US' or 'Ind' is in that list and we use substringcount(&amp;nbsp; &amp;lt;list&amp;gt;, 'US')&amp;nbsp;&amp;nbsp; to check if 'US' is in the list&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If US or Ind is in the list then its a TRUE and assign 1.&amp;nbsp; Otherwise 0 and hide the whole dimension. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Little tricky but useful one to remember.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 03:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746342#M534517</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-03-05T03:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Properties</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746343#M534518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;It works like a champ.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks Alot Jonathan for both your solution and illustration of the work.&lt;/P&gt;&lt;P&gt;A big cheers and hundred thanks to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 03:21:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Properties/m-p/746343#M534518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-05T03:21:16Z</dc:date>
    </item>
  </channel>
</rss>

