<?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 with getfieldselections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495568#M185336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this. I used the "maxstring" function for the very same purpose and it's ok.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Aug 2013 15:09:01 GMT</pubDate>
    <dc:creator>murozel76</dc:creator>
    <dc:date>2013-08-01T15:09:01Z</dc:date>
    <item>
      <title>Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495562#M185330</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;How can i use alternate state with getfieldselections? Please post an example or expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 08:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495562#M185330</guid>
      <dc:creator />
      <dc:date>2013-06-21T08:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495563#M185331</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat({[AlternateStateName]}DimensionName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 08:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495563#M185331</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-06-21T08:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495564#M185332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Jagan. But right now this is showing all the values from that dimesnion concatenated and i just want to get only that value from the dimension which is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 08:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495564#M185332</guid>
      <dc:creator />
      <dc:date>2013-06-21T08:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495565#M185333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3 class="post-title entry-title"&gt;&lt;/H3&gt;&lt;P&gt;see link &lt;A class="loading" href="http://dailyqv.blogspot.in/2013_05_01_archive.html" title="http://dailyqv.blogspot.in/2013_05_01_archive.html"&gt;http://dailyqv.blogspot.in/2013_05_01_archive.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://dailyqv.blogspot.in/2013/05/functions-which-wont-support.html"&gt;Functions which won't support Alternative states and its work around&lt;/A&gt; &lt;/P&gt;&lt;P class="post-header"&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Functions which basically operate on current selection state like&lt;/P&gt;&lt;P&gt; GetFieldSelections, GetPossibleCount will not take parameter as Alternative states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; some thing like &lt;STRONG&gt;GetFieldSelections(&amp;lt;State1&amp;gt; Field1) is not possible in Qlikview 11.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Instead we can use general functions like Maxstring, Concat, Count functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For example if we want to know selection made in a field which has an alternative state and have 'Allways one selection'.&lt;/P&gt;&lt;P&gt; In this case for accessing the selection made in that field we can use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; maxstring({[State1]} [Field1]).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If allways one selections is disabled and&amp;nbsp; for getting all selections we can use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;=concat({[State1]} distinct [Field1],'|')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For getting Selection count we can use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;=count({[State1]} distinct [Field1])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 08:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495565#M185333</guid>
      <dc:creator />
      <dc:date>2013-06-21T08:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495566#M185334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But the Maxstring is giving me the maximum value only, i want the currently selected field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 10:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495566#M185334</guid>
      <dc:creator />
      <dc:date>2013-06-21T10:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495567#M185335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you come up with an example?&amp;nbsp; It helps in understanding the scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 11:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495567#M185335</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-06-21T11:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495568#M185336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this. I used the "maxstring" function for the very same purpose and it's ok.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 15:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495568#M185336</guid>
      <dc:creator>murozel76</dc:creator>
      <dc:date>2013-08-01T15:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495569#M185337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent! Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 09:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495569#M185337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-18T09:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495570#M185338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just an update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since 11.20 SR8, these functions accept a third argument to define the state:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1.4.3 Alternate state parameter for certain functions&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;New parameter added to the functions “GetSelectedCount()”, “GetFieldSelections()” and&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;“GetCurrentSelections()” to query other states than the main state.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;E.g. =GetFieldSelections(Quantity, ';', ,'StateA')&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 09:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495570#M185338</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-18T09:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495571#M185339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh Wow! Thanks for this. Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495571#M185339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-18T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495572#M185340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a mill. Much appreciate that.&lt;/P&gt;&lt;P&gt;I have SR7 - can I just down the latest version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495572#M185340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-18T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495573#M185341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your are talking about the desktop client, right?&lt;/P&gt;&lt;P&gt;Yes, you should be able to download the latest QV 11.20 SR (12, I believe) fromt the Qlik download site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are working in a company, might be advisable to check if there are any restrictions on downloading and using different QV versions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 13:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495573#M185341</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-18T13:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495574#M185342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the desktop client.&lt;/P&gt;&lt;P&gt;I have a version on my own laptop but actually I remote into a client's&lt;/P&gt;&lt;P&gt;server, so they'd actually have to install it there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 14:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495574#M185342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-18T14:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495575#M185343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;I'm having a different problem now with these alternate states and the drill down.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;Because I have made the graph's state the default state to get the drill down to work, the filters on the sheet don't apply to my chart, which means I need to make all my list boxes part of the default state, which then basically means I'm not using an alternate state.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;Can anyone help please? Is there a way to make sure the chart filters the data based on the sheet's alternate state and still have the drill downs working?&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;I am using this expression to make my dimension visible&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;=if(GetFieldSelections(DimGroup,';',10, 'GraphC')&amp;nbsp; like '*Account*', true(), false())&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 07:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495575#M185343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-31T07:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate states with getfieldselections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495576#M185344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely awesome - fixed my issue&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Concat({[AlternateStateName]}DimensionName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 07:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-states-with-getfieldselections/m-p/495576#M185344</guid>
      <dc:creator>wonkymeister</dc:creator>
      <dc:date>2016-07-26T07:55:09Z</dc:date>
    </item>
  </channel>
</rss>

