<?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: Filter by Value/Toggle Button in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-by-Value-Toggle-Button/m-p/1643924#M48035</link>
    <description>&lt;P&gt;One way that I used to accomplish something like this is by using a Calendar table, and build a Flag for "Today".&amp;nbsp; I would add a line in the calendar script that was something like this:&lt;/P&gt;&lt;P&gt;If(Date=Date(Today()), 1,0) as Today_Flag,&lt;/P&gt;&lt;P&gt;Then, I would build a trigger that Selects in the field Today_Flag and the value to select is 1.&lt;/P&gt;&lt;P&gt;See if that approach inspires you and let us know.&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 17:50:32 GMT</pubDate>
    <dc:creator>hallquist_nate</dc:creator>
    <dc:date>2019-11-06T17:50:32Z</dc:date>
    <item>
      <title>Filter by Value/Toggle Button</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-by-Value-Toggle-Button/m-p/1642083#M47852</link>
      <description>&lt;P&gt;I am trying to give my user a way to filter the Sheet with a single button click.&amp;nbsp; The Sheet opens showing all relative data but when the button is "Clicked" she wants the data filtered to just yesterday's data.&lt;/P&gt;&lt;P&gt;I am using one Sheet Navigation/Action button.&lt;/P&gt;&lt;P&gt;Action before navigation = True&lt;/P&gt;&lt;P&gt;First Action: Set Variable Value&lt;/P&gt;&lt;P&gt;Variable Name: vDate&lt;/P&gt;&lt;P&gt;Value: =Date(Today()-1)&lt;/P&gt;&lt;P&gt;I know from seeing examples I'll need a global VAR, but i am not sure what/how to use it&lt;/P&gt;&lt;P&gt;Variable:&amp;nbsp;set vBtnValue = ;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-by-Value-Toggle-Button/m-p/1642083#M47852</guid>
      <dc:creator>BrianDH</dc:creator>
      <dc:date>2024-11-16T04:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by Value/Toggle Button</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-by-Value-Toggle-Button/m-p/1643924#M48035</link>
      <description>&lt;P&gt;One way that I used to accomplish something like this is by using a Calendar table, and build a Flag for "Today".&amp;nbsp; I would add a line in the calendar script that was something like this:&lt;/P&gt;&lt;P&gt;If(Date=Date(Today()), 1,0) as Today_Flag,&lt;/P&gt;&lt;P&gt;Then, I would build a trigger that Selects in the field Today_Flag and the value to select is 1.&lt;/P&gt;&lt;P&gt;See if that approach inspires you and let us know.&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 17:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-by-Value-Toggle-Button/m-p/1643924#M48035</guid>
      <dc:creator>hallquist_nate</dc:creator>
      <dc:date>2019-11-06T17:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filter by Value/Toggle Button</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-by-Value-Toggle-Button/m-p/1643962#M48037</link>
      <description>&lt;P&gt;You need to create vDate in your variables so it can be set&lt;/P&gt;&lt;P&gt;Dual nature of dates (number, string)... It's been my experience with the Action button, dates only work with the numeric values (this may have changed with Qlik's version); regardless try Date#(Today()-1)&lt;/P&gt;&lt;P&gt;Another workaround would be to create a dynamic Bookmark = Date(Today()-1) and use the Action button to apply it&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 20:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-by-Value-Toggle-Button/m-p/1643962#M48037</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2019-11-06T20:12:37Z</dc:date>
    </item>
  </channel>
</rss>

