<?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 Date Selection is not Working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Selection-is-not-Working/m-p/1836296#M1214916</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;Need a urgent Help on below requirement,&lt;/P&gt;&lt;P&gt;Need to display the data based on&amp;nbsp; Country and Month Selection .&lt;/P&gt;&lt;P&gt;Below Expression is Working Fine if we Select between = Sep20 to Dec20&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(COUNTRY='Italy' and (substringcount(GetFieldSelections(MonthYear),'Sep20, Oct20, Nov20, Dec20')),&lt;BR /&gt;round(sum({&amp;lt;BRAND=,PRODUCT=&amp;gt;}WEIGHT)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Scenario 2(Not Working):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if&amp;nbsp; User is Selecting the MonthYear from Sep20 to Apr21 is not working for below selection:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(COUNTRY='Italy' and (substringcount(GetFieldSelections(MonthYear),'Sep20, Oct20, Nov20, Dec20,Jan21,Feb21,Mar21,Apr21')),&lt;BR /&gt;round(sum({&amp;lt;BRAND=,PRODUCT=&amp;gt;}WEIGHT)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Kindly Help on resolving the Scenario 2&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 11:06:19 GMT</pubDate>
    <dc:creator>Lakshminarayanan_J</dc:creator>
    <dc:date>2021-09-15T11:06:19Z</dc:date>
    <item>
      <title>Date Selection is not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Selection-is-not-Working/m-p/1836296#M1214916</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;Need a urgent Help on below requirement,&lt;/P&gt;&lt;P&gt;Need to display the data based on&amp;nbsp; Country and Month Selection .&lt;/P&gt;&lt;P&gt;Below Expression is Working Fine if we Select between = Sep20 to Dec20&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(COUNTRY='Italy' and (substringcount(GetFieldSelections(MonthYear),'Sep20, Oct20, Nov20, Dec20')),&lt;BR /&gt;round(sum({&amp;lt;BRAND=,PRODUCT=&amp;gt;}WEIGHT)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Scenario 2(Not Working):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if&amp;nbsp; User is Selecting the MonthYear from Sep20 to Apr21 is not working for below selection:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(COUNTRY='Italy' and (substringcount(GetFieldSelections(MonthYear),'Sep20, Oct20, Nov20, Dec20,Jan21,Feb21,Mar21,Apr21')),&lt;BR /&gt;round(sum({&amp;lt;BRAND=,PRODUCT=&amp;gt;}WEIGHT)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Kindly Help on resolving the Scenario 2&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 11:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Selection-is-not-Working/m-p/1836296#M1214916</guid>
      <dc:creator>Lakshminarayanan_J</dc:creator>
      <dc:date>2021-09-15T11:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date Selection is not Working</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Selection-is-not-Working/m-p/1836329#M1214922</link>
      <description>&lt;P&gt;It's probably you are missing spaces between commas in your string after Dec20, this should fix it:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'Sep20, Oct20, Nov20, Dec20, Jan21, Feb21, Mar21, Apr21'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But I would look for another way to do this that's not so string literal dependent.&amp;nbsp; Maybe:&lt;/P&gt;&lt;P&gt;(getselectedcount(MonthYear) = 8 and min(MonthYear) = 'Sep20' and max(MonthYear) = 'Apr21')&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 12:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Selection-is-not-Working/m-p/1836329#M1214922</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-09-15T12:15:38Z</dc:date>
    </item>
  </channel>
</rss>

