<?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 in the If condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895038#M1000906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bhumika,&lt;/P&gt;&lt;P&gt;Just wondering how feasible it is to upload a sample qvw file so that we can work on it quickly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 15:04:40 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2015-06-15T15:04:40Z</dc:date>
    <item>
      <title>Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895037#M1000905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello qlikview experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to understand the if condition in qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my scenario I am using the if condition in my script level.&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if( FLAG ='X', [Earliest DATE], [END DATE]) as plan Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;also let&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Earliest DATE] = 1/1/2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[END DATE] = 12/1/2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;here the data modeling is done such a way that flag = 'X' exists for both the feilds [&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Earliest DATE] &amp;amp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[END DATE].&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding I should get answer as 1/1/2015 which is in &lt;SPAN style="font-size: 10pt;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Earliest DATE] feild&lt;/SPAN&gt; as &lt;SPAN style="font-size: 13.3333330154419px;"&gt;FLAG ='X' holds the condition true.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;But in my condition it is taking value for both if and else condition.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg. both &lt;SPAN style="font-size: 13.3333330154419px;"&gt;1/1/2015 &amp;amp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;12/1/2014 in the list box which gives me error in further calculations.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the condition is true it should take the only the first value. I have tried the same condition with other inline table it is giving me proper answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused where I am wrong.&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 14:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895037#M1000905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-15T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895038#M1000906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bhumika,&lt;/P&gt;&lt;P&gt;Just wondering how feasible it is to upload a sample qvw file so that we can work on it quickly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 15:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895038#M1000906</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2015-06-15T15:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895039#M1000907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello vishsaggi,&lt;/P&gt;&lt;P&gt;Thanks for the instant answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But could not attach any kind of sample file from the office due to the security constraints.&lt;/P&gt;&lt;P&gt;I have got the root cause of the issue as it is creating the two rows and taking both the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 15:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895039#M1000907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-28T15:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895040#M1000908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only confirm that your understanding of the if() function is correct.&lt;/P&gt;&lt;P&gt;What is going on in your situation - can't tell without an example. You don't need to upload the actual application, just create simple example where you can reproduce the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 01:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895040#M1000908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-29T01:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895041#M1000910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be your Flag value is not being reset properly in your script..As far as the if condition is concerned, it looks fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 08:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895041#M1000910</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-06-29T08:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895042#M1000913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please try&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if( '$(FLAG)' ='X', [Earliest DATE], [END DATE]) as plan Date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 08:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895042#M1000913</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-03T08:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895043#M1000915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could not understand &lt;STRONG&gt;'&lt;SPAN style="font-size: 10pt;"&gt;the data modeling is done such a way that flag = 'X' exists for both the feilds [&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Earliest DATE] &amp;amp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[END DATE]' . &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Can you elaborate this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;KKR&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 09:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895043#M1000915</guid>
      <dc:creator />
      <dc:date>2015-07-03T09:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895044#M1000917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;I have got the root cause of the issue as it is creating the two rows and taking both the values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;So, I was getting the unexpected result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;thanxx&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 11:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895044#M1000917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-06T11:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in the If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895045#M1000918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great to know that your problem is resolved.Please close the thread with your resolution and marking the correct answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 11:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-the-If-condition/m-p/895045#M1000918</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-07-06T11:40:36Z</dc:date>
    </item>
  </channel>
</rss>

