<?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: How to pass input parameters from Qlik Sense to limit the data fetched from database? in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1720842#M166340</link>
    <description>&lt;P&gt;I am using the following query with input parameters. I see the values are replaced with the parameter values in the query. However when loading the data, there are no records loaded. If I replace the parameter values with actual values the data would be loaded. Please suggest if there is anything I am missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'TEST';&lt;/P&gt;&lt;P&gt;Set v_gl_segment_name = 'Activity Code';&lt;BR /&gt;Set v_gl_segment_value = '10';&lt;BR /&gt;DIRECT QUERY DIMENSION&lt;BR /&gt;TEST.COMPANY,&lt;BR /&gt;TEST1.ACCOUNT,&lt;BR /&gt;MEASURE&lt;BR /&gt;SUM(TEST.AMOUNT) AS AMOUNT,&lt;BR /&gt;1 AS LINE_CT&lt;BR /&gt;FROM TEST ,&lt;BR /&gt;TEST1,&lt;BR /&gt;WHERE 1=1 AND&lt;BR /&gt;TEST.SEGMENT_NAME='$(v_gl_segment_name)' AND TEST1.CREDIT_CODE='$(v_gl_segment_value)'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2020 11:43:34 GMT</pubDate>
    <dc:creator>rajreddys</dc:creator>
    <dc:date>2020-06-22T11:43:34Z</dc:date>
    <item>
      <title>How to pass input parameters from Qlik Sense to limit the data fetched from database?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1548157#M127958</link>
      <description>&lt;P&gt;We have a requirement where the user will provide a date range as input. The database contains millions of records but based on the date range chosen by the user, the query should narrow the resultset to be brought back. We have implemented date picker to select the range. Now how do we pass these dates to the SQL query from Qlik Sense?&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example query may be,&lt;/P&gt;&lt;P&gt;SELECT POLICY_NUM, POLICY_HOLDER_NAME FROM POLICY WHERE ISSUE DATE BETWEEN&amp;nbsp;@START_DATE and&amp;nbsp;@END_DATE&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1548157#M127958</guid>
      <dc:creator>SandeepBiswas</dc:creator>
      <dc:date>2024-11-16T21:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input parameters from Qlik Sense to limit the data fetched from database?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1548404#M128019</link>
      <description>&lt;P&gt;u can try with stored procedure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=o1uBAMrVyFE" target="_self"&gt;https://www.youtube.com/watch?v=o1uBAMrVyFE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 08:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1548404#M128019</guid>
      <dc:creator>Channa</dc:creator>
      <dc:date>2019-02-24T08:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input parameters from Qlik Sense to limit the data fetched from database?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1548693#M128114</link>
      <description>&lt;P&gt;This video is about Qlik View. We are using Qlik Sense.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 12:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1548693#M128114</guid>
      <dc:creator>SandeepBiswas</dc:creator>
      <dc:date>2019-02-25T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input parameters from Qlik Sense to limit the data fetched from database?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1720194#M166177</link>
      <description>&lt;P&gt;Hello, did you find a solution for this, I have a similar use case of passing parameters to a where clause in oracle.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 01:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1720194#M166177</guid>
      <dc:creator>rajreddys</dc:creator>
      <dc:date>2020-06-19T01:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input parameters from Qlik Sense to limit the data fetched from database?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1720360#M166211</link>
      <description>&lt;P&gt;When you create your SQL Statement, you append to it the parameters of your WHERE clause.&amp;nbsp; Or you can create a sproc, and then add those parameters to the SQL Statement&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 13:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1720360#M166211</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2020-06-19T13:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass input parameters from Qlik Sense to limit the data fetched from database?</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1720842#M166340</link>
      <description>&lt;P&gt;I am using the following query with input parameters. I see the values are replaced with the parameter values in the query. However when loading the data, there are no records loaded. If I replace the parameter values with actual values the data would be loaded. Please suggest if there is anything I am missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'TEST';&lt;/P&gt;&lt;P&gt;Set v_gl_segment_name = 'Activity Code';&lt;BR /&gt;Set v_gl_segment_value = '10';&lt;BR /&gt;DIRECT QUERY DIMENSION&lt;BR /&gt;TEST.COMPANY,&lt;BR /&gt;TEST1.ACCOUNT,&lt;BR /&gt;MEASURE&lt;BR /&gt;SUM(TEST.AMOUNT) AS AMOUNT,&lt;BR /&gt;1 AS LINE_CT&lt;BR /&gt;FROM TEST ,&lt;BR /&gt;TEST1,&lt;BR /&gt;WHERE 1=1 AND&lt;BR /&gt;TEST.SEGMENT_NAME='$(v_gl_segment_name)' AND TEST1.CREDIT_CODE='$(v_gl_segment_value)'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 11:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/How-to-pass-input-parameters-from-Qlik-Sense-to-limit-the-data/m-p/1720842#M166340</guid>
      <dc:creator>rajreddys</dc:creator>
      <dc:date>2020-06-22T11:43:34Z</dc:date>
    </item>
  </channel>
</rss>

