<?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: Set default year option in chart using dynamic trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1665132#M449105</link>
    <description>&lt;P&gt;I am relatively new to QlikView and a coworker has been helping me with my dashboard. I am not entirely familiar with Measures or their usage.&lt;/P&gt;&lt;P&gt;It appears that the filter 'clear' (unselecting all of the Years no the clear button per se) displays all the data and even though we have a dynamic trigger set on the field's change event, it does not appear to override the functionality of the 'clear' like a button event does. We used =If(GetSelectedCount(DateCompletedYear)=0,Year(today()),DateCompletedYear) in the change trigger to no avail. Does anyone know of an innovative way to override the filter clear?&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 16:32:03 GMT</pubDate>
    <dc:creator>VBA_Master</dc:creator>
    <dc:date>2020-01-13T16:32:03Z</dc:date>
    <item>
      <title>Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664188#M449033</link>
      <description>&lt;P&gt;I have a chart which has year filters (e.g. 2018, 2019, 2020). The year filters are checkboxes vs. radio buttons so the user can select multiple years. I currently have a trigger on open that successfully defaults to the current year on open.&lt;/P&gt;&lt;P&gt;I set up a dynamic trigger on the change event for the Year field so that if all of the years in the filter are unchecked, then it checks the current year and only displays the data for 2020. Unfortunately, when all of the year checkboxes are unchecked, all the data for all the years is displayed instead of 2020.&lt;/P&gt;&lt;P&gt;=If(GetSelectedCount(DateCompletedYear)=0,DateCompletedYear=Year(today()))&lt;/P&gt;&lt;P&gt;Any idea how I would accomplish what I am looking to do here?&lt;/P&gt;&lt;P&gt;Thank you, D&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664188#M449033</guid>
      <dc:creator>VBA_Master</dc:creator>
      <dc:date>2024-11-16T19:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664218#M449036</link>
      <description>&lt;P&gt;please share a sample qvw.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 19:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664218#M449036</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2020-01-09T19:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664423#M449060</link>
      <description>&lt;P&gt;Hi Frank. I am not in a position to provide the QVW as I would have to spend a good deal of time stripping out proprietary information. It should be relative easy to take a QVW add a chart with Year filters and test out the dynamic triggers. - D&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 12:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664423#M449060</guid>
      <dc:creator>VBA_Master</dc:creator>
      <dc:date>2020-01-10T12:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664444#M449065</link>
      <description>&lt;P&gt;Instead you could create a measure using {&amp;lt;Year&amp;gt;}.&lt;/P&gt;&lt;P&gt;Of course it all depends on how you want it to work, but I believe this could be an alternative.&lt;/P&gt;&lt;P&gt;Not using it in the filter, but in the measure:&lt;/P&gt;&lt;P&gt;=If( getselectedcount(&lt;SPAN&gt;DateCompletedYear) =0, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&amp;lt;DateCompletedYear={'2020'}&amp;gt;} Measure , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Measure )&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I suggest creating the Year column in the script)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 13:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664444#M449065</guid>
      <dc:creator>Gui_Approbato</dc:creator>
      <dc:date>2020-01-10T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664478#M449069</link>
      <description>&lt;P&gt;i have not asked for the original but a sample app. &amp;nbsp;if it is like you said, then you probably should be able to provide exactly this&amp;nbsp; qvw where you replicated the problem to get a common basis for further discussion. For further questions here in this forum i recommend always to put some effort in creating the thread and to add an example qvw because this way you will probably get a solution very fast!&lt;/P&gt;&lt;P&gt;PS:&amp;nbsp; Qlikview has the option to scramble sensitive fields.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 14:34:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1664478#M449069</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2020-01-10T14:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1665132#M449105</link>
      <description>&lt;P&gt;I am relatively new to QlikView and a coworker has been helping me with my dashboard. I am not entirely familiar with Measures or their usage.&lt;/P&gt;&lt;P&gt;It appears that the filter 'clear' (unselecting all of the Years no the clear button per se) displays all the data and even though we have a dynamic trigger set on the field's change event, it does not appear to override the functionality of the 'clear' like a button event does. We used =If(GetSelectedCount(DateCompletedYear)=0,Year(today()),DateCompletedYear) in the change trigger to no avail. Does anyone know of an innovative way to override the filter clear?&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 16:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1665132#M449105</guid>
      <dc:creator>VBA_Master</dc:creator>
      <dc:date>2020-01-13T16:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1665473#M449122</link>
      <description>&lt;P&gt;Here you go. I put added the triggers on Open and change. D&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1665473#M449122</guid>
      <dc:creator>VBA_Master</dc:creator>
      <dc:date>2020-01-14T15:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1665533#M449129</link>
      <description>&lt;P&gt;Maybe like attached!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 18:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1665533#M449129</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2020-01-14T18:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set default year option in chart using dynamic trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1668110#M449285</link>
      <description>&lt;P&gt;Thank you Frank (and everyone).&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 12:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-default-year-option-in-chart-using-dynamic-trigger/m-p/1668110#M449285</guid>
      <dc:creator>VBA_Master</dc:creator>
      <dc:date>2020-01-22T12:14:15Z</dc:date>
    </item>
  </channel>
</rss>

