<?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: How make a data range for a calculated measure field? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367079#M460326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a new &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;calculated measure &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; [Class] with:&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;=if([&lt;STRONG style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;% From Total&lt;/STRONG&gt;] &amp;lt;= 40, 'Bad', if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;% From Total&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;] &amp;lt;= 70,'Regular', if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;% From Total&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;] &amp;lt;= 100,'Good'&lt;/SPAN&gt;)&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 22:18:05 GMT</pubDate>
    <dc:creator>hcabrera</dc:creator>
    <dc:date>2017-06-05T22:18:05Z</dc:date>
    <item>
      <title>How make a data range for a calculated measure field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367078#M460325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a doubt, I Have a table with 4 fields, all are from the original table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;| Product | Region | Sum of Product | Sum for Total Region |&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition of this, I made a calculated measure &lt;SPAN style="font-size: 13.3333px;"&gt;field&lt;/SPAN&gt; in which I'm calculating a percentage from the [ Sum for Total Region ] with the next function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calculated measure &lt;SPAN style="font-size: 13.3333px;"&gt;field&lt;/SPAN&gt; &lt;STRONG&gt;[% From Total] =&amp;nbsp; [ Sum of Product ] / [ Sum for Total Region ]&lt;/STRONG&gt; = &lt;STRONG&gt;&lt;EM&gt;% from the Sum for Total Region&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have my table with 4 original fields and 1 as a calculated measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;| Product | Region | Sum of Product | Sum for Total Region | &lt;SPAN style="color: #0000ff;"&gt;% From Total&lt;/SPAN&gt; | &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My doubt is: How could I make a new field [ &lt;STRONG style="color: #0000ff; font-size: 13.3333px;"&gt;Class&lt;/STRONG&gt; ] to get a classification from my calculate measure field as such as I want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;| &lt;SPAN style="color: #0000ff;"&gt;% From Total&lt;/SPAN&gt; | &lt;STRONG style="color: #0000ff; font-size: 13.3333px;"&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px;"&gt;Class &lt;SPAN style="color: #333333;"&gt;|&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the result in the camp % From Total &amp;gt;= 0% and &amp;lt;=40% then is Bad&lt;/P&gt;&lt;P&gt;If the result in the camp % From Total &amp;gt;= 41% and &amp;lt;=70% then is Regular&lt;/P&gt;&lt;P&gt;If the result in the camp % From Total &amp;gt;= 71% and &amp;lt;=100% then is Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;| &lt;SPAN style="color: #0000ff;"&gt;% From Total&lt;/SPAN&gt; | &lt;STRONG style="color: #0000ff; font-size: 13.3333px;"&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px;"&gt;Class&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 52.48%&amp;nbsp; | Regular |&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 79.99%&amp;nbsp; | Good&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;I hope you could help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;Greetings &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333;"&gt;Luis&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 14:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367078#M460325</guid>
      <dc:creator>luisdarwinqlik</dc:creator>
      <dc:date>2017-05-31T14:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How make a data range for a calculated measure field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367079#M460326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a new &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;calculated measure &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; [Class] with:&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;=if([&lt;STRONG style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;% From Total&lt;/STRONG&gt;] &amp;lt;= 40, 'Bad', if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;% From Total&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;] &amp;lt;= 70,'Regular', if(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;% From Total&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;] &amp;lt;= 100,'Good'&lt;/SPAN&gt;)&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 22:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367079#M460326</guid>
      <dc:creator>hcabrera</dc:creator>
      <dc:date>2017-06-05T22:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: How make a data range for a calculated measure field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367080#M460327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that this is in script. Just use resident load or preceding load to get the classes created on the calculated column. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 11:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367080#M460327</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2017-06-06T11:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: How make a data range for a calculated measure field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367081#M460328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi Henry, I tried to do it, but in the master dimension the code doesn't recognize the field. &amp;nbsp;It say: Camp [% ...] is not valid.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;How can I make reference to this measure?&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Greetings!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367081#M460328</guid>
      <dc:creator>luisdarwinqlik</dc:creator>
      <dc:date>2017-06-06T12:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How make a data range for a calculated measure field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367082#M460329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi Sujeet, I was trying to load in the script, but I don't know there how I can calculate the measure between the two columns.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Greetings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367082#M460329</guid>
      <dc:creator>luisdarwinqlik</dc:creator>
      <dc:date>2017-06-06T13:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: How make a data range for a calculated measure field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367083#M460330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find a solution for this ? I have a similar requirement. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367083#M460330</guid>
      <dc:creator />
      <dc:date>2017-07-05T12:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: How make a data range for a calculated measure field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367084#M460331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepika TR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No yet, I've been trying to do it but I can't get the result I want...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea, maybe someone can read us and will catch it...&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;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 12:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-make-a-data-range-for-a-calculated-measure-field/m-p/1367084#M460331</guid>
      <dc:creator>luisdarwinqlik</dc:creator>
      <dc:date>2017-07-05T12:46:03Z</dc:date>
    </item>
  </channel>
</rss>

