<?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: Creating range in following format in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079414#M17890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use if statement to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.1, '0 - 0.1',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.3, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;0.2 - 0.3',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.5, '0.4 - 0.5',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.8, '0.6 - 0.8', '0.8 - 1.0'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For sorting trouble you can further add a dual function:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.1, Dual('0 - 0.1', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.3, Dual('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;0.2 - 0.3', 2),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.5, Dual('0.4 - 0.5', 3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.8, Dual('0.6 - 0.8', 4), Dual('0.8 - 1.0', 5)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 11:51:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-03T11:51:16Z</dc:date>
    <item>
      <title>Creating range in following format</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079413#M17889</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;i have Some random Value and i need to create Range like -&lt;/P&gt;&lt;P&gt;0 - 0.1&lt;/P&gt;&lt;P&gt;0.2 - 0.3&lt;/P&gt;&lt;P&gt;0.4 - 0.5&lt;/P&gt;&lt;P&gt;0.6 - 0.8&lt;/P&gt;&lt;P&gt;0.8 - 1.0&lt;/P&gt;&lt;P&gt;I made Use of Class Function it gives me Following Output&lt;/P&gt;&lt;P&gt;0-0.1&lt;/P&gt;&lt;P&gt;0.1-0.2&lt;/P&gt;&lt;P&gt;0.2-0.3&lt;/P&gt;&lt;P&gt;i don not want repeated Values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 03 Mar 2016 05:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079413#M17889</guid>
      <dc:creator>Karahs</dc:creator>
      <dc:date>2016-03-03T05:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating range in following format</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079414#M17890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use if statement to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.1, '0 - 0.1',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.3, '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;0.2 - 0.3',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.5, '0.4 - 0.5',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.8, '0.6 - 0.8', '0.8 - 1.0'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For sorting trouble you can further add a dual function:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.1, Dual('0 - 0.1', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.3, Dual('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;0.2 - 0.3', 2),&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.5, Dual('0.4 - 0.5', 3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Value &amp;lt;= 0.8, Dual('0.6 - 0.8', 4), Dual('0.8 - 1.0', 5)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 11:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079414#M17890</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T11:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating range in following format</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079415#M17891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been meaning to try using &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;‌&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;for this sort grouping&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am sure it would look nicer than nested IF (no idea if it would function any better!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 12:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079415#M17891</guid>
      <dc:creator />
      <dc:date>2016-03-03T12:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating range in following format</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079416#M17892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Intervalmatch() would not help you in creating random buckets like you asked, Either Class() or what &lt;A _jive_internal="true" href="https://community.qlik.com/people/sunindia"&gt;Sunny T&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;suggested will work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details check this as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3821"&gt;Buckets&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 12:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079416#M17892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T12:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating range in following format</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079417#M17893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like the CLASS and ROUND function - will make use of those!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reckon ROUND is the best bet. I played around with:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setting an Interval variable:&lt;/P&gt;&lt;P&gt;LET vInterval = 0.1;&lt;/P&gt;&lt;P&gt;Then adding the ROUND function into the load script (i used [iNum] as my number field)&lt;/P&gt;&lt;P&gt;ROUND(iNum-($(vInterval)/2),$(vInterval)) &amp;amp; ' to ' &amp;amp; (ROUND(iNum-($(vInterval)/2),$(vInterval))+($(vInterval)-($(vInterval)/10))) AS [iRound]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that creates groups as:&lt;/P&gt;&lt;P&gt;0.1 to 0.19&lt;/P&gt;&lt;P&gt;0.2 to 0.29&lt;/P&gt;&lt;P&gt;0.3 to 0.39 etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 13:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-range-in-following-format/m-p/1079417#M17893</guid>
      <dc:creator />
      <dc:date>2016-03-03T13:02:32Z</dc:date>
    </item>
  </channel>
</rss>

