<?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: Variable/Field Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102237#M751985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just don't know how to calculate the 14 day thing. I don't know whether the fields in the script are the best way to do it or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2018 11:23:19 GMT</pubDate>
    <dc:creator>khaycock</dc:creator>
    <dc:date>2018-11-02T11:23:19Z</dc:date>
    <item>
      <title>Variable/Field Help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102235#M751983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm struggling on ways to calculate the result I am looking for and was hoping someone could help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vuln.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/217378_vuln.PNG" style="height: 231px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I am trying to get a variable that will show all vulnerabilities that are due in 14 days using the following key on the right hand side. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here are the fields that I have declared in the script to assist with this process:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;date(today(1)) - date(floor(date#([First Discovered],'MMM DD, YYYY hh:mm:ss')),'DD/MM/YYYY') as VulAgeNo,&lt;/P&gt;&lt;P&gt;if(date(today())+14&amp;nbsp; &amp;gt;= date(floor(date#([First Discovered],'MMM DD, YYYY hh:mm:ss'))), 'Due in the Next Days', 'Not due') as Next14Days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And here are the variables that are used to generate all the grey numbers:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;All Vulnerability Count&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="all.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/217394_all.PNG" style="height: 474px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Vulnerabilities Past Due (these use the VulAgeNo field generated in the script with the age listed in the key, so each is different)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PD.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/217395_PD.PNG" style="height: 479px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Vulnerabilities due in 14 days (this also uses the field generated in the script but it's not correct)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="14.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/217396_14.PNG" style="height: 478px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;How can I get this to show what vulnerabilities are due in 14 days? Do I need to use the Vul Age No field or to create variables for the time scales in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102235#M751983</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable/Field Help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102236#M751984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I clearly understand the issue? are you saying that the fields created in the script are not right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 11:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102236#M751984</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-02T11:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variable/Field Help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102237#M751985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just don't know how to calculate the 14 day thing. I don't know whether the fields in the script are the best way to do it or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 11:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102237#M751985</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2018-11-02T11:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variable/Field Help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102238#M751986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to check this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 11:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Field-Help/m-p/102238#M751986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-02T11:26:56Z</dc:date>
    </item>
  </channel>
</rss>

