<?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: Set Analysis Compare Number with Range Classification in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075880#M642101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 years after*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2018 18:50:48 GMT</pubDate>
    <dc:creator>vmoreno2605</dc:creator>
    <dc:date>2018-11-05T18:50:48Z</dc:date>
    <item>
      <title>Set Analysis Compare Number with Range Classification</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075874#M642093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Pivot table with a dimension and N measures...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to match a Measure number "VALUE" with an EXCEL loaded with many rows as are the ranges with RANGE_FROM, RANGE_TO numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set analysis like this: sum({&amp;lt;VALUE={"&amp;gt;=RANGE_FROM&amp;lt;=RANGE_TO"}&amp;gt;} RANGE_VALUE) but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, best regards.&lt;/P&gt;&lt;P&gt;Riccardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 17:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075874#M642093</guid>
      <dc:creator>Riccardo</dc:creator>
      <dc:date>2016-01-26T17:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Compare Number with Range Classification</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075875#M642095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your script or a small .qvw with your problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 19:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075875#M642095</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-26T19:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Compare Number with Range Classification</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075876#M642097</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 want to compare the row by row based for your Range from and Range to?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set Analysis will work on chart based not row based. May be try like&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;sum(If(VALUE&amp;gt;=RANGE_FROM and VALUE&amp;lt;=RANGE_TO, RANGE_VALUE))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/docs/DOC-4563"&gt;set_analysis_intra-record.qvw&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 04:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075876#M642097</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-01-27T04:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Compare Number with Range Classification</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075877#M642098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sort of syntax will work with minor mods with variables, but I suspect you are attempting row by row comparisons. Set expressions are applied once, before the chart is constructed; they are not evaluated on a row by row basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Range_From and Range_To are variables, then use:&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;sum({&amp;lt;VALUE={"&amp;gt;=$(RANGE_FROM) &amp;lt;=$(RANGE_TO)"}&amp;gt;} RANGE_VALUE)&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 they are fields, then use sum(if())&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;=sum(If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VALUE &amp;gt;= RANGE_FROM and VALUE &amp;lt;=RANGE_TO, RANGE_VALUE))&lt;/SPAN&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;&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;or set a flag for these value in script and use the flag in your set expression.&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;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 05:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075877#M642098</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-01-27T05:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Compare Number with Range Classification</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075878#M642099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, thank you for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'have two tables: A and B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In A I've many rows with dimension and measures.&lt;/P&gt;&lt;P&gt;In B I've range start/end and its value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've to catch the value of table B when the measure from table A is between the range values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This one doesn't work: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum(If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;VALUE &amp;gt;= RANGE_FROM and VALUE &amp;lt;=RANGE_TO, RANGE_VALUE))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 10:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075878#M642099</guid>
      <dc:creator>Riccardo</dc:creator>
      <dc:date>2016-02-01T10:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Compare Number with Range Classification</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075879#M642100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry i bother you 2 years before your answer xD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if my range_from and range_to are not variables, they are numbers. this is my expression&lt;/P&gt;&lt;P&gt;Count({&amp;lt;FechaNum={"&amp;lt;$(vFechaInicioAño)"},HireTerm={'H'},&lt;/P&gt;&lt;P&gt;ADJ_HIRE_DATE={"=$(vFecha)-ADJ_HIRE_DATE&amp;lt;=90"}&amp;gt;}Distinct EMPLOYEE) - &lt;/P&gt;&lt;P&gt;Count({&amp;lt;FechaNum={"&amp;lt;$(vFechaInicioAño)"},HireTerm={'T'},&lt;/P&gt;&lt;P&gt;ADJ_HIRE_DATE={"=$(vFecha)-ADJ_HIRE_DATE&amp;lt;=90"}&amp;gt;}Distinct EMPLOYEE) + &lt;/P&gt;&lt;P&gt;Count({&amp;lt;FechaNum={"&amp;lt;=$(vFecha)&amp;gt;=$(vFechaInicioAño)"},HireTerm={'H'},&lt;/P&gt;&lt;P&gt;ADJ_HIRE_DATE={"=$(vFecha)-ADJ_HIRE_DATE&amp;lt;=90"}&amp;gt;}Distinct EMPLOYEE) - &lt;/P&gt;&lt;P&gt;Count({&amp;lt;FechaNum={"&amp;lt;=$(vFecha)&amp;gt;=$(vFechaInicioAño)"},HireTerm={'T'},&lt;/P&gt;&lt;P&gt;ADJ_HIRE_DATE={"=$(vFecha)-ADJ_HIRE_DATE&amp;lt;=90"}&amp;gt;}Distinct EMPLOYEE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works, but i need to add something like &amp;gt;90 and &amp;lt;=180&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you read this, thanks! xd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 18:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075879#M642100</guid>
      <dc:creator>vmoreno2605</dc:creator>
      <dc:date>2018-11-05T18:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Compare Number with Range Classification</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075880#M642101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 years after*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 18:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Compare-Number-with-Range-Classification/m-p/1075880#M642101</guid>
      <dc:creator>vmoreno2605</dc:creator>
      <dc:date>2018-11-05T18:50:48Z</dc:date>
    </item>
  </channel>
</rss>

