<?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 Button to filter years from specific field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4442#M313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a button reading from a database field that contains (01/2017, 02/2017,.... 01/2018,....)&lt;/P&gt;&lt;P&gt;I need this button called "2017" to just display the selections of 2017 alone and another button for the year of 2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following in actions yet still not working:&lt;/P&gt;&lt;P&gt;=year()&lt;/P&gt;&lt;P&gt;another search string that i used:&lt;/P&gt;&lt;P&gt;=Timestamp(logdate,'format')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what could be done here to filter the selections of my graphs by just the year ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2018 11:16:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-22T11:16:06Z</dc:date>
    <item>
      <title>Button to filter years from specific field</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4442#M313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a button reading from a database field that contains (01/2017, 02/2017,.... 01/2018,....)&lt;/P&gt;&lt;P&gt;I need this button called "2017" to just display the selections of 2017 alone and another button for the year of 2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following in actions yet still not working:&lt;/P&gt;&lt;P&gt;=year()&lt;/P&gt;&lt;P&gt;another search string that i used:&lt;/P&gt;&lt;P&gt;=Timestamp(logdate,'format')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what could be done here to filter the selections of my graphs by just the year ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 11:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4442#M313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-22T11:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Button to filter years from specific field</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4443#M314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ahmed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the 'logdate' column contains values "01/2017", "02/2017", ....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;try using this expression in your filter: &lt;STRONG&gt;mid(logdate, 4)&lt;/STRONG&gt;. This is like a substring function which in your case populates "2017", "2018", etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you want one button for each year:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To create a "2017" filter, use this expression: if(mid(logdate, 4) = '2017', '2017')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Similarly, for a "2018" filter:&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; if(mid(logdate, 4) = '2018', '2018')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2018 22:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4443#M314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-22T22:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Button to filter years from specific field</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4444#M315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/alakshmanan"&gt;alakshmanan&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Tried this but the button is not taking any action or reflecting in the graphs. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 05:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4444#M315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-24T05:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Button to filter years from specific field</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4445#M316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What object are you using to create the button.&amp;nbsp; Is it the "Variables" custom extension by any chance?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-filter-years-from-specific-field/m-p/4445#M316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-24T16:52:05Z</dc:date>
    </item>
  </channel>
</rss>

