<?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 &amp; Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-States-Selections/m-p/949432#M467332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much - this works perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I just need to go away and figure out how it all works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 13:50:20 GMT</pubDate>
    <dc:creator>danielle_v</dc:creator>
    <dc:date>2015-11-20T13:50:20Z</dc:date>
    <item>
      <title>Alternate States &amp; Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-Selections/m-p/949430#M467330</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;Just beginning to explore the possibilities of alternate states and have a question I haven't managed to find the answer to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I have a pivot table that compares factory statuses by factory name and I have set up 2 alternate states (MonthYearOne &amp;amp; MonthYearTwo) in order to allow the user to choose 2 months to compare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I want all other selections made in the document to apply to the pivot table. I have amended the expression as per the below to allow enable to the table to take into account any selections made on the [Factory Name] field, but want to know if there is any way of allowing selections on all other fields to be taken into account in the alternate state, without having to explicitly include each field name in the expression? I ave numerous other fields that users may want to make selections on in this pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(concat( { MonthYearOne &amp;lt;[Factory Name] = $:: [Factory Name]&amp;gt;} DISTINCT [Factory Status], ', ') &amp;lt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat( { MonthYearTwo &amp;lt;[Factory Name] = $:: [Factory Name]&amp;gt;} DISTINCT [Factory Status], ', '),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat( { MonthYearOne &amp;lt;[Factory Name] = $:: [Factory Name]&amp;gt;} DISTINCT [Factory Status], ', ') )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 12:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-Selections/m-p/949430#M467330</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2015-11-20T12:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States &amp; Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-Selections/m-p/949431#M467331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe just use the default set as set identifier and use a set modifier for the MonthYear?&lt;/P&gt;&lt;P&gt;&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;=if(concat( { $&amp;lt;MonthYear = MonthYearOne::MonthYear &amp;gt;} DISTINCT [Factory Status], ', ') &amp;lt;&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat( {&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$&amp;lt;MonthYear = MonthYearTwo::MonthYear &lt;/SPAN&gt;&amp;gt;} DISTINCT [Factory Status], ', '),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{ $&amp;lt;MonthYear = MonthYearOne::MonthYear &amp;gt;} &lt;/SPAN&gt;DISTINCT [Factory Status], ', ') )&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;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;edit: You might need to clear user selections on other calendar fields to avoid incompatible sets, like&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(concat( { $&amp;lt;MonthYear = MonthYearOne::MonthYear, Date= &amp;gt;} DISTINCT [Factory Status], ', ') &amp;lt;&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat( {&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$&amp;lt;MonthYear = MonthYearTwo::MonthYear , Date= &lt;/SPAN&gt;&amp;gt;} DISTINCT [Factory Status], ', '),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concat(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{ $&amp;lt;MonthYear = MonthYearOne::MonthYear, Date= &amp;gt;} &lt;/SPAN&gt;DISTINCT [Factory Status], ', ') )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 12:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-Selections/m-p/949431#M467331</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-20T12:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate States &amp; Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-States-Selections/m-p/949432#M467332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much - this works perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I just need to go away and figure out how it all works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 13:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-States-Selections/m-p/949432#M467332</guid>
      <dc:creator>danielle_v</dc:creator>
      <dc:date>2015-11-20T13:50:20Z</dc:date>
    </item>
  </channel>
</rss>

