<?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 Past 7 Days Sales in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Past-7-Days-Sales/m-p/1616176#M45857</link>
    <description>&lt;P&gt;I am looking to create an expression to produce a result of sales over the past 7 says for a particular buyer type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date field is called 'TRANSDATE'&lt;/P&gt;&lt;P&gt;Sales field is called 'QTY'&lt;/P&gt;&lt;P&gt;Buyer Type Field is Called 'BUYERTYPE' and the particular value is 'ADULT'&lt;/P&gt;&lt;P&gt;I have the following which I believe should work, but not positive and I need to introduce the other qualifier of BUYERTYPE = ADULT. How do I need to structure this expression?&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;[TRANSDATE]={"$(=date(max([TRANDATE)-7"}&amp;gt;}QTY)&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2019 19:04:21 GMT</pubDate>
    <dc:creator>evansabres</dc:creator>
    <dc:date>2019-08-23T19:04:21Z</dc:date>
    <item>
      <title>Past 7 Days Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Past-7-Days-Sales/m-p/1616176#M45857</link>
      <description>&lt;P&gt;I am looking to create an expression to produce a result of sales over the past 7 says for a particular buyer type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date field is called 'TRANSDATE'&lt;/P&gt;&lt;P&gt;Sales field is called 'QTY'&lt;/P&gt;&lt;P&gt;Buyer Type Field is Called 'BUYERTYPE' and the particular value is 'ADULT'&lt;/P&gt;&lt;P&gt;I have the following which I believe should work, but not positive and I need to introduce the other qualifier of BUYERTYPE = ADULT. How do I need to structure this expression?&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;[TRANSDATE]={"$(=date(max([TRANDATE)-7"}&amp;gt;}QTY)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 19:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Past-7-Days-Sales/m-p/1616176#M45857</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2019-08-23T19:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Past 7 Days Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Past-7-Days-Sales/m-p/1616188#M45859</link>
      <description>&lt;P&gt;Give a try on the below:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=SUM({&amp;lt;BUYERTYPE={'ADULT'},TRANSDATE={"$(=Date(Max(TRANDATE)-7))"}&amp;gt;}QTY)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 19:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Past-7-Days-Sales/m-p/1616188#M45859</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2019-08-23T19:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Past 7 Days Sales</title>
      <link>https://community.qlik.com/t5/App-Development/Past-7-Days-Sales/m-p/1616191#M45860</link>
      <description>&lt;P&gt;Try this -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;SPAN&gt;BUYERTYPE = {'ADULT'},&lt;/SPAN&gt;&lt;SPAN&gt;TRANDATE&lt;/SPAN&gt;={"&amp;gt;=$(=(Max(&lt;SPAN&gt;TRANDATE&lt;/SPAN&gt;)-7))&amp;lt;=$(=Max(&lt;SPAN&gt;TRANDATE&lt;/SPAN&gt;))"}&amp;gt;}QTY)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[TRANSDATE]={"$(=date(max([TRANDATE)-7"} will give you data for only last 7th day not all 7 days.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 19:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Past-7-Days-Sales/m-p/1616191#M45860</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2019-08-23T19:24:22Z</dc:date>
    </item>
  </channel>
</rss>

