<?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 use if with GetFieldSelections? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703725#M253829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When no filtter is applied &lt;STRONG&gt;GetSelectedCount(Designation)&lt;/STRONG&gt; returns 0 and Overall will be flashed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 12:08:50 GMT</pubDate>
    <dc:creator>senpradip007</dc:creator>
    <dc:date>2014-08-19T12:08:50Z</dc:date>
    <item>
      <title>How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703720#M253824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I This data:&lt;/P&gt;&lt;P&gt;Designation&lt;/P&gt;&lt;P&gt;SA&lt;/P&gt;&lt;P&gt;SE&lt;/P&gt;&lt;P&gt;SSE&lt;/P&gt;&lt;P&gt;AC&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;LC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken a variable vDesigation, Wherein variable overview I have taken... &lt;/P&gt;&lt;P&gt;vDesignation=if(IsNull(GetFieldSelections(Designation)),'Overall',if(GetFieldSelections(Designation)= 'SA' or GetFieldSelections(Designation)='SE' or GetFieldSelections(Designation)='SSE','Low','High'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not working.&lt;/P&gt;&lt;P&gt;I am Printing the value of vDesignation in text box, Where if SA or SE or SSE is selected in the designation filter it should display Low else High.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Pratik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 11:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703720#M253824</guid>
      <dc:creator />
      <dc:date>2014-08-19T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703721#M253825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Designation&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)= 'SA' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Designation&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='SE' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetFieldSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Designation&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='SSE','Low','High') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 11:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703721#M253825</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-08-19T11:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703722#M253826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the Reply but I am Using Isnull function to print the word overall when clear button is presses, i.e when no filters applied on the field designation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 11:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703722#M253826</guid>
      <dc:creator />
      <dc:date>2014-08-19T11:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703723#M253827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;you can try " $(vDesignation) " in your text object&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 12:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703723#M253827</guid>
      <dc:creator>syukyo_zhu</dc:creator>
      <dc:date>2014-08-19T12:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703724#M253828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use GetSelectedCount for checking if there is a selection active for Designation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(GetSelectedCount(Designation)=0,....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that if two ore more selections are made in Designation the result will be High.&lt;/P&gt;&lt;P&gt;You can't check for one value with IF(GetFieldSelections(Designation), you should use index or a different type of check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 12:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703724#M253828</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2014-08-19T12:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703725#M253829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When no filtter is applied &lt;STRONG&gt;GetSelectedCount(Designation)&lt;/STRONG&gt; returns 0 and Overall will be flashed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 12:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703725#M253829</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-08-19T12:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703726#M253830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the syntax to check if Multiple values are selected, i.e by using if condition with GetFieldSelections&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 13:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703726#M253830</guid>
      <dc:creator />
      <dc:date>2014-08-19T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703727#M253831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the problem is a multiple selection in the Designation field, you can use the function &lt;STRONG&gt;SubStringCount&lt;/STRONG&gt;. The variable &lt;STRONG&gt;vDesignation&lt;/STRONG&gt; is defined as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;if(IsNull(GetFieldSelections(Designation)),'Overall',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; if(substringcount(GetFieldSelections(Designation),'SA')=1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp; or substringcount(GetFieldSelections(Designation),'SSE')=1 &lt;/P&gt;
&lt;P&gt;&amp;nbsp; or substringcount(GetFieldSelections(Designation),'SE')=1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Low',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'High'))&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 17:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703727#M253831</guid>
      <dc:creator>ssanchez</dc:creator>
      <dc:date>2014-08-19T17:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use if with GetFieldSelections?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703728#M253832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest to use MixMatch or Match functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(getSelectedCount(Designation)=0,'Overall', If(MixMatch(GetFieldSelection(Designation),'SA','SE','SSE'),'Low','High'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 17:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-if-with-GetFieldSelections/m-p/703728#M253832</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-08-19T17:25:22Z</dc:date>
    </item>
  </channel>
</rss>

