<?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: Independent Listbox without Alternate State in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139402#M904656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure but it may be the case that your data model needs some improvement, I am not able to understand why do you have separate fields Sector and _MeticSector, the content looks to be same. Is there any possibility to associate Sector to _Metric?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also looks like typo, your field in script is &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;_Metriksector, but you have used &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;_Metricsector in the formula.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If you are not able to share sample, I tried to prepare one, can you rephrase ur need with reference to attached sample - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jun 2016 13:04:08 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2016-06-29T13:04:08Z</dc:date>
    <item>
      <title>Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139393#M904647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a list box where its fields are dependent on the selection of another listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that listbox I want to display only sector specific measures dependent on the selection I made under sector. Each measure is assigned to its sector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use this formula to filter my field and make a selection the listbox of sectors will also be affected. Is it possible to use the measure listbox independently except of using alternate states?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14671982216353578" jivemacro_uid="_14671982216353578"&gt;
&lt;P&gt;=if(GetFieldSelections(sector, ',', 10000, '$')='health',If(match([_Metricsector],'All','health'),_Metric,null()),&lt;/P&gt;
&lt;P&gt;if(GetFieldSelections(sector, ',', 10000, '$')='industry',If(match([_Metricsector],'All','industry'),_Metric,null()),&lt;/P&gt;
&lt;P&gt;if(GetFieldSelections(sector, ',', 10000, '$')='financial',If(match([_Metricsector],'All','financial'),_Metric,null()),null())))&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure assignment is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14671982700571137" jivemacro_uid="_14671982700571137" modifiedtitle="true"&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _Metric, _Metriksector&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI1, All&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI2, health&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI3, industry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI4, financial&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;

&lt;/PRE&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/Independent-Listbox-without-Alternate-State/m-p/1139393#M904647</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139394#M904648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand why you need this independent listbox without using alternate state? Can you elaborate as to what you are trying to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:06:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139394#M904648</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-29T12:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139395#M904649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not want to use alternate state as it is not supported in NPrinting OnDemand, which I want to use.&lt;/P&gt;&lt;P&gt;The Listbox is just for condition purposes in a table, so which expressions to display depending on the selections made in the listbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139395#M904649</guid>
      <dc:creator />
      <dc:date>2016-06-29T12:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139396#M904650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So functionally, what are you trying to accomplish here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139396#M904650</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-29T12:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139397#M904651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned in my first post I do not want this listbox to affect the other listbox (sector).&lt;/P&gt;&lt;P&gt;Currently it does, for example when I select a measure which is assigned to all sectors any sector will be selected in the sector listbox. I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139397#M904651</guid>
      <dc:creator />
      <dc:date>2016-06-29T12:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139398#M904652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I kind of understand your issue here, but for better understanding would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139398#M904652</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-29T12:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139399#M904653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on your current data model, would you be able to load the same field again in a separate table that isn't linked to the table containing the field you don't want to be affected?&amp;nbsp; You would basically be creating the same field again in a separate table specifically for the list box.&amp;nbsp; Not the most efficient method but since you're unable to use alternate states it's an idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139399#M904653</guid>
      <dc:creator />
      <dc:date>2016-06-29T12:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139400#M904654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selecting the sector displays the right corresponding KPIs in the Measures Listbox, but when selecting KPI1 which is assigned to to any sector any entry will be selected in the sector listbox subsequently. In the consequence any company is displayed in the table and I cannot select a measure anymore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139400#M904654</guid>
      <dc:creator />
      <dc:date>2016-06-29T12:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139401#M904655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mhh I understand you suggestion, but then I would need to create two listboxes for sector and always make a selection twice, right? One for the "normal" working data and one to get the right measures displayed?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139401#M904655</guid>
      <dc:creator />
      <dc:date>2016-06-29T12:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139402#M904656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure but it may be the case that your data model needs some improvement, I am not able to understand why do you have separate fields Sector and _MeticSector, the content looks to be same. Is there any possibility to associate Sector to _Metric?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also looks like typo, your field in script is &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;_Metriksector, but you have used &lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;_Metricsector in the formula.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If you are not able to share sample, I tried to prepare one, can you rephrase ur need with reference to attached sample - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 13:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139402#M904656</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-29T13:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139403#M904657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have provided an example above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it does, however, I will try to explain the difference of sector and _Metricsector:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sector: A sector like financial, health, etc. is assigned to any company in the overall data model.&lt;/P&gt;&lt;P&gt;_Metricsector: This only gives each KPI the property for which sector it is valid. Some are only valid for certain sectors, some are valid cross-sectorally. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So depending on the sector of the company the valid KPIs will be displayed. If a KPI is valid cross-sectorally it will be displayed whatever the sector of the company is. Be aware there is no sector "All", it could also be "tomato". It is just a place holder for the purpose of filtering basically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is quite tough to explain, I hope it became clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 13:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139403#M904657</guid>
      <dc:creator />
      <dc:date>2016-06-29T13:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139404#M904658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could recreate your problem. See the attached updated sample, if you select KPI, it won't impact sector now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 15:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139404#M904658</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-29T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139405#M904659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok one more question regarding this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14672741507256415 jive_text_macro" jivemacro_uid="_14672741507256415" modifiedtitle="true"&gt;
&lt;P&gt;=SubStringCount(Concat(_Metric, '|'), 'KPI2')&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows a one anyway, whether it is currently displayed in the listbox or not.&lt;/P&gt;&lt;P&gt;Can I reduce the StringCount to the filtered _Metric Listbox instead of the complete values of _Metric?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 08:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139405#M904659</guid>
      <dc:creator />
      <dc:date>2016-06-30T08:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Independent Listbox without Alternate State</title>
      <link>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139406#M904660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use the same expression here, it works, I tried as - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubStringCount(Concat(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(Only({1}if(GetFieldSelections(Sector, ',', 10000, '$')='Health',If(match([_Metricsector],'All','Health'),_Metric,null()),&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(GetFieldSelections(Sector, ',', 10000, '$')='Industry',If(match([_Metricsector],'All','Industry'),_Metric,null()),&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(GetFieldSelections(Sector, ',', 10000, '$')='Financial',If(match([_Metricsector],'All','Financial'),_Metric,null()),null())))),_Metric), '|'), 'KPI2')&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 08:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Independent-Listbox-without-Alternate-State/m-p/1139406#M904660</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-30T08:25:09Z</dc:date>
    </item>
  </channel>
</rss>

