<?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 KPI and Filter Pane doesn't work with variable in the expression in Direct Query Approach in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-and-Filter-Pane-doesn-t-work-with-variable-in-the-expression/m-p/1559167#M40726</link>
    <description>&lt;P&gt;I am using a Direct query approach since I have millions of data to work with and full load is not practical.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Direct Query:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;BR /&gt;dimension&lt;BR /&gt;[cf_id],&lt;BR /&gt;[c_id],&lt;BR /&gt;[txt],&lt;BR /&gt;[file]&lt;BR /&gt;measure&lt;BR /&gt;1 as record_count&lt;BR /&gt;FROM table_x;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Load was successful and I can do basic KPI with the data.&lt;/P&gt;&lt;P&gt;1) But the KPI doesn't yield correct result when I use set analysis. (Expression in KPI)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: (vWord1 is my input box variable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;file = p({&amp;lt;txt= {"*$(#vWord1)*"} &amp;gt;}) &amp;gt;} [c_id])&lt;/P&gt;&lt;P&gt;2) Also few qlik sense functions doesn't yield correct result. (Expression in Filter Pane)&lt;/P&gt;&lt;P&gt;=if(txt = vWord1, txt)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:17:37 GMT</pubDate>
    <dc:creator>vsabbise</dc:creator>
    <dc:date>2024-11-16T06:17:37Z</dc:date>
    <item>
      <title>KPI and Filter Pane doesn't work with variable in the expression in Direct Query Approach</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-and-Filter-Pane-doesn-t-work-with-variable-in-the-expression/m-p/1559167#M40726</link>
      <description>&lt;P&gt;I am using a Direct query approach since I have millions of data to work with and full load is not practical.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Direct Query:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DIRECT QUERY&lt;BR /&gt;dimension&lt;BR /&gt;[cf_id],&lt;BR /&gt;[c_id],&lt;BR /&gt;[txt],&lt;BR /&gt;[file]&lt;BR /&gt;measure&lt;BR /&gt;1 as record_count&lt;BR /&gt;FROM table_x;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Load was successful and I can do basic KPI with the data.&lt;/P&gt;&lt;P&gt;1) But the KPI doesn't yield correct result when I use set analysis. (Expression in KPI)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example: (vWord1 is my input box variable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=count(distinct {&amp;lt;file = p({&amp;lt;txt= {"*$(#vWord1)*"} &amp;gt;}) &amp;gt;} [c_id])&lt;/P&gt;&lt;P&gt;2) Also few qlik sense functions doesn't yield correct result. (Expression in Filter Pane)&lt;/P&gt;&lt;P&gt;=if(txt = vWord1, txt)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-and-Filter-Pane-doesn-t-work-with-variable-in-the-expression/m-p/1559167#M40726</guid>
      <dc:creator>vsabbise</dc:creator>
      <dc:date>2024-11-16T06:17:37Z</dc:date>
    </item>
  </channel>
</rss>

