<?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: Trigger - Select Filed Values not bringing exact values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789002#M1210389</link>
    <description>&lt;P&gt;that is how selection in qlikview works - it will look for all values that will satisfy your selection pattern - as youve observed 2021-1 will include 2021-1, 2021-10, and 2021-11 (i think it will also include 2021-12 up to 2021-19)&lt;/P&gt;&lt;P&gt;if you want it to be specific then you have to make your selection specific.&amp;nbsp; maybe you need to put in the time so that jan is distinguished from other months&lt;/P&gt;</description>
    <pubDate>Sun, 07 Mar 2021 17:58:44 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2021-03-07T17:58:44Z</dc:date>
    <item>
      <title>Trigger - Select Filed Values not bringing exact values</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1788655#M1210321</link>
      <description>&lt;P&gt;Hi guys, I don't know if you have faced this issue before.&lt;/P&gt;&lt;P&gt;In a specific report, I dinamically select weeks in a filter, using Trigger - Select in Field.&lt;/P&gt;&lt;P&gt;I'm using a variable to bring last 13 weeks, starting with current week.&lt;/P&gt;&lt;P&gt;We are in Week 9, but it's bringing week 10 and 11. I found out why this is happening.&lt;/P&gt;&lt;P&gt;I've checked the variable and it's not bringing '2021-10' and '2021-11' there, but it's bringing '2021-1'.&lt;/P&gt;&lt;P&gt;The field selection is automatically assuming that it needs to select all values starting with '2021-1'.&lt;/P&gt;&lt;P&gt;A way to fix it would be to use 2 digit week number, but I'd need to change in several places. Can you tell me if it's possible to select only the exact values and not similar ones?&lt;/P&gt;&lt;P&gt;tks.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 12:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1788655#M1210321</guid>
      <dc:creator>RenatoAkamine</dc:creator>
      <dc:date>2021-03-05T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger - Select Filed Values not bringing exact values</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789002#M1210389</link>
      <description>&lt;P&gt;that is how selection in qlikview works - it will look for all values that will satisfy your selection pattern - as youve observed 2021-1 will include 2021-1, 2021-10, and 2021-11 (i think it will also include 2021-12 up to 2021-19)&lt;/P&gt;&lt;P&gt;if you want it to be specific then you have to make your selection specific.&amp;nbsp; maybe you need to put in the time so that jan is distinguished from other months&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 17:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789002#M1210389</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-03-07T17:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger - Select Filed Values not bringing exact values</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789170#M1210415</link>
      <description>&lt;P&gt;A&amp;nbsp;&lt;SPAN&gt;2 digit week number wouldn't be enough at least not without additionally logic because you wouldn't fetch with it the turn of years. More suitable in such cases is to create a&amp;nbsp;consecutive week-counter, for example with:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;autonumber(Year &amp;amp; '|' &amp;amp; Week) as WeekXXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;within the master-calendar. In general it's recommended to use for all matchings and calculations numeric values and not strings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Depending on your use-case it may be even easier to create appropriate flag-fields within the script which could be used for selections and/or as conditions within set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And yes, I suggest to go the painful way and to change this everywhere - and each similar scenario, too. In the end it saves a lot of time instead of solving such challenges within the UI which are better solved within the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 12:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789170#M1210415</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-03-08T12:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger - Select Filed Values not bringing exact values</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789249#M1210420</link>
      <description>&lt;P&gt;the format he is using for week is YYYY-WW&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 14:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789249#M1210420</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-03-08T14:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger - Select Filed Values not bringing exact values</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789252#M1210422</link>
      <description>&lt;P&gt;actually its YYYY-W, so year is already included&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 14:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789252#M1210422</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-03-08T14:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger - Select Filed Values not bringing exact values</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789262#M1210424</link>
      <description>&lt;P&gt;But it seems not be a number - at least not unique one. I don't want to say that's not possible to calculate with such values but it's far not so easy as with the mentioned consecutive number which might be used, like:&lt;/P&gt;&lt;P&gt;&amp;gt;=max(WeekNumber)-13&amp;lt;=max(WeekNumber)&lt;/P&gt;&lt;P&gt;maybe better applied on a listbox and stored within a bookmark instead of using actions.&lt;/P&gt;&lt;P&gt;Are there more similar date-ranges appropriate flags and/or an as-of-table may simplify the entire approach further.&lt;/P&gt;&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 15:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-Select-Filed-Values-not-bringing-exact-values/m-p/1789262#M1210424</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-03-08T15:15:36Z</dc:date>
    </item>
  </channel>
</rss>

