<?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: Editor-trouble with a set_expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588231#M218108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm agree that contructing formulas wouldn't be based on satisfying syntax highlighting. However, I think that sometimes it can be confusing and difficult to debug a formula when syntax stops working correctly. I hope this issue gets fixed in next releases,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 18:13:01 GMT</pubDate>
    <dc:creator>jaimeaguilar</dc:creator>
    <dc:date>2014-02-17T18:13:01Z</dc:date>
    <item>
      <title>Editor-trouble with a set_expression</title>
      <link>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588226#M218103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following issue - which is rather an issue of the editor (and thus a &lt;STRONG&gt;feature request or whatchamacallit&lt;/STRONG&gt;), it works like it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; My expression in this scenario (one of the most complex of this sort which I have) is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%Datum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=DATE(v_today))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} DISTINCT Pers_Nr5)&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;%Datum = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(= '&amp;lt;' &amp;amp; DATE(v_today))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} Gestempelt)&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;dienstfrei={0}, Urlaub={0}&amp;gt;} Kennz_krank)&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;%Datum = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(= '&amp;lt;' &amp;amp; DATE(v_today))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, dienstfrei={0}, Kennz_krank={0}&amp;gt;} Urlaub)&lt;BR /&gt;-&amp;nbsp;&amp;nbsp; SUM({$&amp;lt;%Datum = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(= '&amp;lt;' &amp;amp; DATE(v_today))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, Urlaub={0}, Kennz_krank={0}&amp;gt;} dienstfrei) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;As I said, this works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=&amp;gt; The trouble is, the editor in QlikView does not seem to recognize that '-=' in the first line of the set_expression =&amp;gt; everything from that point on is underlined in red, which makes it a bit difficult to detect syntax_errors after that, should there be any. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=&amp;gt; Still, the editor says "Expression okay" &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Is there any chance of this bug in the editor being fixed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DataNibbler&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 16:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588226#M218103</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-14T16:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Editor-trouble with a set_expression</title>
      <link>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588227#M218104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't answer about it being fixed, but you could use this syntax instead which won't show it as having syntax errors:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$-&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%Datum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=DATE(v_today))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} DISTINCT Pers_Nr5)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(I changed the $ to $- and the -= to just &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 20:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588227#M218104</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-14T20:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Editor-trouble with a set_expression</title>
      <link>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588228#M218105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, there are some bugs in editor highlighting like these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use &lt;STRONG&gt;-=, +=, *=, /=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 2014-02-14 17.49.29.png" class="jive-image" src="/legacyfs/online/53239_Screenshot 2014-02-14 17.49.29.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this other one:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 2014-02-14 17.50.18.png" class="jive-image" src="/legacyfs/online/53240_Screenshot 2014-02-14 17.50.18.png" /&gt;&lt;/P&gt;&lt;P&gt;also using variables like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot 2014-02-14 17.57.00.png" class="jive-image" src="/legacyfs/online/53241_Screenshot 2014-02-14 17.57.00.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, in most cases there are workarounds or alternative ways of getting to the same result, like what Nicole suggested,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 23:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588228#M218105</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-02-14T23:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Editor-trouble with a set_expression</title>
      <link>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588229#M218106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldn't use different syntax just to satisfy the editor's highlighting. This could end up in confusion about the initial intention of the set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Feb 2014 15:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588229#M218106</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-02-16T15:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Editor-trouble with a set_expression</title>
      <link>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588230#M218107</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;I'm a bit torn on this one. I have chosen this specific syntax because, in a way, it is more elegant and, like Ralf said, I wouldn't like to change my style of doing things just to satisfy the editor's capabilities or incapabilities.&lt;/P&gt;&lt;P&gt;On the other hand, well, you have to accept some things if you cannot change them ...&lt;/P&gt;&lt;P&gt;Also, it would make it easier for anyone else to reconstruct the intention of that statement if it wasn't all underlined - which is one of my principal objectives in developing my apps.&lt;/P&gt;&lt;P&gt;Thanks for your ideas and comments!&lt;/P&gt;&lt;P&gt;I'll think about it.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 07:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588230#M218107</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-02-17T07:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Editor-trouble with a set_expression</title>
      <link>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588231#M218108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm agree that contructing formulas wouldn't be based on satisfying syntax highlighting. However, I think that sometimes it can be confusing and difficult to debug a formula when syntax stops working correctly. I hope this issue gets fixed in next releases,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 18:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Editor-trouble-with-a-set-expression/m-p/588231#M218108</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-02-17T18:13:01Z</dc:date>
    </item>
  </channel>
</rss>

