<?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: sql condition in expression(urgent plsssss...) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sql-condition-in-expression-urgent-plsssss/m-p/887297#M1009055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 14:07:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-06T14:07:23Z</dc:date>
    <item>
      <title>sql condition in expression(urgent plsssss...)</title>
      <link>https://community.qlik.com/t5/QlikView/sql-condition-in-expression-urgent-plsssss/m-p/887295#M1009053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following expression for counting the no. of invoices (MTD) in a pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;Expression = count({&amp;lt;CalendarDate=, CalendarMonthYear= {"&amp;gt;=$(=date(MonthStart(Max(CalendarDate))))&amp;lt;=$(=date(Max(CalendarDate)))"}&amp;gt;} InvoiceNo)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to include the following sql condition in the above expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;sql condition&amp;nbsp; = COUNT(DISTINCT CASE WHEN ORDTYPE='SL' THEN ISNULL(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;InvoiceNo&lt;/SPAN&gt;,'') END) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9.0pt; font-family: arial, helvetica, sans-serif;"&gt;How can i include this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;please help&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 12:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-condition-in-expression-urgent-plsssss/m-p/887295#M1009053</guid>
      <dc:creator />
      <dc:date>2015-05-06T12:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: sql condition in expression(urgent plsssss...)</title>
      <link>https://community.qlik.com/t5/QlikView/sql-condition-in-expression-urgent-plsssss/m-p/887296#M1009054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;SPAN style="font-size: 13px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;count({&amp;lt;ORDTYPE={'SL',} CalendarDate=, CalendarMonthYear= {"&amp;gt;=$(=date(MonthStart(Max(CalendarDate))))&amp;lt;=$(=date(Max(CalendarDate)))"}&amp;gt;} if(IsNull(InvoiceNo),'',&lt;STRONG style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;InvoiceNo&lt;/STRONG&gt;))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 13:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-condition-in-expression-urgent-plsssss/m-p/887296#M1009054</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-06T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: sql condition in expression(urgent plsssss...)</title>
      <link>https://community.qlik.com/t5/QlikView/sql-condition-in-expression-urgent-plsssss/m-p/887297#M1009055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 14:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sql-condition-in-expression-urgent-plsssss/m-p/887297#M1009055</guid>
      <dc:creator />
      <dc:date>2015-05-06T14:07:23Z</dc:date>
    </item>
  </channel>
</rss>

