<?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 Help me to write expression.... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-me-to-write-expression/m-p/895146#M311612</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;I want to write an expression, if it is a current month then show previous month data or else show actual value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is for April Fiscal Month, if Current Month is April then it should show &lt;STRONG style="color: #008000;"&gt;Previous Fiscal year i.e. 2014-15 March Month.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; color: #008000; font-size: 10pt;"&gt; and if May is current month ,it should show Previous month data or else Actual Value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;For e.g.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;April is current month for fiscal year 2015-16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Output: March &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;2014-15&lt;/STRONG&gt;&lt;/SPAN&gt; data&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Now if May is the current month of fiscal year 2015-16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Output: April &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;2015-16&lt;/STRONG&gt;&lt;/SPAN&gt; data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Other than Current month(March 2014-15 ) is selected, it sholud show &lt;/SPAN&gt;&lt;SPAN style="color: #ff6600; font-size: 10pt; line-height: 1.5em;"&gt; Actuals Value for the same month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600; font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG style="color: #339966;"&gt;These 3 conditions should be in 1 expression.&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; color: #339966; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; line-height: 1.5em; color: #575757; font-size: 10pt;"&gt;Please help me to solve....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;Regards,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; color: #339966; font-size: 10pt;"&gt;&lt;SPAN style="color: #575757;"&gt;Mohammad&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 12:14:41 GMT</pubDate>
    <dc:creator>mohammadkhatimi</dc:creator>
    <dc:date>2015-04-23T12:14:41Z</dc:date>
    <item>
      <title>Help me to write expression....</title>
      <link>https://community.qlik.com/t5/QlikView/Help-me-to-write-expression/m-p/895146#M311612</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;I want to write an expression, if it is a current month then show previous month data or else show actual value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is for April Fiscal Month, if Current Month is April then it should show &lt;STRONG style="color: #008000;"&gt;Previous Fiscal year i.e. 2014-15 March Month.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; color: #008000; font-size: 10pt;"&gt; and if May is current month ,it should show Previous month data or else Actual Value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;For e.g.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;April is current month for fiscal year 2015-16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Output: March &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;2014-15&lt;/STRONG&gt;&lt;/SPAN&gt; data&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Now if May is the current month of fiscal year 2015-16&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Output: April &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;2015-16&lt;/STRONG&gt;&lt;/SPAN&gt; data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;Other than Current month(March 2014-15 ) is selected, it sholud show &lt;/SPAN&gt;&lt;SPAN style="color: #ff6600; font-size: 10pt; line-height: 1.5em;"&gt; Actuals Value for the same month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600; font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG style="color: #339966;"&gt;These 3 conditions should be in 1 expression.&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; color: #339966; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; line-height: 1.5em; color: #575757; font-size: 10pt;"&gt;Please help me to solve....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;Regards,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="line-height: 1.5em; color: #339966; font-size: 10pt;"&gt;&lt;SPAN style="color: #575757;"&gt;Mohammad&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #ff6600;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 12:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-me-to-write-expression/m-p/895146#M311612</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2015-04-23T12:14:41Z</dc:date>
    </item>
  </channel>
</rss>

