<?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 statement on Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465532#M173889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=IF(Potato='1', '1', IF(match(Potato, '1','2','3','4')&amp;gt;0, 'Others'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 11:49:38 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2013-04-18T11:49:38Z</dc:date>
    <item>
      <title>if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465526#M173883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say if I have a field name call Potato, inside the Potato, the data consist of 1,2,3,4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i will to put this code on the Dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Potato = '1',1','Others')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output will be 1 and others(consist of 2,3,4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however my expected output that I want is 1 and other(consist of 1,2,,3,4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 03:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465526#M173883</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2013-04-18T03:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465527#M173884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are trying is correct, its better use this expression in script and later use that field in your chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 06:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465527#M173884</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2013-04-18T06:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465528#M173885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just load a mapping table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;INLINE [Potato, PotatoTemp&lt;/P&gt;&lt;P&gt;1, 1&lt;/P&gt;&lt;P&gt;2, Others&lt;/P&gt;&lt;P&gt;3, Others&lt;/P&gt;&lt;P&gt;4, Others];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use PotatoTemp as dimension, calculated dimension has impact on performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 07:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465528#M173885</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-04-18T07:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465529#M173886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please explain a bit more detailed, what you are trying to achieve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not clear which outpout for "other" you expect? In your post it seems to me that you want the whole range of "Potato" being displayed in&amp;nbsp; "other" ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wiley_E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 08:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465529#M173886</guid>
      <dc:creator />
      <dc:date>2013-04-18T08:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465530#M173887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your requirement is not clear,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post some data and explain your issue with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 10:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465530#M173887</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-04-18T10:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465531#M173888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should do this in script,&lt;/P&gt;&lt;P&gt;if(Potato=,1,'1', 'Other') as NewPotatoDimension&lt;/P&gt;&lt;P&gt;then use NewPotatoDimension as your dimensionfield.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 11:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465531#M173888</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-04-18T11:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465532#M173889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=IF(Potato='1', '1', IF(match(Potato, '1','2','3','4')&amp;gt;0, 'Others'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 11:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465532#M173889</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2013-04-18T11:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465533#M173890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right, I want the 'others' to represent all in potato&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 12:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465533#M173890</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2013-04-18T12:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: if statement on Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465534#M173891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, bad explanation from my side. The data in potato is non numeric &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-statement-on-Dimension/m-p/465534#M173891</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2013-04-18T13:21:53Z</dc:date>
    </item>
  </channel>
</rss>

