<?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: how to do the static dates into dynamic in set analysis or load editor in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/how-to-do-the-static-dates-into-dynamic-in-set-analysis-or-load/m-p/2517404#M105913</link>
    <description>&lt;P&gt;Hi, what yo meant for dynamic? based on user selections? and in that case... what are the conditions for each date?&lt;/P&gt;&lt;P&gt;In example, in you want to use the min date selected it could be done as:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[P Release Date]={"&amp;lt;=$(=Date(Min([DateField])))"},...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So $(= will evalute the expression and return the value to the set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is called $-Expansion and is calculated before the table, so it doesn't uses dimension values, a table with year as dimension will return the same value for all rows, not applying the year of the row, only the selcctions can change this values.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 May 2025 07:16:16 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2025-05-10T07:16:16Z</dc:date>
    <item>
      <title>how to do the static dates into dynamic in set analysis or load editor</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-do-the-static-dates-into-dynamic-in-set-analysis-or-load/m-p/2517389#M105912</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The following are set analysis i have used in the KPI but i need to present the data in simple table:&lt;/P&gt;&lt;P&gt;i have the actual data from 2019 - 2023 but the following are the set analysis of Month Jan 2023:&lt;/P&gt;&lt;P&gt;1- Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Del On Flag]={N},[PO LI RelDT Flag]={N}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;2-&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=12/31/2022"}, [Del On Flag]={N},[PO Release Date]={"&amp;gt;=1/2/2023"}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;3-&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Deleted On]={"&amp;gt;=1/1/2023"},[PO LI RelDT Flag]={"N"}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;4-&amp;nbsp;Count({$&amp;lt;[P Release Date]={"&amp;lt;=1/1/2023"}, [Deleted On]={"&amp;gt;=1/1/2023"},[PO Release Date]={"&amp;gt;=1/1/2023"}&amp;gt;}[P Release Date])&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main Data table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Load&lt;BR /&gt;if(date(Date#("Deleted On", 'MM/DD/YYYY')) &amp;gt; 0 ,'Y','N') as "Del On Flag",&lt;BR /&gt;if(date(Date#("PO Release Date",'MM/DD/YYYY')) &amp;gt; 0 ,'Y','N') as "PO LI RelDT Flag",&lt;/P&gt;&lt;P&gt;Date(Date#([P Release Date], 'M/D/YYYY h:mm'), 'MM/DD/YYYY') as [P Release Date],&lt;BR /&gt;Date(Date#([Deleted On], 'MM/DD/YYYY')) as [Deleted On],&lt;BR /&gt;Date(Date#([PO Release Date], 'MM/DD/YYYY')) as [PO Release Date],&lt;BR /&gt;monthstart((Date#([PO Release Date], 'MM/DD/YYYY'))) as [MonthStart]&lt;/P&gt;&lt;P&gt;from excel sheet;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sara.&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 04:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-do-the-static-dates-into-dynamic-in-set-analysis-or-load/m-p/2517389#M105912</guid>
      <dc:creator>Sara_3</dc:creator>
      <dc:date>2025-05-10T04:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to do the static dates into dynamic in set analysis or load editor</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-do-the-static-dates-into-dynamic-in-set-analysis-or-load/m-p/2517404#M105913</link>
      <description>&lt;P&gt;Hi, what yo meant for dynamic? based on user selections? and in that case... what are the conditions for each date?&lt;/P&gt;&lt;P&gt;In example, in you want to use the min date selected it could be done as:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[P Release Date]={"&amp;lt;=$(=Date(Min([DateField])))"},...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So $(= will evalute the expression and return the value to the set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is called $-Expansion and is calculated before the table, so it doesn't uses dimension values, a table with year as dimension will return the same value for all rows, not applying the year of the row, only the selcctions can change this values.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 May 2025 07:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-do-the-static-dates-into-dynamic-in-set-analysis-or-load/m-p/2517404#M105913</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-05-10T07:16:16Z</dc:date>
    </item>
  </channel>
</rss>

