<?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: If Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575364#M478037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a range not a single value:&lt;/P&gt;&lt;P&gt;at this point, if you need that condition in an expression, you can do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Event={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;gt;=max([PO Rec Date])&amp;lt;=max([PO Rec Date]+6&lt;/SPAN&gt;'}&amp;gt;} myValue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2014 14:47:51 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-03-28T14:47:51Z</dc:date>
    <item>
      <title>If Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575361#M478034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I am trying to determine whether a SKU falls into an Event labeled by Flyer during a particular week, should I do this as an if statement or a set analysis? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can determine whether or not the SKU is part of a flyer event with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Event] like '*Flyer*','Yes')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, how do I incorporate a particular week that is dynamic into that expression? I am specifically trying to find whether or not the SKU is part of a flyer event between max([PO Rec Date]) and max([PO Rec Date])+6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 14:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575361#M478034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-28T14:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: If Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575362#M478035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wildmatch([Event], $(myWeek))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where myWeek is a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 14:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575362#M478035</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-28T14:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: If Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575363#M478036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that might work!. How would I define the variable to include my range be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;=max([PO Rec Date])&amp;lt;=max([PO Rec Date]+6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 14:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575363#M478036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-28T14:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: If Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575364#M478037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need a range not a single value:&lt;/P&gt;&lt;P&gt;at this point, if you need that condition in an expression, you can do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Event={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&amp;gt;=max([PO Rec Date])&amp;lt;=max([PO Rec Date]+6&lt;/SPAN&gt;'}&amp;gt;} myValue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 14:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575364#M478037</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-03-28T14:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: If Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575365#M478038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;Sum({$ &amp;lt;Event={"*Flyer*"}, week={'&amp;gt;=max([PO Rec Date])&amp;lt;=max([PO Rec Date]+6'}&amp;gt;} myValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 17:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Syntax/m-p/575365#M478038</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-03-28T17:52:39Z</dc:date>
    </item>
  </channel>
</rss>

