<?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 Combining Alternate and Inherited States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153289#M912670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create a line chart that combines the average line from my inherited state, with an expression from an alternate state? Specifically, in the attached, I want to have the top inherited chart show what it currently shows, the bottom chart to show what it currently shows, but I want to add the ability to combine Company C's % Returns to this bottom chart, without affecting the average line of the bottom chart, or the top chart. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153289#M912670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create a line chart that combines the average line from my inherited state, with an expression from an alternate state? Specifically, in the attached, I want to have the top inherited chart show what it currently shows, the bottom chart to show what it currently shows, but I want to add the ability to combine Company C's % Returns to this bottom chart, without affecting the average line of the bottom chart, or the top chart. &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/Combining-Alternate-and-Inherited-States/m-p/1153289#M912670</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153290#M912671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Only({$+AltState1}DIM)=1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Only({$+AltState1}aggr(sum({$+AltState1}PercentRet_atInterval),ID,RelativeDayBuild,TimeofDayBuild)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; avg(TOTAL&amp;lt;RelativeDayAndTime&amp;gt; aggr(sum(PercentRet_atInterval),ID,RelativeDayBuild,TimeofDayBuild))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125929_Capture.PNG" style="height: 276px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 16:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153290#M912671</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T16:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153291#M912672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny - I'm afraid my actual data model is very large and this seems to be causing a severe drag on speed. Is there another way around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153291#M912672</guid>
      <dc:creator />
      <dc:date>2016-05-26T18:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153292#M912674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the requirement that you want to see a line for all Company, but the average for the selected ones?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153292#M912674</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T18:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153293#M912676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Going back to my original file, I need two lines in the bottom chart. I need a line chart with the dynamic average line of companies that are selected in the top chart (so the average line is the same in both charts regardless of filter). But then I also need the ability in the bottom chart to be able to include the line of actual returns for any specific company chosen in the Alt State (could be A, B, or C). &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So when I filter again in the inherited state, it will affect the companies plotted in the top chart, and the average line in both charts, but not the specific Company in the bottom chart that I selected in the Alt State list box.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153293#M912676</guid>
      <dc:creator />
      <dc:date>2016-05-26T18:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153294#M912677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Avg of A and B seems to exactly match with C's number, so make sure to choose another company in AltState1 when you have A and B selected in inherited state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 18:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153294#M912677</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T18:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153295#M912678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is very close. However, when I filter for A and B in the top chart, and only for Company C in the bottom chart, I need to have two lines in the bottom chart. The Average line (from Companies A and B), and the return line of Company C. Is this do-able?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153295#M912678</guid>
      <dc:creator />
      <dc:date>2016-05-26T19:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153296#M912679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, just saw your note. I don't think this is the case..The average for "-1 6:00:00" is .03, while Company C is .06, and for "-1 12:00:00" is .03, while Company C is -.03? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153296#M912679</guid>
      <dc:creator />
      <dc:date>2016-05-26T19:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153297#M912680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if it is working and giving you right solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Only({AltState1+$}DIM) = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Only({AltState1} Aggr(Sum({AltState1}PercentRet_atInterval),ID,RelativeDayBuild,TimeofDayBuild)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; avg({$}TOTAL&amp;lt;RelativeDayAndTime&amp;gt; aggr(sum({$}PercentRet_atInterval),ID,RelativeDayBuild,TimeofDayBuild))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 19:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153297#M912680</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T19:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153298#M912681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thank you, it works great. However, it's severely slowed down the application as my data model is very large (millions of rows). Is there a way to do this without compromising the drag on speed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 20:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153298#M912681</guid>
      <dc:creator />
      <dc:date>2016-05-26T20:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Combining Alternate and Inherited States</title>
      <link>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153299#M912682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see how this can be improved using Alternate State. There might be a way to do this using variable. May be look into the attached and see if this is any faster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 20:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combining-Alternate-and-Inherited-States/m-p/1153299#M912682</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T20:48:01Z</dc:date>
    </item>
  </channel>
</rss>

