<?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: Dimension logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199108#M883196</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;Please post your sample qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gireesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Oct 2016 19:18:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-03T19:18:12Z</dc:date>
    <item>
      <title>Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199100#M883188</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;Delow is the dimension logic used in the straight table.But here i need to sort the month also as hardcode to Aug in the same expression.&lt;/P&gt;&lt;P&gt;Kindly let me know if it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic : =if([Sold Location] = '000', 'Goal', if([Sold Location] = '999', 'Company', if([Sold Location] = '888', 'District', if(match([Sold Location],'17','18','29','70','76','102','105','129'),[Sold Location]))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above logic i need to include month as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199100#M883188</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199101#M883189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you using month in this calculated dimension? I am not seeing that above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199101#M883189</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-03T18:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199102#M883190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The requirement is to include the month filter in the above calculated dimension .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199102#M883190</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-10-03T18:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199103#M883191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if this works, may be Sunny can come up with better way, mean while you can try this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; = IF( Month= 'Aug', Pick(Match([Sold Location], '000', '999', '888'), 'Goal', 'Company', 'District'), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; IF(Month = 'Aug' AND match([Sold Location],'17','18','29','70','76','102','105','129'), [Sold Location]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199103#M883191</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-10-03T18:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199104#M883192</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;It means my calculated dimension needs to include month as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199104#M883192</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-10-03T18:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199105#M883193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard code means this? Or else would you describe what is your intend to use this&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; font-size: 28.6924px;"&gt;=if([Sold Location] = '000', 'Goal', if([Sold Location] = '999', 'Company', if([Sold Location] = '888', 'District', if(match([Sold Location] ,'17','18','29','70','76','102','105','129'),[Sold Location], if(month(field) = 'Aug', 'Aug')))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 18:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199105#M883193</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-03T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199106#M883194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes..i need to hard code like this..but the logic is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not filter the data for the month Aug and also it inserts an new column Aug in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199106#M883194</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-10-03T19:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199107#M883195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&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; font-size: 13px;"&gt;&lt;STRONG&gt;=If(Month = 'Aug',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If([Sold Location] = '000', 'Goal',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If([Sold Location] = '999', 'Company',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Sold Location] = '888', 'District',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match([Sold Location],'17','18','29','70','76','102','105','129'), [Sold Location])))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=If(Num(Month) = 8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If([Sold Location] = '000', 'Goal',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If([Sold Location] = '999', 'Company',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Sold Location] = '888', 'District',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Match([Sold Location],'17','18','29','70','76','102','105','129'), [Sold Location])))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199107#M883195</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-03T19:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199108#M883196</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;Please post your sample qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gireesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199108#M883196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-03T19:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199109#M883197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The locations were came out as null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199109#M883197</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-10-03T19:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199110#M883198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try both out? and non of them worked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 19:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199110#M883198</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-03T19:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199111#M883199</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;instead of using a calculated dimension, another solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_235048_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139499_QlikCommunity_Thread_235048_Pic1.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_235048_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/139500_QlikCommunity_Thread_235048_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14755319124574788 jive_text_macro" jivemacro_uid="_14755319124574788"&gt;
&lt;P&gt;tabSampleData:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date#(Ceil(Rand()*12),'M')) as Month,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Rand()&amp;gt;0.7,Pick(Ceil(Rand()*11),'000','999','888','17','18','29','70','76','102','105','129'),Ceil(Rand()*10)) as [Sold Location],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Rand()*500) as fact&lt;/P&gt;
&lt;P&gt;AutoGenerate 100;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;mapSoldLocation:&lt;/P&gt;
&lt;P&gt;Mapping LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SoldLocation, SoldLocationAlias&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 000, Goal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 999, Company&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 888, District&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17, 17&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18, 18&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 29, 29&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 70, 70&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 76, 76&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102, 102&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 105, 105&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 129, 129&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join (tabSampleData)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Sold Location],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('mapSoldLocation',[Sold Location],Null()) as [Sold Location Alias]&lt;/P&gt;
&lt;P&gt;Resident tabSampleData;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 21:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-logic/m-p/1199111#M883199</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-10-03T21:58:48Z</dc:date>
    </item>
  </channel>
</rss>

