<?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 Tutorial and basic overview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904460#M658328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I suggested &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&amp;nbsp; You might have overlooked it.... But I am glad you got your solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 May 2015 21:34:59 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-08T21:34:59Z</dc:date>
    <item>
      <title>Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904453#M658321</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 am looking for a resource that will serve as a foundation to understanding variables in Qlikview, when to use them, when to use Set vs Let, and how to use in formulas. I have found the below, but I was wondering if there is a better resource. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my own script I am trying to create a variable that will store certain states that if shipped from a certain DC, would be classified as "over fence" shipments&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My attempts that are failing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set vDC1OverFenceState= 'CA;OR;WA;ID;NV;AZ;AK;HI;UT;MT;WY;CO;NM;TX';&lt;/P&gt;&lt;P&gt;Set vDC2OverFenceState= 'ND;SD;NE;KS;OK;MN;IA;MO;AR;LA;WI;IL;KY;TN;MS;MI;IN;AL;OH;ME;NH;VT;MA;RI;CT;NY;PA;NJ;DL;WV;VA;FL;GA;SC;NC;MD;PR;VI'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(WH='DC1' and [SHIP TO STATE]= $(vDC1OverFenceState),1,0) as N7OverFence,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;IF(WH='DC2' and [SHIP TO STATE]= $(vDC2OverFenceState),1,0) as L7OverFence,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking I need to use peek somehow, but something is missing in my logic. Any assistance appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hyunkucho.wordpress.com/2012/12/01/qlikview-variables-set-let-and-dollar-sign-expansion/" title="https://hyunkucho.wordpress.com/2012/12/01/qlikview-variables-set-let-and-dollar-sign-expansion/"&gt;Qlikview: Variables, SET, LET and Dollar Sign Expansion | Hyunku's Blog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 15:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904453#M658321</guid>
      <dc:creator />
      <dc:date>2015-05-08T15:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904454#M658322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this may be:&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;STRONG&gt;IF(WH='DC1' and Match([SHIP TO STATE], $(vDC1OverFenceState)),1,0) as N7OverFence,&lt;/STRONG&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="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;IF(WH='DC2' and Match([SHIP TO STATE], $(vDC2OverFenceState)),1,0) as L7OverFence,&lt;/STRONG&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Not entirely sure if the set or let will work. Try the above with both let and set.&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;HTH&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Best,&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Sunny&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 16:08:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904454#M658322</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-08T16:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904455#M658323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good explanations will you find here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 16:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904455#M658323</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-08T16:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904456#M658324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at these 3 blog posts by &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;hic&lt;/A&gt;‌.&amp;nbsp; His blog posts are always good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3996"&gt;The Little Equals Sign&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 16:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904456#M658324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-08T16:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904457#M658325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 17:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904457#M658325</guid>
      <dc:creator />
      <dc:date>2015-05-08T17:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904458#M658326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bill, Nice links&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 18:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904458#M658326</guid>
      <dc:creator />
      <dc:date>2015-05-08T18:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904459#M658327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone is interested, here is how I got it to work. Thanks again for the excellent links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; vDC1OverFenceState&lt;/SPAN&gt;= 'CA','OR','WA','ID','NV','AZ','AK','HI','UT','MT','WY','CO','NM','TX';&lt;/P&gt;&lt;P&gt;SET &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;vDC2OverFenceState&lt;/SPAN&gt;= 'ND','SD','NE','KS','OK','MN','IA','MO','AR','LA','WI','IL','KY','TN','MS','MI','IN','AL','OH','ME','NH','VT','MA','RI','CT','NY','PA','NJ','DL','WV','VA','FL','GA','SC','NC','MD','PR','VI'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(WH='DC1' and Match([SHIP TO STATE],$(vDC1OverFenceState)),1,0) as N7OverFence,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;IF(WH='DC2' and Match([SHIP TO STATE],$(vDC2OverFenceState)),1,0) as L7OverFence,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 20:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904459#M658327</guid>
      <dc:creator />
      <dc:date>2015-05-08T20:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904460#M658328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I suggested &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&amp;nbsp; You might have overlooked it.... But I am glad you got your solution...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 21:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904460#M658328</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-08T21:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904461#M658329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thank you for the input! Still getting used to how and where to reply!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 15:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904461#M658329</guid>
      <dc:creator />
      <dc:date>2015-05-09T15:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Tutorial and basic overview</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904462#M658330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha not a problem my friend &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 15:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-Tutorial-and-basic-overview/m-p/904462#M658330</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-09T15:32:48Z</dc:date>
    </item>
  </channel>
</rss>

