<?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: Re: Comparison in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparison/m-p/526752#M1128166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Paul&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You could create a field called &lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Alert&lt;/EM&gt;&lt;/SPAN&gt; in your load script :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM style="color: #993300;"&gt;If ([Actual Demand]&amp;gt;[Monthly Coverage] ,Dual('Alert',1) , Dual('Ok',0))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Alert ,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then simply use the Sum() function to give you the count :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Sum ( [Alert] )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If you are not familiar with the Dual function, then look it up in the Help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Dec 2013 17:32:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-26T17:32:09Z</dc:date>
    <item>
      <title>Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison/m-p/526749#M1128159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone give some suggestions.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 16:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison/m-p/526749#M1128159</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2013-12-26T16:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison/m-p/526750#M1128160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Paul&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify what you mean by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM style="color: #993300;"&gt;show count of &lt;EM style="color: #993300; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ALERT &lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;, as I can see no field called &lt;EM style="color: #993300; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ALERT &lt;/EM&gt;in your data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 17:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison/m-p/526750#M1128160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-26T17:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison/m-p/526751#M1128163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alert means already i calculated field in my STRAIGHT table&lt;/P&gt;&lt;P&gt;Actually i want to show alerts count.... and Comparison with MonthlyCoverage and ActualDemand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 17:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison/m-p/526751#M1128163</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2013-12-26T17:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparison</title>
      <link>https://community.qlik.com/t5/QlikView/Comparison/m-p/526752#M1128166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Paul&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You could create a field called &lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Alert&lt;/EM&gt;&lt;/SPAN&gt; in your load script :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM style="color: #993300;"&gt;If ([Actual Demand]&amp;gt;[Monthly Coverage] ,Dual('Alert',1) , Dual('Ok',0))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Alert ,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then simply use the Sum() function to give you the count :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Sum ( [Alert] )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;If you are not familiar with the Dual function, then look it up in the Help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 17:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparison/m-p/526752#M1128166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-26T17:32:09Z</dc:date>
    </item>
  </channel>
</rss>

