<?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 specify explicit &amp;gt; and &amp;lt; in set modifier in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625250#M478593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) To my experience, in the set analysis, you can use single or double quotes. Even quare brackets.&lt;/P&gt;&lt;P&gt;I do not think the type of quotes makes any difference (but in fact there is perhaps one that I did not understand)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The dual() function was the origin of your problem. It is why it was working with my test db, and could not understand the point. =&amp;gt; I have to think how the field is stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2014 10:08:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-12T10:08:29Z</dc:date>
    <item>
      <title>How to specify explicit &gt; and &lt; in set modifier</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625244#M478587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a method to specify '&amp;gt;' and '&amp;lt;' characters in set modifiers as part of explicit diminsion valiues and block QlikView from treating them as numeric/date range specificers? For example I have an OpenInvoice dimension that contains - amongst others - the value '&amp;gt;90d'. Using that one in a set modifier won't produce the expected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can work around this problem by either:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;using an inverse modifier: specifying the values to exclude. That won't work if the inverse set als contains dimension values with a &amp;lt; or &amp;gt;.&lt;/LI&gt;&lt;LI&gt;treating all dimension values with the dual() function and using the numerical value in a set modifier. That won't work well if there are too many different value ranges to exclude/include.&lt;/LI&gt;&lt;LI&gt;creating a dimension value ID field without &amp;gt; or &amp;lt; that corresponds 1:1 to the different texts, and use that value in a set modifier. I will use a hack like this if there aren't any other solutions.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There must be another, more elegant way to solve this. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 15:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625244#M478587</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-11T15:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify explicit &gt; and &lt; in set modifier</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625245#M478588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see below&amp;nbsp; where &amp;gt; and &amp;lt; are used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({Year={"&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;$(=Year-3) &lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;$(Year)"}}&amp;nbsp; Amountfield)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Excluding values you can use below (- Operator)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({Year - ={"&lt;STRONG&gt;&amp;gt;&lt;/STRONG&gt;$(=Year-3) "}}&amp;nbsp; Amountfield)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 15:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625245#M478588</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-11T15:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify explicit &gt; and &lt; in set modifier</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625246#M478589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use double quotes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;3"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;10"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I use a variable that contain the value, i also use the double quotes "$(Myvar)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Perhaps, I have not understood completely your point.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 15:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625246#M478589</guid>
      <dc:creator />
      <dc:date>2014-03-11T15:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify explicit &gt; and &lt; in set modifier</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625247#M478590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do NOT want the behavior you're explaining to me. I want no default range behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I specify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...{&amp;lt;[Invoice Cat] = {"&amp;gt;90d"}&amp;gt;} ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; then I want to apply my aggregation to all records that have explicit value "&amp;gt;90d" in field [Invoice Cat]. How can I explain that to QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for not being clearer...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 16:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625247#M478590</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-11T16:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify explicit &gt; and &lt; in set modifier</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625248#M478591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hope to understand &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;load rowno() as id, *;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;90d&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;90d&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$ &amp;lt;Inv={'&amp;gt;90d'}&amp;gt;} Inv)&lt;/P&gt;&lt;P&gt;count({$ &amp;lt;Inv={'&amp;gt;90d','&amp;gt;2'}&amp;gt;} Inv)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-03-11 22_52_42-Clipboard.png" class="jive-image" src="/legacyfs/online/54766_2014-03-11 22_52_42-Clipboard.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 21:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625248#M478591</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-03-11T21:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify explicit &gt; and &lt; in set modifier</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625249#M478592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo is right about using single quotes for literal interpretation of strings. But unfortuantely, that didn't help me as I tested that trick already and it still didn't get me more than 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I found out what was causing the anomaly. When creating the Overdue category for unpaid invoices, I used a dual() function to attach a sorting order to the category, e.g. &lt;EM&gt;Not Expired&lt;/EM&gt; = dual('NE', 0), &lt;EM&gt;Less than 31 days overdue&lt;/EM&gt; = dual('0-30d', 1) and so on.&lt;/P&gt;&lt;P&gt;Until I get to &lt;EM&gt;More than 90 days overdue&lt;/EM&gt; = dual('&amp;gt;90d', 4) and this one causes trouble when later on I use a text box expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {&amp;lt;ExpCat={'&amp;gt;90d'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView doesn't know how to handle that one. A bug? A documented feature? Don't know. I dropped all the dual() stuff and handled the sort order using another technique. Now it's working as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 09:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625249#M478592</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-03-12T09:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify explicit &gt; and &lt; in set modifier</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625250#M478593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) To my experience, in the set analysis, you can use single or double quotes. Even quare brackets.&lt;/P&gt;&lt;P&gt;I do not think the type of quotes makes any difference (but in fact there is perhaps one that I did not understand)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The dual() function was the origin of your problem. It is why it was working with my test db, and could not understand the point. =&amp;gt; I have to think how the field is stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 10:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-specify-explicit-gt-and-lt-in-set-modifier/m-p/625250#M478593</guid>
      <dc:creator />
      <dc:date>2014-03-12T10:08:29Z</dc:date>
    </item>
  </channel>
</rss>

