<?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 Setting Variables with if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-Variables-with-if-statement/m-p/253420#M96041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to set variables with if statement and how do i do that in load statement or directly though variable overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Segment]= 'External Wholesale', [Company Type])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do it for another 5 segments as doing if clause in Dimension does not execute exceptions correctly in my complicated Pivot tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2011 11:00:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-11-24T11:00:24Z</dc:date>
    <item>
      <title>Setting Variables with if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Variables-with-if-statement/m-p/253420#M96041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to set variables with if statement and how do i do that in load statement or directly though variable overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Segment]= 'External Wholesale', [Company Type])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do it for another 5 segments as doing if clause in Dimension does not execute exceptions correctly in my complicated Pivot tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 11:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Variables-with-if-statement/m-p/253420#M96041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-24T11:00:24Z</dc:date>
    </item>
  </channel>
</rss>

