<?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: Qlik Sense Server - Custom expression to add filter pane value in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-Server-Custom-expression-to-add-filter-pane-value/m-p/2452102#M27240</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since Boolean in Qlik are of type Dual, maybe this should work:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Text(Transaction_ID=10 Or Transaction_ID=11)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 09:03:10 GMT</pubDate>
    <dc:creator>mpc</dc:creator>
    <dc:date>2024-05-14T09:03:10Z</dc:date>
    <item>
      <title>Qlik Sense Server - Custom expression to add filter pane value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-Server-Custom-expression-to-add-filter-pane-value/m-p/2452077#M27239</link>
      <description>&lt;P&gt;Hello devs,&lt;/P&gt;
&lt;P&gt;I have a list of entries with a column named Transaction_ID that describes what type of transaction is it. It can contain codes from a big list (an integer between 0 and 100) but only a group of them are what we call 'Client Transactions'.&lt;/P&gt;
&lt;P&gt;I'm now creating a dashboard and a collegue asked me to add a filter pane with an option to toggle between 'Client Transactions' and the rest of them, so I created something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marceloromero_0-1715674585510.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166015iFB35DB7441E0AFB3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marceloromero_0-1715674585510.png" alt="marceloromero_0-1715674585510.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In 'Champ' I put the following condition: =Transaction_ID=10 Or Transaction_ID=11 Or ... etc (with the list of transactions that are considered 'Client Transactions')&lt;/P&gt;
&lt;P&gt;This creates a filter with two options, -1 (when the condition is true) and 0 (when the condition is false).&lt;/P&gt;
&lt;P&gt;How could I replace -1 and 0 for custom values (like True and False)?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marcelo&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-Server-Custom-expression-to-add-filter-pane-value/m-p/2452077#M27239</guid>
      <dc:creator>marceloromero</dc:creator>
      <dc:date>2024-11-15T20:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Server - Custom expression to add filter pane value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-Server-Custom-expression-to-add-filter-pane-value/m-p/2452102#M27240</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since Boolean in Qlik are of type Dual, maybe this should work:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Text(Transaction_ID=10 Or Transaction_ID=11)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 09:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-Server-Custom-expression-to-add-filter-pane-value/m-p/2452102#M27240</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-05-14T09:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Server - Custom expression to add filter pane value</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-Server-Custom-expression-to-add-filter-pane-value/m-p/2452206#M27241</link>
      <description>&lt;P&gt;Text still showed '-1' and '0' but I found another post where they explained the solution:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Showing-boolean-data-as-a-check-box-or-similar/td-p/308968" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Showing-boolean-data-as-a-check-box-or-similar/td-p/308968&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It was solved writing:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If(Transaction_ID=10 Or Transaction_ID=11, 'True', 'False')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 11:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-Server-Custom-expression-to-add-filter-pane-value/m-p/2452206#M27241</guid>
      <dc:creator>marceloromero</dc:creator>
      <dc:date>2024-05-14T11:17:16Z</dc:date>
    </item>
  </channel>
</rss>

