<?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 QlikView set analysis filter on all fields from one table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049654#M641168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if it's possible to have set analysis react only on filters that are set on the fields of one table and disregard the filters on fields of all other tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum the field Quantity only if a filter is set on any field from the Calendar table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found an example that does the opposite, it disregards the filters on all fields of the Calender table, but I can't find a way to turn it around.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$(=Concat({1&amp;lt;$Table={'Calendar'}&amp;gt;}distinct $Field,']&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[')&amp;amp;']&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=')&amp;gt;} Quantity) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a fix for this?&lt;/P&gt;&lt;P&gt;Thanx in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2016 11:34:59 GMT</pubDate>
    <dc:creator>roland74</dc:creator>
    <dc:date>2016-02-04T11:34:59Z</dc:date>
    <item>
      <title>QlikView set analysis filter on all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049654#M641168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if it's possible to have set analysis react only on filters that are set on the fields of one table and disregard the filters on fields of all other tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum the field Quantity only if a filter is set on any field from the Calendar table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've found an example that does the opposite, it disregards the filters on all fields of the Calender table, but I can't find a way to turn it around.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$(=Concat({1&amp;lt;$Table={'Calendar'}&amp;gt;}distinct $Field,']&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[')&amp;amp;']&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=')&amp;gt;} Quantity) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a fix for this?&lt;/P&gt;&lt;P&gt;Thanx in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049654#M641168</guid>
      <dc:creator>roland74</dc:creator>
      <dc:date>2016-02-04T11:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set analysis filter on all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049655#M641169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Try this may be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;=Sum({&lt;SPAN style="color: #ff0000;"&gt;1 -&lt;/SPAN&gt; $&amp;lt;[$(=Concat({1&amp;lt;$Table={'Calendar'}&amp;gt;}distinct $Field,']=,[')&amp;amp;']&lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=')&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 17:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049655#M641169</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-04T17:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set analysis filter on all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049656#M641170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your suggestion,that almost dit the trick &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;The minus sign to invert the selection was the part I was missing and gave me the syntax I was looking for!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt; font-family: 'Helvetica',sans-serif;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-family: Times New Roman;"&gt;&lt;SPAN style="color: blue;"&gt;sum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: red; font-family: 'Helvetica',sans-serif;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-family: Times New Roman;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[$(=Concat({&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;&lt;STRONG style="color: red;"&gt;1 &lt;/STRONG&gt;&lt;SPAN style="color: red;"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: red;"&gt; &lt;/STRONG&gt;&lt;SPAN style="color: maroon;"&gt;&amp;lt;$Table={'Calendar'}&amp;gt;}distinct $Field,']&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN&gt;=,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;[')&amp;amp;']&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;=')&amp;gt;} Quantity) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do you btw have an idea how to add another table plus fields to this formula?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 08:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049656#M641170</guid>
      <dc:creator>roland74</dc:creator>
      <dc:date>2016-02-05T08:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set analysis filter on all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049657#M641171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;What if you add the second table name to inside set analysis:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;&lt;STRONG&gt;=S&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit;"&gt;um&lt;/SPAN&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Times New Roman';"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit;"&gt;[$(=Concat({&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit;"&gt;1 &lt;SPAN style="font-style: inherit;"&gt;-&lt;/SPAN&gt; &lt;SPAN style="font-style: inherit;"&gt;&amp;lt;$Table={'Calendar'&lt;SPAN style="color: #ff0000;"&gt;, 'TableName2'&lt;/SPAN&gt;}&amp;gt;}distinct $Field,']&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit;"&gt;[')&amp;amp;']&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;=')&amp;gt;} Quantity)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 17:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049657#M641171</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-05T17:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set analysis filter on all fields from one table</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049658#M641172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works great, thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 08:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-filter-on-all-fields-from-one-table/m-p/1049658#M641172</guid>
      <dc:creator>roland74</dc:creator>
      <dc:date>2016-02-08T08:15:00Z</dc:date>
    </item>
  </channel>
</rss>

