<?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 Set Analysis - implied fields and dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320897#M1188461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi barronfly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ( {&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;Flag = {1},&amp;nbsp; Cal_Year={$(vCurrentYear) }&amp;nbsp; &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the '1' which i hv made bold in ur text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becz of this '1' ,ur expressions will not be affected by the selections u make in the list box.&lt;/P&gt;&lt;P&gt;And since u r taking region in the list box ,so when u selct any region ..it is not affcting the data in ur chart.&lt;/P&gt;&lt;P&gt;u hv to remove it...if u want ur exprssions to get affected by the selections u make in list box.For more detail u can refer Set analysis in Help option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Sep 2011 15:29:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-03T15:29:50Z</dc:date>
    <item>
      <title>Set Analysis - implied fields and dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320895#M1188459</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;Hopefully a quick one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 graphs stacked on above the other - both working out sales with a simple flag field set to qualify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bottom is simple and dimension is region so I've used:&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Sum ( { &amp;lt; Flag = {1}&amp;gt; } Sales)&lt;SPAN style="color: #000000;"&gt; - this works fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;The one above has months as a dimension but I would like to retian the whole calendar year, however must be able to run region selection (so see region sales over calendar year) - which I cant seem to get??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Am currently using: &lt;SPAN style="color: #0000ff;"&gt;Sum ( {1&amp;lt;Flag = {1},&amp;nbsp; Cal_Year={$(vCurrentYear) }&amp;nbsp; &amp;gt;} Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;As it stands this retains the entire year, bhoever the top graph (time dimension) is not affected by the selection of a region??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Pretty new at this so help much appreciated and any tips / pointers would be welcomed!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 18:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320895#M1188459</guid>
      <dc:creator />
      <dc:date>2011-09-02T18:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - implied fields and dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320896#M1188460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As per the scenario here, all you need is to have 'Month' as your first dimension and 'Region' as the second dimension in your chart. Then use the same expression as in your lower chart i.e &lt;SPAN style="color: #0000ff;"&gt;Sum ( { &amp;lt; Flag = {1}&amp;gt; } Sales)&lt;/SPAN&gt;. As in ur expression : &lt;SPAN style="color: #0000ff;"&gt;Sum ( {&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;Flag = {1},&amp;nbsp; Cal_Year={$(vCurrentYear) }&amp;nbsp; &amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;The &lt;STRONG&gt;1&lt;/STRONG&gt; here specifies full set of all records in the expression. You may then provide listboxes for Year and Region selection as well. Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;PFA: Sample.qvw (Just an example for this scenario).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 05:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320896#M1188460</guid>
      <dc:creator />
      <dc:date>2011-09-03T05:34:31Z</dc:date>
    </item>
    <item>
      <title>Set Analysis - implied fields and dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320897#M1188461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi barronfly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ( {&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;Flag = {1},&amp;nbsp; Cal_Year={$(vCurrentYear) }&amp;nbsp; &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the '1' which i hv made bold in ur text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becz of this '1' ,ur expressions will not be affected by the selections u make in the list box.&lt;/P&gt;&lt;P&gt;And since u r taking region in the list box ,so when u selct any region ..it is not affcting the data in ur chart.&lt;/P&gt;&lt;P&gt;u hv to remove it...if u want ur exprssions to get affected by the selections u make in list box.For more detail u can refer Set analysis in Help option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Sep 2011 15:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320897#M1188461</guid>
      <dc:creator />
      <dc:date>2011-09-03T15:29:50Z</dc:date>
    </item>
    <item>
      <title>Set Analysis - implied fields and dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320898#M1188462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt;Hi Erika / Lawrence , &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt;Thank you for the replies – your explanations do make sense and I’m seeing the error in my ways &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="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; Does raise 2 questions though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt;Firstly then, the problem with my expression is that I am applying the &lt;EM&gt;1&amp;lt;&amp;gt; &lt;/EM&gt;to &lt;EM&gt;Flag={1}, &lt;/EM&gt;howecer &lt;EM&gt;Flag={1}&lt;/EM&gt; should be part of the base function (Sum of Sales where Flag = 1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt;So what would be correct syntax then to correct this? Have tried a number of permutations but can’t seem to get it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt;Secondly, I have now done away with the flag altogether and read this straight in through the script as Clean_Sales**. Then I have nicked a string of script for my expression that works to a degree, as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 9pt; font-family: Verdana;"&gt;Sum ({$&amp;lt;Cal_Year={$(vCurrentYear)},Cal_Month=&amp;gt;} Clean_Sales) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt;This works to exclude any selection in of month from my calendar month, which is what I want. However, how do I exclude Quarter and week from calendar selection also?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Verdana; font-size: 10pt;"&gt;**I used the clean_sales as I was unable to apply both the&lt;EM&gt; $&amp;lt;&amp;gt;&lt;/EM&gt; and the flag reference – as in the first question above.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 12:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320898#M1188462</guid>
      <dc:creator />
      <dc:date>2011-09-05T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - implied fields and dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320899#M1188463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ich werde ab  05.09.2011 nicht im Büro sein. Ich kehre zurück am&lt;/P&gt;&lt;P&gt;23.09.2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ich werde Ihre Nachrichten nach meiner Rückkehr beantworten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Verwertung des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt.&lt;/P&gt;&lt;P&gt;Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2011 14:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320899#M1188463</guid>
      <dc:creator />
      <dc:date>2011-09-05T14:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - implied fields and dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320900#M1188464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You may use:&lt;/P&gt;&lt;P&gt;Sum ({&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;Cal_Year={$(vCurrentYear)}&amp;gt;} Clean_Sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&lt;STRONG&gt;1&lt;/STRONG&gt;' here specifies full set of all records in the application. So this would ignore any selections in Month, Quarter and Week. Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 06:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-implied-fields-and-dimensions/m-p/320900#M1188464</guid>
      <dc:creator />
      <dc:date>2011-09-10T06:44:08Z</dc:date>
    </item>
  </channel>
</rss>

