<?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 Bracket issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833857#M1002520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to compare two brackets, to find out wich one is bigger example [100-200]&amp;gt;[50-100]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how my bracket look like :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="186"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;" width="186"&gt;&amp;gt;8000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;01-25,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;25,001-75,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;75,001-100,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;100,001-200,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;500,001-1000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;600,001-8000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;1000,001-2000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;2000,001-4000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;4000,001-6000,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;i loaded All my fields in the script&lt;/P&gt;&lt;P&gt;but this gave me an empty Field&amp;gt;&amp;gt;&amp;gt;&amp;gt; Dual(brack1, (Num#(TextBetween(brack1, '[', '-'), '##') + &lt;SPAN style="font-size: 13px;"&gt;&lt;STRONG&gt;Num#(TextBetween(brack1, '-', ']'), '##'))/2) as brack1,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;STRONG&gt;can you help ?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 08:09:50 GMT</pubDate>
    <dc:creator>mario-sarkis</dc:creator>
    <dc:date>2015-06-05T08:09:50Z</dc:date>
    <item>
      <title>Bracket issue</title>
      <link>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833857#M1002520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to compare two brackets, to find out wich one is bigger example [100-200]&amp;gt;[50-100]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how my bracket look like :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="186"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;" width="186"&gt;&amp;gt;8000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;01-25,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;25,001-75,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;75,001-100,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;100,001-200,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;500,001-1000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;600,001-8000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;1000,001-2000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;2000,001-4000,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: black 0px solid;"&gt;4000,001-6000,000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;i loaded All my fields in the script&lt;/P&gt;&lt;P&gt;but this gave me an empty Field&amp;gt;&amp;gt;&amp;gt;&amp;gt; Dual(brack1, (Num#(TextBetween(brack1, '[', '-'), '##') + &lt;SPAN style="font-size: 13px;"&gt;&lt;STRONG&gt;Num#(TextBetween(brack1, '-', ']'), '##'))/2) as brack1,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;STRONG&gt;can you help ?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 08:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833857#M1002520</guid>
      <dc:creator>mario-sarkis</dc:creator>
      <dc:date>2015-06-05T08:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bracket issue</title>
      <link>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833858#M1002521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no square brackets in your example data (or you removed them).&lt;/P&gt;&lt;P&gt;Care to post your entire script and some real data as an example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 08:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833858#M1002521</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-06-05T08:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bracket issue</title>
      <link>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833859#M1002523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Besides Peter's comment, what defines 'bigger' in your context?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I first assumed that bigger means the interval contains more integers i.e. I would calculate it as difference of&lt;/P&gt;&lt;P&gt;upper limit of bucket - lower limit of bucket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you are trying to calculate the mean value. Does this define the 'Bigness'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second comment: You could also run into troubles using the num#() function, if your format code and the decimal and thousand separator are not well defined (or if the separators in your default settings are different from ones used in the input table records). It might be better to define them explicitely:&lt;/P&gt;&lt;P&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; Dual(brack1, (Num#(Subfield(brack1, '-',1), '###,###',',','.') + &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Num#(Subfield(brack1, '-',2), '###,###',',','.'))/2) as brack1,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 09:16:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833859#M1002523</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-05T09:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bracket issue</title>
      <link>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833860#M1002524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Duplicate post &lt;A href="https://community.qlik.com/thread/166978"&gt;Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 09:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bracket-issue/m-p/833860#M1002524</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-06-05T09:19:56Z</dc:date>
    </item>
  </channel>
</rss>

