<?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: How to write if condition to get all values in the script... in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194451#M22508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a link table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD DISTINCT FieldName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'A' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Fact&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Fieldname = 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate (LinkTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD DISTINCT FieldName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'B' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident Fact&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Where Fieldname &amp;lt;&amp;gt; 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Concatenate (&lt;SPAN style="font-size: 13.3333px;"&gt;LinkTable)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD DISTINCT FieldName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'C' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident Fact;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2016 10:38:02 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-26T10:38:02Z</dc:date>
    <item>
      <title>How to write if condition to get all values in the script...</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194450#M22507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write an if condition as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g&lt;/P&gt;&lt;P&gt;Fieldname&lt;/P&gt;&lt;P&gt;1 &lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;Fieldname = '1','A',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Fieldname &amp;lt;&amp;gt; '1','B',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Fieldname = 'ALL','C',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALL is whole value in the field.&lt;/P&gt;&lt;P&gt;Please help me with this issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194450#M22507</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2016-10-26T10:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition to get all values in the script...</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194451#M22508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a link table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD DISTINCT FieldName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'A' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Fact&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Fieldname = 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate (LinkTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD DISTINCT FieldName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'B' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident Fact&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Where Fieldname &amp;lt;&amp;gt; 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Concatenate (&lt;SPAN style="font-size: 13.3333px;"&gt;LinkTable)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD DISTINCT FieldName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'C' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident Fact;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194451#M22508</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T10:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition to get all values in the script...</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194452#M22509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;But I don't want to do concatenation..is there any simple solution..like in if condition itself..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194452#M22509</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2016-10-26T10:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition to get all values in the script...</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194453#M22510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK, if won't be able to handle it. Why are you hesitant to use concatenation here? your data model should not be impacted too much because you won't expand your Fact table, it will only be a link table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194453#M22510</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to write if condition to get all values in the script...</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194454#M22511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay..i tried...Thanks for the solution.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-write-if-condition-to-get-all-values-in-the-script/m-p/1194454#M22511</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2016-10-26T11:06:15Z</dc:date>
    </item>
  </channel>
</rss>

