<?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 Stored Procedure refreshing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271951#M708644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I have created a dashboard which connects to our SQL Server. There are a number of stored procedures which I am using. This works fine when the document reloads - however, I am confused as to how I would refresh this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, Qlikview will load all my data when the document loads. When I filter, the data loaded is filtered.. and not refreshed from the datasource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to run stored procedures based on filters on my dashboard. My code at the moment is this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SET paramDateFrom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "2011-09-18";&lt;/P&gt;&lt;P&gt;SET paramDateTo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "2011-09-19";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL EXECUTE [dbo].[GridLoadServices] '$(paramDateFrom)', '$(paramDateTo)', '0';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the above will load OK when I press reload. but I have (for example) a date component which updates the paramDateFrom variable. How do I then refresh the data source? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Matt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2011 11:24:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-19T11:24:59Z</dc:date>
    <item>
      <title>Stored Procedure refreshing</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271951#M708644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I have created a dashboard which connects to our SQL Server. There are a number of stored procedures which I am using. This works fine when the document reloads - however, I am confused as to how I would refresh this information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, Qlikview will load all my data when the document loads. When I filter, the data loaded is filtered.. and not refreshed from the datasource.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to run stored procedures based on filters on my dashboard. My code at the moment is this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SET paramDateFrom&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "2011-09-18";&lt;/P&gt;&lt;P&gt;SET paramDateTo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "2011-09-19";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL EXECUTE [dbo].[GridLoadServices] '$(paramDateFrom)', '$(paramDateTo)', '0';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the above will load OK when I press reload. but I have (for example) a date component which updates the paramDateFrom variable. How do I then refresh the data source? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Matt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 11:24:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271951#M708644</guid>
      <dc:creator />
      <dc:date>2011-09-19T11:24:59Z</dc:date>
    </item>
    <item>
      <title>Stored Procedure refreshing</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271952#M708645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem is not clear.. Please clear a bit more..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try to create qvd and make update insert refresh..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 12:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271952#M708645</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-09-19T12:18:52Z</dc:date>
    </item>
    <item>
      <title>Stored Procedure refreshing</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271953#M708646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - thanks for your reply. When I open the desktop qlikview application and open my qlikview document, it does the data load and passes default parameters to my stored procedures. I want to do the equivalent of reloading the stored procedure when I change a date parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an "onclick" event? I could then call a function/macro to refresh the data source? (Just the one stored procedure)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 12:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271953#M708646</guid>
      <dc:creator />
      <dc:date>2011-09-19T12:21:57Z</dc:date>
    </item>
    <item>
      <title>Stored Procedure refreshing</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271954#M708647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it is possible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try out the settings and call a macro..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings&amp;gt;Document Property&amp;gt;Triggers&amp;gt;Variable event triggers&amp;gt; Add Action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 12:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure-refreshing/m-p/271954#M708647</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-09-19T12:38:02Z</dc:date>
    </item>
  </channel>
</rss>

