<?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: how to setup chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-setup-chart/m-p/537164#M1128746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gave me the values and it correctly gives me the totals but now all orders are showing up within the 90DaysAfter column even though the order date is from a year prior.&amp;nbsp; So this column is populated for every single order. Please help - this is defintely the right track it's just not quite right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2013 18:24:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-06T18:24:53Z</dc:date>
    <item>
      <title>how to setup chart</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-setup-chart/m-p/537162#M1128744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a scenario which is probably easy, but I can't seem to get to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; the following tables with the fields I care about here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meeting, with Meeting info including Meeting date.&lt;/P&gt;&lt;P&gt;MtgID&lt;/P&gt;&lt;P&gt;MtgDate&lt;/P&gt;&lt;P&gt;90DaysAfter (date prepopulated during load)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MeetingCustomer with Customers who have attended that meeting.&lt;/P&gt;&lt;P&gt;CustID&lt;/P&gt;&lt;P&gt;MtgID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CustomerOrders with Orders those Customers have purchased and the date of purchase.&lt;/P&gt;&lt;P&gt;CustID&lt;/P&gt;&lt;P&gt;OrderID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderHeader table with Orrder Date&lt;/P&gt;&lt;P&gt;OrderID&lt;/P&gt;&lt;P&gt;OrderDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderDetail with the actual SKUs the Customers purchased.&lt;/P&gt;&lt;P&gt;OrderID&lt;/P&gt;&lt;P&gt;OrderLineID&lt;/P&gt;&lt;P&gt;SKUNumber&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;SalePrice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to report on the meetings, which customers attended them, and what SKUs they purchased 90 days before and after to show if attending the meeting encouraged them to buy how much and which particular products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have tried a chart with MtgID, CustID, OrderID, SKUNumber as dimensions and then the expression for the 90 day after column as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;OrderDate&lt;/SPAN&gt;) &amp;lt;= &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[90DaysAfter]&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;OrderDate&lt;/SPAN&gt;) &amp;gt;= &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;MtgDate&lt;/SPAN&gt;), &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quantity&lt;/SPAN&gt;*&lt;SPAN style="color: #800000;"&gt;SalePrice&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When I tested with just &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Qty&lt;/SPAN&gt;*&lt;SPAN style="color: #800000;"&gt;Price&lt;/SPAN&gt;)&amp;nbsp; I get exactly what I want.&amp;nbsp; When I added in the date range part of the calculation which it needs to pull from the Meeting table, I get nothing. Even if I take out the actual range calculation and just say &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;OrderDate&lt;/SPAN&gt;) &amp;lt;= &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(Today()) , &lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quantity&lt;/SPAN&gt;*&lt;SPAN style="color: #800000;"&gt;SalePrice&lt;/SPAN&gt;))&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;then I get nothing. But if I just say &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quantity&lt;/SPAN&gt;*&lt;SPAN style="color: #800000;"&gt;SalePrice&lt;/SPAN&gt;), it's fine.&lt;/SPAN&gt; It seems like asking it to reference a date up in the Meeting table is the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Am I setting it up right?&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 06:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-setup-chart/m-p/537162#M1128744</guid>
      <dc:creator />
      <dc:date>2013-12-06T06:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to setup chart</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-setup-chart/m-p/537163#M1128745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;OrderDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[90DaysAfter]&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;OrderDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;MtgDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Quantity&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;SalePrice&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try below code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SUM({&amp;lt;OrderDate = {"&amp;lt;=$(=90DaysAfter) &amp;gt;=$(=&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MtgDate&lt;/SPAN&gt;)"} &amp;gt;}Quantity* SalePrice)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 09:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-setup-chart/m-p/537163#M1128745</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2013-12-06T09:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to setup chart</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-setup-chart/m-p/537164#M1128746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This gave me the values and it correctly gives me the totals but now all orders are showing up within the 90DaysAfter column even though the order date is from a year prior.&amp;nbsp; So this column is populated for every single order. Please help - this is defintely the right track it's just not quite right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 18:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-setup-chart/m-p/537164#M1128746</guid>
      <dc:creator />
      <dc:date>2013-12-06T18:24:53Z</dc:date>
    </item>
  </channel>
</rss>

