<?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 Default selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163175#M36373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want, this function can be create with MACRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Oct 2010 13:58:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-28T13:58:41Z</dc:date>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163169#M36367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two fields Year and Quarter with the values of 2005, 2004, 2005, 2006, 2007&lt;/P&gt;&lt;P&gt;And Quarter is 01, 02, 03, 04&lt;/P&gt;&lt;P&gt;default selection should be 2007 and 04&lt;/P&gt;&lt;P&gt;Later If I add 2008 in Year field it should select 2008 and 04.&lt;/P&gt;&lt;P&gt;Any settings in properties.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 09:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163169#M36367</guid>
      <dc:creator />
      <dc:date>2010-10-28T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163170#M36368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try max(year_quarter) under document settings/actions&lt;/P&gt;&lt;P&gt;therefore try to combine both fields to year&amp;amp;quarter as year_quarter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 10:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163170#M36368</guid>
      <dc:creator />
      <dc:date>2010-10-28T10:05:09Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163171#M36369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tims,&lt;/P&gt;&lt;P&gt;Please use below query. I have assumed cost as the field for which u want to get the sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; Year={$(=Max(Year))}, Quarter={$(=Max(Quarter))}&amp;gt;}(Cost))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 11:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163171#M36369</guid>
      <dc:creator>raghavsurya</dc:creator>
      <dc:date>2010-10-28T11:16:43Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163172#M36370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I Think that fields YEAR and QUARTER are a derivation of a just field;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;your_date,&lt;/P&gt;&lt;P&gt;YEAR(your_date) as YEAR,&lt;/P&gt;&lt;P&gt;NUM(MONTH(your_date)) / 3 AS QUARTER&lt;/P&gt;&lt;P&gt;FROM your_table;&lt;/P&gt;&lt;P&gt;You just need to set this field (your date), with the max value using the function "MAX()"&lt;/P&gt;&lt;P&gt;In Document Properties, Tab Triggers, select in "Document Event Triggers" option "OnOpen" and add a action. Action Type: "Selection" and "Select in Field"&lt;/P&gt;&lt;P&gt;insert the name of FIELD that you want (your_date) and in "Search String" put "=MAX(your_date)".&lt;/P&gt;&lt;P&gt;When your document is open, the max date will be select, and the MAX YEAR and MAX QUARTER too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 12:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163172#M36370</guid>
      <dc:creator />
      <dc:date>2010-10-28T12:25:51Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163173#M36371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I am using 8.2 version, so I did not see this option.&lt;/P&gt;&lt;P&gt;am I right the option not available in 8.2?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 12:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163173#M36371</guid>
      <dc:creator />
      <dc:date>2010-10-28T12:32:03Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163174#M36372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;you are right, this function is only available since version 9.0.&lt;/P&gt;&lt;P&gt;Maybe you could build a workaround with variables and macros to simulate qlikview's internal actions.&lt;/P&gt;&lt;P&gt;However, I would recommend to update to v9 or v10, because additional functions are worth this one time effort and will save a lot of programming work &lt;IMG alt="Wink" src="http://community.qlik.com/emoticons/emotion-5.gif" /&gt;&lt;/P&gt;&lt;P&gt;Regards, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 13:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163174#M36372</guid>
      <dc:creator />
      <dc:date>2010-10-28T13:24:25Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163175#M36373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want, this function can be create with MACRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 13:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163175#M36373</guid>
      <dc:creator />
      <dc:date>2010-10-28T13:58:41Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163176#M36374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but I am not familiar with Macro's.&lt;/P&gt;&lt;P&gt;If you can give some idea, will try to implement the same.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 08:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163176#M36374</guid>
      <dc:creator />
      <dc:date>2010-10-29T08:46:15Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163177#M36375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Press CTRL + M in your Document and open "Edit Module".&lt;/P&gt;&lt;P&gt;Paste the code and will be create a macro function to select the max value in your especific field:&lt;/P&gt;&lt;P style="font-style: italic"&gt;SUB SELECT_MAX_DATE&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.Fields("YOUR_FIELD").Select ActiveDocument.Evaluate("max(YOUR_FIELD)")&lt;BR /&gt;&lt;BR /&gt;END SUB&lt;/P&gt;&lt;P&gt;Press button Check and OK to create the function.&lt;/P&gt;&lt;P&gt;After create function go to Document Properties and tab MACRO. In Document event select a "On Open" and select your function "SELECT_MAX_DATE".&lt;/P&gt;&lt;P&gt;PRESS OK and save document.&lt;/P&gt;&lt;P&gt;When document open the max date will be select.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 12:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163177#M36375</guid>
      <dc:creator />
      <dc:date>2010-10-29T12:10:25Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163178#M36376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Correa,&lt;/P&gt;&lt;P&gt;Its working fine, but suppose if my dashboard have two tabs and each tab is using different xls files.&lt;/P&gt;&lt;P&gt;Then Do we have any options to define for two fields?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 12:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163178#M36376</guid>
      <dc:creator />
      <dc:date>2010-11-01T12:37:57Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163179#M36377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Any idea on this??&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 06:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163179#M36377</guid>
      <dc:creator />
      <dc:date>2010-11-02T06:03:21Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163180#M36378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just repeat the command line with the new field&lt;/P&gt;&lt;P style="font-style: italic"&gt;ActiveDocument.Fields("YOUR_FIELD_1").Select ActiveDocument.Evaluate("max(YOUR_FIELD_1)")&lt;/P&gt;&lt;P style="font-style: italic"&gt;ActiveDocument.Fields("YOUR_FIELD_2").Select ActiveDocument.Evaluate("max(YOUR_FIELD_2)")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 10:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163180#M36378</guid>
      <dc:creator />
      <dc:date>2010-11-03T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163181#M36379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah Correa I did it already.&lt;/P&gt;&lt;P&gt;my question is I have to define two marco's when I select On Open in Document Event Triggers.&lt;/P&gt;&lt;P&gt;In Macro I can select only one but not two.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 12:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163181#M36379</guid>
      <dc:creator />
      <dc:date>2010-11-03T12:51:30Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163182#M36380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In this case, you need to define your command in a single MACRO.&lt;/P&gt;&lt;P&gt;SUB test_OnPen&lt;/P&gt;&lt;P&gt;CODE 1......&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;CODE 2.......&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;You just set a one function macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 12:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163182#M36380</guid>
      <dc:creator />
      <dc:date>2010-11-03T12:58:43Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163183#M36381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Correa, it works perfect for me..&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 13:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163183#M36381</guid>
      <dc:creator />
      <dc:date>2010-11-03T13:11:35Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163184#M36382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Correa,&lt;/P&gt;&lt;P&gt;Do you have any website/ materials which will teach me the basics of macro programming that can be used in Qlikview??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 16:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163184#M36382</guid>
      <dc:creator />
      <dc:date>2011-02-08T16:07:50Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163185#M36383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correa, me too required it will help to learning from scrach...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 10:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163185#M36383</guid>
      <dc:creator />
      <dc:date>2011-02-09T10:42:43Z</dc:date>
    </item>
    <item>
      <title>Default selections</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163186#M36384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;the qlikview have a simple document that show how to use some macros and have examples too.&lt;/P&gt;&lt;P&gt;C:\Program Files\QlikView\Documentation\APIGuide.qvw&lt;/P&gt;&lt;P&gt;I use this to learn, but is a just basic functions.&lt;/P&gt;&lt;P&gt;For the expert macros do you need to learn about vbscript/macro that exists in EXCEL.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 12:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selections/m-p/163186#M36384</guid>
      <dc:creator />
      <dc:date>2011-02-09T12:19:32Z</dc:date>
    </item>
  </channel>
</rss>

