<?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 Condition for the Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-for-the-Expression/m-p/280074#M1203191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes its possible use more than one expressions in a chart. Also you can achieve conditional expressions using set analysis.&lt;/P&gt;&lt;P&gt;I've attached a qvw file. that shows sample solution for your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nadsky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Oct 2010 05:54:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-04T05:54:07Z</dc:date>
    <item>
      <title>Condition for the Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-for-the-Expression/m-p/280073#M1203189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Qlikview and Iam trying to create a bar chart. The chart will show months as Dimension. For each month I want to show two bars, one bar for total sales lines during that month and the other bar for sales lines for the future. So I guess that would be two expressions for the chart. For the first expression I am doing Count(SalesLine) but for the other I want to do a conditional count. I want the count of lines where the sales year is &amp;gt; 2010. I tried different ways but cannot make it to work.&lt;/P&gt;&lt;P&gt;By the way on the same subject, is there a way to have two expressions and make two bars display side by side for each month? or does it have to be alternate display?&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Oct 2010 16:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-for-the-Expression/m-p/280073#M1203189</guid>
      <dc:creator />
      <dc:date>2010-10-01T16:53:39Z</dc:date>
    </item>
    <item>
      <title>Condition for the Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-for-the-Expression/m-p/280074#M1203191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes its possible use more than one expressions in a chart. Also you can achieve conditional expressions using set analysis.&lt;/P&gt;&lt;P&gt;I've attached a qvw file. that shows sample solution for your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nadsky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Oct 2010 05:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-for-the-Expression/m-p/280074#M1203191</guid>
      <dc:creator />
      <dc:date>2010-10-04T05:54:07Z</dc:date>
    </item>
    <item>
      <title>Condition for the Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-for-the-Expression/m-p/280075#M1203192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for your reply... I used the expression that you provided and was going to test it but I found out something else that is also not working correctly so I have to fix that first..&lt;/P&gt;&lt;P&gt;I am using a date function to convert julian date (DB2) to MM/DD/YYYY format. For this the following date expression works....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date (makedate(1900 + floor(QRUPMJ/1000),1,1)+num(right(text(QRUPMJ),3))-1,'MM/DD/YYYY') as SalesDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then based on variable SalesDate I am using functions day &amp;amp; month as.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="line-height:normal;margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;day(SalesDate) as SalesDay,&lt;/P&gt;&lt;P style="line-height:normal;margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;month(SalesDate) as SalesMonth&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;to get the values for day and month. Somehow these functions are returning incorrect values. So the value in SalesDate is correct but the values in SalesDay and SalesMonth are not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;What am I doing wrong?&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;Thanks&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 14:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-for-the-Expression/m-p/280075#M1203192</guid>
      <dc:creator />
      <dc:date>2010-10-06T14:10:42Z</dc:date>
    </item>
  </channel>
</rss>

