<?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 to separet from the if function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-separet-from-the-if-function/m-p/286265#M106500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two fields in the script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (prodid = '260080','Big Crate') as [Big Crate],&lt;/P&gt;&lt;P&gt;if (prodid &amp;lt;&amp;gt; '260080','Small Crate') as [Small Crate]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use one or the other field as a dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2011 05:25:25 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2011-12-08T05:25:25Z</dc:date>
    <item>
      <title>How to separet from the if function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separet-from-the-if-function/m-p/286264#M106499</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 having this script: &lt;/P&gt;&lt;P&gt;if (prodid = '260080','Big Crate','Small Crate') as Crate_ID,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select the Crare_ID it will show Big Crate and also Small Crate.&lt;/P&gt;&lt;P&gt;But now I just want it to shows only Big crate and Small Crate separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:-&lt;/P&gt;&lt;P&gt;Crate_ID it shows Big Crate and Small Crate.&lt;/P&gt;&lt;P&gt;Now I want it to show:&lt;/P&gt;&lt;P&gt;Only Big Crate&lt;/P&gt;&lt;P&gt;Only Small Crate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try using:&lt;/P&gt;&lt;P&gt;Prodid = “260080” as Big Crate in the script but when I try to select in the selected table it shows -1 and 0.&lt;/P&gt;&lt;P&gt;Example:-&lt;/P&gt;&lt;P&gt;Big_Crate showing -1 and 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have not try the small crate yet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure where I go wrong.&lt;/P&gt;&lt;P&gt;Can anyone please share some light?&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, 08 Dec 2011 01:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separet-from-the-if-function/m-p/286264#M106499</guid>
      <dc:creator />
      <dc:date>2011-12-08T01:33:46Z</dc:date>
    </item>
    <item>
      <title>How to separet from the if function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separet-from-the-if-function/m-p/286265#M106500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two fields in the script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (prodid = '260080','Big Crate') as [Big Crate],&lt;/P&gt;&lt;P&gt;if (prodid &amp;lt;&amp;gt; '260080','Small Crate') as [Small Crate]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use one or the other field as a dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 05:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separet-from-the-if-function/m-p/286265#M106500</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-12-08T05:25:25Z</dc:date>
    </item>
    <item>
      <title>How to separet from the if function?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separet-from-the-if-function/m-p/286266#M106501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Rob:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks got it.&lt;/P&gt;&lt;P&gt;You are a great help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 06:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separet-from-the-if-function/m-p/286266#M106501</guid>
      <dc:creator />
      <dc:date>2011-12-08T06:05:28Z</dc:date>
    </item>
  </channel>
</rss>

