<?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 Range Selection in Set Modifier? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Range-Selection-in-Set-Modifier/m-p/777289#M1035948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone confirm the data types supported in set modifier range selections?&amp;nbsp; I am trying to get it to work for time intervals but I get a result of 0 every time.&amp;nbsp; A bit of experimentation suggests that it only works for integers but I can't find any clarification, either in QlikView Help or the Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is of the form:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;IntervalField={'&amp;gt;0'}&amp;gt;} Counter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 02:31:56 GMT</pubDate>
    <dc:creator>robinrouleur</dc:creator>
    <dc:date>2015-01-28T02:31:56Z</dc:date>
    <item>
      <title>Range Selection in Set Modifier?</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Selection-in-Set-Modifier/m-p/777289#M1035948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone confirm the data types supported in set modifier range selections?&amp;nbsp; I am trying to get it to work for time intervals but I get a result of 0 every time.&amp;nbsp; A bit of experimentation suggests that it only works for integers but I can't find any clarification, either in QlikView Help or the Community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is of the form:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;IntervalField={'&amp;gt;0'}&amp;gt;} Counter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 02:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Selection-in-Set-Modifier/m-p/777289#M1035948</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-01-28T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Range Selection in Set Modifier?</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Selection-in-Set-Modifier/m-p/777290#M1035949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the single-quotes you performs a string-matching and not a numeric-matching but the string-interpretation from modifier is important, too. Example: a month-field with jan - dec wouldn't match in set analysis compared with values from 1 - 12 (but in a if-loop). Therefore try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;IntervalField={"&amp;gt;0"}&amp;gt;} Counter)&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;IntervalField={"&amp;gt;$(=num(0, 'YourFieldFormat'))"}&amp;gt;} Counter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 02:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Selection-in-Set-Modifier/m-p/777290#M1035949</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-01-28T02:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Range Selection in Set Modifier?</title>
      <link>https://community.qlik.com/t5/QlikView/Range-Selection-in-Set-Modifier/m-p/777291#M1035950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic, thanks Marcus, had to use interval() rather than num() but that did the trick!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final expression was:&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;IntervalField={"&amp;gt;$(=interval(0, 'h:mm:ss'))"}&amp;gt;} Counter)&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;Thx again (especially or the quick response)&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;Robin&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 03:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-Selection-in-Set-Modifier/m-p/777291#M1035950</guid>
      <dc:creator>robinrouleur</dc:creator>
      <dc:date>2015-01-28T03:20:15Z</dc:date>
    </item>
  </channel>
</rss>

