<?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: Alternate State , If condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70133#M771885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you calling the variable correctly like this ? &lt;SPAN style="font-size: 10pt;"&gt;$(YOURVARIABLE) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 09:30:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-22T09:30:47Z</dc:date>
    <item>
      <title>Alternate State , If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70132#M771884</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 have a expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Fin_Months='Jan' or Fin_Months='Feb' or Fin_Months='Mar','1Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P&gt;If(Fin_Months='Apr' or Fin_Months='May' or Fin_Months='Jun','2Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P&gt;If(Fin_Months='Jul' or Fin_Months='Aug' or Fin_Months='Sep','3Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P&gt;If(Fin_Months='Oct' or Fin_Months='Nov' or Fin_Months='Dec','4Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P&gt;))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works good when i keep it in text box , but when i keep it in variable it doesnt provide&amp;nbsp; any output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this where Fin_Months and Fin_Years are in different alternate state.&lt;/P&gt;&lt;P&gt;Data format Fin_Months and Fin_Years is text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70132#M771884</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State , If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70133#M771885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you calling the variable correctly like this ? &lt;SPAN style="font-size: 10pt;"&gt;$(YOURVARIABLE) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 09:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70133#M771885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-22T09:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State , If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70134#M771886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be just wrap it around with Only function and give it a alternate state in the set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;SPAN style="color: #ff0000;"&gt;Only({AlternateState}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Fin_Months='Jan' or Fin_Months='Feb' or Fin_Months='Mar','1Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Fin_Months='Apr' or Fin_Months='May' or Fin_Months='Jun','2Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Fin_Months='Jul' or Fin_Months='Aug' or Fin_Months='Sep','3Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Fin_Months='Oct' or Fin_Months='Nov' or Fin_Months='Dec','4Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;))))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 11:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70134#M771886</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-22T11:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State , If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70135#M771887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, you might want to simplify your expression like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({AlternateState}Ceil(Month(Date#(Fin_Months, 'MMM'))/3) &amp;amp; 'Q'&amp;amp;(Right(Fin_Years, 2)-1))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 11:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70135#M771887</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-22T11:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State , If condition</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70136#M771888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this&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;=only(If(Fin_Months='Jan' or Fin_Months='Feb' or Fin_Months='Mar','1Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Fin_Months='Apr' or Fin_Months='May' or Fin_Months='Jun','2Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Fin_Months='Jul' or Fin_Months='Aug' or Fin_Months='Sep','3Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Fin_Months='Oct' or Fin_Months='Nov' or Fin_Months='Dec','4Q'&amp;amp;(Right(Fin_Years,2)-1),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 13:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-If-condition/m-p/70136#M771888</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-05-22T13:08:02Z</dc:date>
    </item>
  </channel>
</rss>

