<?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: Is it possible to select variable values automatically? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568159#M1097467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that you have set v and are using V in the SetContent so I would guess it is a problem of case .... ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2014 13:52:20 GMT</pubDate>
    <dc:creator>Roop</dc:creator>
    <dc:date>2014-04-28T13:52:20Z</dc:date>
    <item>
      <title>Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568153#M1097461</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;I have qvw with macro which will send data to user email automatically. All is fine. The qvw contains two variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VStartDate and vEndDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data used to send every Monday before 12pm to user email. The completed week data will send. I,e Suppose today is Monday. so, the variables VStartDate and vEndDate contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VStartDate=21/04/2014 and vEndDate= 25/04/2014. Like this I will manually selecting variables values every week.&lt;/P&gt;&lt;P&gt;My question is, Is there any solution that variables set automatic. I,e without my interference the variable should take before weeks dates. why I am asking is I don't want to miss the data any case in my absence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest me this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568153#M1097461</guid>
      <dc:creator />
      <dc:date>2014-04-28T13:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568154#M1097462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amelia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it reflects that your Start date and End date is based on the week start date and end date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for vStart date you can use use =WeekStart(Date(Today()-1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for end date use&amp;nbsp; =WeekEnd(Date(Today()-1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568154#M1097462</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-04-28T13:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568155#M1097463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Where I need to give this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568155#M1097463</guid>
      <dc:creator />
      <dc:date>2014-04-28T13:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568156#M1097464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just gave this in variables values. Is that you mean. If so, is there any macro to use this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568156#M1097464</guid>
      <dc:creator />
      <dc:date>2014-04-28T13:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568157#M1097465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the variables in QlikView and then use something like this code in the Macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("vQlikViewVariable") &lt;/P&gt;&lt;P&gt;v.SetContent vMacroVariable, true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568157#M1097465</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-28T13:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568158#M1097466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;It's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568158#M1097466</guid>
      <dc:creator />
      <dc:date>2014-04-28T13:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568159#M1097467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is that you have set v and are using V in the SetContent so I would guess it is a problem of case .... ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568159#M1097467</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-28T13:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568160#M1097468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right now it's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 13:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568160#M1097468</guid>
      <dc:creator />
      <dc:date>2014-04-28T13:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568161#M1097469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using batch file I schedule this file to reload manually using Task scheduler. My user can able to receive the email from me through task scheduler, but there is no attached&amp;nbsp; excel file.&amp;nbsp; How can I set the attached file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568161#M1097469</guid>
      <dc:creator />
      <dc:date>2014-04-28T14:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568162#M1097470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry. Again I got a problem If I clear all selections I can able to get last week's data. May I know how to set this please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568162#M1097470</guid>
      <dc:creator />
      <dc:date>2014-04-28T14:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568163#M1097471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I made the answer as correct earlier. But when I clear all selections in qvw I can not able to see the last weeks data. please help me how to set this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568163#M1097471</guid>
      <dc:creator />
      <dc:date>2014-04-28T14:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568164#M1097472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me. I was really confusing here. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568164#M1097472</guid>
      <dc:creator />
      <dc:date>2014-04-28T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568165#M1097473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For attachments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objEmail.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:username@domain.com"&gt;username@domain.com&lt;/A&gt;&lt;SPAN&gt;"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Email Recipient&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objEmail.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:REPORTS@domain.com"&gt;REPORTS@domain.com&lt;/A&gt;&lt;SPAN&gt;"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Email Sender&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objEmail.Subject = "The name of the report"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Subject&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;objEmail.TextBody = "some text in the body of the mail"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Text of email.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;objEmail.AddAttachment&amp;nbsp;&amp;nbsp; "c:\DOC\document1.pdf"&amp;nbsp;&amp;nbsp; 'Attachment to add &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568165#M1097473</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-28T14:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568166#M1097474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What selections are you clearing?&lt;/P&gt;&lt;P&gt;There has been no mention of selections as yet ....&lt;/P&gt;&lt;P&gt;Is this a listbar that has been cleared down? Should the setting on the listbar be "Always Select One Value" as this will ensure that the values cannot be cleared from the listbar as there has to always be 1 value selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568166#M1097474</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-28T14:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568167#M1097475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I can not able to get last weeks data. Instead excel file showing all weeks data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created variables like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate= WeekStart(Date(Today()-1)&lt;/P&gt;&lt;P&gt;vEndDate= WeekEnd(Date(Today()-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made triggers in documents properties as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStartDate OnChange as ='&amp;gt;='&amp;amp;vStartDate &amp;amp; '&amp;lt;=' &amp;amp; vEndDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vEndDate OnChange as ='&amp;gt;='&amp;amp;vStartDate &amp;amp; '&amp;lt;=' &amp;amp; vEndDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing anything wrong here?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 14:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568167#M1097475</guid>
      <dc:creator />
      <dc:date>2014-04-28T14:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568168#M1097476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tricky ... as you are resetting the values and it seems as though you should only be setting your values for vStartDate on reload. I think that they are resetting themselves with the same selection each time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568168#M1097476</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-28T15:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568169#M1097477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to set this? Please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568169#M1097477</guid>
      <dc:creator />
      <dc:date>2014-04-28T15:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568170#M1097478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think that you should be able to trigger vStartDate and vEndDate on Reload and not change ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568170#M1097478</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-28T15:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568171#M1097479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean OnInput?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568171#M1097479</guid>
      <dc:creator />
      <dc:date>2014-04-28T15:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to select variable values automatically?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568172#M1097480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On PostReload in document properties&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 15:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-select-variable-values-automatically/m-p/568172#M1097480</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-04-28T15:23:52Z</dc:date>
    </item>
  </channel>
</rss>

