<?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>article Qlik Replicate: Creating expressions for columns containing special character '$' in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Creating-expressions-for-columns-containing/ta-p/2144452</link>
    <description>&lt;P&gt;The syntax used for creating expressions on column names that contain the symbol&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;'$'&lt;/STRONG&gt; &lt;/FONT&gt;differs between Qlik Replicate versions. This article documents the two different methods.&lt;/P&gt;
&lt;P&gt;The syntax changed with the May 2023 release. Previously, the syntax allowed the full column name to be recognized with a &lt;FONT color="#339966"&gt;&lt;STRONG&gt;'$'&lt;/STRONG&gt;&lt;/FONT&gt; symbol in front of the column name. With the current syntax, Qlik Replicate interprets these expressions as containing two separate columns and will error out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Content:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-TOC indent="15" liststyle="none" maxheadinglevel="3"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Replicate May 2023 and later&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;Starting with the May 2023 release, extra &lt;STRONG&gt;&lt;FONT color="#339966"&gt;'$'&lt;/FONT&gt;&lt;/STRONG&gt; symbols are treated as an additional column name. To correctly format the expression to read it as a single column, the setting&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Support special characters in column names used in expressions&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;must be enabled&amp;nbsp;and the syntax of double quoting the column name should be used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Enable the transformation setting:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Open your Endpoint's Task settings&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Go to &lt;STRONG&gt;Task settings&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Go to &lt;STRONG&gt;Transformations and Filters&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Open &lt;STRONG&gt;Expression Defaults&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Check&amp;nbsp;&lt;STRONG&gt;Support special characters in column names used in expressions&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="support special characters in column names used in expressions.png" style="width: 645px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121110i6EED01631A94CCB8/image-dimensions/645x360?v=v2" width="645" height="360" role="button" title="support special characters in column names used in expressions.png" alt="support special characters in column names used in expressions.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Syntax example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Column name:&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;IXF$RP&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Expression: &lt;FONT face="courier new,courier"&gt;"IXF$RP"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expression builder example may 2023 and later releases.png" style="width: 611px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121111iB6F9C6D6FE25AC9E/image-dimensions/611x526?v=v2" width="611" height="526" role="button" title="expression builder example may 2023 and later releases.png" alt="expression builder example may 2023 and later releases.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If support for special characters is not toggled on, the &lt;STRONG&gt;Parse expression&lt;/STRONG&gt; will not parse.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="support special characters in column names not toggled on.png" style="width: 575px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121112i22266FF80803F6EB/image-dimensions/575x520?v=v2" width="575" height="520" role="button" title="support special characters in column names not toggled on.png" alt="support special characters in column names not toggled on.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; If the extra '$' is used, the expression will treat the column name as two separate columns. Running the expression as is will lead to the task failing with "&lt;FONT face="courier new,courier"&gt;Failed to init column calculation expression&lt;/FONT&gt;".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quotes not used.png" style="width: 572px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121113i9B1372B4D0D59BF0/image-dimensions/572x520?v=v2" width="572" height="520" role="button" title="quotes not used.png" alt="quotes not used.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Replicate versions&amp;nbsp;&lt;EM&gt;prior&amp;nbsp;&lt;/EM&gt;to May 2023&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Previous syntax example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Column name:&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;IXF$RP&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Expression: &lt;FONT face="courier new,courier"&gt;$IXF$RP&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expression builder example pre may 2023 releases.png" style="width: 568px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121107iC87A140019ED0D10/image-size/large?v=v2&amp;amp;px=999" role="button" title="expression builder example pre may 2023 releases.png" alt="expression builder example pre may 2023 releases.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Content&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://help.qlik.com/en-US/replicate/Content/Global_Common/Content/SharedEMReplicate/Server%20Settings/transformations-filters.htm" target="_self"&gt;Transformations and Filters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;The warning and example provided in the user guide refer to string literals used in an expression and not the column name. Single quotes should be used for the string literals and not the column name.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 10:27:21 GMT</pubDate>
    <dc:creator>Alan_Wang</dc:creator>
    <dc:date>2023-12-06T10:27:21Z</dc:date>
    <item>
      <title>Qlik Replicate: Creating expressions for columns containing special character '$'</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Creating-expressions-for-columns-containing/ta-p/2144452</link>
      <description>&lt;P&gt;The syntax used for creating expressions on column names that contain the symbol&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;'$'&lt;/STRONG&gt; &lt;/FONT&gt;differs between Qlik Replicate versions. This article documents the two different methods.&lt;/P&gt;
