<?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: Ignore Selection using a Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24779#M767687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Your expression doesnot even contains From Date ,how come this effect your exp??&lt;/P&gt;&lt;P&gt;can you please elaborate a bit more ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 07:15:38 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2018-06-14T07:15:38Z</dc:date>
    <item>
      <title>Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24778#M767686</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 have created 2 variables, one is for &lt;STRONG&gt;'From Date'&lt;/STRONG&gt; and Other is for '&lt;STRONG&gt;To Date'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vFrom Date--&lt;/STRONG&gt; =MakeDate(vFromYear,vFromMonth,1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vToDate-- &lt;SPAN style="font-size: 13.3333px;"&gt;=&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;MakeDate(vToYear,vToMonth,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now I have an expression and I want to make that expression independent of this variable. Meaning any change in From Date should not affect my expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My expression looks like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count(DISTINCT {(&amp;lt;[Status] = {"P"},Join_Date={"&amp;lt;=$(=vToDate)"},=&amp;gt;)} [Customer ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now whenever there is a change in from date my expression changes. Also if I use '1' in the expression,then it stops responding to any selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Please suggest how to use this variable in my set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Many Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Ishika&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24778#M767686</guid>
      <dc:creator>ishika00730</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24779#M767687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Your expression doesnot even contains From Date ,how come this effect your exp??&lt;/P&gt;&lt;P&gt;can you please elaborate a bit more ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24779#M767687</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2018-06-14T07:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24780#M767688</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;Even if my expression does not contain From date does not mean that it will not have an influence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the selections that you make in your dashboard will affect your count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me an example of how to write an expression in set analysis to exclude a variable. You may disregard my expression above and suggest a new expression with my requirement. That will be a help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Ishika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24780#M767688</guid>
      <dc:creator>ishika00730</dc:creator>
      <dc:date>2018-06-14T07:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24781#M767689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;If it as field then should effect your Aggregations i.e expressions, &lt;/P&gt;&lt;P&gt;if it is a variable until unless you use it in your exp it should not effect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;can you please share your file if possible??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 07:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24781#M767689</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2018-06-14T07:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24782#M767690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But vFromDate and vTodate are derived from fields and it is affecting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 08:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24782#M767690</guid>
      <dc:creator>ishika00730</dc:creator>
      <dc:date>2018-06-14T08:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24783#M767691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If they are derived from fields, then you can bypass the fields in your set expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 08:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24783#M767691</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-06-14T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24784#M767692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you have a Year, Month field you use to populate the variable VMonth, Vyear&amp;nbsp; . If so the below should be fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT {(&amp;lt;[Status] = {"P"},Join_Date={"&amp;lt;=$(=vToDate)"},Year=,Month=&amp;gt;)} [Customer ID])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 08:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24784#M767692</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2018-06-14T08:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24785#M767693</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;Can you cross check your expression syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;=Count(DISTINCT {(&amp;lt;[Status] = {"P"},Join_Date={"&amp;lt;=$(=vToDate)"},=&amp;gt;)} [Customer ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Like :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;=&lt;STRONG&gt;Count( {&amp;lt;[Status] = {"P"},Join_Date={"&amp;lt;=$(=vToDate)"}&amp;gt;)} &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;DISTINCT [&lt;/STRONG&gt;Customer ID])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;And cross check one more othing :&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;When you select vFromDate and vToDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;On which Date field you are applying this selection criteria&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 09:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24785#M767693</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2018-06-14T09:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24786#M767694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Order Date Field from which I am deriving From Date and To Date. So I cannot bypass this date field in my set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to bypass the vFromDate Variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is to select the order date ex from 01-01-2018~31-05-2018. Now I have created a variable vFromDate which populates the start date and then vFromDate that populates the end date and based on this, The order date is selected and I get the necessary output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To count the number of customers, I want that I should have the count of all the members who have order date until 31st May irrespective of the date getting selected as 01-01-2018~31-05-2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this basically tells me how many members do I have until 31-0-2018 ignoring the from date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ishika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 09:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24786#M767694</guid>
      <dc:creator>ishika00730</dc:creator>
      <dc:date>2018-06-14T09:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Selection using a Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24787#M767695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ishika,&lt;/P&gt;&lt;P&gt;correct me if am wrong,&lt;/P&gt;&lt;P&gt;you might want to calculate No. of customers till &lt;STRONG&gt;vToDate&lt;/STRONG&gt; i.e all the customers before vToDate and bypass &lt;STRONG&gt;FromDate&lt;/STRONG&gt; change selection in &lt;STRONG&gt;OrderDate.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable to store Fromdate value like below and use in expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;vFromtest&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;=min({1}OrderDate)&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // it &lt;/SPAN&gt;doesn't&lt;SPAN style="font-size: 10pt;"&gt; change for any selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Expression&lt;/STRONG&gt;&lt;STRONG style="text-decoration: underline;"&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;=Count(DISTINCT {(&amp;lt;[Status] = {"P"},Join_Date={"&amp;gt;=$(=vFromTest)&amp;nbsp; &amp;lt;=$(=vToDate)"}&amp;gt;)} [Customer ID])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try and let me know &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 12:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-Selection-using-a-Variable/m-p/24787#M767695</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2018-06-14T12:53:11Z</dc:date>
    </item>
  </channel>
</rss>

