<?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: Using a set expression in a pivot table embedded in an if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952614#M969375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it me only being moderated, or everybody?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Sep 2015 16:36:37 GMT</pubDate>
    <dc:creator>giakoum</dc:creator>
    <dc:date>2015-09-28T16:36:37Z</dc:date>
    <item>
      <title>Using a set expression in a pivot table embedded in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952610#M969371</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 have built an IF expression for a pivot table that is bascially a gate, I want the expression to trigger a count based on a table that is not in the dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have written a set expession&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Function]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"ABC"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(I have tested in a seperate pivot table with no dimensions and it works.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But it won't trigger, can I embed a set expression inside a pivot table expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Dates2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('01/09/2015','DD/MM/YYYY')),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Data2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Dates2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('01/09/2015','DD/MM/YYYY')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&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;[Action Plans2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'*Draft*','*Open*'),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Data2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Data2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Function]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"ABC"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;0&lt;BR /&gt;,'D','E')),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 15:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952610#M969371</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-09-28T15:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using a set expression in a pivot table embedded in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952611#M969372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does it work without the if?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 15:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952611#M969372</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-09-28T15:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using a set expression in a pivot table embedded in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952612#M969373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it does not work without the IF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is Qlikview wants to Dimension the result and as the fields are not linked it returns Zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 15:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952612#M969373</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-09-28T15:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using a set expression in a pivot table embedded in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952613#M969374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set analysis is evaluated once for the whole chart and not per row or dimension&lt;/P&gt;&lt;P&gt;a sample app would help Neil, if possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 16:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952613#M969374</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-09-28T16:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using a set expression in a pivot table embedded in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952614#M969375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it me only being moderated, or everybody?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 16:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-set-expression-in-a-pivot-table-embedded-in-an-if/m-p/952614#M969375</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-09-28T16:36:37Z</dc:date>
    </item>
  </channel>
</rss>