&lt;P&gt;The syntax changed with the May 2023 release. Previously, the syntax allowed the full column name to be recognized with a &lt;FONT color="#339966"&gt;&lt;STRONG&gt;'$'&lt;/STRONG&gt;&lt;/FONT&gt; symbol in front of the column name. With the current syntax, Qlik Replicate interprets these expressions as containing two separate columns and will error out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Content:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-TOC indent="15" liststyle="none" maxheadinglevel="3"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Replicate May 2023 and later&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;Starting with the May 2023 release, extra &lt;STRONG&gt;&lt;FONT color="#339966"&gt;'$'&lt;/FONT&gt;&lt;/STRONG&gt; symbols are treated as an additional column name. To correctly format the expression to read it as a single column, the setting&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Support special characters in column names used in expressions&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;must be enabled&amp;nbsp;and the syntax of double quoting the column name should be used.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Enable the transformation setting:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Open your Endpoint's Task settings&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Go to &lt;STRONG&gt;Task settings&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Go to &lt;STRONG&gt;Transformations and Filters&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Open &lt;STRONG&gt;Expression Defaults&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Check&amp;nbsp;&lt;STRONG&gt;Support special characters in column names used in expressions&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="support special characters in column names used in expressions.png" style="width: 645px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121110i6EED01631A94CCB8/image-dimensions/645x360?v=v2" width="645" height="360" role="button" title="support special characters in column names used in expressions.png" alt="support special characters in column names used in expressions.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Syntax example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Column name:&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;IXF$RP&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Expression: &lt;FONT face="courier new,courier"&gt;"IXF$RP"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expression builder example may 2023 and later releases.png" style="width: 611px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121111iB6F9C6D6FE25AC9E/image-dimensions/611x526?v=v2" width="611" height="526" role="button" title="expression builder example may 2023 and later releases.png" alt="expression builder example may 2023 and later releases.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If support for special characters is not toggled on, the &lt;STRONG&gt;Parse expression&lt;/STRONG&gt; will not parse.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="support special characters in column names not toggled on.png" style="width: 575px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121112i22266FF80803F6EB/image-dimensions/575x520?v=v2" width="575" height="520" role="button" title="support special characters in column names not toggled on.png" alt="support special characters in column names not toggled on.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; If the extra '$' is used, the expression will treat the column name as two separate columns. Running the expression as is will lead to the task failing with "&lt;FONT face="courier new,courier"&gt;Failed to init column calculation expression&lt;/FONT&gt;".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quotes not used.png" style="width: 572px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121113i9B1372B4D0D59BF0/image-dimensions/572x520?v=v2" width="572" height="520" role="button" title="quotes not used.png" alt="quotes not used.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Qlik Replicate versions&amp;nbsp;&lt;EM&gt;prior&amp;nbsp;&lt;/EM&gt;to May 2023&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Previous syntax example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Column name:&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;IXF$RP&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Expression: &lt;FONT face="courier new,courier"&gt;$IXF$RP&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="expression builder example pre may 2023 releases.png" style="width: 568px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/121107iC87A140019ED0D10/image-size/large?v=v2&amp;amp;px=999" role="button" title="expression builder example pre may 2023 releases.png" alt="expression builder example pre may 2023 releases.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Related Content&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://help.qlik.com/en-US/replicate/Content/Global_Common/Content/SharedEMReplicate/Server%20Settings/transformations-filters.htm" target="_self"&gt;Transformations and Filters&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE class="quote"&gt;The warning and example provided in the user guide refer to string literals used in an expression and not the column name. Single quotes should be used for the string literals and not the column name.&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 10:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Creating-expressions-for-columns-containing/ta-p/2144452</guid>
      <dc:creator>Alan_Wang</dc:creator>
      <dc:date>2023-12-06T10:27:21Z</dc:date>
    </item>
  </channel>
</rss>

