<?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 Limit values baesd on range  in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370471#M137744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;do you have a field [year] and a field [month]??&lt;/P&gt;&lt;P&gt;Try this if is the case and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;If (year&amp;gt;=2011 and Month(month)&amp;gt;=1 and Year&amp;lt;=2011 and Month(Month)&amp;lt;=9,monthyear)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Chema&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 19:00:08 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-04-26T19:00:08Z</dc:date>
    <item>
      <title>Limit values baesd on range  in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370470#M137743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to limit the dimension based on range.My dimension is month year.I want to limit the values between Jan 2011 and sep 2011.I tried like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (monthyear&amp;gt;='Jan 2011' and monthyear&amp;lt;='sep 2011',monthyear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 15:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370470#M137743</guid>
      <dc:creator />
      <dc:date>2012-04-26T15:13:10Z</dc:date>
    </item>
    <item>
      <title>Limit values baesd on range  in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370471#M137744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;do you have a field [year] and a field [month]??&lt;/P&gt;&lt;P&gt;Try this if is the case and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;If (year&amp;gt;=2011 and Month(month)&amp;gt;=1 and Year&amp;lt;=2011 and Month(Month)&amp;lt;=9,monthyear)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Chema&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 19:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370471#M137744</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-04-26T19:00:08Z</dc:date>
    </item>
    <item>
      <title>Limit values baesd on range  in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370472#M137745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Chema,&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for the reply.I tried with the expression you metioned.It's not working.I am using a bar chart.I am using the monthyear as dimesion and following as expression.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(sum(if(adnum=6, 1, 0))/count(adminId))/(sum( if(stnum=5,Expect,0))/count(adminId))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried limiting the expression based on monthyear field.It did not work .Thats why I am trying limiting the values in dimension.Is there a way I can limit the values in the expression based on the dimension?.I tried set analysis in the expression, but failed.May be I am doing in a wrong way.Any suggestions ?I have to limit the values between Jany 2011 and Sep 2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 19:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370472#M137745</guid>
      <dc:creator />
      <dc:date>2012-04-26T19:16:47Z</dc:date>
    </item>
    <item>
      <title>Limit values baesd on range  in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370473#M137746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So you don´t have Year and Month as fields??? How do you built the field monthyear?&lt;/P&gt;&lt;P&gt;I´ve written my previous code like a dimension and it´s working well for me. &lt;/P&gt;&lt;P&gt;Could you attached your file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this helps you, if you make Num(monthyear), that returns a number so you could calculate those numbers and in the expression write something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;monthyear={"&amp;gt;=40909"},monthyear={"&amp;lt;=40999"}&amp;gt;}&lt;STRONG style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;WHATEVER&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example 40909 is Jan 2012 and 40999 is 1 less Apr 2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 19:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370473#M137746</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-04-26T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Limit values baesd on range  in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370474#M137747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are generally on the right track, but you need to make sure that monthyear is a date or numeric field as opposed to a string if you want to use greater than/less than operators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you try Jose's most recent approach, the formatting will have to be the same between the monthyear field and the values you plug into the set analysis expression (e.g. 40909 in his example).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 00:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-values-baesd-on-range-in-dimension/m-p/370474#M137747</guid>
      <dc:creator>msteedle</dc:creator>
      <dc:date>2012-04-27T00:19:47Z</dc:date>
    </item>
  </channel>
</rss>

