<?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: Issue with an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430599#M430378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2017 07:39:43 GMT</pubDate>
    <dc:creator>ferha_jafri</dc:creator>
    <dc:date>2017-10-11T07:39:43Z</dc:date>
    <item>
      <title>Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430592#M430371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement , in which I want to show a table with a range of date From and To . Here I am facing issue how to get a true condition i an expression if(Log_Date&amp;gt;$(MaxDate),1,0) . PFA with a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ferha Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 06:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430592#M430371</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-10-11T06:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430593#M430372</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 be a little more specific with your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 06:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430593#M430372</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-11T06:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430594#M430373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement in which I was to pass from date from calendar and to date from calendar and want to display Log date in between from and to dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430594#M430373</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-10-11T07:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430595#M430374</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;pfa . is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430595#M430374</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-11T07:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430596#M430375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should avoid formatted dates when doing logic. It is much better and safer to use the numerical version of the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance in you application you have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( Concat(Log_Date) &amp;lt;= $(vMaxDate) , 1 , 0 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Concat() function will concatenate as strings the formatted dates that are selected or possible so you get something like this as a result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;02/10/201703/10/201704/10/201705/10/201706/10/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be interpreted as a calculation consisting of many divisions and the result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.9904817301955e-30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly the $(vMaxDate) will be this if 04/10/217 is selected and that evaluates to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0.00019831432821021&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And clearly this is not your intention - is it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get what you want you will have to do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If( Max(Log_Date) &amp;lt;= Num( $(vMaxDate ) ) , 1 , 0 )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430596#M430375</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-10-11T07:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430597#M430376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pradosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your reply, I need it in a chart as a calculated dimension. Please check when I am using it in a table I am getting false condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430597#M430376</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-10-11T07:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430598#M430377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the dates between Min and Max as If(log_date &amp;lt;=vMaxDate&lt;/P&gt;&lt;P&gt;and &lt;SPAN style="font-size: 13.3333px;"&gt;log_date &amp;lt;=vMaxDate,log_date&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430598#M430377</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-10-11T07:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430599#M430378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430599#M430378</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-10-11T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430600#M430379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430600#M430379</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-11T07:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430601#M430380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used Log_Date={"&amp;gt;=$(vFromDate)&amp;lt;=$(vToDate)"}&amp;nbsp; in the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-an-expression/m-p/1430601#M430380</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2017-10-11T07:59:35Z</dc:date>
    </item>
  </channel>
</rss>

