<?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: How to get Pivot to allow multiple selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445538#M796661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I was looking in the Substringcount instead. Any idea why my two listboxes that ARE part of the data set no longer work? If I change them to default state they do but then they affect the other tabs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2017 15:57:17 GMT</pubDate>
    <dc:creator>greend21</dc:creator>
    <dc:date>2017-12-28T15:57:17Z</dc:date>
    <item>
      <title>How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445532#M796655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a pivot showing various counts by month. The expression is conditional and is based on the current selection in a listbox. Is there a way to allow multiple selections so that all selected counts will show? I dont want to show all counts at once because the table becomes too wide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ShowBillCountType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Transaction Count' &lt;/SPAN&gt; and &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ShowBillCountType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Invoice Count' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select both fields then I receive an error message but users might want to compare some counts. It is inconvient to have to unselect Transaction Count and then select Invoice Count. I would even accept the option of only having one field selected but I do not want to use "Always One Selected Value" because I also have a button that toggles to amounts and then it will show counts with the amounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ShowBillCountType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Transaction Count' &lt;/SPAN&gt; or (&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ShowBillCountType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='Transaction Count' &lt;/SPAN&gt; and GetSelectedCount(ShowBillCountType)&amp;gt;=1) but this did not work either.&lt;/P&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/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445532#M796655</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445533#M796656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SubStringCount('|' &amp;amp; GetFieldSelections(ShowBillCountType, '|', 100000) &amp;amp; '|', '|Transaction Count|')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SubStringCount('|' &amp;amp; GetFieldSelections(ShowBillCountType, '|', 100000) &amp;amp; '|', '|Invoice Count|')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 17:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445533#M796656</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-21T17:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445534#M796657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Do you think you could explain how this works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 18:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445534#M796657</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2017-12-21T18:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445535#M796658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For multiple selections, you get a multiple values... for instance both Transaction and Invoice Count is selected... you will see something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoice Count|Transaction Count... now SubStringCount() checks how many times the give value returns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;SubStringCount('|' &amp;amp; GetFieldSelections(ShowBillCountType, '|', 100000) &amp;amp; '|', '|Transaction Count|')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When both are selected, Transaction Count shows up once, the expression will equal 1 and the result will be seeing the column. When it is not selected, the value will be 0, and the column won't be seen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 18:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445535#M796658</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-21T18:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445536#M796659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can this work with set analysis to pick up selections in an alternate state? My table and list box are in the same alternate state. The listbox isnt actually linked to the table but the conditional show is allowing the expression to show depending on what is selected. Unfortunately, once put in the alternate state the selections are no longer working so I think I need this in the condition. The list box must be in the alternate state so it does not affect other tabs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445536#M796659</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2017-12-28T15:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445537#M796660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it can... the fourth parameter of GetFieldSelection is the State Name and I believe you can supply the state name within single quotes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188383_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445537#M796660</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T15:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445538#M796661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I was looking in the Substringcount instead. Any idea why my two listboxes that ARE part of the data set no longer work? If I change them to default state they do but then they affect the other tabs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445538#M796661</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2017-12-28T15:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445539#M796662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea... can you share more details? What is the state name? What is the expression you tried? etc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 15:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445539#M796662</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-28T15:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Pivot to allow multiple selections</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445540#M796663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind. Syntax error on my part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 16:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-Pivot-to-allow-multiple-selections/m-p/1445540#M796663</guid>
      <dc:creator>greend21</dc:creator>
      <dc:date>2017-12-28T16:09:54Z</dc:date>
    </item>
  </channel>
</rss>

