<?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: Creating a button to select Past one month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738913#M721900</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;Thank you so much. Finally it worked but last one thing is there any possibilities to remove brackets ()&lt;/P&gt;&lt;P&gt;I mean currently it was like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_0-1598460491967.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39629i65B80ACDD4D0FAD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_0-1598460491967.png" alt="satyatechnologies_0-1598460491967.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can we have it like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_1-1598460520182.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39630iCA47C542989DBAE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_1-1598460520182.png" alt="satyatechnologies_1-1598460520182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 26 Aug 2020 16:48:50 GMT</pubDate>
    <dc:creator>TheBeginner</dc:creator>
    <dc:date>2020-08-26T16:48:50Z</dc:date>
    <item>
      <title>Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738880#M721892</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I'm trying to create a button for selecting last past one month data.&lt;/P&gt;&lt;P&gt;For this i have created a button and added two actions to &lt;STRONG&gt;Set Variable&lt;/STRONG&gt;&amp;nbsp;where one variable name is vStartDate and other one is vEndDate for vStartDate i have given a value as&amp;nbsp;&lt;STRONG&gt;=Monthstart(Max({1}[Activity Creation Date]),-1)&amp;nbsp;&lt;/STRONG&gt;and for vEndDate&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;=MonthEnd(Max({1}[Activity Creation Date]),-1)&amp;nbsp;&lt;/STRONG&gt;this is working fine.&lt;/P&gt;&lt;P&gt;Like&amp;nbsp; changing the vStartDate and vEndDate to past one month dates.&lt;/P&gt;&lt;P&gt;Now, I want on clicking this button it has to apply filter can any one help me with the Select field action The Field i'm using is Activity Creation Date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Inadvance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738880#M721892</guid>
      <dc:creator>TheBeginner</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738892#M721893</link>
      <description>&lt;P&gt;If you want to set the [Activity Creation Date] for all visualization in the application, it would be easier to use the "Select In Field" action of the button.&amp;nbsp; The field will be [Activity Creation Date] and the "Search String" will be&amp;nbsp;&lt;/P&gt;&lt;P&gt;='('&amp;amp;Chr(34)&amp;amp;Concat({&amp;lt;[Activity Creation Date]={"&amp;gt;=$(=MonthStart(Max({1}[Activity Creation Date]),-1))&amp;lt;=$(=MonthEnd(Max({1}[Activity Creation Date]),-1))"}&amp;gt;}[Activity Creation Date],Chr(34)&amp;amp;'|'&amp;amp;Chr(34))&amp;amp;Chr(34)&amp;amp;')'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Search String" is going to look like '("7/1/2020"|"7/2/2020"|....|"7/31/2020")'&lt;/P&gt;&lt;P&gt;The pipe symbol is a logical&amp;nbsp; "OR" operator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use the button to set 2 variables, you will need to use Set Analysis and&amp;nbsp; add the variable to each calculation.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 15:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738892#M721893</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-08-26T15:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738894#M721894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Firstly thanks for reply,&lt;/P&gt;&lt;P&gt;Actually it is not working my date format is&amp;nbsp;&lt;STRONG&gt;'DD-MMM-YYYY'&amp;nbsp;&lt;/STRONG&gt;could you please help me out.&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 15:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738894#M721894</guid>
      <dc:creator>TheBeginner</dc:creator>
      <dc:date>2020-08-26T15:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738898#M721895</link>
      <description>&lt;P&gt;Add a Date function to format the date field correctly&lt;/P&gt;&lt;P&gt;='('&amp;amp;Chr(34)&amp;amp;Concat({&amp;lt;[Activity Creation Date]={"&amp;gt;=$(=&lt;STRONG&gt;Date(&lt;/STRONG&gt;MonthStart(Max({1}[Activity Creation Date]),-1),&lt;STRONG&gt;'DD-MMM-YYYY')&lt;/STRONG&gt;)&amp;lt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(MonthEnd(Max({1}[Activity Creation Date]),-1)&lt;STRONG&gt;,'DD-MMM-YYYY')&lt;/STRONG&gt;)"}&amp;gt;}[Activity Creation Date],Chr(34)&amp;amp;'|'&amp;amp;Chr(34))&amp;amp;Chr(34)&amp;amp;')'&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738898#M721895</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-08-26T16:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738903#M721896</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;Thank you so much it is working, But in current selections showing like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_0-1598458267644.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39625i9CCDF6854B5866AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_0-1598458267644.png" alt="satyatechnologies_0-1598458267644.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But i want to show the range instead like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_1-1598458334208.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39626i4F90335A2A5FB738/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_1-1598458334208.png" alt="satyatechnologies_1-1598458334208.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738903#M721896</guid>
      <dc:creator>TheBeginner</dc:creator>
      <dc:date>2020-08-26T16:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738905#M721897</link>
      <description>&lt;P&gt;Add a "Distinct" to display the dates only once.&amp;nbsp; I'll see if it is possible to format the date they you want.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;='('&amp;amp;Chr(34)&amp;amp;Concat({&amp;lt;[Activity Creation Date]={"&amp;gt;=$(=&lt;/SPAN&gt;Date&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN&gt;MonthStart(Max({1}[Activity Creation Date]),-1),&lt;/SPAN&gt;'DD-MMM-YYYY')&lt;SPAN&gt;)&amp;lt;=$(=&lt;/SPAN&gt;Date&lt;SPAN&gt;(MonthEnd(Max({1} [Activity Creation Date]),-1)&lt;/SPAN&gt;,'DD-MMM-YYYY')&lt;SPAN&gt;)"}&amp;gt;} &lt;STRONG&gt;Distinct&lt;/STRONG&gt; [Activity Creation Date],Chr(34)&amp;amp;'|'&amp;amp;Chr(34))&amp;amp;Chr(34)&amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738905#M721897</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-08-26T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738908#M721898</link>
      <description>&lt;P&gt;Again Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;I worked.&lt;/P&gt;&lt;P&gt;It is showing distinct values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_0-1598459650701.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39627i4E8D6C04A8C2F4F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_0-1598459650701.png" alt="satyatechnologies_0-1598459650701.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my requirement is to show like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_1-1598459716178.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39628i4B31733C2F926349/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_1-1598459716178.png" alt="satyatechnologies_1-1598459716178.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me out&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738908#M721898</guid>
      <dc:creator>TheBeginner</dc:creator>
      <dc:date>2020-08-26T16:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738909#M721899</link>
      <description>&lt;P&gt;This "Search String" looks like the format you want:&lt;/P&gt;&lt;P&gt;='(&amp;gt;='&amp;amp;Date(MonthStart(Max({1}[Activity Creation Date]),-1),'DD-MMM-YYYY')&amp;amp;'&amp;lt;='&amp;amp;Date(MonthEnd(Max({1}[Activity Creation Date]),-1),'DD-MMM-YYYY')&amp;amp;')'&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738909#M721899</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-08-26T16:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738913#M721900</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;Thank you so much. Finally it worked but last one thing is there any possibilities to remove brackets ()&lt;/P&gt;&lt;P&gt;I mean currently it was like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_0-1598460491967.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39629i65B80ACDD4D0FAD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_0-1598460491967.png" alt="satyatechnologies_0-1598460491967.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can we have it like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="satyatechnologies_1-1598460520182.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39630iCA47C542989DBAE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="satyatechnologies_1-1598460520182.png" alt="satyatechnologies_1-1598460520182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738913#M721900</guid>
      <dc:creator>TheBeginner</dc:creator>
      <dc:date>2020-08-26T16:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738914#M721901</link>
      <description>&lt;P&gt;&lt;SPAN&gt;='&amp;gt;='&amp;amp;Date(MonthStart(Max({1}[Activity Creation Date]),-1),'DD-MMM-YYYY')&amp;amp;'&amp;lt;='&amp;amp;Date(MonthEnd(Max({1}[Activity Creation Date]),-1),'DD-MMM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 16:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738914#M721901</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2020-08-26T16:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a button to select Past one month</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738915#M721902</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5930"&gt;@jwjackso&lt;/a&gt;&amp;nbsp;Thank you. It worked&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 17:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-button-to-select-Past-one-month/m-p/1738915#M721902</guid>
      <dc:creator>TheBeginner</dc:creator>
      <dc:date>2020-08-26T17:02:42Z</dc:date>
    </item>
  </channel>
</rss>

