<?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: Conditional expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930488#M957824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/204026"&gt;erodman52&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached sample file and let me know if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Punit !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2015 09:51:18 GMT</pubDate>
    <dc:creator>punitpopli</dc:creator>
    <dc:date>2015-11-04T09:51:18Z</dc:date>
    <item>
      <title>Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930486#M957822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field named Controlxx. The value can be 'Partially Effective' , 'Ineffective', 'effective'. I am trying to count up the records for a bar chart where the value can be 'Partially Effective' , or 'Ineffective'&amp;nbsp; .&lt;/P&gt;&lt;P&gt;My dimension is a field named 'Control'.&amp;nbsp; I am unable to get this to work. Can someone shed some light for me.&lt;/P&gt;&lt;P&gt;What is the proper syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 00:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930486#M957822</guid>
      <dc:creator />
      <dc:date>2015-11-04T00:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930487#M957823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count ({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Controlxx={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Partially Effective' , 'Ineffective'&lt;/SPAN&gt;}&lt;/SPAN&gt;&amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 09:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930487#M957823</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-11-04T09:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930488#M957824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/204026"&gt;erodman52&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached sample file and let me know if this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Punit !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 09:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930488#M957824</guid>
      <dc:creator>punitpopli</dc:creator>
      <dc:date>2015-11-04T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930489#M957825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wud say, in a meaningful way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take &lt;STRONG&gt;Controlxx as dimension&lt;/STRONG&gt; and&lt;STRONG&gt; Count(Control) or count(distinct(Control))&lt;/STRONG&gt; as expression. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 10:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930489#M957825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930490#M957826</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;What exactly are you trying to show on the Bar Chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it two bars one showing the '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Partially Effective' , 'Ineffective' and another showing &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt; 'Effective'?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If so you could use two expressions &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count ({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Control={'&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Partially Effective' , 'Ineffective'&lt;/SPAN&gt;}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Control&lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Control={&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'Effective'&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Control&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you could make another field in the script that groups the two for your charts&lt;/P&gt;&lt;P&gt;IF(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Control={'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;Partially Effective' , 'Ineffective', 0, 1)&amp;nbsp; AS Effective.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 0 and 1 are just flag and could be anything you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 10:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930490#M957826</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-04T10:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930491#M957827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What this Control dimension contain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take &lt;STRONG&gt;Control as Dim &amp;amp; Expression is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Controlxx={&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Partially Effective' , 'Ineffective', 'effective'}&lt;/SPAN&gt;&amp;gt;} Controlxx)&amp;nbsp; //you can use distinct as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 10:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930491#M957827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-04T10:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930492#M957828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for solving my issue. I used the same construct on another bar chart, containing two dimensions.&lt;/P&gt;&lt;P&gt;In this case the value could be 'E', or 'M'. I get the correct values, but the first line of the chart does not contain a value, it is blank, but it contains 1175 as the count. It is skewing the other values, as I don't see the individual lines of the graph because the numbers ae small. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 00:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930492#M957828</guid>
      <dc:creator />
      <dc:date>2015-11-05T00:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930493#M957829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;STRONG&gt;Suppress Null Values Option&lt;/STRONG&gt; in Dimension Tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 09:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expressions/m-p/930493#M957829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-05T09:43:11Z</dc:date>
    </item>
  </channel>
</rss>

