<?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: Reload Based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16304#M789622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything put in a SELECT statement will be sent to the DB driver and needs to match the DB syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it will depend how you've set the vdate variable and how you need to write the WHERE clause in your DB syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2018 12:10:54 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2018-02-13T12:10:54Z</dc:date>
    <item>
      <title>Reload Based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16303#M789621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the title says I want to reload based on the users selections in a date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read the posts that I found in the community every solution is shown in qv documents which I cant open beacause I have the desktop edition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My source is an sql database and the script I have trid so far is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from table where dt=$(vdate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16303#M789621</guid>
      <dc:creator>kostiskampouris</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16304#M789622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything put in a SELECT statement will be sent to the DB driver and needs to match the DB syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it will depend how you've set the vdate variable and how you need to write the WHERE clause in your DB syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 12:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16304#M789622</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-02-13T12:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16305#M789623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a Calendar object that stores a single selected date from a specific period (use Min / Max fields to set the start and end of your calendar) in a variable. Variable values will survive a reload (if you do not modify them in your script) so if you format your vdate value based on the variable value from your calendar, you will be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most databases accept date values in database format i.e. a string formatted as 'YYYY-MM-DD'. If we assume a calendar variable called vCalendarDate, your code could look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vdate = text(Date(Date#(vCalendarDate), 'YYYY-MM-DD'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SQL SELECT * FROM table WHERE dt = '$(vdate)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 12:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16305#M789623</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-02-13T12:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16306#M789624</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;Possible logic could be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: create variable in variable overView&lt;/P&gt;&lt;P&gt;vReloadDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;Sql select * from tableName &lt;/P&gt;&lt;P&gt;where date=$(vReloadDate);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2: create island master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3: In front end Give user to select calendar date and Reload button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;action on Reload button&lt;/P&gt;&lt;P&gt;1: set Variable&lt;/P&gt;&lt;P&gt;Name : vReloadDate&lt;/P&gt;&lt;P&gt;value : =GetFieldSelections(date_from_master_calendar)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2: Relaod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 13:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-Based-on-selection/m-p/16306#M789624</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-02-13T13:03:19Z</dc:date>
    </item>
  </channel>
</rss>

