<?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: Button action (select in field) with condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691514#M250252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, for Field expression quote the field name so if returns the string, not the value of the field:&lt;/P&gt;&lt;P&gt;Field = if(GetFieldSelections(Language)='English', 'KPIdimEN', 'KPIdim')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 09:34:46 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2014-09-25T09:34:46Z</dc:date>
    <item>
      <title>Button action (select in field) with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691512#M250250</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;I wonder if it´s possible to add a condition to select in field action? My problem is that depending on other selections, button action should select from different fields. Here is example:&lt;/P&gt;&lt;P&gt;Select in field:&lt;/P&gt;&lt;P&gt;Field = if(GetFieldSelections(Language)='English', KPIdimEN, KPIdim)&lt;/P&gt;&lt;P&gt;Search string = if(GetFieldSelections(Language)='English', 'Customer groupings', 'Something else')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried above mentioned action but with no success. Or is solution to add multiple buttons with condition show? For example&lt;/P&gt;&lt;P&gt;1. button:&lt;/P&gt;&lt;P&gt;Field = KPIdimEN&lt;/P&gt;&lt;P&gt;Search string = 'Customer groupings'&lt;/P&gt;&lt;P&gt;condition show = GetFieldSelections(Language)='English'&lt;/P&gt;&lt;P&gt;2. button:&lt;/P&gt;&lt;P&gt;Field = KPIdim&lt;/P&gt;&lt;P&gt;Search string = 'Something else'&lt;/P&gt;&lt;P&gt;condition show = GetFieldSelections(Language)='Finnish'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is more complex and I should add at least 6 buttons, that´s why I´m asking is there another way to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Suvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 06:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691512#M250250</guid>
      <dc:creator />
      <dc:date>2014-09-25T06:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Button action (select in field) with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691513#M250251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this blog post will give you ideas: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/11/30/handling-multiple-languages" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Handling Multiple Languages&lt;/A&gt;. Don't forget to take a look at the technical brief document in &lt;A href="https://community.qlik.com/docs/DOC-3681"&gt;How to Handle Multi-Language Translations in QlikView.zip&lt;/A&gt; too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do this with buttons and select in field actions (not recommended) see attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691513#M250251</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-25T09:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Button action (select in field) with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691514#M250252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, for Field expression quote the field name so if returns the string, not the value of the field:&lt;/P&gt;&lt;P&gt;Field = if(GetFieldSelections(Language)='English', 'KPIdimEN', 'KPIdim')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691514#M250252</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-25T09:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Button action (select in field) with condition</title>
      <link>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691515#M250253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben, I didn´t believe that solution would be that simple. Now my button works as I wanted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Button-action-select-in-field-with-condition/m-p/691515#M250253</guid>
      <dc:creator />
      <dc:date>2014-09-25T09:39:26Z</dc:date>
    </item>
  </channel>
</rss>

