<?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: Dynamic pivot table columns (formula) by Listbox selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-pivot-table-columns-formula-by-Listbox-selection/m-p/278891#M1196979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the solution for table diagrams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There I had to add&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 1;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( &lt;/P&gt;&lt;P&gt;wildmatch(concat(wildmatch(Spaltenauswahl&lt;SPAN style="font-size: 8pt;"&gt;, 'Gewinn','Gewinn Vorjahr','Gewinnentwicklung','Kosten','Kosten Vorjahr','Kostenentwicklung', 'Umsatz', 'Umsatz Vorjahr','Umsatzentwicklung'),',' ),'*1*') = 0 , 0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;under "properties -&amp;gt; presentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the condition of the column "Gewinn"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its not working for pivot tables &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Anyone got an idea for pivot tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 10:06:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-10T10:06:51Z</dc:date>
    <item>
      <title>Dynamic pivot table columns (formula) by Listbox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-pivot-table-columns-formula-by-Listbox-selection/m-p/278890#M1196978</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 tried to enable and disable columns of pivot table by selecting it with a Listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My approach was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: I created a Inline Table with the selection of columns I want to use in the Pivot Table.(the columns are calculations saved as a variable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie.:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;* &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;Spaltenauswahl&lt;BR /&gt;Gewinn&lt;BR /&gt;Gewinn Vorjahr&lt;BR /&gt;Gewinnentwicklung&lt;BR /&gt;Umsatz&lt;BR /&gt;Umsatz Vorjahr&lt;BR /&gt;Umsatzentwicklung&lt;BR /&gt;Kosten&lt;BR /&gt;Kosten Vorjahr&lt;BR /&gt;Kostenentwicklung&lt;BR /&gt;]&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;2:&amp;nbsp; The formula for each column of the Pivot Table is defined in the following way. (concat is needed for selecting more than 1 column for the pivot table)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;if(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Spaltenauswahl&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'Gewinn','Gewinn Vorjahr','Gewinnentwicklung','Kosten','Kosten Vorjahr','Kostenentwicklung', 'Umsatz', 'Umsatz Vorjahr','Umsatzentwicklung'),',' ),'*1,*') = 1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(Gewinn)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Now I dont know how to disable a not selected column by the help of this formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Perhaps there is an easier way to connect the selected columns of the Listbox with the pivot table formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Hope somebody can help me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 08:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-pivot-table-columns-formula-by-Listbox-selection/m-p/278890#M1196978</guid>
      <dc:creator />
      <dc:date>2011-06-10T08:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic pivot table columns (formula) by Listbox selection</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-pivot-table-columns-formula-by-Listbox-selection/m-p/278891#M1196979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the solution for table diagrams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There I had to add&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 1;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( &lt;/P&gt;&lt;P&gt;wildmatch(concat(wildmatch(Spaltenauswahl&lt;SPAN style="font-size: 8pt;"&gt;, 'Gewinn','Gewinn Vorjahr','Gewinnentwicklung','Kosten','Kosten Vorjahr','Kostenentwicklung', 'Umsatz', 'Umsatz Vorjahr','Umsatzentwicklung'),',' ),'*1*') = 0 , 0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;under "properties -&amp;gt; presentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the condition of the column "Gewinn"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its not working for pivot tables &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Anyone got an idea for pivot tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 10:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-pivot-table-columns-formula-by-Listbox-selection/m-p/278891#M1196979</guid>
      <dc:creator />
      <dc:date>2011-06-10T10:06:51Z</dc:date>
    </item>
  </channel>
</rss>

