<?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: Qliksense  if GetFieldSelections in dimension in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1633997#M148412</link>
    <description>&lt;P&gt;Thanks. it works now.&lt;/P&gt;&lt;P&gt;Can you help to explain the reason why with variable no issue happend? Thanks for your time first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Haifeng&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 00:43:21 GMT</pubDate>
    <dc:creator>zhaohaifeng</dc:creator>
    <dc:date>2019-10-11T00:43:21Z</dc:date>
    <item>
      <title>Qliksense  if GetFieldSelections in dimension</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1632866#M148205</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our requirement, we want to add one filter Flag(no relationship) with Region and Territory, in our chart dimension, we want to use based on what we select in filter,&amp;nbsp; the dimension is&amp;nbsp;=if(GetFieldSelections(Flag)='Territory',rep,[区]), screenshot as below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20954i0ABF255E7FA81BE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but when we click the bar in the chart , it should dimension Region selected in the top, now Territory also in the top selection, do you know how can i do, dont let another dimension selected? Also attached the qvf for youre refrence.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20955iE665EA0A6DD88A2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Haifeng&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 08:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1632866#M148205</guid>
      <dc:creator>zhaohaifeng</dc:creator>
      <dc:date>2019-10-09T08:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense  if GetFieldSelections in dimension</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1633374#M148296</link>
      <description>&lt;P&gt;Not sure if this is what you are asking, but if you go to the Flag field from the Assets panel on the left in Edit mode, you can right click on the Flag field and go into Field settings where you can check the box to make sure that either Region or Territory is always selected, but not both. (Always one selected value)&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 22:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1633374#M148296</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-10-09T22:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense  if GetFieldSelections in dimension</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1633390#M148300</link>
      <description>&lt;P&gt;Create a Variable lets &lt;FONT color="#3366FF"&gt;vDimension&lt;/FONT&gt; with below expression&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;SPAN&gt;=if(Flag='Territory','rep','[区]')&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;use &lt;FONT color="#3366FF"&gt;$(vDimension)&lt;/FONT&gt; as your dimension&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2019 01:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1633390#M148300</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2019-10-10T01:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense  if GetFieldSelections in dimension</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1633997#M148412</link>
      <description>&lt;P&gt;Thanks. it works now.&lt;/P&gt;&lt;P&gt;Can you help to explain the reason why with variable no issue happend? Thanks for your time first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Haifeng&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 00:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1633997#M148412</guid>
      <dc:creator>zhaohaifeng</dc:creator>
      <dc:date>2019-10-11T00:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense  if GetFieldSelections in dimension</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1634639#M148522</link>
      <description>&lt;P&gt;Qlik does the selection whatever you given as expression in the dimension&lt;/P&gt;&lt;P&gt;&lt;FONT color="#3366FF"&gt;&lt;SPAN&gt;=if(Flag='Territory',rep,[区])&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;but when you use the&amp;nbsp;&lt;FONT color="#3366FF"&gt;vDimension&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; variable in place of above expression, which has value of &lt;FONT color="#3366FF"&gt;&lt;SPAN&gt;=if(Flag='Territory','rep','[区]').&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;it will evaluate and use the output value as dimension, it does the selection for that field only.&lt;/P&gt;&lt;P&gt;Note: when I use the variable, field names are within single quotes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Mark this post as solution, to avoid others spending time on your post to answer it.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 03:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Qliksense-if-GetFieldSelections-in-dimension/m-p/1634639#M148522</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2019-10-14T03:52:34Z</dc:date>
    </item>
  </channel>
</rss>

