<?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 states issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212339#M388697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/13229"&gt;jontydkpi&lt;/A&gt;‌, very useful link. I found the issue was with null values in the fields. After replacing all null values with "N/A", it worked again. Is it common knowledge that alternate states cannot work with null values? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2016 08:52:01 GMT</pubDate>
    <dc:creator>sifatnabil</dc:creator>
    <dc:date>2016-10-26T08:52:01Z</dc:date>
    <item>
      <title>Alternate states issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212336#M388694</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;I have an alternate states expression that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({PriorState&amp;lt;&lt;/P&gt;&lt;P&gt;MARKET_ID=$::MARKET_ID,&lt;/P&gt;&lt;P&gt;MFLAG=$::MFLAG&lt;/P&gt;&lt;P&gt;&amp;gt;}aggr(max(&lt;/P&gt;&lt;P&gt;{PriorState&amp;lt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;MARKET_ID=$::MARKET_ID,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;MFLAG=$::MFLAG&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;TOTAL_AMOUNT),ORDER_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With MARKET_ID, it works fine. But if I add MFLAG, the value becomes 0. I can add other fields and they work, but not MFLAG. I investigated MFLAG and don't see anything wrong with it. It only has 2 values, YES and NO. Any ideas why a single field could stop the expression from working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 11:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212336#M388694</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-24T11:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212337#M388695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 07:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212337#M388695</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-25T07:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212338#M388696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may need to provide a sample to illustrate your problem and to allow for diagnosis. My guess is that MFLAG is not properly associated with the other fields, or is misaligned, so selecting any MFLAG value deselects everything else. But that's just a guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 07:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212338#M388696</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-10-25T07:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212339#M388697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/13229"&gt;jontydkpi&lt;/A&gt;‌, very useful link. I found the issue was with null values in the fields. After replacing all null values with "N/A", it worked again. Is it common knowledge that alternate states cannot work with null values? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 08:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212339#M388697</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-26T08:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212340#M388698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is it common knowledge that alternate states cannot work with null values?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have never heard of this before. I think in general null values are kind of a headache to handle within set analysis. But AFAIK, and I may be I am wrong, I don't think that it has anything to do with the use of alternate state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212340#M388698</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T10:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212341#M388699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it matters when you try to retrieve the values from another state, i.e. MFLAG=$::MFLAG - if there are nulls, it behaves strangely. Removing nulls fixed this for me. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212341#M388699</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2016-10-26T10:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states issue</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212342#M388700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a small sample where we might be able to see this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-issue/m-p/1212342#M388700</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T10:39:05Z</dc:date>
    </item>
  </channel>
</rss>

