<?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: Dynamic Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2471271#M99698</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been taking a stab at this problem as often as I could, and the closest syntax that worked for me is:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;Count({$&amp;lt;Order_Date={"09/30/20**"}&amp;gt;} distinct Order_ID)&lt;/FONT&gt;&amp;nbsp; -&amp;gt; Courtesy of "Singa Christodoulou"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicouek_1-1721233693310.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169515i8914EE8A5046DFAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nicouek_1-1721233693310.png" alt="nicouek_1-1721233693310.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keeping my counts of orderIDs on the desired DATE of the year and letting my [YearDimension] display the years. Adding a running current year set modifier did not do so well... Thanks a lot will keep working on the Running Current Year metric&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 16:50:19 GMT</pubDate>
    <dc:creator>nicouek</dc:creator>
    <dc:date>2024-07-17T16:50:19Z</dc:date>
    <item>
      <title>Dynamic Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2465861#M99211</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;Count({$&amp;lt;Date={'09/30/2019','09/30/2020','09/30/2021','09/30/2022','09/30/2023',"$(=Date(Date#(Today(),'M/DD/YYYY'),'MM/DD/YYYY'))"}&amp;gt;}distinct Sales)&lt;/P&gt;
&lt;P&gt;I wrote this set analysis to resolve [show sale for past 5 years + running current year]&lt;/P&gt;
&lt;P&gt;Is it possible to make past years dynamic as well so that on 30 Sept 2024 09/30/2023 -&amp;gt; becomes 09/30/2024 and other previous year respectively?&amp;nbsp;Or should I put current year on another sheet?&lt;/P&gt;
&lt;P&gt;FYI: My DIMENSION IS A "YEAR" FIELD.&lt;/P&gt;
&lt;P&gt;If you have an idea please help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 19:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2465861#M99211</guid>
      <dc:creator>nicouek</dc:creator>
      <dc:date>2024-06-26T19:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2465877#M99214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121989"&gt;@nicouek&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can try the code below, it is not pretty, but works. Don't forget to replace your field names properly:&lt;/P&gt;
&lt;PRE&gt;Sum({&amp;lt;O_ORDERDATE = {"$(=AddYears(Today(),-5))", "$(=AddYears(Today(),-4))", "$(=AddYears(Today(),-3))", "$(=AddYears(Today(),-2))", "$(=AddYears(Today(),-1))", "$(=Today())"}&amp;gt;} O_TOTALPRICE)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 21:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2465877#M99214</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-06-26T21:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2466034#M99221</link>
      <description>&lt;P&gt;I think I would use a shortened date without the year-information - just: DD/MM created within the calendar - and then the user could select the wanted one as well as the wanted years.&lt;/P&gt;
&lt;P&gt;If not an extra date-field is wanted within the UI else the full-date should be used for the selection - the short-date might be referenced, like:&lt;/P&gt;
&lt;P&gt;count({&amp;lt; ShortDate = p(ShortDate), Date &amp;gt;} Value)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 11:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2466034#M99221</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-06-27T11:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2466075#M99225</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicouek_0-1719494032916.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168572i98A23B78F669D96E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nicouek_0-1719494032916.png" alt="nicouek_0-1719494032916.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think I am on the right path with your suggestion, I would try a few other approaches and follow back with you; if you have another idea please share.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 13:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2466075#M99225</guid>
      <dc:creator>nicouek</dc:creator>
      <dc:date>2024-06-27T13:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2466264#M99240</link>
      <description>&lt;P&gt;Wondering why you are using sum(&lt;U&gt;&lt;STRONG&gt;distinct&lt;/STRONG&gt;&lt;/U&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;Sales); this means if you have same amounts on different rows like for example 500, 500 then you will sum up only one 500&lt;/P&gt;
&lt;P&gt;anyways you expression would be something like this:&lt;BR /&gt;sum(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;order_date={"&amp;gt;=$(=AddYears(Today(),-5))"}&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;+&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;order_date ={"=$(=Today())"}&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} Sales)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 06:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2466264#M99240</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-06-28T06:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2471271#M99698</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been taking a stab at this problem as often as I could, and the closest syntax that worked for me is:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;Count({$&amp;lt;Order_Date={"09/30/20**"}&amp;gt;} distinct Order_ID)&lt;/FONT&gt;&amp;nbsp; -&amp;gt; Courtesy of "Singa Christodoulou"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicouek_1-1721233693310.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169515i8914EE8A5046DFAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nicouek_1-1721233693310.png" alt="nicouek_1-1721233693310.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keeping my counts of orderIDs on the desired DATE of the year and letting my [YearDimension] display the years. Adding a running current year set modifier did not do so well... Thanks a lot will keep working on the Running Current Year metric&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 16:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Set-Analysis/m-p/2471271#M99698</guid>
      <dc:creator>nicouek</dc:creator>
      <dc:date>2024-07-17T16:50:19Z</dc:date>
    </item>
  </channel>
</rss>

