<?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 Set items on a drop down based on selected item in another drop down in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519512#M37124</link>
    <description>&lt;P&gt;I am somewhat new to Qlik...&lt;/P&gt;&lt;P&gt;Currently we are setting a list of [Sales Team] to select from in a drop down with:&lt;/P&gt;&lt;P&gt;=aggr(only({1&amp;lt;[Sales Team] -={&amp;nbsp;'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown'}&amp;gt;}[Sales Team]),[Sales Team])&lt;/P&gt;&lt;P&gt;This works and allows us to remove a few unwanted [Sales Team].&lt;/P&gt;&lt;P&gt;But what I need to do now is to filter this list further by only displaying [Sales Team] that belong to a [Sales Manager] that is selected in another drop down.&lt;/P&gt;&lt;P&gt;Was trying to do something like this but it is not working&lt;/P&gt;&lt;P&gt;=if([Sales Manager] = 'Sales Manager 1',&lt;BR /&gt;&amp;nbsp; aggr(only({1&amp;lt;[Sales Manager] = 'Sales Manager 1', &amp;nbsp;[Sales Team] -={ 'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown' }&amp;gt;} [Sales Manager], [Sales Team]), [Sales Team])&lt;BR /&gt;, aggr(only({1&amp;lt;[Sales Manager] ='Sales Manager 2', [Sales Team] -={'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown' }&amp;gt;} [Sales Manager], [Sales Team]), [Sales Team])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2018 14:47:57 GMT</pubDate>
    <dc:creator>QlikyBobby</dc:creator>
    <dc:date>2018-12-12T14:47:57Z</dc:date>
    <item>
      <title>Set items on a drop down based on selected item in another drop down</title>
      <link>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519512#M37124</link>
      <description>&lt;P&gt;I am somewhat new to Qlik...&lt;/P&gt;&lt;P&gt;Currently we are setting a list of [Sales Team] to select from in a drop down with:&lt;/P&gt;&lt;P&gt;=aggr(only({1&amp;lt;[Sales Team] -={&amp;nbsp;'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown'}&amp;gt;}[Sales Team]),[Sales Team])&lt;/P&gt;&lt;P&gt;This works and allows us to remove a few unwanted [Sales Team].&lt;/P&gt;&lt;P&gt;But what I need to do now is to filter this list further by only displaying [Sales Team] that belong to a [Sales Manager] that is selected in another drop down.&lt;/P&gt;&lt;P&gt;Was trying to do something like this but it is not working&lt;/P&gt;&lt;P&gt;=if([Sales Manager] = 'Sales Manager 1',&lt;BR /&gt;&amp;nbsp; aggr(only({1&amp;lt;[Sales Manager] = 'Sales Manager 1', &amp;nbsp;[Sales Team] -={ 'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown' }&amp;gt;} [Sales Manager], [Sales Team]), [Sales Team])&lt;BR /&gt;, aggr(only({1&amp;lt;[Sales Manager] ='Sales Manager 2', [Sales Team] -={'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown' }&amp;gt;} [Sales Manager], [Sales Team]), [Sales Team])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 14:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519512#M37124</guid>
      <dc:creator>QlikyBobby</dc:creator>
      <dc:date>2018-12-12T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set items on a drop down based on selected item in another drop down</title>
      <link>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519799#M37144</link>
      <description>&lt;P&gt;Try it with:&lt;/P&gt;&lt;P&gt;aggr(only({1&amp;lt;[Sales Manager] = {'Sales Manager 1'}, &amp;nbsp;[Sales Team] -={ 'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown' }&amp;gt;} [Sales Manager], [Sales Team]), [Sales Team])&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 12:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519799#M37144</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-12-12T12:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set items on a drop down based on selected item in another drop down</title>
      <link>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519952#M37164</link>
      <description>&lt;P&gt;Thanks Marcus...&lt;/P&gt;&lt;P&gt;&amp;nbsp;I added the {} around {'Sales Manager 1'}, that was probably part of the problem but&amp;nbsp;it's still giving an empty list for the dropdown&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519952#M37164</guid>
      <dc:creator>QlikyBobby</dc:creator>
      <dc:date>2018-12-12T15:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set items on a drop down based on selected item in another drop down</title>
      <link>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519973#M37171</link>
      <description>&lt;P&gt;I Just see a syntax error within the calculation because the sales manager isn't added to the aggr-dimensionlist else to the only() - therefore ty it with:&lt;/P&gt;&lt;P&gt;aggr(only({1&amp;lt;[Sales Manager] = {'Sales Manager 1'}, &amp;nbsp;[Sales Team] -={ 'House',&amp;nbsp; 'Institutional',&amp;nbsp; 'Not Applicable',&amp;nbsp;'Unknown' }&amp;gt;}&amp;nbsp; [Sales Team]), [Sales Team], &lt;STRONG&gt;[Sales Manager]&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;whereby it will depend on your datamodel if you need the sales manager (or maybe any other dimension) within the dimensionlist.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519973#M37171</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-12-12T15:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set items on a drop down based on selected item in another drop down</title>
      <link>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519986#M37172</link>
      <description>&lt;P&gt;Thank you Marcus for the expression explanation, it works!&amp;nbsp; I am still trying to wrap my head around the expression formats.&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-items-on-a-drop-down-based-on-selected-item-in-another-drop/m-p/1519986#M37172</guid>
      <dc:creator>QlikyBobby</dc:creator>
      <dc:date>2018-12-12T16:28:36Z</dc:date>
    </item>
  </channel>
</rss>

