<?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 if  condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1314159#M408155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; Hi all, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;I have a if statement &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;NO&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt; ='P10'&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;and&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt; value &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt; &amp;gt;2,'Yes','No')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;and then I need to take&amp;nbsp; this variable and use further. if i'm counting yes values its showing right count but when i'm counting both yes no values it is showing&amp;nbsp; wrong value ,&amp;nbsp; could you please suggest something &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2017 09:27:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-07-03T09:27:44Z</dc:date>
    <item>
      <title>if  condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1314159#M408155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; Hi all, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;I have a if statement &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;NO&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt; ='P10'&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;and&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt; value &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt; &amp;gt;2,'Yes','No')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Arial',sans-serif; font-size: 9pt; mso-ansi-language: EN-US;"&gt;and then I need to take&amp;nbsp; this variable and use further. if i'm counting yes values its showing right count but when i'm counting both yes no values it is showing&amp;nbsp; wrong value ,&amp;nbsp; could you please suggest something &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 09:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1314159#M408155</guid>
      <dc:creator />
      <dc:date>2017-07-03T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: if  condition</title>
      <link>https://community.qlik.com/t5/QlikView/if-condition/m-p/1314160#M408156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because, This condition filled with either Yes nor No. You must clear about that where and what you are doing. I am assuming you created one flag for Yes and No field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Yes and No below one, This will deserve with accuracy count&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;YesNoFlag = {Yes}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Count({&amp;lt;YesNoFlag = {No}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For Yes and No count you can do something like below&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Count({&amp;lt;YesNoFlag = {'Yes', 'No'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 15:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-condition/m-p/1314160#M408156</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-03T15:59:55Z</dc:date>
    </item>
  </channel>
</rss>

