<?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 need help on converting a date variable to integer in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help-on-converting-a-date-variable-to-integer/m-p/1528029#M438539</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have a variable that is bound to a calendar, the variable now has name as vCOB_DATE and value is 43465 (Dec 31st, 2018).&lt;/P&gt;&lt;P&gt;I have a field call COB_DATE which has Interger type (Not Date or TimeStamp types), so values in this field are like below:&lt;/P&gt;&lt;P&gt;COB_DATE&lt;/P&gt;&lt;P&gt;20180131&lt;/P&gt;&lt;P&gt;20180228&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;20181231&lt;/P&gt;&lt;P&gt;I need to convert the variable into the integer "20181231" and use it in a set expression&amp;nbsp;as a filter, but I tried below seems it does not work..&lt;/P&gt;&lt;P&gt;{&amp;lt;[COB_DATE]={"=$(num#(date(vCOB_DATE, 'YYYYMMDD')))"}&lt;/P&gt;&lt;P&gt;Could you please help?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:49:17 GMT</pubDate>
    <dc:creator>msmichael</dc:creator>
    <dc:date>2024-11-16T04:49:17Z</dc:date>
    <item>
      <title>need help on converting a date variable to integer</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-on-converting-a-date-variable-to-integer/m-p/1528029#M438539</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have a variable that is bound to a calendar, the variable now has name as vCOB_DATE and value is 43465 (Dec 31st, 2018).&lt;/P&gt;&lt;P&gt;I have a field call COB_DATE which has Interger type (Not Date or TimeStamp types), so values in this field are like below:&lt;/P&gt;&lt;P&gt;COB_DATE&lt;/P&gt;&lt;P&gt;20180131&lt;/P&gt;&lt;P&gt;20180228&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;20181231&lt;/P&gt;&lt;P&gt;I need to convert the variable into the integer "20181231" and use it in a set expression&amp;nbsp;as a filter, but I tried below seems it does not work..&lt;/P&gt;&lt;P&gt;{&amp;lt;[COB_DATE]={"=$(num#(date(vCOB_DATE, 'YYYYMMDD')))"}&lt;/P&gt;&lt;P&gt;Could you please help?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-on-converting-a-date-variable-to-integer/m-p/1528029#M438539</guid>
      <dc:creator>msmichael</dc:creator>
      <dc:date>2024-11-16T04:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: need help on converting a date variable to integer</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-on-converting-a-date-variable-to-integer/m-p/1528049#M438542</link>
      <description>&lt;P&gt;You are close. You just have the = in the wrong place.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&amp;lt;[COB_DATE]={"$(&lt;STRONG&gt;=&lt;/STRONG&gt;num#(date(vCOB_DATE, 'YYYYMMDD')))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 21:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-on-converting-a-date-variable-to-integer/m-p/1528049#M438542</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-01-08T21:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: need help on converting a date variable to integer</title>
      <link>https://community.qlik.com/t5/QlikView/need-help-on-converting-a-date-variable-to-integer/m-p/1528090#M438543</link>
      <description>&lt;P&gt;Thank you Rob!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 02:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help-on-converting-a-date-variable-to-integer/m-p/1528090#M438543</guid>
      <dc:creator>msmichael</dc:creator>
      <dc:date>2019-01-09T02:41:48Z</dc:date>
    </item>
  </channel>
</rss>

