<?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: Function to generate Dynamic Values for Sheet On Select Trigger? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706289#M451479</link>
    <description>&lt;P&gt;Try the Toggle Select Action, believe that should likely let you do what you need to do here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Button2.htm#anchor-4" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Button2.htm#anchor-4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Actions are documented in the Button object, but they are available to be called from the triggers as well...&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 21:13:30 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-05-28T21:13:30Z</dc:date>
    <item>
      <title>Function to generate Dynamic Values for Sheet On Select Trigger?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1699833#M451148</link>
      <description>&lt;P&gt;Greetings 'Hive Mind'&lt;/P&gt;&lt;P&gt;I have been bashing my head against this particular brick wall all afternoon!&lt;/P&gt;&lt;P&gt;I want to select a number of year /periods when I activate a particular sheet in Qlikview.&lt;/P&gt;&lt;P&gt;I am trying something like this:&lt;/P&gt;&lt;P&gt;=Text(Num(Year(Today()),'0000')) &amp;amp; '-' &amp;amp; Text(Num(Month(Today()),'00'))&lt;BR /&gt;&amp;amp; ' or ' &amp;amp;&lt;BR /&gt;Text(Num(Year(Today()),'0000')) &amp;amp; '-' &amp;amp; Text(Num(MonthStart(Today())-1,'00'))&lt;/P&gt;&lt;P&gt;Selecting a single value works fine (i.e. the top line) but I can't seem to work out the correct syntax to pass multiple values -&amp;nbsp;Help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 13:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1699833#M451148</guid>
      <dc:creator>AndyC</dc:creator>
      <dc:date>2020-05-07T13:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Function to generate Dynamic Values for Sheet On Select Trigger?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706289#M451479</link>
      <description>&lt;P&gt;Try the Toggle Select Action, believe that should likely let you do what you need to do here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Button2.htm#anchor-4" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Button2.htm#anchor-4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Actions are documented in the Button object, but they are available to be called from the triggers as well...&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 21:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706289#M451479</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-05-28T21:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function to generate Dynamic Values for Sheet On Select Trigger?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706376#M451483</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14114"&gt;@Brett_Bleess&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have been using but I can't seem to get the syntax of the formula right to select the field using the calculated values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 07:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706376#M451483</guid>
      <dc:creator>AndyC</dc:creator>
      <dc:date>2020-05-29T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Function to generate Dynamic Values for Sheet On Select Trigger?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706380#M451485</link>
      <description>&lt;P&gt;What I am trying to do is the programmatic equivalent of this....&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndyC_0-1590737030867.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34594iA205682B4CCEDFED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndyC_0-1590737030867.png" alt="AndyC_0-1590737030867.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the formula to calculate the necessary values but I don't know how to incorporate it into the trigger action&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":worried_face:"&gt;😟&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 07:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706380#M451485</guid>
      <dc:creator>AndyC</dc:creator>
      <dc:date>2020-05-29T07:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Function to generate Dynamic Values for Sheet On Select Trigger?</title>
      <link>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706525#M451498</link>
      <description>&lt;P&gt;Try it with an approach like this one:&lt;/P&gt;&lt;P&gt;($(=date(today(), 'YYYY-MM'))|$(=date(addmonths(today(), -1), 'YYYY-MM')))&lt;/P&gt;&lt;P&gt;Helpful might be also to store the values of the current/last period within variables and use them for the selection.&lt;/P&gt;&lt;P&gt;An alternatively could be to select the wanted values through a numerical comparison, like:&lt;/P&gt;&lt;P&gt;&amp;gt;=&lt;SPAN&gt;$(=monthstart(today(), -1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if there are no future dates and with them it could be look like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;=&lt;SPAN&gt;$(=monthstart(today(), -1))&lt;/SPAN&gt;&amp;lt;=&lt;SPAN&gt;$(=monthsend(today(), 0))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Similar numerical selections could be also done with numerical period-fields and/or running period-counters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 13:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-to-generate-Dynamic-Values-for-Sheet-On-Select-Trigger/m-p/1706525#M451498</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-05-29T13:19:22Z</dc:date>
    </item>
  </channel>
</rss>

