<?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 Multi-Select Functionality in a Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-Select-Functionality-in-a-Straight-Table/m-p/582469#M216343</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;I had a business requirement: The user wanted to be able to select multiple rows from a straight table so that the selections would be compared in another chart. The problem was: CTRL+Click didn't work with a straight table; the only way to select multiple rows was Click+Drag. I looked on these forums for a way to allow for CTRL+Click Multi-Select functionality in a straight table, but couldn't find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've come up with a work-around that I want to share with the community. The crux of the work around is adding a field trigger for the each fields in the straight table that looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount([Field])&amp;lt;&amp;gt;0 and Concat({$1} Distinct [Field],'"|"')&amp;lt;&amp;gt;Concat({1} Distinct [Field], '"|"'),&lt;/P&gt;&lt;P&gt;'("'&amp;amp;Concat({$1} Distinct [Field],'"|"')&amp;amp;'"|"'&amp;amp;Concat(Distinct [Field],'"|"')&amp;amp;'")',&lt;/P&gt;&lt;P&gt;if(GetSelectedCount([Field])&amp;lt;&amp;gt;0,'("'&amp;amp;Concat(Distinct [Field],'"|"')&amp;amp;'")')&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then some additions to the table: (1) add {1} in your all expressions' set analyses so that all the dimension values are there and click-able; and (2) add a calculation for background color in the table so that the user knows what has been selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work-around has limitations, though. One in particular is it doesn't allow the user to remove a current selection by clicking on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a QVW with a simple sample of the work-around in action. Hopefully this saves someone some headache. Of course, if anyone has a better solution, please share &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 15:39:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-31T15:39:18Z</dc:date>
    <item>
      <title>Multi-Select Functionality in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Select-Functionality-in-a-Straight-Table/m-p/582469#M216343</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;I had a business requirement: The user wanted to be able to select multiple rows from a straight table so that the selections would be compared in another chart. The problem was: CTRL+Click didn't work with a straight table; the only way to select multiple rows was Click+Drag. I looked on these forums for a way to allow for CTRL+Click Multi-Select functionality in a straight table, but couldn't find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've come up with a work-around that I want to share with the community. The crux of the work around is adding a field trigger for the each fields in the straight table that looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount([Field])&amp;lt;&amp;gt;0 and Concat({$1} Distinct [Field],'"|"')&amp;lt;&amp;gt;Concat({1} Distinct [Field], '"|"'),&lt;/P&gt;&lt;P&gt;'("'&amp;amp;Concat({$1} Distinct [Field],'"|"')&amp;amp;'"|"'&amp;amp;Concat(Distinct [Field],'"|"')&amp;amp;'")',&lt;/P&gt;&lt;P&gt;if(GetSelectedCount([Field])&amp;lt;&amp;gt;0,'("'&amp;amp;Concat(Distinct [Field],'"|"')&amp;amp;'")')&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then some additions to the table: (1) add {1} in your all expressions' set analyses so that all the dimension values are there and click-able; and (2) add a calculation for background color in the table so that the user knows what has been selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The work-around has limitations, though. One in particular is it doesn't allow the user to remove a current selection by clicking on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a QVW with a simple sample of the work-around in action. Hopefully this saves someone some headache. Of course, if anyone has a better solution, please share &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 15:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Select-Functionality-in-a-Straight-Table/m-p/582469#M216343</guid>
      <dc:creator />
      <dc:date>2014-03-31T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-Select Functionality in a Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Select-Functionality-in-a-Straight-Table/m-p/582470#M216344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is great. I needed the same thing but not working quite correct in the Alternate States. I have set the states similar to Triggers and to the objects still not working. Can you please get it modified for Alternate states as well? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jan 2016 21:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Select-Functionality-in-a-Straight-Table/m-p/582470#M216344</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2016-01-31T21:45:56Z</dc:date>
    </item>
  </channel>
</rss>

