<?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 how to get column values within the date range in qlikview script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1685295#M450332</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have the below requirement,&lt;/P&gt;&lt;P&gt;GroupNames,Startdate and Enddate&amp;nbsp; three fields are there using those we want to restrict groupnames field values using startdate and enddate&amp;nbsp;&lt;/P&gt;&lt;P&gt;exampl:&lt;/P&gt;&lt;P&gt;GroupNumber&amp;nbsp; &amp;nbsp;StartDate&amp;nbsp; &amp;nbsp;EndDate&lt;BR /&gt;CBP001&amp;nbsp; &amp;nbsp;2019/01/01&amp;nbsp; &amp;nbsp;2019/04/31&lt;BR /&gt;CC1000&amp;nbsp; &amp;nbsp;2019/02/01&amp;nbsp; &amp;nbsp;2019/05/31&lt;BR /&gt;FDA200&amp;nbsp; &amp;nbsp;2019/03/01&amp;nbsp; &amp;nbsp;2019/08/30&lt;BR /&gt;FDAW02&amp;nbsp; 2019/06/01&amp;nbsp; &amp;nbsp;2019/06/31&lt;BR /&gt;FDAW03&amp;nbsp; 2019/05/01&amp;nbsp; &amp;nbsp;2019/07/31&lt;BR /&gt;FDA300&amp;nbsp; 2019/09/01&amp;nbsp; &amp;nbsp;2019/12/31&lt;BR /&gt;FDAN02&amp;nbsp; 2019/10/01&amp;nbsp; &amp;nbsp;2019/11/30&lt;BR /&gt;MTSN01&amp;nbsp; 2018/06/01&amp;nbsp; 2018/07/30&lt;BR /&gt;NYAC1&amp;nbsp; &amp;nbsp; &amp;nbsp;2018/03/01&amp;nbsp; &amp;nbsp;2018/06/30&lt;/P&gt;&lt;P&gt;Based on my report date range automatically group names should be picked by matching start date or end date.&lt;/P&gt;&lt;P&gt;Ex: If user want the report from&amp;nbsp;2019/06/01 to 2019/07/31 then these below groups numbers should be picked by qlikview script.&lt;/P&gt;&lt;P&gt;FDAW02&amp;nbsp;&lt;/P&gt;&lt;P&gt;FDAW03&amp;nbsp;&lt;/P&gt;&lt;P&gt;NYAC1&amp;nbsp;&lt;/P&gt;&lt;P&gt;MTSN01&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:02:22 GMT</pubDate>
    <dc:creator>nagarjuna005</dc:creator>
    <dc:date>2024-11-16T01:02:22Z</dc:date>
    <item>
      <title>how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1685295#M450332</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have the below requirement,&lt;/P&gt;&lt;P&gt;GroupNames,Startdate and Enddate&amp;nbsp; three fields are there using those we want to restrict groupnames field values using startdate and enddate&amp;nbsp;&lt;/P&gt;&lt;P&gt;exampl:&lt;/P&gt;&lt;P&gt;GroupNumber&amp;nbsp; &amp;nbsp;StartDate&amp;nbsp; &amp;nbsp;EndDate&lt;BR /&gt;CBP001&amp;nbsp; &amp;nbsp;2019/01/01&amp;nbsp; &amp;nbsp;2019/04/31&lt;BR /&gt;CC1000&amp;nbsp; &amp;nbsp;2019/02/01&amp;nbsp; &amp;nbsp;2019/05/31&lt;BR /&gt;FDA200&amp;nbsp; &amp;nbsp;2019/03/01&amp;nbsp; &amp;nbsp;2019/08/30&lt;BR /&gt;FDAW02&amp;nbsp; 2019/06/01&amp;nbsp; &amp;nbsp;2019/06/31&lt;BR /&gt;FDAW03&amp;nbsp; 2019/05/01&amp;nbsp; &amp;nbsp;2019/07/31&lt;BR /&gt;FDA300&amp;nbsp; 2019/09/01&amp;nbsp; &amp;nbsp;2019/12/31&lt;BR /&gt;FDAN02&amp;nbsp; 2019/10/01&amp;nbsp; &amp;nbsp;2019/11/30&lt;BR /&gt;MTSN01&amp;nbsp; 2018/06/01&amp;nbsp; 2018/07/30&lt;BR /&gt;NYAC1&amp;nbsp; &amp;nbsp; &amp;nbsp;2018/03/01&amp;nbsp; &amp;nbsp;2018/06/30&lt;/P&gt;&lt;P&gt;Based on my report date range automatically group names should be picked by matching start date or end date.&lt;/P&gt;&lt;P&gt;Ex: If user want the report from&amp;nbsp;2019/06/01 to 2019/07/31 then these below groups numbers should be picked by qlikview script.&lt;/P&gt;&lt;P&gt;FDAW02&amp;nbsp;&lt;/P&gt;&lt;P&gt;FDAW03&amp;nbsp;&lt;/P&gt;&lt;P&gt;NYAC1&amp;nbsp;&lt;/P&gt;&lt;P&gt;MTSN01&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1685295#M450332</guid>
      <dc:creator>nagarjuna005</dc:creator>
      <dc:date>2024-11-16T01:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1685823#M450378</link>
      <description>&lt;P&gt;Hi, If you have 2 variables with date range selected by the user you can use those variable to filter the data in a where clause. BTW are you sure it needes to match the start and end date or just that the group should be active in at least part of the date range selected by user?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD GroupNumber  Where StartDate&amp;lt;=$(vEndDate) and EndDate&amp;gt;=$(vStartDate);&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;Then, if needed, you can use exists to only load those groups data:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD GroupNumber, otherFields where exists(GroupNumber);&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Another BTW: I don't know why it should pick MTSN01 or NYAC1 as the end date is for 2018 and user is filtering dates on 2019&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 16:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1685823#M450378</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-03-18T16:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1685960#M450380</link>
      <description>&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;Thank you its working and one more thing is if i want to get only active groups within that date range how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 06:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1685960#M450380</guid>
      <dc:creator>nagarjuna005</dc:creator>
      <dc:date>2020-03-19T06:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1686015#M450387</link>
      <description>&lt;P&gt;Hi, If you want groups actives in all the selected range you only need to change the where clause:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD GroupNumber Where StartDate&amp;lt;=$(vStartDate) and EndDate&amp;gt;=$(vEndDate);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 10:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1686015#M450387</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-03-19T10:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1686028#M450388</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have changed&amp;nbsp; in where clause to get only active groups within that date range but getting zero records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naga.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 10:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1686028#M450388</guid>
      <dc:creator>nagarjuna005</dc:creator>
      <dc:date>2020-03-19T10:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1686388#M450398</link>
      <description>&lt;P&gt;With 01/06/2019 as start date and 21/07/2019 as end date&amp;nbsp;&lt;SPAN&gt;FDAW03 group data should be taken. Has this group any data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe you need to enclse dates between simple quotes:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD GroupNumber Where StartDate&amp;lt;='$(vStartDate)' and EndDate&amp;gt;='$(vEndDate)';&lt;/LI-CODE&gt;&lt;P&gt;Or use variables that uses&amp;nbsp; dates in number format, to avoid format issues:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LET vStartDateNum=Num(Date('$(vStartDate)'));
