<?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 What would be the simplest way to enable users to pick two nonsequential months and compare various measures (volume, revenue, etc.) in a pivot table? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/What-would-be-the-simplest-way-to-enable-users-to-pick-two/m-p/2005344#M83199</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For using comparisons year-on-year, the same month, or quarter or year) I use these expressions:&lt;/P&gt;
&lt;P&gt;Previous year:&amp;nbsp;sum({$&amp;lt;Year={$(=Year-1)}&amp;gt;} Qty)&lt;/P&gt;
&lt;P&gt;Current year:&amp;nbsp;sum({$&amp;lt;Year={$(=Year)}&amp;gt;} Qty)&lt;/P&gt;
&lt;P&gt;What to use if an user selects November vs March?&lt;/P&gt;
&lt;P&gt;Any idea?&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 14:22:23 GMT</pubDate>
    <dc:creator>NenadV</dc:creator>
    <dc:date>2022-11-16T14:22:23Z</dc:date>
    <item>
      <title>What would be the simplest way to enable users to pick two nonsequential months and compare various measures (volume, revenue, etc.) in a pivot table?</title>
      <link>https://community.qlik.com/t5/App-Development/What-would-be-the-simplest-way-to-enable-users-to-pick-two/m-p/2005344#M83199</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For using comparisons year-on-year, the same month, or quarter or year) I use these expressions:&lt;/P&gt;
&lt;P&gt;Previous year:&amp;nbsp;sum({$&amp;lt;Year={$(=Year-1)}&amp;gt;} Qty)&lt;/P&gt;
&lt;P&gt;Current year:&amp;nbsp;sum({$&amp;lt;Year={$(=Year)}&amp;gt;} Qty)&lt;/P&gt;
&lt;P&gt;What to use if an user selects November vs March?&lt;/P&gt;
&lt;P&gt;Any idea?&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 14:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-would-be-the-simplest-way-to-enable-users-to-pick-two/m-p/2005344#M83199</guid>
      <dc:creator>NenadV</dc:creator>
      <dc:date>2022-11-16T14:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: What would be the simplest way to enable users to pick two nonsequential months and compare various measures (volume, revenue, etc.) in a pivot ta</title>
      <link>https://community.qlik.com/t5/App-Development/What-would-be-the-simplest-way-to-enable-users-to-pick-two/m-p/2005348#M83200</link>
      <description>&lt;P&gt;How exactly has the user selected this? That would impact the solution...&lt;/P&gt;
&lt;P&gt;You could use alternate states to allow two independent comparison periods to be selected (they don't have to be any specific length, or even the same length). If the period length is always one month, you could use a set to get the max(Month) and Min(Month) for the comparisons, respectively.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 14:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-would-be-the-simplest-way-to-enable-users-to-pick-two/m-p/2005348#M83200</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-11-16T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: What would be the simplest way to enable users to pick two nonsequential months and compare various measures (volume, revenue, etc.) in a pivot ta</title>
      <link>https://community.qlik.com/t5/App-Development/What-would-be-the-simplest-way-to-enable-users-to-pick-two/m-p/2005372#M83201</link>
      <description>&lt;P&gt;Yes, I've been thinking about Alternate states and was not sure if I can use them in a single pivot table. I'll take this route and get back with the outcome.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 14:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/What-would-be-the-simplest-way-to-enable-users-to-pick-two/m-p/2005372#M83201</guid>
      <dc:creator>NenadV</dc:creator>
      <dc:date>2022-11-16T14:52:23Z</dc:date>
    </item>
  </channel>
</rss>

