<?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 Using a variable fieldname in a Filter List block in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Using-a-variable-fieldname-in-a-Filter-List-block/m-p/2546497#M6504</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in a Qlik Cloud automation, within a filter block, I need to use a variable as the fieldname.&lt;/P&gt;&lt;P&gt;How would this look in the If statement?&lt;/P&gt;&lt;P&gt;Without a variable, the name is stated like:&amp;nbsp; &amp;nbsp;'Required Fieldname'&lt;/P&gt;&lt;P&gt;I've tried replacing that with various options (after toggling the parsing option to allow JSON input) :-&lt;/P&gt;&lt;P&gt;&amp;nbsp; '{ $.requiredFieldName }'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;{ $.requiredFieldName }&lt;/P&gt;&lt;P&gt;&amp;nbsp; =''{ $.requiredFieldName }'&lt;/P&gt;&lt;P&gt;&amp;nbsp; '={ $.requiredFieldName }'&lt;/P&gt;&lt;P&gt;and similar, but nothing I've tried is working.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2026 11:20:17 GMT</pubDate>
    <dc:creator>StephenDunn</dc:creator>
    <dc:date>2026-04-09T11:20:17Z</dc:date>
    <item>
      <title>Using a variable fieldname in a Filter List block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Using-a-variable-fieldname-in-a-Filter-List-block/m-p/2546497#M6504</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in a Qlik Cloud automation, within a filter block, I need to use a variable as the fieldname.&lt;/P&gt;&lt;P&gt;How would this look in the If statement?&lt;/P&gt;&lt;P&gt;Without a variable, the name is stated like:&amp;nbsp; &amp;nbsp;'Required Fieldname'&lt;/P&gt;&lt;P&gt;I've tried replacing that with various options (after toggling the parsing option to allow JSON input) :-&lt;/P&gt;&lt;P&gt;&amp;nbsp; '{ $.requiredFieldName }'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;{ $.requiredFieldName }&lt;/P&gt;&lt;P&gt;&amp;nbsp; =''{ $.requiredFieldName }'&lt;/P&gt;&lt;P&gt;&amp;nbsp; '={ $.requiredFieldName }'&lt;/P&gt;&lt;P&gt;and similar, but nothing I've tried is working.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2026 11:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Using-a-variable-fieldname-in-a-Filter-List-block/m-p/2546497#M6504</guid>
      <dc:creator>StephenDunn</dc:creator>
      <dc:date>2026-04-09T11:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable fieldname in a Filter List block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Using-a-variable-fieldname-in-a-Filter-List-block/m-p/2547067#M6511</link>
      <description>&lt;P&gt;You can't use a variable as the field name inside the filter block in Qlik Cloud automations. Field names must be literal strings. The solution is to set up your automation so that the variable resolves before the filter. Then, give the resolved value to the filter expression. This means that in practice, you will need to use the variable's value in the condition (for example, `{{ $.requiredFieldName }}`) instead of trying to change the field name itself.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 05:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Using-a-variable-fieldname-in-a-Filter-List-block/m-p/2547067#M6511</guid>
      <dc:creator>tamara48wells</dc:creator>
      <dc:date>2026-04-16T05:25:40Z</dc:date>
    </item>
  </channel>
</rss>

