<?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 is not working properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114688#M754239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my expression for creating variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date(min(ShipDate1)) as minDate,&lt;/P&gt;&lt;P&gt;Date(max(ShipDate1)) as maxDate&lt;/P&gt;&lt;P&gt;Resident FACT_PROOFOFDELIVERY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let varMinDate = Date(Peek('minDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;Let varMaxDate = Date(Peek('maxDate', 0, 'Temp'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2018 13:37:12 GMT</pubDate>
    <dc:creator>mhmmd_srf</dc:creator>
    <dc:date>2018-09-28T13:37:12Z</dc:date>
    <item>
      <title>Variable is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114684#M754235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two Variable varMinDate and varMaxDate.&lt;/P&gt;&lt;P&gt;These two are not showing proper date right after reloading (default view).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214584_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if we select any date then it is showing correct date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/214585_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&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-is-not-working-properly/m-p/114684#M754235</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114685#M754236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe user Date(your field) then save the variable?&lt;/P&gt;&lt;P&gt;or Date(YOURDATEFIELD,'MM/DD/YYYY') store into variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 18:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114685#M754236</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-09-27T18:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variable is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114686#M754237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to capture this through variable not Date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:01:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114686#M754237</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2018-09-28T13:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Variable is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114687#M754238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes but to store a variable you'll write an expression in variable right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the expression in your variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114687#M754238</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-09-28T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Variable is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114688#M754239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my expression for creating variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Date(min(ShipDate1)) as minDate,&lt;/P&gt;&lt;P&gt;Date(max(ShipDate1)) as maxDate&lt;/P&gt;&lt;P&gt;Resident FACT_PROOFOFDELIVERY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let varMinDate = Date(Peek('minDate', 0, 'Temp'));&lt;/P&gt;&lt;P&gt;Let varMaxDate = Date(Peek('maxDate', 0, 'Temp'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114688#M754239</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2018-09-28T13:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variable is not working properly</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114689#M754242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your varMinDate and MaxDate are stored in numbers like 4524&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To test that take a text box and type in your variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;varMinDate &lt;/SPAN&gt;) ans you'll see the dates come as just numeric format&lt;/P&gt;&lt;P&gt;Below I have same variable...&lt;/P&gt;&lt;P&gt;On left it is just &lt;/P&gt;&lt;P&gt;=$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;varMinDate &lt;/SPAN&gt;) and on right it is Date($(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;varMinDate &lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-09-28_095855.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214718_2018-09-28_095855.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 14:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-is-not-working-properly/m-p/114689#M754242</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-09-28T14:00:25Z</dc:date>
    </item>
  </channel>
</rss>

