<?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: Escape dollar sign extension in set analyis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043113#M85880</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/App-Development/Escape-Dollar-Sign-Expansion/td-p/1627896" target="_blank"&gt;https://community.qlik.com/t5/App-Development/Escape-Dollar-Sign-Expansion/td-p/1627896&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Nasty, but it's the only option I know of that works.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 11:23:23 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-02-28T11:23:23Z</dc:date>
    <item>
      <title>Escape dollar sign extension in set analyis</title>
      <link>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043101#M85879</link>
      <description>&lt;P&gt;Assume I have this loadscript:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Load * Inline [
  USERNAME,ID
  foo,1
  bar,2
  foo$(bar,3
];   &lt;/LI-CODE&gt;
&lt;P&gt;I now want a table that only lists the rows with USERNAME 'foo' and 'foo$(bar'.&lt;/P&gt;
&lt;P&gt;I cannot use filters as this would filter the data globally, so I use set analysis in the dimension like this:&lt;/P&gt;
&lt;P&gt;=Aggr(Only({&amp;lt;[USERNAME]={'foo'}&amp;gt;}USERNAME),USERNAME)&lt;/P&gt;
&lt;P&gt;That works for 'foo'. But this one does not work:&lt;/P&gt;
&lt;P&gt;=Aggr(Only({&amp;lt;[USERNAME]={'foo',' foo$(bar'}&amp;gt;}USERNAME),USERNAME)&lt;/P&gt;
&lt;P&gt;This is because $( triggers dollar sign extension. I have tried a couple of things to escape this but nothing works. Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 11:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043101#M85879</guid>
      <dc:creator>christopherkramer</dc:creator>
      <dc:date>2023-02-28T11:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Escape dollar sign extension in set analyis</title>
      <link>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043113#M85880</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/App-Development/Escape-Dollar-Sign-Expansion/td-p/1627896" target="_blank"&gt;https://community.qlik.com/t5/App-Development/Escape-Dollar-Sign-Expansion/td-p/1627896&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Nasty, but it's the only option I know of that works.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 11:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043113#M85880</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-02-28T11:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Escape dollar sign extension in set analyis</title>
      <link>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043146#M85881</link>
      <description>&lt;P&gt;Like already hinted there is no escape/masking logic available and most common are the mentioned replace-approaches - whereby they might be made directly within the data. This means not loading ...$(... and replacing it within UI expressions else replacing it in the data and calling it appropriate within the UI. IMO it should be simpler.&lt;/P&gt;
&lt;P&gt;Beside this you may load this information as loosen table and then selecting + locking the wanted values and the set analysis relates to it per p() like:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aggr(Only({&amp;lt;[USERNAME] = p([USERNAMExyz])&amp;gt;}USERNAME),USERNAME)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 12:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043146#M85881</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-02-28T12:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Escape dollar sign extension in set analyis</title>
      <link>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043161#M85884</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt; and &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt; for your replies.&lt;/P&gt;
&lt;P&gt;If I replace $( loading the data, the replaced value will show up in filters.&lt;/P&gt;
&lt;P&gt;Only way I can think of is to keep the original value in another field, configure the filter on this field, and use the field with the replaced value in the set analysis.&lt;/P&gt;
&lt;P&gt;Nasty, indeed. I guess I will open an idea thread for this.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 12:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043161#M85884</guid>
      <dc:creator>christopherkramer</dc:creator>
      <dc:date>2023-02-28T12:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Escape dollar sign extension in set analyis</title>
      <link>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043167#M85885</link>
      <description>&lt;P&gt;This must not mandatory be a show-stopper because the suggestion was just to load this field twice - one time the origin one and the second time with adjustments - directly related or like hinted within a loosen table.&lt;/P&gt;
&lt;P&gt;Loading a field more than once is not seldom else rather best practice to simplify the access or to extend a logic to features which would be much more complex by using other methods.&lt;/P&gt;
&lt;P&gt;One examples for it are string-like date-fields as months 'Jan', 'Feb', ... which may cause various troubles by calculations/matching which are better made against 1, 2, ..., 12. Other cases may own total / average results within objects which couldn't be displayed if such dimension-values didn't exists.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 12:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Escape-dollar-sign-extension-in-set-analyis/m-p/2043167#M85885</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-02-28T12:46:55Z</dc:date>
    </item>
  </channel>
</rss>

