<?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 If Statement in Data range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1610461#M736450</link>
    <description>&lt;P&gt;I am trying to create an IF statement to call out the data from a date range, for 3 months, 2 months, and 1 month, for a specific type of product.&lt;/P&gt;&lt;P&gt;=MaxString(&lt;BR /&gt;{&amp;lt;[Date]={if("&amp;gt;=$(=Date(AddMonths(LasRefresh,-3)) &amp;lt;=$(=Date(AddMonths(LasRefresh,-2)))",'3 Months'&lt;/P&gt;&lt;P&gt;,if("&amp;gt;=$(=Date(AddMonths(LasRefresh,-2)) &amp;lt;=$(=Date(AddMonths(LasRefresh,-1)))",'2 Months')&lt;/P&gt;&lt;P&gt;,if("&amp;gt;=$(=Date(AddMonths(LasRefresh,-1)) &amp;lt;=$(=Date(AddMonths(LasRefresh,-1)))",'1 Month')}&lt;BR /&gt;,[Product Type]={'Sale'}&lt;BR /&gt;&amp;gt;} [Date] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:18:13 GMT</pubDate>
    <dc:creator>joeychua</dc:creator>
    <dc:date>2024-11-16T20:18:13Z</dc:date>
    <item>
      <title>If Statement in Data range</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1610461#M736450</link>
      <description>&lt;P&gt;I am trying to create an IF statement to call out the data from a date range, for 3 months, 2 months, and 1 month, for a specific type of product.&lt;/P&gt;&lt;P&gt;=MaxString(&lt;BR /&gt;{&amp;lt;[Date]={if("&amp;gt;=$(=Date(AddMonths(LasRefresh,-3)) &amp;lt;=$(=Date(AddMonths(LasRefresh,-2)))",'3 Months'&lt;/P&gt;&lt;P&gt;,if("&amp;gt;=$(=Date(AddMonths(LasRefresh,-2)) &amp;lt;=$(=Date(AddMonths(LasRefresh,-1)))",'2 Months')&lt;/P&gt;&lt;P&gt;,if("&amp;gt;=$(=Date(AddMonths(LasRefresh,-1)) &amp;lt;=$(=Date(AddMonths(LasRefresh,-1)))",'1 Month')}&lt;BR /&gt;,[Product Type]={'Sale'}&lt;BR /&gt;&amp;gt;} [Date] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1610461#M736450</guid>
      <dc:creator>joeychua</dc:creator>
      <dc:date>2024-11-16T20:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement in Data range</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1610482#M736452</link>
      <description>&lt;P&gt;Why don't you just try to add the conditional statement at back end and create one extra field though script.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 05:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1610482#M736452</guid>
      <dc:creator>miskinmaz</dc:creator>
      <dc:date>2019-08-08T05:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement in Data range</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1610546#M736453</link>
      <description>&lt;P&gt;How and what should I add to my expression/script in order to make what i want to display?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2019 08:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1610546#M736453</guid>
      <dc:creator>joeychua</dc:creator>
      <dc:date>2019-08-08T08:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: If Statement in Data range</title>
      <link>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1616812#M736455</link>
      <description>&lt;P&gt;Joey, check the following Design Blog Link and note there are some other links at the bottom of that post as well:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Dates-in-Set-Analysis/ba-p/1472511" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Dates-in-Set-Analysis/ba-p/1472511&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this will help you get things sorted out and feel free to back the URL up to the Qlik-Design-Blog/ level and use the search dialog there to dig further if you wish.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 21:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Statement-in-Data-range/m-p/1616812#M736455</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-26T21:04:38Z</dc:date>
    </item>
  </channel>
</rss>

