<?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 Need help with Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-Expressions/m-p/2048115#M1222907</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;Following 3 expression result in report for 2013 , 2014 and 2015. How do I change them to get data for 2023 , 2022, 2021, and 2020?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a. Qty Sold 2013 YTD:&lt;BR /&gt;i. sum({&amp;lt;[Period ID]={"&amp;lt;=$(=(Max({1}[Period ID])-&lt;BR /&gt;24))&amp;gt;=$(=(Max({1}[Period ID])-29))"}, Year=, Quarter=,&lt;BR /&gt;[Transactions.Txn Date]=, Month=, Period=, Week=, Day=, [Quarter&lt;BR /&gt;ID]=, [Month Year]=, [Quarter Year]=, $(vExprSales)&lt;BR /&gt;&amp;gt;}[Transactions.Quantity With Sign])&lt;BR /&gt;b. Qty Sold 2014 YTD:&lt;BR /&gt;i. sum({&amp;lt;[Period ID]={"&amp;lt;=$(=(Max({1}[Period ID])-&lt;BR /&gt;12))&amp;gt;=$(=(Max({1}[Period ID])-17))"}, Year=, Quarter=,&lt;BR /&gt;[Transactions.Txn Date]=, Month=, Period=, Week=, Day=, [Quarter&lt;BR /&gt;ID]=, [Month Year]=, [Quarter Year]=, $(vExprSales)&lt;BR /&gt;&amp;gt;}[Transactions.Quantity With Sign])&lt;BR /&gt;c. Qty Sold 2015 YTD:&lt;BR /&gt;i. sum({&amp;lt;[Period ID]={"&amp;lt;=$(=(Max({1}[Period ID])-&lt;BR /&gt;0))&amp;gt;=$(=(Max({1}[Period ID])-5))"}, Year=, Quarter=,&lt;BR /&gt;[Transactions.Txn Date]=, Month=, Period=, Week=, Day=, [Quarter&lt;BR /&gt;ID]=, [Month Year]=, [Quarter Year]=, $(vExprSales)&lt;BR /&gt;&amp;gt;}[Transactions.Quantity With Sign])&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2023 23:21:25 GMT</pubDate>
    <dc:creator>PAULLARN</dc:creator>
    <dc:date>2023-03-10T23:21:25Z</dc:date>
    <item>
      <title>Need help with Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Expressions/m-p/2048115#M1222907</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;Following 3 expression result in report for 2013 , 2014 and 2015. How do I change them to get data for 2023 , 2022, 2021, and 2020?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a. Qty Sold 2013 YTD:&lt;BR /&gt;i. sum({&amp;lt;[Period ID]={"&amp;lt;=$(=(Max({1}[Period ID])-&lt;BR /&gt;24))&amp;gt;=$(=(Max({1}[Period ID])-29))"}, Year=, Quarter=,&lt;BR /&gt;[Transactions.Txn Date]=, Month=, Period=, Week=, Day=, [Quarter&lt;BR /&gt;ID]=, [Month Year]=, [Quarter Year]=, $(vExprSales)&lt;BR /&gt;&amp;gt;}[Transactions.Quantity With Sign])&lt;BR /&gt;b. Qty Sold 2014 YTD:&lt;BR /&gt;i. sum({&amp;lt;[Period ID]={"&amp;lt;=$(=(Max({1}[Period ID])-&lt;BR /&gt;12))&amp;gt;=$(=(Max({1}[Period ID])-17))"}, Year=, Quarter=,&lt;BR /&gt;[Transactions.Txn Date]=, Month=, Period=, Week=, Day=, [Quarter&lt;BR /&gt;ID]=, [Month Year]=, [Quarter Year]=, $(vExprSales)&lt;BR /&gt;&amp;gt;}[Transactions.Quantity With Sign])&lt;BR /&gt;c. Qty Sold 2015 YTD:&lt;BR /&gt;i. sum({&amp;lt;[Period ID]={"&amp;lt;=$(=(Max({1}[Period ID])-&lt;BR /&gt;0))&amp;gt;=$(=(Max({1}[Period ID])-5))"}, Year=, Quarter=,&lt;BR /&gt;[Transactions.Txn Date]=, Month=, Period=, Week=, Day=, [Quarter&lt;BR /&gt;ID]=, [Month Year]=, [Quarter Year]=, $(vExprSales)&lt;BR /&gt;&amp;gt;}[Transactions.Quantity With Sign])&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 23:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Expressions/m-p/2048115#M1222907</guid>
      <dc:creator>PAULLARN</dc:creator>
      <dc:date>2023-03-10T23:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-Expressions/m-p/2048128#M1222908</link>
      <description>&lt;P&gt;Hi, the key here is the "&lt;SPAN&gt;[Period ID]={"&amp;lt;=$(=(Max({1}[Period ID])-&lt;/SPAN&gt;&lt;SPAN&gt;0))&amp;gt;=$(=(Max({1}[Period ID])-5))"}" part, but if 2015 starts with [Period ID]=0 probably means that the script is limited to 2015 data, so you'll need to check where is [Period ID] on script and follow it until you fin something limiting the data loaded.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2023 08:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-Expressions/m-p/2048128#M1222908</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-03-11T08:04:43Z</dc:date>
    </item>
  </channel>
</rss>

