<?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 do I create a Variable then Call It Again in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141301#M753596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to creat a variable and then later would like to call it later like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MonthName(‘9/1/2018’) as [Sample Month]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;[Open Date],&lt;/P&gt;&lt;P&gt;....‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(year([Open Date] )= year ([Sample Month]), ‘Yes’, ‘No’) as [V1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;[folder path]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but error says sample month is not found. How do I fix this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>hykal1993</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How do I create a Variable then Call It Again</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141301#M753596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to creat a variable and then later would like to call it later like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MonthName(‘9/1/2018’) as [Sample Month]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;[Open Date],&lt;/P&gt;&lt;P&gt;....‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(year([Open Date] )= year ([Sample Month]), ‘Yes’, ‘No’) as [V1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;[folder path]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but error says sample month is not found. How do I fix this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&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/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141301#M753596</guid>
      <dc:creator>hykal1993</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Variable then Call It Again</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141302#M753597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peek() function is exactly what you should use in such cases:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Peek.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Peek.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/InterRecordFunctions/Peek.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I've attached a little example for you.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="peek_istance.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215417_peek_istance.png" style="height: 134px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141302#M753597</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2018-10-09T05:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Variable then Call It Again</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141303#M753598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try like this also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(year([Open Date] )= year ([Sample Month]), ‘Yes’, ‘No’) as [V1] &lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthName(‘9/1/2018’) as [Sample Month],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;....&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Open Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;....&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[folder path]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Br,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 05:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141303#M753598</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-10-09T05:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Variable then Call It Again</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141304#M753599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your if expression is not working because you are using it in the Load while the field [Sample Month] is created in the PreLoad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the order is this: Load -&amp;gt; Preload and just follow KC example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Andrei &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 06:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-create-a-Variable-then-Call-It-Again/m-p/141304#M753599</guid>
      <dc:creator>andrei_delta</dc:creator>
      <dc:date>2018-10-09T06:43:37Z</dc:date>
    </item>
  </channel>
</rss>

