<?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 Need expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763066#M271290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; i have a data set like this for the current month i need to show the previous month actual values.and for the&lt;/P&gt;&lt;P&gt;remaining months it should be outlook values(i will get data from jan-dec for every month). !&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 03:07:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-09T03:07:40Z</dc:date>
    <item>
      <title>Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763066#M271290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; i have a data set like this for the current month i need to show the previous month actual values.and for the&lt;/P&gt;&lt;P&gt;remaining months it should be outlook values(i will get data from jan-dec for every month). !&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 03:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763066#M271290</guid>
      <dc:creator />
      <dc:date>2015-03-09T03:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763067#M271291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sruti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you be bit more clear on your requirement????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 04:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763067#M271291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-09T04:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763068#M271292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;If(month=Month(Today()),Sum({&amp;lt;scenario={'actuals'}&amp;gt;}fin),Sum({&amp;lt;scenario={'outlook'}&amp;gt;}fin))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;PFA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763068#M271292</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-03-09T05:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763069#M271293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the If condition it will take only today month.but wat i need is from jan to today's month it should be actulas&lt;/P&gt;&lt;P&gt; and remaining all are outlook values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 07:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763069#M271293</guid>
      <dc:creator />
      <dc:date>2015-03-09T07:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763070#M271294</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;Then try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'book antiqua', palatino; font-size: 13px;"&gt;If(month &amp;lt; Month(Today()),Sum({&amp;lt;scenario={'actuals'}&amp;gt;}fin),Sum({&amp;lt;scenario={'outlook'}&amp;gt;}fin))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'book antiqua', palatino; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'book antiqua', palatino; font-size: 13px;"&gt;OR if you have a date field then try like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'book antiqua', palatino; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'book antiqua', palatino;"&gt;If(DateFieldName &amp;lt; Today(), Sum({&amp;lt;scenario={'actuals'}&amp;gt;}fin),Sum({&amp;lt;scenario={'outlook'}&amp;gt;}fin))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'book antiqua', palatino;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'book antiqua', palatino;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'book antiqua', palatino;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'book antiqua', palatino;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'book antiqua', palatino;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 08:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763070#M271294</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-03-09T08:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763071#M271295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;I used &amp;lt; in condition, so it will return the values upto the current month.&amp;nbsp; Or in script you can try like this &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;'Actual' AS Data&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM ActualData&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;WHERE Date &amp;lt; Today();&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Concatenate(Data)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;'Outlook' AS Data&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Outlook&lt;/SPAN&gt;Data&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;WHERE Date &amp;gt;= Today();&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Now in frontend there is no need of conditions at all, you can just use Sum(fin).&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 09:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-expression/m-p/763071#M271295</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-03-09T09:45:55Z</dc:date>
    </item>
  </channel>
</rss>

