<?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 Dimention restriction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794137#M1034544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within a selected Dimention, How do I restrict the value to only show a selected items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Colour&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;country&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Yellow&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;CCC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;UK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DDD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;USA&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above example, I want to count total number of people in Country USA where Colour = Red or Blue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 01:03:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-30T01:03:58Z</dc:date>
    <item>
      <title>Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794137#M1034544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within a selected Dimention, How do I restrict the value to only show a selected items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Colour&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;country&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;BBB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Yellow&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;CCC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;UK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Blue&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;DDD&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;USA&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above example, I want to count total number of people in Country USA where Colour = Red or Blue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 01:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794137#M1034544</guid>
      <dc:creator />
      <dc:date>2015-01-30T01:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794138#M1034545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use set analysis or if condition in the count expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Colour={'Red'},Colour={'Blue'} Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count(if(Colour='Red' or Colour='Blue',Name))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 01:16:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794138#M1034545</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-01-30T01:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794139#M1034546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can use wild-match in if statement and need to refine the one for set-analysis for correct syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 01:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794139#M1034546</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-01-30T01:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794140#M1034547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sujeetsingh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried it, the result came back to only show the last value, in this case, only show where colour = Blue. not able to get both Red and Blue colour result. Help please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 01:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794140#M1034547</guid>
      <dc:creator />
      <dc:date>2015-01-30T01:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794141#M1034548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just have a text box with this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Count({1&amp;lt;Colour={'Red','Blue'}&amp;gt;} Name)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 02:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794141#M1034548</guid>
      <dc:creator />
      <dc:date>2015-01-30T02:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794142#M1034549</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&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Colour={"Red","Blue"}&amp;gt;}Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;If you want to restrict dimension then&lt;/P&gt;&lt;P&gt;Create Straight table&lt;/P&gt;&lt;P&gt;add dimension as Calculated dimension&lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(wildmatch(Colour,'Red','Blue'),Colour)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and check supress null Value in dimension tab&lt;/P&gt;&lt;P&gt;In expression tab&lt;/P&gt;&lt;P&gt;Write&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(Name)&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;or if you required distinct count then try with distinct&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(Distinct Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&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>Fri, 30 Jan 2015 03:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794142#M1034549</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-01-30T03:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794143#M1034550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;Colour={'Red','Blue'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Country={'USA'}&lt;/SPAN&gt;&amp;gt;}distinct Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 04:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794143#M1034550</guid>
      <dc:creator>sagarkharpude</dc:creator>
      <dc:date>2015-01-30T04:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794144#M1034551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramkumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the 1 in the formula for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is a text box? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 04:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794144#M1034551</guid>
      <dc:creator />
      <dc:date>2015-01-30T04:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794145#M1034552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;. It represents the full set of all the records in the application.&lt;/P&gt;&lt;P style="margin-bottom: 0px;"&gt;and The &lt;SPAN class="Bold"&gt;$&lt;/SPAN&gt; sign represents the records of the current selection.&lt;/P&gt;&lt;P style="margin-bottom: 0px;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px;"&gt;For more details go to help menu of qlikview App types Set Analysis.&lt;/P&gt;&lt;P style="margin-bottom: 0px;"&gt;You will get more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0px;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 04:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794145#M1034552</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-01-30T04:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794146#M1034553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lily can you post a sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 04:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794146#M1034553</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-01-30T04:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794147#M1034554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 04:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794147#M1034554</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-01-30T04:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dimention restriction</title>
      <link>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794148#M1034555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lily,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;May be Like this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;PFA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 05:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimention-restriction/m-p/794148#M1034555</guid>
      <dc:creator />
      <dc:date>2015-01-30T05:20:33Z</dc:date>
    </item>
  </channel>
</rss>

