<?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 select multiple dynamic values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Button-to-select-multiple-dynamic-values/m-p/1791933#M61943</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm attempting to create a button that can select Today and Yesterday simultaneously. For my purposes, hard-coded buttons are very useful to the users of the dashboard, because most of the time in my industry, the only data required is from today, yesterday, and a combination of the two.&lt;/P&gt;&lt;P&gt;Currently I have a button to select Today, which uses the date field from my database with the value&amp;nbsp; =Today().&amp;nbsp; I also have a button which selects Yesterday, using the value&amp;nbsp; = (Date(Today()-1)).&lt;/P&gt;&lt;P&gt;The problem occurs when I try to combine the two. I've tried seperating them with pipes as is recommended in solutions to similar problems, in addition to many combinations of functions, to no avail. I've also tried bookmarks, but bookmarks only save the date from when the selection was made. Alternatives to the buttons such as filters aren't the solution I'm looking for; it has to select Today and Yesterday with a single click. I also can't provide much more information for&amp;nbsp;data protection reasons.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;</description>
    <pubDate>Tue, 16 Mar 2021 16:48:57 GMT</pubDate>
    <dc:creator>jordan1</dc:creator>
    <dc:date>2021-03-16T16:48:57Z</dc:date>
    <item>
      <title>Button to select multiple dynamic values</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-select-multiple-dynamic-values/m-p/1791933#M61943</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm attempting to create a button that can select Today and Yesterday simultaneously. For my purposes, hard-coded buttons are very useful to the users of the dashboard, because most of the time in my industry, the only data required is from today, yesterday, and a combination of the two.&lt;/P&gt;&lt;P&gt;Currently I have a button to select Today, which uses the date field from my database with the value&amp;nbsp; =Today().&amp;nbsp; I also have a button which selects Yesterday, using the value&amp;nbsp; = (Date(Today()-1)).&lt;/P&gt;&lt;P&gt;The problem occurs when I try to combine the two. I've tried seperating them with pipes as is recommended in solutions to similar problems, in addition to many combinations of functions, to no avail. I've also tried bookmarks, but bookmarks only save the date from when the selection was made. Alternatives to the buttons such as filters aren't the solution I'm looking for; it has to select Today and Yesterday with a single click. I also can't provide much more information for&amp;nbsp;data protection reasons.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-select-multiple-dynamic-values/m-p/1791933#M61943</guid>
      <dc:creator>jordan1</dc:creator>
      <dc:date>2021-03-16T16:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Button to select multiple dynamic values</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-select-multiple-dynamic-values/m-p/1791938#M61944</link>
      <description>&lt;P&gt;Try this for the value expression in the botton control:&lt;/P&gt;&lt;P&gt;=Today()&amp;amp;';'&amp;amp;(Today()-1)&lt;/P&gt;&lt;P&gt;The trick is separating the values with ';'&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 16:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-select-multiple-dynamic-values/m-p/1791938#M61944</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-03-16T16:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Button to select multiple dynamic values</title>
      <link>https://community.qlik.com/t5/App-Development/Button-to-select-multiple-dynamic-values/m-p/1791940#M61945</link>
      <description>&lt;P&gt;Semicolon seems to have done the trick! Thanks for the advice and the quick response.&lt;/P&gt;&lt;P&gt;It only needed a little tweak and it worked immediately, for anyone else who might encounter this problem, the following expression worked for me&lt;/P&gt;&lt;P&gt;=Today()&amp;amp;';'&amp;amp; (Date(Today()-1))&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 17:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Button-to-select-multiple-dynamic-values/m-p/1791940#M61945</guid>
      <dc:creator>jordan1</dc:creator>
      <dc:date>2021-03-16T17:03:35Z</dc:date>
    </item>
  </channel>
</rss>

