<?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 Using set analysis to get a value of previous period in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126580#M91682</link>
    <description>&lt;P&gt;Hi. I have a dataset with the fields: Account_id, account_score, year_quarter, YearQuarterKey (which is a running sequencial number for every year-quarter combination). I want to use set analysis in a table presentation on my app, and to add the field previous_quarter_score to every row ! in the table, according the field YearQuarterKey&lt;/P&gt;
&lt;P&gt;I tried:&lt;/P&gt;
&lt;P&gt;=max( {&amp;lt; YearQuarterKey = {"$(=(YearQuarterKey-1))"} &amp;gt;} account_score)&lt;/P&gt;
&lt;P&gt;It did not work.&lt;/P&gt;
&lt;P&gt;Any thoughts on how to accomplish this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 11:53:06 GMT</pubDate>
    <dc:creator>achin</dc:creator>
    <dc:date>2023-10-09T11:53:06Z</dc:date>
    <item>
      <title>Using set analysis to get a value of previous period</title>
      <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126580#M91682</link>
      <description>&lt;P&gt;Hi. I have a dataset with the fields: Account_id, account_score, year_quarter, YearQuarterKey (which is a running sequencial number for every year-quarter combination). I want to use set analysis in a table presentation on my app, and to add the field previous_quarter_score to every row ! in the table, according the field YearQuarterKey&lt;/P&gt;
&lt;P&gt;I tried:&lt;/P&gt;
&lt;P&gt;=max( {&amp;lt; YearQuarterKey = {"$(=(YearQuarterKey-1))"} &amp;gt;} account_score)&lt;/P&gt;
&lt;P&gt;It did not work.&lt;/P&gt;
&lt;P&gt;Any thoughts on how to accomplish this?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 11:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126580#M91682</guid>
      <dc:creator>achin</dc:creator>
      <dc:date>2023-10-09T11:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to get a value of previous period</title>
      <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126628#M91686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/249697"&gt;@achin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you post a sample app with mock data?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126628#M91686</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2023-10-09T13:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to get a value of previous period</title>
      <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126634#M91688</link>
      <description>&lt;P&gt;&lt;SPAN&gt;this might work:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=max( {&amp;lt; YearQuarterKey = {$(YearQuarterKey-1)} &amp;gt;} account_score)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126634#M91688</guid>
      <dc:creator>Cascader</dc:creator>
      <dc:date>2023-10-09T13:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to get a value of previous period</title>
      <link>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126635#M91689</link>
      <description>&lt;P&gt;give a try using below link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/Current-vs-Previous-Quarter/td-p/1566945" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/Current-vs-Previous-Quarter/td-p/1566945&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-set-analysis-to-get-a-value-of-previous-period/m-p/2126635#M91689</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2023-10-09T13:30:58Z</dc:date>
    </item>
  </channel>
</rss>