LET vEbdDateNum=Num(Date('$(vEndDate)'));

LOAD GroupNumber Where StartDate&amp;lt;=$(vStartDateNum) and EndDate&amp;gt;=$(vEndDateNum);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 08:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1686388#M450398</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-03-20T08:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1688236#M450501</link>
      <description>&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;My requirement has changed please look into my below requirement,&lt;/P&gt;&lt;P&gt;CompanyNumber,LOB,GroupNumber,Plan ID,Startdate and Enddate&amp;nbsp; six fields are there using those i want to restrict groupnames field values NYAC1 and MTSN01.&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i mean is i don't want to see those two inactive groups in dashboard.&lt;/P&gt;&lt;P&gt;exampl:&lt;/P&gt;&lt;P&gt;Company&amp;nbsp; LOB&amp;nbsp; &amp;nbsp; GroupNames Plan ID&amp;nbsp; Startdate&amp;nbsp; &amp;nbsp; &amp;nbsp; Enddate&lt;/P&gt;&lt;P&gt;30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ISN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NYAC1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 035&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;01012008&amp;nbsp; &amp;nbsp; &amp;nbsp; 12312018&lt;/P&gt;&lt;P&gt;30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MTS&amp;nbsp; &amp;nbsp; &amp;nbsp; MTSN01&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;036&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;01012008&amp;nbsp; &amp;nbsp; &amp;nbsp; 12312018&lt;/P&gt;&lt;P&gt;30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CBP&amp;nbsp; &amp;nbsp; &amp;nbsp;CBP001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;027&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;01012008&amp;nbsp; &amp;nbsp; &amp;nbsp; 99999999&lt;/P&gt;&lt;P&gt;30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IBPS65&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;01012008&amp;nbsp; &amp;nbsp; &amp;nbsp;99999999&lt;/P&gt;&lt;P&gt;30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LIP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LIP65&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;01012008&amp;nbsp; &amp;nbsp; &amp;nbsp;99999999&lt;/P&gt;&lt;P&gt;30&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MCR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MCR65&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;01012008&amp;nbsp; &amp;nbsp; &amp;nbsp;99999999&lt;/P&gt;&lt;P&gt;34&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CCC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CC1000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;034&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;01012008&amp;nbsp; &amp;nbsp; &amp;nbsp;99999999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so using above table i want to restrict these two&amp;nbsp;NYAC1 and MTSN01 Inactive groups.&lt;/P&gt;&lt;P&gt;Ex: If user want the report from&amp;nbsp;2018/12/01 to 2019/07/31 then these below groups numbers should not picked by qlikview script.&lt;/P&gt;&lt;P&gt;NYAC1 and MTSN01&lt;/P&gt;&lt;P&gt;and also LOB is blank in one row we should accommodated that as well&amp;nbsp; so how to write logic for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; could you please provide solution for this thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 16:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1688236#M450501</guid>
      <dc:creator>nagarjuna005</dc:creator>
      <dc:date>2020-03-26T16:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1688275#M450503</link>
      <description>&lt;P&gt;Hi, this is the same requirement as previous: get GROUPNAMES actives in all the range, what has changed?&lt;/P&gt;&lt;P&gt;Maybe only beacuse of the format dates? you can convert those numebr to dates using Date#(): Date(Date#(Startdate,'MMDDYYYY'))&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 17:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1688275#M450503</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-03-26T17:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get column values within the date range in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1688366#M450507</link>
      <description>&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;now as per the requirement i want to remove inactive groups as mentioned in my previous post.&lt;/P&gt;&lt;P&gt;i din't want to get those two inactive groups into dashboard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 05:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-get-column-values-within-the-date-range-in-qlikview/m-p/1688366#M450507</guid>
      <dc:creator>nagarjuna005</dc:creator>
      <dc:date>2020-03-27T05:03:56Z</dc:date>
    </item>
  </channel>
</rss>

