<?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: Newbie Set Analysis problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775617#M274988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - doing that the values come back as 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it must not be getting a good comparison....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 23:20:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-23T23:20:42Z</dc:date>
    <item>
      <title>Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775614#M274985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am fairly new, but very comfortable using QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am preparing a dashboard for sales.&amp;nbsp;&amp;nbsp; I am having a couple of issues with Set Analysis - function editor says syntax is OK, but my result throw null or an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use this in 2 places. 1) a text box displaying a final total and 2) a Pivot Table showing Sales by Salesperson for that day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp; avoid having to select the &lt;EM&gt;&lt;STRONG&gt;Date_InvoiceDate&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;SalesType&lt;/STRONG&gt;&lt;/EM&gt; from a selection list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Set statement:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({1 &amp;lt;&amp;nbsp; SalesType={'SLS'}, Date_InvoiceDate =&amp;nbsp; { $(vDate_Today)&amp;nbsp; }&amp;nbsp; &amp;gt;} (Invoice_SalesAmount*Percent/100) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where vDate_Today = Date(vToday) as a variable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the text box this throws : Error in set modifier ad hoc element list:&amp;nbsp; ',' or ')' expected&lt;/LI&gt;&lt;LI&gt;In my Pivot table, it just shows up as a dash&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimensions in the pivot table are:&lt;/P&gt;&lt;P&gt;Salesperson, Customer, Vendor, OrderNo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 22:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775614#M274985</guid>
      <dc:creator />
      <dc:date>2015-02-23T22:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775615#M274986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cam:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post your model to have a look at it? I'm not sure I understand your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+Rubén&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 22:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775615#M274986</guid>
      <dc:creator />
      <dc:date>2015-02-23T22:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775616#M274987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unless it returns an integer, you'll need single quotes around &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vDate_Today) .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 22:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775616#M274987</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2015-02-23T22:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775617#M274988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - doing that the values come back as 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it must not be getting a good comparison....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 23:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775617#M274988</guid>
      <dc:creator />
      <dc:date>2015-02-23T23:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775618#M274989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you check is &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vDate_Today) &lt;/STRONG&gt; returning a date/number? If yes use date($(vDate_Today),'Your invoice datetype') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 23:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775618#M274989</guid>
      <dc:creator />
      <dc:date>2015-02-23T23:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775619#M274990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as Mike suggested, around $(vDate_Today)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;&amp;nbsp; SalesType={'SLS'}, Date_InvoiceDate =&amp;nbsp; {'$(vDate_Today)' }&amp;nbsp; &amp;gt;} (Invoice_SalesAmount*Percent/100) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="image-1 jive-image" height="102" src="https://community.qlik.com/legacyfs/online/78915_1.jpg" style="height: 101.690322580645px; width: 444px;" width="444" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 23:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775619#M274990</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-23T23:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775620#M274991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - put it around the variable and not the whole expression.&amp;nbsp;&amp;nbsp; Doing this works in the Text box now, but still not in my grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 23:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775620#M274991</guid>
      <dc:creator />
      <dc:date>2015-02-23T23:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Set Analysis problem</title>
      <link>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775621#M274992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what is going on but now the values are there.&amp;nbsp;&amp;nbsp;&amp;nbsp; At first, the detail had all zeroes, but subtotals were right Now detail is there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 00:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Newbie-Set-Analysis-problem/m-p/775621#M274992</guid>
      <dc:creator />
      <dc:date>2015-02-24T00:23:13Z</dc:date>
    </item>
  </channel>
</rss>

