<?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 to create different bin range using class function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-create-different-bin-range-using-class-function/m-p/451862#M563351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx Gysbert, but i still have 2 problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First- i want to sort the x-axis as: col2&amp;lt;200,200-250,251-300, .... , col2&amp;gt;400 i try sort by expression but it didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second- i want to color the min col and the max col with different colors than the rest of the cols.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 06:30:33 GMT</pubDate>
    <dc:creator>eliko_il</dc:creator>
    <dc:date>2013-02-20T06:30:33Z</dc:date>
    <item>
      <title>how to create different bin range using class function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-different-bin-range-using-class-function/m-p/451860#M563349</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;assuming i have this table:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="144"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" width="72"&gt;col1&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: medium none;" width="72"&gt;col2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV onclick=""&gt;272&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;214&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;483&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;457&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;278&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;327&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;363&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;324&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;433&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;153&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;596&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;350&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;153&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;520&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;343&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;325&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="19" style="border-top: medium none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: medium none; border-top: medium none;"&gt;433&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create bar chart with x-axis as the following bin range:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;200 , 200-250, 251-300,301-350, 351-400, &amp;gt;400&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i try the class function (&amp;nbsp; class(col2,50)&amp;nbsp; ), but i need the option to create also min range (&amp;lt;200) and max range(&amp;gt;400).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In the class function it create with final range.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The y-axis&amp;nbsp; just count freq of A according to the bin range.&lt;/P&gt;&lt;P&gt;does anyone have a solution (without change or add any data to the DB)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-different-bin-range-using-class-function/m-p/451860#M563349</guid>
      <dc:creator>eliko_il</dc:creator>
      <dc:date>2013-02-19T19:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create different bin range using class function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-different-bin-range-using-class-function/m-p/451861#M563350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;=if(Col2&amp;lt;200,'&amp;lt;200',if(Col2&amp;gt;400,'400',class(Col2,50)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-different-bin-range-using-class-function/m-p/451861#M563350</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-19T19:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to create different bin range using class function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-create-different-bin-range-using-class-function/m-p/451862#M563351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx Gysbert, but i still have 2 problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First- i want to sort the x-axis as: col2&amp;lt;200,200-250,251-300, .... , col2&amp;gt;400 i try sort by expression but it didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second- i want to color the min col and the max col with different colors than the rest of the cols.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 06:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-create-different-bin-range-using-class-function/m-p/451862#M563351</guid>
      <dc:creator>eliko_il</dc:creator>
      <dc:date>2013-02-20T06:30:33Z</dc:date>
    </item>
  </channel>
</rss>

