<?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 How to implement AND logic in QV Calendar Obj for multiple Date columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237115#M393355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,I have created 2 calendar objects to pick 'To' &amp;amp; 'From' dates for each distinct Date Type&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;What am I trying to do is .&lt;/P&gt;&lt;P&gt;I want the Users to chose type of date when they select 'To' &amp;amp; 'From' form the calendar object.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;If user selects 'Shipping Date' as To:01/01/2016 &amp;amp; From:02/01/2016 &lt;BR /&gt; Order Date as To:'2/1/2016' &amp;amp; From:2/29/2016,how to achieve this type of AND logic while filtering the Dates&lt;/P&gt;&lt;P&gt;Is there any possiblities to achieve with single Button Object to filter the Logic of Shipping Date and Order Date.&lt;/P&gt;&lt;P&gt;How to Clear the selections of Variables after Clearing the Button Object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 10:03:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-12T10:03:26Z</dc:date>
    <item>
      <title>How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237115#M393355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,I have created 2 calendar objects to pick 'To' &amp;amp; 'From' dates for each distinct Date Type&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;What am I trying to do is .&lt;/P&gt;&lt;P&gt;I want the Users to chose type of date when they select 'To' &amp;amp; 'From' form the calendar object.&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;If user selects 'Shipping Date' as To:01/01/2016 &amp;amp; From:02/01/2016 &lt;BR /&gt; Order Date as To:'2/1/2016' &amp;amp; From:2/29/2016,how to achieve this type of AND logic while filtering the Dates&lt;/P&gt;&lt;P&gt;Is there any possiblities to achieve with single Button Object to filter the Logic of Shipping Date and Order Date.&lt;/P&gt;&lt;P&gt;How to Clear the selections of Variables after Clearing the Button Object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 10:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237115#M393355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-12T10:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237116#M393356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that you need to use the addMonth function to the 'To' value, and the MonthEnd function t the 'From' value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 10:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237116#M393356</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-12T10:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237117#M393357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Enrique,&lt;/P&gt;&lt;P&gt;I'm not getting where to add the AddMonth().&lt;/P&gt;&lt;P&gt;Is there any Possibilities to create a single expression like if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Order Date] &lt;SPAN style="font-size: 8pt;"&gt;='&amp;gt;='&amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vIssueStart&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;amp;'&amp;lt;='&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vIssueEnd&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ,ELSE&amp;nbsp; &lt;/SPAN&gt;[Shipping Date] ),Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 10:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237117#M393357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-12T10:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237118#M393358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can create a variable with this expression and the evaluate the variable with:&lt;/P&gt;&lt;P&gt;$(your_variable_name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I let you an example about create the Qlikview variables and expressions.&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2016/05/scaling-numbers-and-dse-tips/" title="http://qlikviewcookbook.com/2016/05/scaling-numbers-and-dse-tips/"&gt;Scaling Numbers and DSE Tips | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 10:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237118#M393358</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-12T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237119#M393359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With use of Variable I need to build the Master calendar,i'm not looking in deep dive of analysis.&lt;/P&gt;&lt;P&gt;Is there any way to achieve the Filters for below cases:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case 1:Shipping Date :300 records b/w 01/01/2016 To:02/01/2016(mm/dd/yyyy)&lt;/P&gt;&lt;P&gt;case 2 :Order&amp;nbsp; Date :9&amp;nbsp; records b/w 02/01/2016 To:02/29/2016(mm/dd/yyyy)&lt;/P&gt;&lt;P&gt;Above Case 1 &amp;amp; 2 are filtering as expected.&lt;/P&gt;&lt;P&gt;If I make selections of both Shipping Date &amp;amp; Order Date simultaneously I'm not getting the results.&lt;/P&gt;&lt;P&gt;Plz help ho achieve the AND logic to filter both dates&lt;/P&gt;&lt;P&gt;case 3:Shipping Date :300 records b/w 01/01/2016 To:02/01/2016(mm/dd/yyyy)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 11:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237119#M393359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-12T11:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237120#M393360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I think, that I'm understand you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you need to stop and think. Like i understand your model, you have a data set with 300 records, so the maximum that you can obtain it's 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analysing your cases i will add you the next:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;case 1:Shipping Date :300 records b/w 01/01/2016 To:02/01/2016(mm/dd/yyyy). YOU GET THE CORRECT RECORDS TO THIS FILTER&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;case 2 :Order&amp;nbsp; Date :9&amp;nbsp; records b/w 02/01/2016 To:02/29/2016(mm/dd/yyyy). YOU GET THE CORRECT RECORDS TO THIS FILTER&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;case 3:Shipping Date :300 records b/w 01/01/2016 To:02/01/2016(mm/dd/yyyy) LIKE YOU HAVE 300 MAXIMUM RECORDS, YOU WILL GET 300 RECORDS, SO THE 9 RECORDS OF THE 2ND CASE ARE INVOLVED IN THE RESULT. THIS IS SET THEORY, IF YOU DON'T KNOW HOW TO OPERATE WITH SET MAYBE MUST REVIEW SOMETHING THAT CAN HELP YOU TO UNDERSTAND FUTURE PROBLEMS OF SET.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 11:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237120#M393360</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-12T11:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237121#M393361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look into the attached document, I have a total of 309 Records.&lt;/P&gt;&lt;P&gt;In case 1: As expected it is getting 300 records&lt;/P&gt;&lt;P&gt;case 2: 9 records as expected&lt;/P&gt;&lt;P&gt;case 3 : Expected to get all the 309 records &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 11:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237121#M393361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-12T11:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement AND logic in QV Calendar Obj for multiple Date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237122#M393362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, and why you don't take the minimum date between Shipping and Order Date and then take the maximum date between the Shipping and Order Date and with this dates you calculate just one time the:&lt;/P&gt;&lt;P&gt;='&amp;gt;='&amp;amp; DATE(Min(S_O_Start))&amp;amp;'&amp;lt;='&amp;amp;DATE(S_O_End)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 11:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-implement-AND-logic-in-QV-Calendar-Obj-for-multiple-Date/m-p/1237122#M393362</guid>
      <dc:creator>enriquem</dc:creator>
      <dc:date>2017-01-12T11:44:37Z</dc:date>
    </item>
  </channel>
</rss>

